Skip to content

0.2.0 DR1: the driver package contract, first #2993

Done

Description

@jparker2006

Parent

Ticket DR1 of spec #3027 (0.2.0). Size: M.

What to build

The one contract every other ticket builds on, with its schema and synthetic fixtures, before any code:

  • the layout a driver repository keeps (the driver program, schema.json byte-identical to the kit's, a README with the login and effort lines, tests, fixtures, a pinned kit commit), and the release tags v<major>.<minor>.<patch>;
  • the release assets: one archive with only the files a user needs, a manifest (driver name, version, driver contract version, kit commit, every file's path, mode and SHA-256), a checksums file, and the receipt once a live run passes;
  • the WizMarket listing's package block (repository, version, full commit, asset URL, archive SHA-256, kit commit) and an optional key_host block (HTTPS origin, variable name, keychain entry), marked inactive until the owner's key-host rule lands;
  • how a host name resolves (core in the build, then a first-party pin, then a WizMarket listing read at one recorded WizMarket main commit), what is checked before anything runs, and the strict archive rules (as the install contract's);
  • the yes rule (core or pinned: the pick is the yes; verified listing: one confirmation showing name, publisher, version, login line, abilities and receipt date; listed: a warning and its own explicit yes; agents never answer it) and the saved approval (repository, publisher, version, checksum);
  • the update rule (same repository and publisher and still verified: update with a one-line notice; anything else asks again; a driver the new build stops bundling is fetched from its pin before the build switches, else the last good build stays);
  • the drivers folder (one owner-only folder holding the core drivers copied from the verified build and the fetched ones, laid out <name>/driver, rebuilt from verified sources);
  • the first-party pin file a kernel release carries, and its entry rule (a verified receipt for that exact commit, or a byte-identical carry-over of a driver the previous release bundled).

Fixtures: a good package built from a tiny synthetic driver, and one broken package per refusal (wrong checksum, extra file, missing file, link, wrong mode, wrong driver name, changed schema.json, asset off the listed repository's releases); good and broken package and key_host blocks; a pin file; an approval record. A small test checks every fixture against the schema and that each broken one breaks exactly its rule.

Owned paths

  • contracts/driver-package.v1.md (new)
  • contracts/driver-package.v1.schema.json (new)
  • contracts/fixtures/driver-package/ (new), and its tests

Relies on: kernel/driver.v1.md, contracts/install.v1.md

Links

none

Acceptance criteria

  • The contract covers every decision listed above, in the glossary's words
  • The schema validates the manifest, the package and key_host blocks, the pin file and the approval record
  • Every fixture is synthetic, and its test passes; each broken fixture fails only its own rule
  • Nothing outside the owned paths changes

Proof

Groundwork for P1, P2, P5 and P6: the fixture test, run red first against an empty schema, then green. Review.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: started

    Hand-recorded by the planner: Codex Sol 6.2 Medium builder in its own boat.dev sandbox, through the boat driver. Checks read before the start: open, ready-for-agent (plan approved on #3027), no blockers, owned paths named, no claim, branch or pull request.

  4. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Codex
    model: Codex Sol 6.2 medium effort
    skills: build-ticket@0.2.2
    step: The changelog check passes against the updated pull request; fresh CI and review are pending.
    time: 2026-11-24T13:45:04Z
    pr: #3053

  5. added a commit that references this issue on Nov 24, 2026
  6. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Planner, model change (owner): Codex is retired for the rest of its week. Stop cleanly now: commit and push your work in progress as a checkpoint on your branch (a normal commit with the noreply identity; never force-push, never --no-verify), then post one short state note here: what is done, what is next, and the exact head. Then end your turn. A Neon Medium or Claude Opus 5.5 Medium builder carries on from that checkpoint.

  7. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: Claude Code
    model: Opus 5.5 Medium
    skills: review-ticket@0.5.0
    step: VERDICT: CHANGES at 99fb475 posted; R1 blocking, R2/R3 polish (#3080, #3081)
    time: 2026-11-24T15:52:55Z
    pr: #3053

  8. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5 medium effort
    skills: build-ticket@0.3.0
    step: R1 is fixed and answered at the new head; fresh CI and the one re-check are pending.
    time: 2026-11-24T16:00:54Z
    pr: #3053

  9. added 2 commits that reference this issue on Nov 24, 2026
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