From a5ab698b412ee4f1b0b959badec4bdcace37d379 Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Mon, 18 May 2026 13:46:48 +0200 Subject: [PATCH] chore(work): tick task in 03-analyzed-brand-and-with-analytics-wrapper --- docs/work/_system/_state.json | 6 +++--- .../03-analyzed-brand-and-with-analytics-wrapper/_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 d2cee5b..ee59c67 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-18T11:38:17.851Z", + "updated_at": "2026-05-18T11:46:49.704Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -267,10 +267,10 @@ ] }, "03-analyzed-brand-and-with-analytics-wrapper": { - "status": "todo", + "status": "in-progress", "title": "Add Analyzed brand and withAnalytics wrapper", "ac_total": 2, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "01-scaffold-core-analytics-package" ], diff --git a/docs/work/epics/product-analytics-channel/03-analyzed-brand-and-with-analytics-wrapper/_story.md b/docs/work/epics/product-analytics-channel/03-analyzed-brand-and-with-analytics-wrapper/_story.md index 55154b1..2a2660a 100644 --- a/docs/work/epics/product-analytics-channel/03-analyzed-brand-and-with-analytics-wrapper/_story.md +++ b/docs/work/epics/product-analytics-channel/03-analyzed-brand-and-with-analytics-wrapper/_story.md @@ -3,12 +3,12 @@ id: 03-analyzed-brand-and-with-analytics-wrapper epic: product-analytics-channel title: Add Analyzed brand and withAnalytics wrapper type: technical-story -status: todo +status: in-progress feature: core-shared depends-on: [01-scaffold-core-analytics-package] blocks: [04-manifest-schema-and-wire-use-case] created: 2026-05-18T12:02:00Z -updated: 2026-05-18T10:46:27.080Z +updated: 2026-05-18T11:46:49.541Z --- ## Goal @@ -42,5 +42,5 @@ Add the `Analyzed` brand to `core-shared/conformance/` and the `withAnalytics ## Tasks -- [ ] Add `Analyzed` brand type to `packages/core-shared/src/conformance/brands.ts` and `isAnalyzed(f): f is Analyzed` guard to `brand-runtime.ts`; export both from the conformance index — all gates pass on this commit. +- [x] Add `Analyzed` brand type to `packages/core-shared/src/conformance/brands.ts` and `isAnalyzed(f): f is Analyzed` guard to `brand-runtime.ts`; export both from the conformance index — all gates pass on this commit. - [ ] Add `withAnalytics(analytics, factory)` wrapper to `packages/core-analytics/src/with-analytics.ts` using `attachBrand` from `core-shared/conformance/brand-runtime` + `with-analytics.test.ts` asserting brand attached after wrapping and absent before; export from `@repo/core-analytics` root barrel — all gates pass on this commit.