Repository navigation
Replace dedicated sub-agents with skills - #82
Merged
Merged
Conversation
The coordinator used to delegate to 8 dedicated sub-agents (program-recon, function-analyst, research, general-purpose, prototype-fixer, type-fixer, vuln-hunter, switch-fixer), each with its own prompt, tool allowlist, model and write tier. This replaces that with a coordinator + single generic worker, where the analysis/repair playbooks live as on-demand deepagents skills. - skills/: 7 SKILL.md playbooks (analysis/: program-recon, investigate, vuln-hunt; repair/: function-analysis, prototype-recovery, type-recovery, switch-recovery), read on demand via progressive disclosure. - Coordinator holds the full tool set and applies small changes itself; it delegates verbose/parallel work to one general-purpose worker, naming the skill in the brief. - Write tiers collapse to per-mode: normal mode writes everything; plan/ask drop every MUTATION_TOOLS entry (and the repair skills) from both coordinator and worker, read-only by construction. Removed the annotations tier, the maybe_ prefix enforcement and the pending-change queue. - subagents.py -> agent_config.py ([main]/[worker] models only); subagents.toml -> agents.toml. Skills mounted via a CompositeBackend /skills/ route over the working backend, with a deny-write permission. - Tests updated; new skills/config guards in test_shipped_config.py validate every SKILL.md through deepagents' own loader and catch tool-name drift.
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.
The coordinator used to delegate to 8 dedicated sub-agents (program-recon, function-analyst, research, general-purpose, prototype-fixer, type-fixer, vuln-hunter, switch-fixer), each with its own prompt, tool allowlist, model and write tier. This replaces that with a coordinator + single generic worker, where the analysis/repair playbooks live as on-demand deepagents skills.