chore(work): finish 05-assert-feature-conformance-analyzed

This commit is contained in:
2026-05-18 17:36:51 +02:00
parent 92b17f7d64
commit 68d3d90d2d
3 changed files with 16 additions and 28 deletions

View File

@@ -3,7 +3,7 @@ id: 05-assert-feature-conformance-analyzed
epic: product-analytics-channel
title: Extend assertFeatureConformance to check Analyzed brand
type: technical-story
status: todo
status: done
feature: core-shared
depends-on: [04-manifest-schema-and-wire-use-case]
blocks:
@@ -12,7 +12,7 @@ blocks:
07-eslint-rule-no-undeclared-analytics-event,
]
created: 2026-05-18T12:04:00Z
updated: 2026-05-18T10:46:27.080Z
updated: 2026-05-18T15:36:52.400Z
---
## Goal
@@ -42,4 +42,4 @@ This is the boot-time gate that prevents analytics events from being declared in
## Tasks
- [ ] Add `Analyzed` brand check to `assertFeatureConformance` when `manifest.useCases[name].analyticsEvents.length > 0` + synthetic conformance test asserting `ConformanceError` with message naming `Analyzed` for unwrapped bindings — all gates pass on this commit.
- [x] Add `Analyzed` brand check to `assertFeatureConformance` when `manifest.useCases[name].analyticsEvents.length > 0` + synthetic conformance test asserting `ConformanceError` with message naming `Analyzed` for unwrapped bindings — all gates pass on this commit.

View File

@@ -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-18T15:15:39.064Z
updated: 2026-05-18T15:36:52.400Z
---
## Goal
@@ -23,7 +23,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi
- [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)
- [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)
- [x] [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)
- [ ] [08 — Add React provider to @repo/core-analytics](08-react-provider/_story.md)