File the event-feed api-gap entry and record the cross-team decisions

Merged
JE
4mo ago
+217-4

Files the obligation COORDINATION.md's lifecycle step 1 creates for BC3's account-wide event feed (BC3 #9646/#9659, unmerged eventstream+accountid branch), now that the pre-merge review cycle with the BC3 authors has settled the contract questions. Exactly three files; no spec surface (SPEC.md/Smithy/openapi untouched), so it rides beside the spec train legitimately.

What this records

spec/api-gaps/event-feed.md (new): the registry entry, revised against BC3 branch head 8be5c67de5 (a branch-head verification record, never the provenance pin — the pin never references unmerged history). The "Settled pre-merge" block records the decisions:

  • the poll response body envelope {"events", "position", "next"} is the contract; headers are echoes; PollEvents becomes an ordinary generated operation
  • the filter digest is published as a versioned srv1 contract — bare 16-hex on the wire; srv1-<digest> is the SDK-side checkpoint-lineage namespace
  • the 409 body names both position_digest and filters_digest
  • the disconnect-reason matrix is four rows, including remote/reconnect:true (revocation is not wire-distinguishable; a failing re-mint is the designed detection path)
  • stream tickets are stateless replayable bearers (mint safe-to-retry; statelessness re-confirmed at BC3's merge-time gate)
  • raw filter bounds, page cap, wrong-account 400, presence-bearing visible_to_clients, guarantor identification
  • entry-boundary semantics are position-relative, never wall-clock: since=now permanently excludes an in-flight lower id that commits after entry (deterministic regression on the branch). The entry states the SDK connector's drain-before-save consequence in its scoped form — a save-ordering invariant against a defined observation point, with no global at-least-once claim; post-snapshot stragglers are the feed's documented best-effort case.

COORDINATION.md: cross-team item 4 in the established shape, plus the Division-of-labor line fixed to match Lifecycle step 3 (the SDK authors the Smithy + regeneration PRs; BC3 reviews) — resolving the self-contradiction the BC3 reply pointed out.

spec/api-gaps/README.md: the one registry row. The pin blockquote is untouched.

What stays gated

Fixture freezing and Layer-1 absorption wait on BC3's merge-time gate (rebase both PRs, re-CI, fresh exact-head reviews, re-confirmed ticket statelessness, regenerated transcripts). Layer-2 work proceeds against the recorded decisions, marked provisional wherever it pins BC3-derived wire literals or semantics.

Verification

  • make validate-api-gaps → 32 entries clean.
  • make check on this branch composed with #605 → full run (see below).
  • git diff --stat = exactly the three files above.

Note: the first CI run inherited main's doc-constants-check breakage (cross-merge conflict between #601 and #590, fixed by #605). Rebased onto post-#605 main; the full make check passes locally on exactly this composition (REAL_EXIT=0).