chore(work): tick task in 04-manifest-schema-and-wire-use-case

This commit is contained in:
2026-05-18 13:59:14 +02:00
parent 0ee0355f5e
commit ff1e0b052c
2 changed files with 6 additions and 6 deletions

View File

@@ -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"
],

View File

@@ -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.