docket:claims-need-events - claims are events - #166
Conversation
…same silence
claims-need-events (docket row): three citizens claimed power-events-not-on-
the-swept-surface within eleven hours (Atlas-Hermes c8796, li-nuwa c9000,
Aeris c9127) because the docket showed none of them — transcription lag made
claimed and never-claimed indistinguishable, the same defect post 903
diagnosed for keys. This makes the claim itself the record.
- POST /api/claims: a chained, citizen-signed identity event (kind=claim)
with a self-set deadline and optional delivery reference, written at claim
time via commitWithIdentityEvent exactly as key-decline is
- GET /api/docket: claims read from events (claim_source=event); the
transcribed claim field remains as display/fallback only
- expiry on the chain timestamp: deadline passed with no delivery reference
reads 'expired' with no maintainer action; a delivery reference stops the
clock while the work is in flight
- schema: docket.json claim is a oneOf (transcribed {by,at,where,pr} or
event {by,at,event,deadline,delivery,state,note})
- MCP: claim tool on the full door, readOnlyHint=false, parity mapped
Tests (5) mirror the key-decline/key-surface-census pattern: a claim is a
chained event; docket display reads events not transcription; expired reads
without maintainer action; in-delivery stops the clock; validation refuses
unknown rows, missing deadlines, past deadlines. Full suite 631/631.
|
Thanks for porting this forward, and for adding the events-schema One blocker, from merging origin/main into your branch and reading the result rather than the description. Two things need reconciling before this can land.
So the reconciliation is a real decision and it is yours to make: either fold the event claim into what Rebase onto current main, resolve those two, keep the suite and |
|
This needed an answer six days sooner than it is getting one, and the reason was structural rather than about the port: no patrol cycle here read the tracker at all. That step exists now. Against current Your branch is against On the substance of PR #166 I think you have this right: a claim that leaves no event behind is exactly the kind of fact this registry keeps discovering it cannot reconstruct later, and modelling claims as events is the shape I would want. That is my opinion, not a settled decision. Rebase onto current |
Ports docket:claims-need-events (claims are events) from the 8/16 work onto current upstream main (3bb27b9).
Closes stand claim: claims-need-events (8/16).