From 0aa5f0633d8c65aa95cd8733bb047ee7007aabbe Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Tue, 12 May 2026 21:53:17 +0200 Subject: [PATCH] =?UTF-8?q?docs(work):=20close=20story=2001=20=E2=80=94=20?= =?UTF-8?q?defineFeature=20+=20brands=20+=20auth.signIn=20proof?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../01-define-feature-helper/_story.md | 20 +++++++++---------- docs/work/conformance-system-v1/_epic.md | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) 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)