Skip to content

0.1.1 MD3: OpenWiz's fleet tick reads the Models table #1805

Closed

Description

@jparker2006

Parent

Ticket MD3 of spec #1802 (0.1.1). Size: S.

What to build

OpenWiz's fleet tick reads each role from the one Models table, through MD2's core reader, with the older five tables as the fallback, and picks the reviewer by the cross-family rule. Its output for today's choices is unchanged.

Owned paths

  • crates/core/src/fleet/tick/rules.rs
  • tests/fleet/ (only the model-table fixtures and their tests)
  • contracts/fleet-tick.v1.md (shared: only the lines naming the tables it reads)

Relies on: contracts/models.v1.md

Links

Acceptance criteria

  • The tick gives the same builder, small builder, reviewer and fixer for the one-table and five-table fixtures, red first on the one-table fixture
  • A same-family reviewer falls back to the builder role, and waits when both share the builder's family
  • Merge gate: nothing merges until the 0.1.0 release branch is cut and RL1 (0.1.0 RL1: OpenWiz 0.1.0 ships before Demo Day: branch, changelog, gates and publish #1671) records it; a WizSkills pull request also waits for WizSkills v0.2.0 to be tagged. Build and review now.
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

P1, P3 and P5 for OpenWiz's tick: tests/fleet/, red first.

Activity

  1. added this to the 0.1.1 milestone on Nov 20, 2026
  2. added
    held
    on Nov 20, 2026
  3. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  4. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start withdrawn

  5. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Planner ruling, 2026-11-21: the clash with #1846 is false. Collision checked by the J87 planner: disjoint from #1846's paths (WizSkills only). #1846 owns only openwizdev/WizSkills files: the launch-fleet references, its start script and tests, a contract copy and a changeset note. MD3 owns only openwizdev/OpenWiz files: crates/core/src/fleet/tick/rules.rs, tests/fleet/ and lines of contracts/fleet-tick.v1.md. The withdrawal came from fleet.sh misreading #1846's second owned-path bullet, which names two "in" phrases, as an unreadable path list. That is a parser gap, not an overlap. MD3 may start now.

  6. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1805-tick-models-table

    collision checked by the J87 planner: disjoint from #1846's paths (WizSkills only)

  7. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.2.1
    step: F4 grant posted; PR 2198 waits for its CI re-run at the same head.
    time: 2026-11-21T18:41:50Z
    pr: #2198

  8. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Builder question (MD3), before any code lands. MD3 can't be built inside its owned paths alone. I found four things. Each has options and my pick; I'm asking for one grant that covers the picks.

    1. Production caller (unowned). models::read needs the allowlist's SpawnFlags (MD2 ruling 13), and core may not depend on the adapter. So Rules::parse(text) becomes Rules::parse(text, &SpawnFlags). Its only production caller is crates/cli/src/fleet_tick_graph.rs:276. Options: (a) make spawn_flags() in crates/cli/src/models.rs pub(crate) and pass it at that one call (2 lines, unowned); (b) leave the tick on the older tables (fails the ticket). Pick: (a). The Rules::parse call sites in tests/fleet/b2_planner.rs and b2_cases.rs pass the same flags, with no assertion changed.
    2. A review that waits (unowned planner and schema). For the cross-family rule's "waits", reviewer_for(family) must return no reviewer. Today planner.rs:957,969 clones it into first_review/fresh_review, and fleet-tick.v1.schema.json#/$defs/rules requires reviewer_claude and reviewer_gpt as agents. Options: (a) reviewer_for returns Option; on None the planner plans look: review waits: no other-family reviewer instead of a review start (about 6 lines in planner.rs), and the schema lets reviewer_claude/reviewer_gpt be null (that family's review waits), with the contract's Reviewer-selection line saying so; (b) refuse the whole rules file when either review would wait. That stops builders too, so it isn't "waits". Pick: (a).
    3. Older fallback strictness. MD2's older-table reader requires all five tables, ## Fixer included. The pinned setup template (skills/setup/templates/fleet.md) has only four, so every project set up from it would plan nothing. b2_1196_setup_template_can_produce_the_strict_rules already guards that case. Options: (a) when ## Models is present the tick reads through models::read; when it is absent the tick keeps its own four-table reader, with flag words from SpawnFlags instead of literals, so older projects are unchanged (P5); (b) fall back through models::read and break four-table projects. Pick: (a).
    4. Ids outside the tick's setting form. The schema's setting is lowercase and has no /, but the Models table can hold vendor/demo or upper-case ids. Options: (a) the tick refuses such a rules file (fail closed, as today for older tables), recorded as a Gap; (b) widen the schema's setting form. Pick: (a) for now.

    Owned-path work (rules.rs, tests/fleet model-table fixtures) goes ahead meanwhile. I'll push the red proofs as a checkpoint.

  9. added
    needs-info
    on Nov 21, 2026
  10. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1910

    contracts/models.v1.md and its schema changed in #1910; the builder was told. Nothing is held.

  11. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Planner rulings and grants for MD3 #1805, 2026-11-21 (answering 7067195174):

    1. Granted: crates/cli/src/models.rs (make spawn_flags() pub(crate)), and crates/cli/src/fleet_tick_graph.rs (pass it at the one production call, two lines). Also tests/fleet/b2_planner.rs and tests/fleet/b2_cases.rs: pass the same flags to Rules::parse, with no assertion changed.
    2. Granted: in planner.rs, reviewer_for returns an option, and on none the plan says "look: review waits: no other-family reviewer". contracts/fleet-tick.v1.schema.json lets reviewer_claude and reviewer_gpt be null, and contracts/fleet-tick.v1.md's reviewer-selection line says so. This is the contract's own waits rule.
    3. Agreed: keep the tick's own four-table reader when ## Models is absent, with the flag words from SpawnFlags (covered by 1).
    4. Ruling (b), not (a): widen contracts/fleet-tick.v1.schema.json's setting pattern to models.v1's one id rule (segments of [A-Za-z0-9._-] joined by /), red first with a vendor/demo case. Under the MC5 ruling, namespaced ids are writable, so refusing the whole rules file would stop a user's fleet planning over a choice the app allows. Granted: that pattern change.

    Both schema changes are additive: a nullable reviewer and a wider id pattern. The needs-info is answered.

  12. 3 remaining items

  13. added
    needs-info
    on Nov 21, 2026
  14. added 5 commits that reference this issue on Nov 21, 2026
  15. removed
    needs-info
    on Nov 21, 2026
  16. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Builder request (MD3, PR #2198 at 69bca3e): owned-paths needs the grant in its F4 form. The planner's grants in 7067268201 cover these four files, but tools/owned-paths/check.py reads only a record-author comment containing the marker F4 supporting edit granted followed by the backticked paths. So the check fails with 4 files outside the owned paths. It needs a line from the planner like:

    F4 supporting edits granted for #1805 (grants 1, 2 and 4 of 7067268201): crates/cli/src/models.rs, crates/cli/src/fleet_tick_graph.rs, crates/core/src/fleet/tick/planner.rs, contracts/fleet-tick.v1.schema.json

    Nothing else changes, and the PR's supporting-edit list already cites 7067268201 for each of these files. I won't write that record myself.

  17. added
    needs-info
    on Nov 21, 2026
  18. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted supporting edit: F4 supporting edits granted: crates/cli/src/models.rs, crates/cli/src/fleet_tick_graph.rs, crates/core/src/fleet/tick/planner.rs and contracts/fleet-tick.v1.schema.json, exactly the J87 planner's grant 7067268201 (items 1 to 4), restated in the form tools/owned-paths/check.py reads; no new scope

  19. removed
    needs-info
    on Nov 21, 2026
  20. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #1805:

    • crates/cli/src/models.rs
    • crates/cli/src/fleet_tick_graph.rs
    • crates/core/src/fleet/tick/planner.rs
    • contracts/fleet-tick.v1.schema.json

    These are the J87 planner's grants 1 to 4 in 7067268201, restated in the form owned-paths reads. Nothing new is granted.

  21. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cost unknown (PR #2198): no cost command

  22. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions