chore(work): tick task in 03-core-consent-foundation

This commit is contained in:
2026-05-19 13:06:52 +02:00
parent b992fee088
commit 9956d73b10
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{ {
"updated_at": "2026-05-19T10:29:21.451Z", "updated_at": "2026-05-19T11:06:54.525Z",
"epics": { "epics": {
"binder-wrap-helper": { "binder-wrap-helper": {
"status": "done", "status": "done",
@@ -262,10 +262,10 @@
] ]
}, },
"03-core-consent-foundation": { "03-core-consent-foundation": {
"status": "todo", "status": "in-progress",
"title": "core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule", "title": "core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule",
"ac_total": 2, "ac_total": 2,
"ac_completed": 0, "ac_completed": 1,
"depends_on": [ "depends_on": [
"02-audit-enum-amendment" "02-audit-enum-amendment"
], ],

View File

@@ -3,12 +3,12 @@ id: 03-core-consent-foundation
epic: dsr-consent-and-cookie-banner epic: dsr-consent-and-cookie-banner
title: core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule title: core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule
type: technical-story type: technical-story
status: todo status: in-progress
feature: core-consent feature: core-consent
depends-on: [02-audit-enum-amendment] depends-on: [02-audit-enum-amendment]
blocks: [04-core-consent-implementation] blocks: [04-core-consent-implementation]
created: 2026-05-19T12:00:00Z created: 2026-05-19T12:00:00Z
updated: 2026-05-19T09:55:07.020Z updated: 2026-05-19T11:06:54.354Z
--- ---
## Goal ## Goal
@@ -53,5 +53,5 @@ Manifest-first ordering requires that the consent type surface and structural en
## Tasks ## 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. - [ ] 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.