chore(work): finish 06-compliance-generator-scripts
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updated_at": "2026-05-18T20:02:55.069Z",
|
"updated_at": "2026-05-18T20:12:13.393Z",
|
||||||
"epics": {
|
"epics": {
|
||||||
"binder-wrap-helper": {
|
"binder-wrap-helper": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
@@ -198,10 +198,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"06-compliance-generator-scripts": {
|
"06-compliance-generator-scripts": {
|
||||||
"status": "in-progress",
|
"status": "done",
|
||||||
"title": "Compliance generator scripts (emit-data-map, emit-retention-policy, emit-sub-processors, emit-all)",
|
"title": "Compliance generator scripts (emit-data-map, emit-retention-policy, emit-sub-processors, emit-all)",
|
||||||
"ac_total": 4,
|
"ac_total": 4,
|
||||||
"ac_completed": 3,
|
"ac_completed": 4,
|
||||||
"depends_on": [
|
"depends_on": [
|
||||||
"01-pii-retention-type-primitives",
|
"01-pii-retention-type-primitives",
|
||||||
"05-backfill-template-collections"
|
"05-backfill-template-collections"
|
||||||
@@ -437,29 +437,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ready": [
|
"ready": [
|
||||||
{
|
|
||||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
|
||||||
"story": "06-compliance-generator-scripts",
|
|
||||||
"title": "Compliance generator scripts (emit-data-map, emit-retention-policy, emit-sub-processors, emit-all)"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"blocked": [
|
|
||||||
{
|
{
|
||||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||||
"story": "07-pre-commit-and-ci-integration",
|
"story": "07-pre-commit-and-ci-integration",
|
||||||
"title": "Pre-commit hook and CI integration for compliance drift detection",
|
"title": "Pre-commit hook and CI integration for compliance drift detection"
|
||||||
"waiting_on": [
|
|
||||||
"compliance-manifests-pii-retention-subprocessors/06-compliance-generator-scripts"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||||
"story": "08-docs-compliance-reference-files",
|
"story": "08-docs-compliance-reference-files",
|
||||||
"title": "docs/compliance reference example files and README",
|
"title": "docs/compliance reference example files and README"
|
||||||
"waiting_on": [
|
|
||||||
"compliance-manifests-pii-retention-subprocessors/06-compliance-generator-scripts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"blocked": [],
|
||||||
"needs_prd_ship": []
|
"needs_prd_ship": []
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ id: 06-compliance-generator-scripts
|
|||||||
epic: compliance-manifests-pii-retention-subprocessors
|
epic: compliance-manifests-pii-retention-subprocessors
|
||||||
title: Compliance generator scripts (emit-data-map, emit-retention-policy, emit-sub-processors, emit-all)
|
title: Compliance generator scripts (emit-data-map, emit-retention-policy, emit-sub-processors, emit-all)
|
||||||
type: technical-story
|
type: technical-story
|
||||||
status: in-progress
|
status: done
|
||||||
feature: tooling
|
feature: tooling
|
||||||
depends-on: [01-pii-retention-type-primitives, 05-backfill-template-collections]
|
depends-on: [01-pii-retention-type-primitives, 05-backfill-template-collections]
|
||||||
blocks: [07-pre-commit-and-ci-integration, 08-docs-compliance-reference-files]
|
blocks: [07-pre-commit-and-ci-integration, 08-docs-compliance-reference-files]
|
||||||
created: 2026-05-18T17:52:09Z
|
created: 2026-05-18T17:52:09Z
|
||||||
updated: 2026-05-18T20:02:54.913Z
|
updated: 2026-05-18T20:12:13.181Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -49,4 +49,4 @@ The generators are the runtime bridge between source declarations (Payload confi
|
|||||||
- [x] Add `scripts/compliance/emit-data-map.mjs` + unit tests + `compliance:data-map` root package script — walks Payload collections, applies auth PII defaults and `authPii` overrides, deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
- [x] Add `scripts/compliance/emit-data-map.mjs` + unit tests + `compliance:data-map` root package script — walks Payload collections, applies auth PII defaults and `authPii` overrides, deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
||||||
- [x] Add `scripts/compliance/emit-retention-policy.mjs` + unit tests + `compliance:retention-policy` root package script — validates `purgeSchedule` on every collection, deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
- [x] Add `scripts/compliance/emit-retention-policy.mjs` + unit tests + `compliance:retention-policy` root package script — validates `purgeSchedule` on every collection, deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
||||||
- [x] Add `scripts/compliance/emit-sub-processors.mjs` + unit tests + `compliance:sub-processors` root package script — parses `is-sub-processor` discriminated union from library traces, merges manual entries with `source: manual` flag, sorted deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
- [x] Add `scripts/compliance/emit-sub-processors.mjs` + unit tests + `compliance:sub-processors` root package script — parses `is-sub-processor` discriminated union from library traces, merges manual entries with `source: manual` flag, sorted deterministic YAML output, `--check` and `--print` modes — all gates pass on this commit.
|
||||||
- [ ] Add `scripts/compliance/emit-all.mjs` orchestrator + `compliance:emit-all` root package script, run `pnpm compliance:emit-all` to produce and commit initial `compliance/data-map.yml`, `compliance/retention-policy.yml`, and `compliance/sub-processors.yml` — all gates pass on this commit.
|
- [x] Add `scripts/compliance/emit-all.mjs` orchestrator + `compliance:emit-all` root package script, run `pnpm compliance:emit-all` to produce and commit initial `compliance/data-map.yml`, `compliance/retention-policy.yml`, and `compliance/sub-processors.yml` — all gates pass on this commit.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ status: in-progress
|
|||||||
features:
|
features:
|
||||||
[core-shared, core-eslint, auth, blog, media, marketing-pages, navigation]
|
[core-shared, core-eslint, auth, blog, media, marketing-pages, navigation]
|
||||||
created: 2026-05-18T17:52:09Z
|
created: 2026-05-18T17:52:09Z
|
||||||
updated: 2026-05-18T19:21:32.358Z
|
updated: 2026-05-18T20:12:13.181Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -21,6 +21,6 @@ Ship the declarative compliance manifests + generators so downstream consumers g
|
|||||||
- [x] [03 — ADR-022 amendment and evaluate-library skill update](03-adr-022-amendment-and-evaluate-library-skill/_story.md)
|
- [x] [03 — ADR-022 amendment and evaluate-library skill update](03-adr-022-amendment-and-evaluate-library-skill/_story.md)
|
||||||
- [x] [04 — Background retention purge job in core-shared](04-retention-purge-job/_story.md)
|
- [x] [04 — Background retention purge job in core-shared](04-retention-purge-job/_story.md)
|
||||||
- [x] [05 — Backfill existing template collections](05-backfill-template-collections/_story.md)
|
- [x] [05 — Backfill existing template collections](05-backfill-template-collections/_story.md)
|
||||||
- [ ] [06 — Compliance generator scripts](06-compliance-generator-scripts/_story.md)
|
- [x] [06 — Compliance generator scripts](06-compliance-generator-scripts/_story.md)
|
||||||
- [ ] [07 — Pre-commit hook and CI integration](07-pre-commit-and-ci-integration/_story.md)
|
- [ ] [07 — Pre-commit hook and CI integration](07-pre-commit-and-ci-integration/_story.md)
|
||||||
- [ ] [08 — docs/compliance reference files and README](08-docs-compliance-reference-files/_story.md)
|
- [ ] [08 — docs/compliance reference files and README](08-docs-compliance-reference-files/_story.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user