chore(work): finish 02-audit-enum-amendment

This commit is contained in:
2026-05-19 12:29:20 +02:00
parent dd339b11b1
commit f5d08dc84a
3 changed files with 15 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
{ {
"updated_at": "2026-05-19T10:13:17.670Z", "updated_at": "2026-05-19T10:29:21.451Z",
"epics": { "epics": {
"binder-wrap-helper": { "binder-wrap-helper": {
"status": "done", "status": "done",
@@ -249,10 +249,10 @@
] ]
}, },
"02-audit-enum-amendment": { "02-audit-enum-amendment": {
"status": "todo", "status": "done",
"title": "Audit action enum amendment (ADR-018)", "title": "Audit action enum amendment (ADR-018)",
"ac_total": 1, "ac_total": 1,
"ac_completed": 0, "ac_completed": 1,
"depends_on": [ "depends_on": [
"01-subject-linkage-types" "01-subject-linkage-types"
], ],
@@ -571,8 +571,13 @@
"ready": [ "ready": [
{ {
"epic": "dsr-consent-and-cookie-banner", "epic": "dsr-consent-and-cookie-banner",
"story": "02-audit-enum-amendment", "story": "03-core-consent-foundation",
"title": "Audit action enum amendment (ADR-018)" "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", "epic": "dsr-consent-and-cookie-banner",
@@ -586,14 +591,6 @@
} }
], ],
"blocked": [ "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", "epic": "dsr-consent-and-cookie-banner",
"story": "04-core-consent-implementation", "story": "04-core-consent-implementation",
@@ -610,14 +607,6 @@
"dsr-consent-and-cookie-banner/04-core-consent-implementation" "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", "epic": "dsr-consent-and-cookie-banner",
"story": "07-core-api-router-composition", "story": "07-core-api-router-composition",

View File

@@ -3,12 +3,12 @@ id: 02-audit-enum-amendment
epic: dsr-consent-and-cookie-banner epic: dsr-consent-and-cookie-banner
title: Audit action enum amendment (ADR-018) title: Audit action enum amendment (ADR-018)
type: technical-story type: technical-story
status: todo status: done
feature: core-shared feature: core-shared
depends-on: [01-subject-linkage-types] depends-on: [01-subject-linkage-types]
blocks: [03-core-consent-foundation, 06-core-dsr] blocks: [03-core-consent-foundation, 06-core-dsr]
created: 2026-05-19T12:00:00Z created: 2026-05-19T12:00:00Z
updated: 2026-05-19T09:55:07.020Z updated: 2026-05-19T10:29:21.283Z
--- ---
## Goal ## Goal
@@ -41,4 +41,4 @@ Extend the audit action enum with four new action types needed by consent and DS
## Tasks ## 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.

View File

@@ -16,7 +16,7 @@ features:
auth, auth,
] ]
created: 2026-05-19T12:00:00Z created: 2026-05-19T12:00:00Z
updated: 2026-05-19T10:13:17.502Z updated: 2026-05-19T10:29:21.283Z
--- ---
## Goal ## Goal
@@ -30,7 +30,7 @@ Epic A delivered declarative PII inventory + retention + sub-processors. Epic B
## Stories ## Stories
- [x] [01 — Subject-linkage types in core-shared](01-subject-linkage-types/_story.md) - [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) - [ ] [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) - [ ] [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) - [ ] [05 — core-consent React subpath: ConsentProvider + useConsent()](05-core-consent-react/_story.md)