Repository navigation
Description
Parent
Ticket KN2 of spec #1365 (0.1.0). Size: M.
What to build
A place that runs agents plugs in through one small contract. kernel/driver.v1.md defines the four commands (version, start with repository, ticket, skill, harness and model returning a run id, wake, stop), JSON in and out, a schema command printing one JSON Schema per command, plain field names, and errors as JSON with a plain next field. A driver template shows a minimal one in a few dozen lines. The test kit runs the five checks against any driver: start runs a throwaway ticket to a status note; wake reaches it; stop ends it; version matches records; no login or token passes through the driver.
Owned paths
kernel/driver.v1.md(new),kernel/driver-kit/(new) andadapters/template/(new)
Relies on: kernel/records.v1.md
Links
- 0.1.0 KN1: records v1: the notebook's rules as a short spec, with its test kit #1366 real: the records rules the kit's status-note and version checks read
Acceptance criteria
- The contract and its schemas cover the four commands,
schemaand JSON errors withnext - The kit runs all five checks against the template driver on a throwaway repository and ticket, and fails a planted driver that passes a token through, red first
- The template is small enough to copy and adapt in an hour
- 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>, orno 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
D1, D2: the kit against the template and a planted bad driver.
Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSkills 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
jparker2006 commentedon Nov 19, 2026
launch-fleet: start checked, branch room/1367-driver-kit
jparker2006 commentedon Nov 19, 2026
launch-fleet: archived