diff --git a/docs/work/conformance-system-v1/01-define-feature-helper/_story.md b/docs/work/conformance-system-v1/01-define-feature-helper/_story.md index 5af374f..1316f77 100644 --- a/docs/work/conformance-system-v1/01-define-feature-helper/_story.md +++ b/docs/work/conformance-system-v1/01-define-feature-helper/_story.md @@ -3,7 +3,7 @@ id: 01-define-feature-helper epic: conformance-system-v1 title: defineFeature helper + Instrumented/Captured/Audited brands type: technical-story -status: in-progress +status: done feature: core-shared depends-on: [] blocks: [02-boot-assertions] @@ -38,12 +38,12 @@ Compile-time TS2322 fires when an unwrapped factory is bound through - Generator emitting manifest stubs (story 05) ## Tasks -- [ ] Brand types: `Instrumented` and `Captured` -- [ ] `withSpan` attaches `Instrumented` -- [ ] `withCapture` attaches `Captured` -- [ ] `defineFeature` helper + manifest types -- [ ] `ProductionUseCase` slot type -- [ ] `withAudit` wrapper + `Audited` brand -- [ ] `authManifest` declaration -- [ ] `auth.signIn` rebound through branded slot -- [ ] Negative test: unwrapped factory rejected at type level +- [x] Brand types: `Instrumented` and `Captured` +- [x] `withSpan` attaches `Instrumented` +- [x] `withCapture` attaches `Captured` +- [x] `defineFeature` helper + manifest types +- [x] `ProductionUseCase` slot type +- [x] `withAudit` wrapper + `Audited` brand +- [x] `authManifest` declaration +- [x] `auth.signIn` rebound through branded slot +- [x] Negative test: unwrapped factory rejected at type level diff --git a/docs/work/conformance-system-v1/_epic.md b/docs/work/conformance-system-v1/_epic.md index a039deb..a5962fe 100644 --- a/docs/work/conformance-system-v1/_epic.md +++ b/docs/work/conformance-system-v1/_epic.md @@ -30,7 +30,7 @@ See `docs/architecture/feature-conformance-explainer.html` and - Sandcastle orchestration (Phase 2: work-system-v1 epic) ## Stories -- [ ] [01 — defineFeature helper + Instrumented/Captured/Audited brands](01-define-feature-helper/_story.md) +- [x] [01 — defineFeature helper + Instrumented/Captured/Audited brands](01-define-feature-helper/_story.md) - [ ] 02 — `assertConformance` + boot wiring (later plan) - [ ] 03 — AST-aware ESLint rules (later plan) - [ ] 04 — CI drift gate (later plan)