Files
agentic-dev-template/compliance/retention-policy.yml
Danijel Martinek c333d41a5b feat(scripts): add emit-all orchestrator + initial compliance artifacts
Adds scripts/compliance/emit-all.mjs which runs all three compliance
emitters in --check mode and exits non-zero if any artifact is stale.
Adds compliance:emit-all root package script.

Generates initial compliance/retention-policy.yml and
compliance/sub-processors.yml from the template collections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 20:05:46 +00:00

33 lines
816 B
YAML

# compliance/retention-policy.yml — Collection retention schedules
# Generated by scripts/compliance/emit-retention-policy.mjs — do not edit manually.
# Run `pnpm compliance:retention-policy` to regenerate.
collections:
articles:
postDeletion:
action: hard-delete
duration: P90D
trigger: after-deletion
purgeSchedule: monthly
slug: articles
media:
postDeletion:
action: hard-delete
duration: P90D
trigger: after-deletion
purgeSchedule: monthly
slug: media
pages:
postDeletion:
action: hard-delete
duration: P90D
trigger: after-deletion
purgeSchedule: monthly
slug: pages
users:
postDeletion:
action: hard-delete
duration: P30D
trigger: after-deletion
purgeSchedule: daily
slug: users