chore(work): finish 01-pii-retention-type-primitives
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"updated_at": "2026-05-18T18:06:16.046Z",
|
||||
"updated_at": "2026-05-18T18:29:19.549Z",
|
||||
"epics": {
|
||||
"binder-wrap-helper": {
|
||||
"status": "done",
|
||||
@@ -148,10 +148,10 @@
|
||||
"prd": "docs/work/prds/compliance-manifests-pii-retention-subprocessors.prd.md",
|
||||
"stories": {
|
||||
"01-pii-retention-type-primitives": {
|
||||
"status": "in-progress",
|
||||
"status": "done",
|
||||
"title": "PII and retention type primitives in core-shared",
|
||||
"ac_total": 1,
|
||||
"ac_completed": 0,
|
||||
"ac_completed": 1,
|
||||
"depends_on": [],
|
||||
"blocks": []
|
||||
},
|
||||
@@ -439,8 +439,18 @@
|
||||
"ready": [
|
||||
{
|
||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||
"story": "01-pii-retention-type-primitives",
|
||||
"title": "PII and retention type primitives in core-shared"
|
||||
"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",
|
||||
"title": "ADR-022 amendment for sub-processor fields and evaluate-library skill update"
|
||||
},
|
||||
{
|
||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||
"story": "04-retention-purge-job",
|
||||
"title": "Background retention purge job in core-shared"
|
||||
},
|
||||
{
|
||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||
@@ -449,36 +459,11 @@
|
||||
}
|
||||
],
|
||||
"blocked": [
|
||||
{
|
||||
"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",
|
||||
"waiting_on": [
|
||||
"compliance-manifests-pii-retention-subprocessors/01-pii-retention-type-primitives"
|
||||
]
|
||||
},
|
||||
{
|
||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||
"story": "03-adr-022-amendment-and-evaluate-library-skill",
|
||||
"title": "ADR-022 amendment for sub-processor fields and evaluate-library skill update",
|
||||
"waiting_on": [
|
||||
"compliance-manifests-pii-retention-subprocessors/01-pii-retention-type-primitives"
|
||||
]
|
||||
},
|
||||
{
|
||||
"epic": "compliance-manifests-pii-retention-subprocessors",
|
||||
"story": "04-retention-purge-job",
|
||||
"title": "Background retention purge job in core-shared",
|
||||
"waiting_on": [
|
||||
"compliance-manifests-pii-retention-subprocessors/01-pii-retention-type-primitives"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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)",
|
||||
"waiting_on": [
|
||||
"compliance-manifests-pii-retention-subprocessors/01-pii-retention-type-primitives",
|
||||
"compliance-manifests-pii-retention-subprocessors/05-backfill-template-collections"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@ id: 01-pii-retention-type-primitives
|
||||
epic: compliance-manifests-pii-retention-subprocessors
|
||||
title: PII and retention type primitives in core-shared
|
||||
type: technical-story
|
||||
status: in-progress
|
||||
status: done
|
||||
feature: core-shared
|
||||
depends-on: []
|
||||
blocks:
|
||||
@@ -15,7 +15,7 @@ blocks:
|
||||
06-compliance-generator-scripts,
|
||||
]
|
||||
created: 2026-05-18T17:52:09Z
|
||||
updated: 2026-05-18T18:06:15.725Z
|
||||
updated: 2026-05-18T18:29:19.373Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -52,4 +52,4 @@ All downstream stories need the type contracts before they can compile. Landing
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Add `pii-types.ts`, `retention-types.ts`, and `payload-custom-ambient.d.ts` to `packages/core-shared/src/payload/` — complete type contracts per the PRD, ambient Payload module augmentation, `PAYLOAD_AUTH_PII_DEFAULTS` constant with `null` for credential fields, vitest tests verifying shape and defaults, barrel exports — all gates pass on this commit.
|
||||
- [x] Add `pii-types.ts`, `retention-types.ts`, and `payload-custom-ambient.d.ts` to `packages/core-shared/src/payload/` — complete type contracts per the PRD, ambient Payload module augmentation, `PAYLOAD_AUTH_PII_DEFAULTS` constant with `null` for credential fields, vitest tests verifying shape and defaults, barrel exports — all gates pass on this commit.
|
||||
|
||||
@@ -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:06:15.725Z
|
||||
updated: 2026-05-18T18:29:19.373Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -16,7 +16,7 @@ Ship the declarative compliance manifests + generators so downstream consumers g
|
||||
|
||||
## Stories
|
||||
|
||||
- [ ] [01 — PII and retention type primitives in core-shared](01-pii-retention-type-primitives/_story.md)
|
||||
- [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)
|
||||
- [ ] [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)
|
||||
|
||||
Reference in New Issue
Block a user