fix(scribe): add HARD GATE archival with two-tier thresholds to Scribe workflow#637
Merged
bradygaster merged 1 commit intobradygaster:devfrom Mar 27, 2026
Merged
Conversation
…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>
Collaborator
Author
|
@bradygaster Ready for your review — team-approved with 3-reviewer gate (Flight, FIDO, Procedures). |
This was referenced Mar 27, 2026
larsontim12
pushed a commit
to larsontim12/squad
that referenced
this pull request
Mar 27, 2026
…gaster#637) * docs(ai-team): Nap feature complete — merged decisions, logged session Session: 2026-03-01T05-57-23-nap-feature Requested by: Scribe Changes: - Orchestration logs written (Fenster, Hockney) - Session log written (nap-feature completion) - 13 decisions merged from inbox into decisions.md - Decision inbox cleared (all 13 files deleted) - Cross-agent updates propagated to Fenster, Hockney, Kovash, Cheritto - All .squad/ changes staged and committed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: gate REPL dispatch on non-empty roster, add /init command When team.md exists but has no members in the ## Members table, the REPL now shows actionable guidance instead of silently routing to a coordinator with no agents. Changes: - Add hasRosterEntries() to coordinator.ts for roster detection - Gate handleDispatch in index.ts on populated roster - Gate buildCoordinatorPrompt to refuse work with empty roster - Add /init slash command with setup instructions - Add /init to /help output (narrow and wide) - Update post-init message to reference Copilot session (not squad REPL) - Update human-journeys test to match new post-init copy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs: update fenster history and add empty-roster gate decision Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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