Repository navigation
Description
Parent
Ticket KN10 of spec #1365 (0.1.0). Size: S. From Jake's J237, checks over prose (private record on ClosedWiz).
What to build
The records-v1 claim and lease rules are model-checked, not only described. A small model of records v1's claim, lease, hand-back and release steps (one ticket, several agents, wakes that resume late, notes that lapse) is checked exhaustively for the safety rules records v1 states: never two live holders of one ticket, a lapsed holder never takes a ticket back from a newer one, a release is never lost, and every claim is either held, released or lapsed. A broken variant of each rule must make the checker fail, so the model provably catches the bug it guards.
- The checker: a small, pinned, licence-checked tool (J187), or a short exhaustive search in the kit's own language if that is simpler; the pull request names the choice and why.
- Runs in CI: added to the records-v1 kit's existing CI job under the standing ruling on a ticket's own tests.
Owned paths
kernel/records/model/inopenwizdev/OpenWiz(new: the model, its checker run and the broken variants).github/workflows/inopenwizdev/OpenWiz(shared: only adding this model check to the records-v1 kit's existing CI job)
Relies on: nothing
Links
- 0.1.0 KN1: records v1: the notebook's rules as a short spec, with its test kit #1366 real: the records-v1 claim and lease rules it models
Acceptance criteria
- The model checks every safety rule records v1 states for claims and leases, and passes on the current rules
- A broken variant of each rule fails the check, recorded in the pull request
- Any rule the model finds unsafe is reported on 0.1.0 spec: The kernel: records v1, drivers for any host, and bots as orchestrators #1365 rather than silently changed
- It runs in CI in the records-v1 kit's job
- 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>.
Proof
The model check in CI and its failing broken variants.
Builder Claude Code Opus 5.5 Medium and, while J224 stands, a fresh Claude Code Opus 5.5 Medium reviewer that didn't build it, no helper agents.
Activity
jparker2006 commentedon Nov 19, 2026
launch-fleet: start checked, branch room/1419-records-claim-model-clean
jparker2006 commentedon Nov 19, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5 Medium
skills: build-ticket@0.1.2
step: fixed CI: registry rows for the model's paths and CI step; new green head pushed
time: 2026-11-19T15:58:39Z
pr: #1429
#1419 green: the writer's fences; every rule holds, each broken varia…
#1419 green: registry rows for the model's paths and its CI step; car…
jparker2006 commentedon Nov 19, 2026
agent: reviewer
state: done
harness: Claude Code
model: Opus 5.5 Medium
skills: review-ticket@0.1.2
step: posted APPROVE at 36b07ee; polish #1445
time: 2026-11-19T20:25:21Z
pr: #1429
jparker2006 commentedon Nov 19, 2026
launch-fleet: archived
#1394 #1417 green: merge main; fold #1419's model check into the kern…