Skip to content

fix(scribe): add HARD GATE archival with two-tier thresholds to Scribe workflow - #637

Merged
bradygaster merged 1 commit into
github:devfrom
diberry:squad/33-scribe-hard-gate
Mar 27, 2026
Merged

bradygaster merged 1 commit into
github:devfrom
diberry:squad/33-scribe-hard-gate

Conversation

@diberry

@diberry diberry commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Reorder Scribe spawn template: archive BEFORE merge. Two-tier thresholds (20KB/30-day, 50KB/7-day). Updated all 7 Scribe charter files. 6 tests.

Team review: Flight ✅, FIDO ✅, Procedures ✅

Closes diberry#33

…e workflow

Reorder Scribe spawn template: PRE-CHECK → ARCHIVE [HARD GATE] → INBOX merge.
Archive runs BEFORE merge to prevent decisions.md from growing unbounded.

Two-tier archival thresholds:
- Tier 1 (30-day): If >20KB, archive entries older than 30 days
- Tier 2 (7-day): If still >50KB after Tier 1, archive entries older than 7 days
- HEALTH REPORT emitted to session log after archival

Updated all 7 Scribe charter files with both tiers + HEALTH REPORT destination.
Added 6 tests validating Scribe spawn template structure.

Closes #33

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@diberry

diberry commented Mar 26, 2026

Copy link
Copy Markdown
Contributor Author

@bradygaster Ready for your review — team-approved with 3-reviewer gate (Flight, FIDO, Procedures).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(scribe): Reorder Scribe tasks — archival first with HARD GATE enforcement

3 participants