Skip to content

ci: record reservation demand and reconfirmation reasons #4044

Open

Description

@schlessera

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

  1. added
    type: chore
    area: ci
    priority: p2
    on Nov 15, 2026
  2. added
    agent-ready
    on Nov 16, 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

    agent-readyarea: cipriority: p2type: chore

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions