diff --git a/docs/work/_system/_state.json b/docs/work/_system/_state.json index a25383d..87a7594 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-18T11:59:15.720Z", + "updated_at": "2026-05-18T15:15:39.234Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -279,10 +279,10 @@ ] }, "04-manifest-schema-and-wire-use-case": { - "status": "in-progress", + "status": "done", "title": "Extend manifest schema and wireUseCase with analyticsEvents", "ac_total": 2, - "ac_completed": 1, + "ac_completed": 2, "depends_on": [ "03-analyzed-brand-and-with-analytics-wrapper" ], @@ -348,8 +348,8 @@ "ready": [ { "epic": "product-analytics-channel", - "story": "04-manifest-schema-and-wire-use-case", - "title": "Extend manifest schema and wireUseCase with analyticsEvents" + "story": "05-assert-feature-conformance-analyzed", + "title": "Extend assertFeatureConformance to check Analyzed brand" }, { "epic": "product-analytics-channel", @@ -363,14 +363,6 @@ } ], "blocked": [ - { - "epic": "product-analytics-channel", - "story": "05-assert-feature-conformance-analyzed", - "title": "Extend assertFeatureConformance to check Analyzed brand", - "waiting_on": [ - "product-analytics-channel/04-manifest-schema-and-wire-use-case" - ] - }, { "epic": "product-analytics-channel", "story": "06-analytics-protocol-bind-context", diff --git a/docs/work/epics/product-analytics-channel/04-manifest-schema-and-wire-use-case/_story.md b/docs/work/epics/product-analytics-channel/04-manifest-schema-and-wire-use-case/_story.md index dd907c4..80fac5d 100644 --- a/docs/work/epics/product-analytics-channel/04-manifest-schema-and-wire-use-case/_story.md +++ b/docs/work/epics/product-analytics-channel/04-manifest-schema-and-wire-use-case/_story.md @@ -3,7 +3,7 @@ id: 04-manifest-schema-and-wire-use-case epic: product-analytics-channel title: Extend manifest schema and wireUseCase with analyticsEvents type: technical-story -status: in-progress +status: done feature: core-shared depends-on: [03-analyzed-brand-and-with-analytics-wrapper] blocks: @@ -12,7 +12,7 @@ blocks: 07-eslint-rule-no-undeclared-analytics-event, ] created: 2026-05-18T12:03:00Z -updated: 2026-05-18T11:59:15.558Z +updated: 2026-05-18T15:15:39.064Z --- ## Goal @@ -47,4 +47,4 @@ The manifest field is the declaration surface the ESLint rule (Story 07) and boo ## Tasks - [x] Add `analyticsEvents: string[]` (default `[]`) to the use-case schema in `define-feature.ts` and update the feature generator template to emit the field — existing manifests remain valid; all gates pass on this commit. -- [ ] Extend `wireUseCase` to accept optional `analytics` arg and compose `withAnalytics` (innermost, before `withAudit`) when provided + update `wire-use-case.test.ts` with analytics path (Analyzed brand present) and no-analytics path (Analyzed brand absent) — all gates pass on this commit. +- [x] Extend `wireUseCase` to accept optional `analytics` arg and compose `withAnalytics` (innermost, before `withAudit`) when provided + update `wire-use-case.test.ts` with analytics path (Analyzed brand present) and no-analytics path (Analyzed brand absent) — all gates pass on this commit. diff --git a/docs/work/epics/product-analytics-channel/_epic.md b/docs/work/epics/product-analytics-channel/_epic.md index 6019cfb..be00c2c 100644 --- a/docs/work/epics/product-analytics-channel/_epic.md +++ b/docs/work/epics/product-analytics-channel/_epic.md @@ -6,7 +6,7 @@ type: epic status: in-progress features: [core-analytics, core-shared, core-testing, core-eslint] created: 2026-05-18T12:00:00Z -updated: 2026-05-18T11:55:08.463Z +updated: 2026-05-18T15:15:39.064Z --- ## Goal @@ -22,7 +22,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi - [x] [01 — Scaffold @repo/core-analytics package](01-scaffold-core-analytics-package/_story.md) - [x] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md) - [x] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md) -- [ ] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md) +- [x] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md) - [ ] [05 — Extend assertFeatureConformance to check Analyzed brand](05-assert-feature-conformance-analyzed/_story.md) - [ ] [06 — Add AnalyticsProtocol and BindContext.analytics](06-analytics-protocol-bind-context/_story.md) - [ ] [07 — Add no-undeclared-analytics-event ESLint rule](07-eslint-rule-no-undeclared-analytics-event/_story.md)