WI-068 · Platform & Contracts · platform-foundations-floor
done P1 medium risk Owner: Paul Reviewer: Paul 100% · 3/3 tasks complete
| Code | WI-068 |
|---|---|
| Phase | Platform & Contracts |
| Order | 29 of 93 |
| Story points | 8 |
| Primary surface | Shared platform conventions + CI gate + quarantine registry |
| Retires | — |
| Depends on | — |
| Blocks | — |
Lay the cross-cutting floor every later item builds on: one ID/idempotency/correlation convention, a no-secrets deterministic CI target, and the legacy-route quarantine registry + CI guard that blocks P&C exit if any production path bypasses a P-contract.
Conventions
Keyless CI floor
Quarantine registry
No linked requirements.
ID/idempotency/correlation convention (operation_id/request_id/correlation_id/causation_id + key scope/format/replay) consumed by P5/P8; keyless CI floor runs P1 fixtures + P5 direct-write/idempotency + P6 RLS/leakage structural + P7 mock/current-tool tests with no secrets; legacy-quarantine registry encodes the D32 classification + a CI guard that fails P&C exit on a detected bypass. Per P9 spec + D32.
No paid API / infra spend triggered by this item.
done Sprint: P&C Wave 1: Foundations
Edit status / sprint on the ★ Live Board → — changes are logged live with who / when / why.
No human tasks linked.
padStart(9).KEYLESS list auto-extends as P5/P6/P7 ship keyless suites.None recorded yet.
None recorded yet.
None recorded yet.
packages/platform/src/ids.mjs — convention: IDs + context + idempotencypackages/platform/CONVENTION.md — the documented convention (P1/P5/P7/P8 consume)packages/platform/quarantine/registry.json — D32 legacy-quarantine registrypackages/platform/scripts/check-quarantine.mjs — exit-gate guard (D31)packages/platform/scripts/ci-floor.mjs — keyless CI floor (G15)packages/platform/test/ids.test.mjs — + quarantine.test.mjspackages/platform/package.jsonStarted as part of P&C Wave 1: Foundations (D36). Claude is building this — the cross-cutting floor everything sits on (lands first). Owner Paul. No dependencies.
Shipped packages/platform: the ID/correlation/idempotency convention (src/ids.mjs + CONVENTION.md), the legacy-quarantine registry + guard (quarantine/registry.json, check-quarantine.mjs with a --exit-gate that blocks P&C exit per D31), and the keyless CI floor (scripts/ci-floor.mjs — runs scan-contracts + platform suites + the quarantine report).
padStart(9).KEYLESS list auto-extends as P5/P6/P7 ship keyless suites.