Propose: compressed Squad coordinator prompt (~49% smaller, behavior-preserving) [DRAFT] - #1529
Propose: compressed Squad coordinator prompt (~49% smaller, behavior-preserving) [DRAFT]#1529tamirdresher wants to merge 1 commit into
Conversation
…preserving) [DRAFT] Regenerates .github/agents/squad.agent.md as a compressed source template built on dev HEAD eaf3cca (base file sha 1F69CEB0). 79,966 -> 40,305 bytes (~49.6% smaller); 1080 -> 302 lines. Frontmatter (tools, version 0.0.0-source) is byte-identical to dev. Behavior preservation: every high-risk coordinator path is kept intact -- routing table, state-backend HALT handshake, reviewer strict-lockout, Init Mode Phase-1 ask_user confirmation gate, cross-squad dispatch, STOP/dispatch gate, and the coordinator canary. The two dev-only sections added since the compression base -- Per-Agent Context Tier and the Shared-worktree guard -- are carried forward, compressed in the same dense style as the sibling Per-Agent Reasoning Effort paragraph. DRAFT / DO-NOT-MERGE: proposal pending governance review (Picard/Data) and Tamir's authorization. Adopting this changes no live squad.agent.md on its own; it is the source-template candidate offered for review and side-by-side trial. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 12f3c193-135b-46e4-bf2b-62d629146ccb
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ✅ | Single commit | 1 commit — clean history |
| ❌ | Not in draft | PR is still in draft — mark as ready for review when done |
| ✅ | Branch up to date | Up to date with dev |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | No source files changed — changeset not required |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | No Copilot review threads |
| ✅ | CI passing | All checks passing |
Files Changed (1 file, +175 −959)
| File | +/− |
|---|---|
.github/agents/squad.agent.md |
+175 −959 |
Total: +175 −959
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
🟢 Impact Analysis — PR #1529Risk tier: 🟢 LOW 📊 Summary
🎯 Risk Factors
📦 Modules Affectedci-workflows (1 file)
This report is generated automatically for every PR. See #733 for details. |
|
#1517 has now merged into dev, establishing the new three-state/HEAD-canary baseline. Per the approved triage plan, this draft remains parked until it is rebased onto current dev and an independent reviewer re-verifies the high-risk coordinator behavior anchors against the compressed prompt. No promotion or merge until that governance pass is complete. |
|
👋 Friendly nudge — this PR has had no activity for 10 days. What needs attention:
If this PR is abandoned, please close it. If it's blocked on something external, leave a comment so the team knows. |
|
👋 Friendly nudge — this PR has had no activity for 7 days. What needs attention:
If this PR is abandoned, please close it. If it's blocked on something external, leave a comment so the team knows. |
|
Triage note (PR sweep, 2026-08-23) — leaving this open as a proposal, but flagging drift so it doesn't rot silently. Current state: 247 commits behind No action requested from you unless you want it. This is explicitly marked DO-NOT-MERGE and gated on governance review, so it isn't blocking the queue. But if the proposal is still live, it needs a re-derivation against current @bradygaster this one needs a call: re-derive against current |
What this is
A behavior-preserving compression of the Squad coordinator source template.
The coordinator prompt is always-on (injected into every Squad session), so its size
is paid on every turn. This PR proposes cutting it ~in half without dropping any
coordinator behavior.
Base & provenance (pinned)
dev@eaf3ccac.github/agents/squad.agent.md— 79,966 B, sha2561F69CEB0…E10036FA…tools: ["*"]+version: 0.0.0-source— byte-identical todevBehavior preservation
Compression is prose-only. Every high-risk coordinator path is kept intact
(grep-verified present in the proposed file):
ask_userconfirmation gateThe two
dev-only sections added since the compression base —Per-Agent Context Tier and the Shared-worktree guard — are carried forward,
compressed in the same dense style as the sibling Per-Agent Reasoning Effort
paragraph (every resolution layer, config key, ack string, and safety semantic
preserved).
How it was verified
installed coordinator (a frozen SHA), which preserved the high-risk paths
byte-for-byte.
match
dev's base (tools, version ×2, the twodev-only blocks). Diff vs. theapproved artifact shows those edits and nothing else.
to
dev.Honest scope of the claim
prompt prefilled ~2.25× faster cold / ~1.6× faster warm; input-token saving
holds in every case. This is the mechanism by which prompt size can affect a session.
That remains blocked/unproven pending a trustworthy host-telemetry path
(see Runtime identity beacon for coordinator canary cases 3 & 4 (host-owned pre-ingestion state machine) #1518). No real-session speed/quality claim is made here.
How to review
(routing, state-backend HALT, reviewer lockout, init confirmation, cross-squad
dispatch). Treat any semantic mismatch as a failed retention claim.
devhas moved, rebase — the delta set vs.devis small and mechanical(frontmatter + the two carried-forward blocks).
Related: #1518 (host telemetry), #1517.
Governance
Pending Picard/Data governance review and maintainer authorization before any
adoption. Filed as draft deliberately.
Provenance: proposed file sha256
E10036FA…; basedev@eaf3ccacfile sha2561F69CEB0….