Skip to content

0.1.2 MK1: the WizMarket listing contract, its schema and fixtures #2485

Closed
openwizdev/WizMarket
#1

Description

@jparker2006

Parent

Ticket MK1 of spec #2476 (0.1.2): the listing contract, contract first. Size: S.

What to build

The public listing format every other ticket builds on, exactly as the spec's Implementation Decisions say, in openwizdev/WizMarket:

  • contracts/listing.v1.md: a listing (listings/<id>.json, its id rule and every field), publisher-chosen tags, stage, status and proof; verified by kind (tags driver/harness: a receipt; tag skill: source at a 40-hex commit and a check command; anything else: verified refused); the receipt format line by line (headers listing, host, driver, kit, harness, model, date, run by as the gh login the kit read with, then kit.py's five pass lines in order and Result: 5 of 5 pass; the adding pull request is the record; no throwaway repository or ticket); the privacy rule (no token shapes, private ids, machine paths); and the index shape that check/check.py index prints for consumers (registry commit, each listing with its checked status, and for a verified listing its proof kind, receipt date and receipt's public URL or skill source).
  • schema/listing.v1.json: a JSON Schema for one listing file (the kind rules stay in prose and in MK2's check).
  • fixtures/: synthetic examples, valid and broken, each named for what it shows (a valid listed listing, a valid verified driver with its receipt, a valid verified skill, a false verified for each kind, a 4-of-5 receipt, an unknown field). Synthetic only: no real host, login or commit.

Words are plain and short; a first-time publisher reads this file. Say that later changes add listing.v2 and never change v1.

Owned paths

  • contracts/listing.v1.md in openwizdev/WizMarket (new)
  • schema/listing.v1.json in openwizdev/WizMarket (new)
  • fixtures/ in openwizdev/WizMarket (new)

Relies on: nothing

Links

none

Acceptance criteria

  • The contract states every field, the id rule, the kind rules, the receipt format and the index shape, matching spec 0.1.2 spec: Marketplace v0, a public registry and openwiz.dev/market #2476
  • Every valid fixture validates against the schema and every broken one fails it or breaks a stated kind rule (show it with a one-off command in the PR; MK2 writes the test)
  • Nothing real or private in the fixtures

Proof

P1 (contract): the review against the spec.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: started

    Hand checks by the spec's lead (2026-11-22): open; only ready-for-agent; no claim, builder or pull request; no blockers; no owned-path clash (openwizdev/WizMarket holds only its README, with no open pull request). Plan approval: #2476 revision 1 (comment 7087275832).

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: asking
    harness: Claude Code
    model: claude-opus-5-5
    skills: build-ticket@0.2.2, review-ticket@0.4.0
    step: Asked the spec's lead to rule on review finding R1 (receipt note ids versus verbatim kit output); fixing R2 to R7 meanwhile.
    time: 2026-11-22T23:20:13Z

  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Hand-back: openwizdev/WizMarket#1 at e13cb4d5b20285a416a04194f32ee266eaac6443, ready for review.

    • contracts/listing.v1.md, schema/listing.v1.json and fixtures/ (5 valid, 14 broken, plus fixtures/index.json), all synthetic.
    • WizMarket has no CI yet, so no check runs at this head. The PR description has the one-off validation: red at main (no schema, exit 1), then green at this head (19 of 19 cases as stated, exit 0), and a proof that the runner fails when the schema accepts everything.
    • 8 rulings in the PR. Two need the reviewer's eye: the index shape (ruling 5), and ruling 4: kit.py's own credential pattern matches the pass token: line of every real receipt, so the contract says a privacy scan must not refuse that line for token: alone (this affects MK2 0.1.2 MK2: WizMarket's check and CI refuse a false verified #2486 and LR1 0.1.2 LR1: the live-check rig's receipt writer, in WizMarket's listing v1 form #2507).
    • Self-check: self-check: ok. Scope: scope: ok.
  6. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Question for the spec's lead: review finding R1 on openwizdev/WizMarket#1 changes a spec decision, so I've stopped on it.

    What I found: kit.py's passing start and wake lines put in the status note's comment id (the run posted builder status note %d, the run edited builder status note %d, kit.py lines 363 and 378). When the kit's throwaway tracker is private, that id is a live identifier of a private record. Spec #2476 says a receipt carries "kit.py's stdout verbatim", and MK4 (#2489) says "Copy the kit's five lines verbatim". So redacting the number changes the spec, not just the contract's wording.

    Options:

    • (a) Keep it verbatim and require the kit's throwaway tracker to be a public GitHub repository for any run that becomes a receipt. The id is then a public comment. Nothing changes for MK4 or LR1, but a private-tracker run can't become a receipt.
    • (b) Redact the number. Lines 10 and 11 become exactly pass start: the run posted builder status note <note> and pass wake: the run edited builder status note <note>. The raw output stays in the rig's local run record. The spec's "verbatim" becomes "verbatim except the note number", and MK4 and LR1 (0.1.2 LR1: the live-check rig's receipt writer, in WizMarket's listing v1 form #2507) write that form.

    My pick: (b). It works for every tracker, and the open-development contract keeps live identifiers private. The cost is one fixed substitution for MK4, LR1 and MK2.

    I'm fixing R2 to R7 on the PR now. R1 waits for your ruling.

  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Hand-back, review round 1: openwizdev/WizMarket#1 at cd92358efc0cf9c516b43e8765af942a137096a0.

    • R2 to R7 fixed, red first (fixtures at 772843d, then the fix). The one-off validation: 27 of 27 cases as stated, exit 0. Replies, one per finding: #2485: 0.1.2 MK1: the WizMarket listing contract, its schema and fixtures WizMarket#1 (comment)
    • R1 is open and waits for your ruling above (it changes the spec's "verbatim" decision).
    • WizMarket still has no CI, so no check runs at this head. Self-check: self-check: ok. Owned paths: checked locally, every changed path is under contracts/listing.v1.md, schema/listing.v1.json or fixtures/. ticket.py scope and the status note need GitHub's GraphQL, which is rate-limited until 23:36 UTC, so the status note still reads done from the first hand-back.
    • One gap for the lead: R4's index rule assumes WizMarket's main will require MK2's checks (a repository ruleset).
  8. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Lead's ruling on R1 (spec #2476): (b). A receipt's pass start: and pass wake: lines carry the status note's comment id replaced by the fixed <note>; every other character of kit.py's output stays verbatim, and the raw output stays in the run's own local record. Why: a public registry must take receipts from runs on private throwaway trackers, and a number from a private tracker is a private id. The contract states the one normalization exactly, and the check accepts only that form. MK4 (#2489) applies the same normalization to its converted runs.

  9. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: fleet
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: launch-fleet@0.4.0
    step: settled needs-info
    time: 2026-11-22T23:40:45Z

  10. added
    needs-info
    on Nov 22, 2026
  11. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

    Merged as openwizdev/WizMarket@0149c2d (WizMarket#1, VERDICT: APPROVE at 0251b1f064b1706872084f9b946e4d227bb74a83).

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

    needs-infoready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions