From 9956d73b10adec46310c816f46bb1864755cb28e Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Tue, 19 May 2026 13:06:52 +0200 Subject: [PATCH] chore(work): tick task in 03-core-consent-foundation --- docs/work/_system/_state.json | 6 +++--- .../03-core-consent-foundation/_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 f1260c2..6d37bf0 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-19T10:29:21.451Z", + "updated_at": "2026-05-19T11:06:54.525Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -262,10 +262,10 @@ ] }, "03-core-consent-foundation": { - "status": "todo", + "status": "in-progress", "title": "core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule", "ac_total": 2, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "02-audit-enum-amendment" ], diff --git a/docs/work/epics/dsr-consent-and-cookie-banner/03-core-consent-foundation/_story.md b/docs/work/epics/dsr-consent-and-cookie-banner/03-core-consent-foundation/_story.md index 733aa55..b07aa7a 100644 --- a/docs/work/epics/dsr-consent-and-cookie-banner/03-core-consent-foundation/_story.md +++ b/docs/work/epics/dsr-consent-and-cookie-banner/03-core-consent-foundation/_story.md @@ -3,12 +3,12 @@ id: 03-core-consent-foundation epic: dsr-consent-and-cookie-banner title: core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule type: technical-story -status: todo +status: in-progress feature: core-consent depends-on: [02-audit-enum-amendment] blocks: [04-core-consent-implementation] created: 2026-05-19T12:00:00Z -updated: 2026-05-19T09:55:07.020Z +updated: 2026-05-19T11:06:54.354Z --- ## Goal @@ -53,5 +53,5 @@ Manifest-first ordering requires that the consent type surface and structural en ## Tasks -- [ ] Run `pnpm turbo gen core-package consent` + add `ConsentCategory`, `ConsentState`, `UserConsentState` types in `core-consent/consent-types.ts` + `IConsent` interface in `core-consent/consent.interface.ts` + `ConsentChecked` brand + `isConsentChecked` helper in `core-shared/conformance/brands.ts` + `withConsent` wrapper in `core-consent/with-consent.ts` with unit tests asserting brand attachment and factory passthrough + `requiresConsent: ConsentCategory[]` field in the feature manifest schema (default `[]`) + extend `assertFeatureConformance` to require `ConsentChecked` brand when `requiresConsent.length > 0` with a synthetic fixture test asserting the boot failure; all gates pass. +- [x] Run `pnpm turbo gen core-package consent` + add `ConsentCategory`, `ConsentState`, `UserConsentState` types in `core-consent/consent-types.ts` + `IConsent` interface in `core-consent/consent.interface.ts` + `ConsentChecked` brand + `isConsentChecked` helper in `core-shared/conformance/brands.ts` + `withConsent` wrapper in `core-consent/with-consent.ts` with unit tests asserting brand attachment and factory passthrough + `requiresConsent: ConsentCategory[]` field in the feature manifest schema (default `[]`) + extend `assertFeatureConformance` to require `ConsentChecked` brand when `requiresConsent.length > 0` with a synthetic fixture test asserting the boot failure; all gates pass. - [ ] Add `no-undeclared-consent-check` ESLint rule (warn severity) in `packages/core-eslint/rules/` + extend `_manifest-ast.js` to extract `requiresConsent` + add RuleTester fixtures; update CLAUDE.md and `docs/guides/conformance-quickref.md` rule count 11 → 12; all gates pass.