diff --git a/docs/work/_system/_state.json b/docs/work/_system/_state.json index 291669a..06ad530 100644 --- a/docs/work/_system/_state.json +++ b/docs/work/_system/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-18T18:29:19.549Z", + "updated_at": "2026-05-18T18:35:44.011Z", "epics": { "binder-wrap-helper": { "status": "done", @@ -156,10 +156,10 @@ "blocks": [] }, "02-eslint-rule-pii-declaration-complete": { - "status": "todo", + "status": "done", "title": "Add pii-declaration-must-be-complete ESLint rule to core-eslint", "ac_total": 1, - "ac_completed": 0, + "ac_completed": 1, "depends_on": [ "01-pii-retention-type-primitives" ], @@ -437,11 +437,6 @@ } }, "ready": [ - { - "epic": "compliance-manifests-pii-retention-subprocessors", - "story": "02-eslint-rule-pii-declaration-complete", - "title": "Add pii-declaration-must-be-complete ESLint rule to core-eslint" - }, { "epic": "compliance-manifests-pii-retention-subprocessors", "story": "03-adr-022-amendment-and-evaluate-library-skill", diff --git a/docs/work/epics/compliance-manifests-pii-retention-subprocessors/02-eslint-rule-pii-declaration-complete/_story.md b/docs/work/epics/compliance-manifests-pii-retention-subprocessors/02-eslint-rule-pii-declaration-complete/_story.md index f71323d..f7a842e 100644 --- a/docs/work/epics/compliance-manifests-pii-retention-subprocessors/02-eslint-rule-pii-declaration-complete/_story.md +++ b/docs/work/epics/compliance-manifests-pii-retention-subprocessors/02-eslint-rule-pii-declaration-complete/_story.md @@ -3,12 +3,12 @@ id: 02-eslint-rule-pii-declaration-complete epic: compliance-manifests-pii-retention-subprocessors title: Add pii-declaration-must-be-complete ESLint rule to core-eslint type: technical-story -status: todo +status: done feature: core-eslint depends-on: [01-pii-retention-type-primitives] blocks: [05-backfill-template-collections] created: 2026-05-18T17:52:09Z -updated: 2026-05-18T18:06:15.725Z +updated: 2026-05-18T18:35:43.840Z --- ## Goal @@ -40,4 +40,4 @@ Provides sub-second editor and CI feedback when a developer partially declares a ## Tasks -- [ ] Add `pii-declaration-must-be-complete.js` rule to `@repo/core-eslint` — AST rule detecting incomplete `custom.pii` blocks in Payload config files, RuleTester fixtures (complete passes, each missing required field warns, non-pii custom block is no-op), register in `plugin.js` + `base.js` at `"warn"`, update conformance rule count in `conformance-quickref.md` and `CLAUDE.md` (7 → 8) — all gates pass on this commit. +- [x] Add `pii-declaration-must-be-complete.js` rule to `@repo/core-eslint` — AST rule detecting incomplete `custom.pii` blocks in Payload config files, RuleTester fixtures (complete passes, each missing required field warns, non-pii custom block is no-op), register in `plugin.js` + `base.js` at `"warn"`, update conformance rule count in `conformance-quickref.md` and `CLAUDE.md` (7 → 8) — all gates pass on this commit. diff --git a/docs/work/epics/compliance-manifests-pii-retention-subprocessors/_epic.md b/docs/work/epics/compliance-manifests-pii-retention-subprocessors/_epic.md index 48626d9..f07e8a1 100644 --- a/docs/work/epics/compliance-manifests-pii-retention-subprocessors/_epic.md +++ b/docs/work/epics/compliance-manifests-pii-retention-subprocessors/_epic.md @@ -7,7 +7,7 @@ status: in-progress features: [core-shared, core-eslint, auth, blog, media, marketing-pages, navigation] created: 2026-05-18T17:52:09Z -updated: 2026-05-18T18:29:19.373Z +updated: 2026-05-18T18:35:43.840Z --- ## Goal @@ -17,7 +17,7 @@ Ship the declarative compliance manifests + generators so downstream consumers g ## Stories - [x] [01 — PII and retention type primitives in core-shared](01-pii-retention-type-primitives/_story.md) -- [ ] [02 — ESLint rule pii-declaration-must-be-complete](02-eslint-rule-pii-declaration-complete/_story.md) +- [x] [02 — ESLint rule pii-declaration-must-be-complete](02-eslint-rule-pii-declaration-complete/_story.md) - [ ] [03 — ADR-022 amendment and evaluate-library skill update](03-adr-022-amendment-and-evaluate-library-skill/_story.md) - [ ] [04 — Background retention purge job in core-shared](04-retention-purge-job/_story.md) - [ ] [05 — Backfill existing template collections](05-backfill-template-collections/_story.md)