chore: initial monorepo scaffold + WDS Phase 1+2 artifacts
- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Validation Report Retention Policy
|
||||
|
||||
Purpose: keep workflow repo lean while preserving historical validation evidence.
|
||||
|
||||
## Policy
|
||||
|
||||
- Keep latest 10 validation reports in `validation-reports/` as `.md`.
|
||||
- Archive older reports into `validation-reports/archive/` as `.md.gz`.
|
||||
- Keep `validation-report-*-current.md` files unarchived.
|
||||
- Never delete archived `.md.gz` files automatically.
|
||||
|
||||
## Suggested Maintenance Command
|
||||
|
||||
Run from workflow root:
|
||||
|
||||
```bash
|
||||
mkdir -p validation-reports/archive
|
||||
ls -1t validation-reports/validation-report-*.md \
|
||||
| rg -v -- '-current\.md$' \
|
||||
| awk 'NR>10' \
|
||||
| while read -r f; do
|
||||
gzip -c "$f" > "validation-reports/archive/$(basename "$f").gz" && rm "$f"
|
||||
done
|
||||
```
|
||||
|
||||
## Operational Notes
|
||||
|
||||
- This policy applies to historical reports only.
|
||||
- Current run artifacts remain readable markdown.
|
||||
- Archival is optional during active development, recommended during wrap-up.
|
||||
Reference in New Issue
Block a user