From f5d08dc84af910df0ffcb75c78e024e5173ba26d Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Tue, 19 May 2026 12:29:20 +0200 Subject: [PATCH] chore(work): finish 02-audit-enum-amendment --- docs/work/_system/_state.json | 31 ++++++------------- .../02-audit-enum-amendment/_story.md | 6 ++-- .../dsr-consent-and-cookie-banner/_epic.md | 4 +-- 3 files changed, 15 insertions(+), 26 deletions(-) diff --git a/docs/work/_system/_state.json b/docs/work/_system/_state.json index b6aeb44..f1260c2 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-19T10:13:17.670Z", + "updated_at": "2026-05-19T10:29:21.451Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -249,10 +249,10 @@ ] }, "02-audit-enum-amendment": { - "status": "todo", + "status": "done", "title": "Audit action enum amendment (ADR-018)", "ac_total": 1, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "01-subject-linkage-types" ], @@ -571,8 +571,13 @@ "ready": [ { "epic": "dsr-consent-and-cookie-banner", - "story": "02-audit-enum-amendment", - "title": "Audit action enum amendment (ADR-018)" + "story": "03-core-consent-foundation", + "title": "core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule" + }, + { + "epic": "dsr-consent-and-cookie-banner", + "story": "06-core-dsr", + "title": "core-dsr — scaffold, interfaces, Payload impls, recording doubles, handlers, dsrRouter" }, { "epic": "dsr-consent-and-cookie-banner", @@ -586,14 +591,6 @@ } ], "blocked": [ - { - "epic": "dsr-consent-and-cookie-banner", - "story": "03-core-consent-foundation", - "title": "core-consent foundation — types, brand, withConsent wrapper, conformance extension, ESLint rule", - "waiting_on": [ - "dsr-consent-and-cookie-banner/02-audit-enum-amendment" - ] - }, { "epic": "dsr-consent-and-cookie-banner", "story": "04-core-consent-implementation", @@ -610,14 +607,6 @@ "dsr-consent-and-cookie-banner/04-core-consent-implementation" ] }, - { - "epic": "dsr-consent-and-cookie-banner", - "story": "06-core-dsr", - "title": "core-dsr — scaffold, interfaces, Payload impls, recording doubles, handlers, dsrRouter", - "waiting_on": [ - "dsr-consent-and-cookie-banner/02-audit-enum-amendment" - ] - }, { "epic": "dsr-consent-and-cookie-banner", "story": "07-core-api-router-composition", diff --git a/docs/work/epics/dsr-consent-and-cookie-banner/02-audit-enum-amendment/_story.md b/docs/work/epics/dsr-consent-and-cookie-banner/02-audit-enum-amendment/_story.md index e5cfe7f..a5a91f4 100644 --- a/docs/work/epics/dsr-consent-and-cookie-banner/02-audit-enum-amendment/_story.md +++ b/docs/work/epics/dsr-consent-and-cookie-banner/02-audit-enum-amendment/_story.md @@ -3,12 +3,12 @@ id: 02-audit-enum-amendment epic: dsr-consent-and-cookie-banner title: Audit action enum amendment (ADR-018) type: technical-story -status: todo +status: done feature: core-shared depends-on: [01-subject-linkage-types] blocks: [03-core-consent-foundation, 06-core-dsr] created: 2026-05-19T12:00:00Z -updated: 2026-05-19T09:55:07.020Z +updated: 2026-05-19T10:29:21.283Z --- ## Goal @@ -41,4 +41,4 @@ Extend the audit action enum with four new action types needed by consent and DS ## Tasks -- [ ] Add `CONSENT_GRANT`, `CONSENT_WITHDRAW`, `RESTRICT`, `UNRESTRICT` to the audit action enum in `packages/core-shared/src/audit/` + update `core-audit`'s `IAuditLog` type to accept the new values + update `docs/guides/audit-and-compliance.md` with the new action types + add `## Amendments` section to `docs/decisions/ADR-018.md` recording the date and reason; all gates pass. +- [x] Add `CONSENT_GRANT`, `CONSENT_WITHDRAW`, `RESTRICT`, `UNRESTRICT` to the audit action enum in `packages/core-shared/src/audit/` + update `core-audit`'s `IAuditLog` type to accept the new values + update `docs/guides/audit-and-compliance.md` with the new action types + add `## Amendments` section to `docs/decisions/ADR-018.md` recording the date and reason; all gates pass. diff --git a/docs/work/epics/dsr-consent-and-cookie-banner/_epic.md b/docs/work/epics/dsr-consent-and-cookie-banner/_epic.md index bea9654..a8a99e0 100644 --- a/docs/work/epics/dsr-consent-and-cookie-banner/_epic.md +++ b/docs/work/epics/dsr-consent-and-cookie-banner/_epic.md @@ -16,7 +16,7 @@ features: auth, ] created: 2026-05-19T12:00:00Z -updated: 2026-05-19T10:13:17.502Z +updated: 2026-05-19T10:29:21.283Z --- ## Goal @@ -30,7 +30,7 @@ Epic A delivered declarative PII inventory + retention + sub-processors. Epic B ## Stories - [x] [01 — Subject-linkage types in core-shared](01-subject-linkage-types/_story.md) -- [ ] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md) +- [x] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md) - [ ] [03 — core-consent foundation: types + brand + withConsent + conformance + ESLint rule](03-core-consent-foundation/_story.md) - [ ] [04 — core-consent implementation: Payload impl + DI + migration helpers + tRPC router](04-core-consent-implementation/_story.md) - [ ] [05 — core-consent React subpath: ConsentProvider + useConsent()](05-core-consent-react/_story.md)