Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m40s
17 lines
1.0 KiB
Markdown
17 lines
1.0 KiB
Markdown
# Archive Rules
|
|
|
|
## Raw File Archival
|
|
|
|
After creating a Source Document Summary for any raw file:
|
|
1. Move the raw file to `docs/archive/`
|
|
2. Record the move in the source summary's header: `Archived From: [original path]`
|
|
3. Do not read from `docs/archive/` unless the user explicitly says "go back to the original [filename]"
|
|
|
|
## Summary Lifecycle Rules
|
|
|
|
1. **Session handoffs expire**: After a new handoff is written, the previous handoff moves to `docs/archive/handoffs/`. Only the latest handoff stays in `docs/summaries/`.
|
|
2. **Decision records persist**: Decision records (DR-*) stay in `docs/summaries/` permanently — they are institutional memory.
|
|
3. **Source summaries persist**: Source document summaries stay until the project ends — they replace raw documents.
|
|
4. **Analysis summaries**: Keep only the latest version. If re-run, the new one replaces the old (archive the old one).
|
|
5. **Maximum active summaries**: If `docs/summaries/` exceeds 15 files, consolidate older source summaries into a single `project-digest.md` and archive the originals.
|