Repository navigation
Reduce teammate spawn time and fix config detection - #107
Merged
kevinoriley merged 2 commits intoApr 1, 2026
Merged
kevinoriley merged 2 commits into
kevinoriley merged 2 commits into
Conversation
The orchestrator's config detection step was formatted as a numbered list inside a generic code block, causing the model to skip the bash check and jump straight to the config questions even when config.yaml existed. Restructured as an executable bash block with bold branch directives. Also removed --model sonnet override from run.sh to use the default model. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Teammate templates had ~110 lines of identical boilerplate each (task workflow, state writes, tool execution, operational rules, stall detection, activation protocol). Since teammates inherit CLAUDE.md, moved shared sections into a new § Teammate Protocol section. Templates now contain only domain-specific content (~40-50% smaller). Also restructured orchestrator startup: spawn state-mgr alone, proceed to first routing decision immediately, defer shell-mgr to background while the first domain teammate is working. Cuts ~2 min from time to first scan. CLAUDE.md rewritten: removed stale subagent model table, trimmed directory layout, merged redundant architecture sections (348→280 lines). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
ls engagement/config.yamlcheck and re-prompted for setup even when config existed. Restructured the instruction from a numbered list inside a code block to an executable bash block with explicit branch directives.§ Teammate Protocolsection in CLAUDE.md — teammates inherit this automatically. Templates now contain only domain-specific content.--model sonnetoverride.Test plan
/red-run-ctfwith existingengagement/config.yaml— verify config wizard is skipped/red-run-ctffresh — verify state-mgr spawns alone, routing proceeds immediately, shell-mgr deferred🤖 Generated with Claude Code