Repository navigation
Description
Part of #2948. Found during #2950; supplies #2934 Phase B task 9 without authorizing concurrency rollout.
Context
LeaseObservation (scripts/ci-coordination.ts:3-6) records acquired leases, not callers refused before acquisition. WorkEvent (scripts/ci-throughput.ts:14-20) supports paired reservation waits but no structured request/admission/refusal or reconfirmation reason. Occupancy cannot establish caller demand or time lost to base advancement.
Scope
Define and emit bounded, opaque-ID measurement events for reservation request, admission and refusal, and reconfirmation reasons. Integrate their collection with the archive and local-event publication; keep missing historical events unknown.
Out of scope
Changing reservation/merge policy, implementing Phase B concurrency, reconstructing transcripts or collecting personal identifiers.
Acceptance criteria
- Request and outcome share a stable identity, candidate head/base, timestamps and a bounded reason enum.
- Base advancement, changed head and other reconfirmation reasons are distinguishable without storing prose.
- Offline successful/refused/interrupted fixtures prove joins and explicit unknown outcomes; idempotent publication preserves every observation.
- The evidence inventory records the implemented kind/version/cadence and limitations.
Verification
Focused offline failing-first and mutation receipts plus check:pr; no network tests.
Contract impact
Repository measurement only; classify any new command before implementation.
2026-11-16 triage at main 3b104890f8: Verified the LeaseObservation and WorkEvent declarations and their named inventory gaps (docs/process/ci-evidence.md). Extend the existing bounded event/publication/collection path; retain failed requests, interrupted outcomes, exact candidate identities and explicit unknown history without inventing historical demand. Implementation chooses concrete version/enum names under these existing measurement rules, not a new admission or concurrency policy. Existing p2 and native parent #2948 are preserved; no unresolved prerequisite blocks the specified measurement task.
Activity