chore(work): tick task in 03-core-consent-foundation
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user