BC5 readiness: forward-compat spec, briefs, parity lint
Merged
JE
4mo ago+3619+3619+0123456789012345678901234567890123456789-122-122-012345678901234567890123456789
Summary
Foundation PR for BC5 release readiness. Additive across the board — no behavior changes, no breaking renames.
- Forward-compat Smithy additions for BC5 read paths on existing operations:
Notificationgainsbubble_up_url,bubble_up_atGetMyNotificationsOutputgainsbubble_ups,scheduled_bubble_upsPersongainstagline(alias ofbio)Todogainssteps(reuses existingCardStepshape)Todosetgainstodos_count,completed_loose_todos_count,todos_url,app_todos_urlmemoriesmember documented as observed-current behavior pending BC team's back-compat decision
- Parallel BC4/BC5 provenance:
spec/api-provenance.jsonrestructured for parallel branch tracking. Post-launch topology (BC5 launched 2026-05-27;fivemerged intomaster, BC4 moved to thefourbranch):.bc3tracks BC5master(pinned ate52453ff, 2026-07-17 — main's #375 sync baseline, kept through the rebase; still pre-train, so it claims no coverage of the BC5 API train resources) and.compatibility.bc3-fourkeeps the BC4 baseline (four@9d73959a). Existing tooling reads the same.bc3keys and works unchanged;sync-statusiterates.compatibilitykeys generically. make generateaggregator runs Smithy build, behavior model, URL routes, provenance sync, and per-language SDKs in dependency order.make check-bucket-flat-parityflags bucket-scoped GET list operations without flat counterparts. Initial allowlist seeded withwebhooks(legitimately per-project).- Branch-aware
make sync-statusreports drift for the active branch and the BC4 compatibility branch as two clearly-labeled blocks. - API gap registry at
spec/api-gaps/— 11 entries aligned with the BC3 parity plan's Phase 3 deliverables, plusCOORDINATION.mddescribing the SDK ↔ BC3 plan relationship and the absorption lifecycle. make validate-api-gapsvalidates frontmatter and required body sections (Ruby stdlib only, no gem deps).
The api-gap registry is durable: each entry transitions through a documented lifecycle (no-json-contract → addressed-in-bc3-pr-N → absorbed-in-sdk) with status changes flowing through git history. Living next to basecamp.smithy in spec/ makes the spec-ecosystem mental model explicit — entries describe expected future spec state and link back to Smithy structures on absorption.
Commit structure
spec(bc5)— Smithy additions + provenance restructure + parity-lint allowlist seedbuild(make)— generate aggregator + parity lint + branch-aware sync-status + validator make-targetdocs(api-gaps)— API gap registry + COORDINATION.md + validator + CONTRIBUTING updates
4-9. One commit per SDK (ts,ruby,python,kotlin,swift,go) for regenerated artifacts
Cross-team contract decisions (called out in COORDINATION.md)
Two items the SDK canary will surface that need BC team resolution before release:
memories: []on BC5 — back-compat or accept-and-document.- Longstanding
app_todoslists_urltypo — server fix, alias period, or SDK accommodation.
Test plan
-
make smithy-check,make behavior-model-check,make provenance-check,make sync-spec-version-check,make sync-api-version-check -
make go-check-drift,make kt-check-drift,make py-check-drift,make auth-routable-check -
make ts-check,make rb-check,make py-check,make kt-check,make swift-check,make go-check -
make conformance-{go,kotlin,typescript,ruby,python} -
make check-bucket-flat-parity(1 bucket-scoped list op, allowlisted) -
make validate-api-gaps(11 entries + allowlist, clean) -
make sync-statusreports both.bc3(primary:master) and.compatibility.bc3-four(compat:four) blocks, clearly labeled -
bash scripts/validate-api-gaps.shpasses from a clean shell (env -i ...,ruby --disable-gems ...) -
make lint-actions
What this PR is NOT
This PR is the foundation. It does not include:
- The TS canonical wire-capture canary (PR 2, stacked on this one)
- Cross-language wire-replay decoders (PR 3)
- Pairwise BC4↔BC5 comparison +
check-bc5-compatorchestrator (PR 4) - API gap detector tooling (PR 5)
- New SDK services for any registered gap — those land per-entry as BC3 ships each Phase 3 deliverable