Skip to content

0.1.0 AP1: the agent status contract and its writer script, in WizSkills, first #1254

Closed
openwizdev/WizSkills
#21

Description

@jparker2006

Parent

Ticket AP1 of spec #1223 (0.1.0). Size: M.

What to build

Agents report on their tickets in one versioned public format that the app reads. The truth about a ticket's work is one status note per agent: a comment found by its first line, openwiz:status v1, and edited in place. It holds a state line (working, asking, done or stopped), the agent's kind (builder, reviewer, fleet), harness and model, its last step, the time, its pull request, an optional preview link, and a skills: line naming the skill versions the agent ran (for example build-ticket@0.1.1), so a benchmark change can be traced to a skill change (J197). It holds no thread ids, machine details or private words. People set only five labels: spec, ready-for-agent, ready-for-human, needs-info (what was "needs you") and held; there are no building or in review labels. Everything else (building, in review, merged) is read from GitHub: the status notes, linked pull requests, reviews and checks. When several live notes exist, the oldest wins; a claim lapses after 30 minutes without an edit; a writer re-reads the ticket before each write. One script creates or edits the agent's one status note, sets or clears needs-info when the state is asking, and refuses text that looks like a thread id or a machine path. Its check mode lists open tickets whose notes disagree with what GitHub shows (for example, working with a merged pull request, or a lapsed claim), for launch-fleet's wake.

Owned paths

  • contracts/agent-status.v1.md and contracts/agent-status.v1.schema.json (new) in openwizdev/WizSkills
  • skills/launch-fleet/scripts/status.py and skills/launch-fleet/scripts/test-status.py (new) in openwizdev/WizSkills
  • check/run.py in openwizdev/WizSkills (shared: one SUITES row, ['python3', '-I', 'skills/launch-fleet/scripts/test-status.py'])

Relies on: nothing

Links

none

Acceptance criteria

  • The contract and its schema name the marker openwiz:status v1, the four state values, the fields, the five people-set labels, what is read from GitHub instead, the oldest-live-note and 30-minute lapse rules, and what a note must never hold
  • The script creates or edits the agent's one status note; a second run edits the same note and never posts another; asking sets needs-info and leaving it clears it; it never sets a building or in review label
  • Its check mode finds a planted mismatch between a note and GitHub, and a lapsed claim, on a synthetic tracker, and changes nothing
  • It refuses status text holding a thread id or a machine path, before any write
  • The status comment's fields include an optional preview link, shown as-is by the app
  • The skills: line is in the contract, the schema and the script, and the tests check it is present, well-formed and never a path or a private word (J197)
  • 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

P4: the script's tests on a synthetic tracker with a fake gh, red first.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSite, WizSkills or WizRoom follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.

Activity

  1. added this to the 0.1.0 milestone on Nov 19, 2026
  2. added
    ready-for-agent
    on Nov 19, 2026
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1254-agent-status

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Agent status

  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Builder question (path): WizSkills CI runs python3 check/run.py, whose suite inventory fails on any skills/**/test*.py not listed in its SUITES table (suite inventory: …: unlisted). Running test-status.py from skills/launch-fleet/scripts/test.sh does not count, so with only the owned paths the new test turns CI red.

    Options:

    • A (recommended): one supporting line in check/run.py, in the launch-fleet list of SUITES, beside the existing test-records.py entry: ['python3', '-I', 'skills/launch-fleet/scripts/test-status.py'],. It serves the test-rule criterion and P4 (the tests run in CI) for the owned test-status.py. I would then leave test.sh unchanged, so the test runs once, as every sibling test-*.py does.
    • B: the same line in check/run.py and also the owned one line in test.sh (the test runs twice).

    Until answered I build everything inside the owned paths and touch nothing in check/run.py. Answer A or B.

  6. added
    needs-info
    on Nov 19, 2026
  7. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  8. added
    held
    and removed
    held
    needs-info
    on Nov 19, 2026
  9. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Merge hold (orchestrator, 2026-11-19): WizSkills #21 does not merge until the owner rules on whether ticket state lives in labels, one status comment or issue fields (records-spec question R3, expected within the hour). The status-comment work continues; the state-label part may change. Review may proceed.

  10. added
    held
    and removed
    held
    on Nov 19, 2026
  11. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Added by the owner's decision of 2026-11-19 (J197), within this ticket's existing owned paths: the status note also carries the skill versions the agent ran, one line such as skills: build-ticket@0.1.1, review-ticket@0.1.0, so a benchmark change can be traced to a skill change. The contract and its schema name the field, the script writes it, and the test kit covers it (present, well-formed, never a path or a private word). The ticket body takes the same line at the next recorded revision of #1223.

    Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7005004515

  12. added
    held
    and removed
    held
    on Nov 19, 2026
  13. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Merged by the planner while the #1223 fleet is being replaced: WizSkills #21 at approved head d7e065f (re-check APPROVE, same-family exception under the orchestrator's ruling, R1 to R5 fixed; both checks green at that head), squash merge a2993f4, pinned with sha=. The review's lower findings are follow-ups #1384, openwizdev/WizSkills#147 and openwizdev/WizSkills#148.

  14. jparker2006 commented on Nov 19, 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