chore(work): tick task in 03-analyzed-brand-and-with-analytics-wrapper
This commit is contained in:
@@ -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<F>` brand to `core-shared/conformance/` and the `withAnalytics
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Add `Analyzed<F>` brand type to `packages/core-shared/src/conformance/brands.ts` and `isAnalyzed(f): f is Analyzed<F>` guard to `brand-runtime.ts`; export both from the conformance index — all gates pass on this commit.
|
||||
- [x] Add `Analyzed<F>` brand type to `packages/core-shared/src/conformance/brands.ts` and `isAnalyzed(f): f is Analyzed<F>` 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.
|
||||
|
||||
Reference in New Issue
Block a user