From ff1e0b052c6a9c0663b247fe82abbf4a4b1b5a50 Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Mon, 18 May 2026 13:59:14 +0200 Subject: [PATCH] chore(work): tick task in 04-manifest-schema-and-wire-use-case --- docs/work/_system/_state.json | 6 +++--- .../04-manifest-schema-and-wire-use-case/_story.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/work/_system/_state.json b/docs/work/_system/_state.json index 073086e..a25383d 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-18T11:55:08.636Z", + "updated_at": "2026-05-18T11:59:15.720Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -279,10 +279,10 @@ ] }, "04-manifest-schema-and-wire-use-case": { - "status": "todo", + "status": "in-progress", "title": "Extend manifest schema and wireUseCase with analyticsEvents", "ac_total": 2, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "03-analyzed-brand-and-with-analytics-wrapper" ], 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 1db099a..dd907c4 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: todo +status: in-progress 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-18T10:46:27.080Z +updated: 2026-05-18T11:59:15.558Z --- ## Goal @@ -46,5 +46,5 @@ The manifest field is the declaration surface the ESLint rule (Story 07) and boo ## Tasks -- [ ] 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. +- [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.