chore(work): finish 01-wire-use-case-helper

Catches up the story's checkbox + frontmatter status to reflect that
the slice shipped in commit 1bbe866. The V1 orchestrator landed the
implementer's slice commit on main but had no state-mutation step,
so the bullet stayed unticked and `pnpm work next` would have
redundantly re-dispatched the implementer for a no-op slice.

Bookkeeping-only — no code changes.
This commit is contained in:
2026-05-13 19:43:45 +02:00
parent edbc6a8fad
commit e08e0a10c0
2 changed files with 8 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ id: 01-wire-use-case-helper
epic: 2026-05-13-binder-wrap-helper
title: Introduce wireUseCase helper in core-shared
type: technical-story
status: in-progress
status: done
feature: core-shared
depends-on: []
blocks: [02-migrate-feature-binders, 03-update-generator-templates]
@@ -40,4 +40,4 @@ Every feature binder currently inlines the same `withSpan + withCapture` wrappin
## Tasks
- [ ] Add `wire-use-case.ts` + `wire-use-case.test.ts` to `packages/core-shared/src/conformance/` and export from the conformance index — implement the helper (options object: `container`, `symbol`, `factory`, `deps`, `feature`, `layer`, `name`, `tracer`, `logger`, optional `auditLog`) with full unit tests covering both audit and no-audit paths, brand presence assertions via `isInstrumented` / `isCaptured` / `isAudited`, container binding, and idempotent re-bind; all gates pass on this single commit.
- [x] Add `wire-use-case.ts` + `wire-use-case.test.ts` to `packages/core-shared/src/conformance/` and export from the conformance index — implement the helper (options object: `container`, `symbol`, `factory`, `deps`, `feature`, `layer`, `name`, `tracer`, `logger`, optional `auditLog`) with full unit tests covering both audit and no-audit paths, brand presence assertions via `isInstrumented` / `isCaptured` / `isAudited`, container binding, and idempotent re-bind; all gates pass on this single commit.

View File

@@ -1,5 +1,5 @@
{
"updated_at": "2026-05-13T17:17:12.493Z",
"updated_at": "2026-05-13T17:43:46.451Z",
"epics": {
"2026-05-13-binder-wrap-helper": {
"status": "in-progress",
@@ -7,10 +7,10 @@
"prd": "docs/work/prds/2026-05-13-binder-wrap-helper.prd.md",
"stories": {
"01-wire-use-case-helper": {
"status": "in-progress",
"status": "done",
"title": "Introduce wireUseCase helper in core-shared",
"ac_total": 1,
"ac_completed": 0,
"ac_completed": 1,
"depends_on": [],
"blocks": [
"02-migrate-feature-binders",
@@ -56,29 +56,17 @@
}
},
"ready": [
{
"epic": "2026-05-13-binder-wrap-helper",
"story": "01-wire-use-case-helper",
"title": "Introduce wireUseCase helper in core-shared"
}
],
"blocked": [
{
"epic": "2026-05-13-binder-wrap-helper",
"story": "02-migrate-feature-binders",
"title": "Migrate all five feature binders to wireUseCase",
"waiting_on": [
"2026-05-13-binder-wrap-helper/01-wire-use-case-helper"
]
"title": "Migrate all five feature binders to wireUseCase"
},
{
"epic": "2026-05-13-binder-wrap-helper",
"story": "03-update-generator-templates",
"title": "Update feature generator templates to emit wireUseCase call shape",
"waiting_on": [
"2026-05-13-binder-wrap-helper/01-wire-use-case-helper"
]
"title": "Update feature generator templates to emit wireUseCase call shape"
}
],
"blocked": [],
"needs_prd_ship": []
}