Repository navigation
feat(#484): migrate subagent patterns to declarative .claude/agents/ definitions - #496
Merged
admarble merged 3 commits intoApr 7, 2026
Conversation
…definitions Create 4 custom agent definitions that centralize model, permissions, effort, and tool restrictions previously duplicated inline across skills: - sequant-explorer (spec): haiku, read-only, Read/Grep/Glob - sequant-qa-checker (qa): haiku, bypassPermissions, effort:low - sequant-implementer (exec): inherits model, bypassPermissions - sequant-testgen (testgen): haiku, Read/Grep/Glob/Write Update all Task() invocations to Agent() across .claude/skills/, templates/skills/, and skills/ directories. Add custom agents section to subagent-types.md reference. Add templates/agents/ for sequant init support and update copyDir in templates.ts.
20 tasks
Test assertions referenced old inline patterns (Task(, model="haiku", subagent_type="general-purpose") that were intentionally replaced by declarative agent definitions. Update to match new Agent() syntax.
…c model override - Remove Edit from sequant-qa-checker tools (read-only agent, least-privilege) - Sync skills/testgen/SKILL.md with .claude/skills/testgen/SKILL.md (was pre-existing divergence missing sub-agent patterns and state tracking) - Add clarifying comment in exec SKILL.md explaining why model="haiku" is passed inline (sequant-implementer intentionally omits model to allow per-invocation override)
admarble
added a commit
that referenced
this pull request
Apr 9, 2026
Rule 1 states "Only PROCEED and REWRITE issues get commands" — #496 (PARK) should not have a command line in the command block.
9 tasks
admarble
added a commit
that referenced
this pull request
Apr 9, 2026
…#512) * docs: descope target architecture after overcomplexity review Reviewed #503-#508 architecture for overengineering given project scale (1 maintainer, 0 external users). Key changes: - #504: descoped to emitter only, defer consumer migration - #505: descoped to built-in registry, defer user extensibility - #506: split to GitHubProvider async only, defer WorktreeManager - #508: deferred entirely, fix log polling race separately Added scope decisions table, deferred work table with explicit triggers, and updated all diagrams to reflect revised scope. Entire-Checkpoint: 5c90033d6aec * fix: /assess batch output formatting + label-priority spec-skip - Replace box-drawing command blocks with indented commands to prevent mojibake and overflow at any terminal width (AC-1) - Add Rule 7: split commands at >6 issue numbers (AC-2) - Add table column rules preventing mid-word truncation (AC-3) - Add 11-issue large batch example (AC-4) - Fix all existing examples for consistency (AC-5) - Add label priority: domain labels override generic labels (AC-6) - Amend skip-spec rule to exclude domain labels (AC-7) - Add bug+auth label-priority example in batch output (AC-8) - Sync all changes across 3 skill locations (AC-9) Closes #494 * fix: remove PARK issue from command block in large batch example Rule 1 states "Only PROCEED and REWRITE issues get commands" — #496 (PARK) should not have a command line in the command block. * docs: add CHANGELOG entry for #494 * fix: restore resume example + demonstrate Rule 7 split in examples - Mixed-states: add #411 with ◂ resume symbol and # resume command - Large batch: add 2 more exec→qa issues (13 total) so the 7 exec→qa issues split into 6+1, directly demonstrating Rule 7's >6 threshold
admarble
added a commit
that referenced
this pull request
Sep 9, 2026
Rule 1 states "Only PROCEED and REWRITE issues get commands" — #496 (PARK) should not have a command line in the command block.
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
.claude/agents/that centralize model, permissions, effort, and tool restrictions previously duplicated inline across skill filesTask()invocations toAgent()with custom agent names across 3 skill directories (.claude/skills/,templates/skills/,skills/)templates/agents/forsequant initsupport and updatesubagent-types.mdreference documentationPre-PR AC Verification
sequant-explorer.md— haiku, Read/Grep/Glob.claude/agents/sequant-explorer.mdsequant-qa-checker.md— haiku, bypassPermissions, effort:low.claude/agents/sequant-qa-checker.mdsequant-implementer.md— inherits model, bypassPermissions.claude/agents/sequant-implementer.mdsequant-testgen.md— haiku, Read/Grep/Glob/Write.claude/agents/sequant-testgen.mddescriptionfieldssequant-explorer.claude/skills/spec/SKILL.mdsequant-qa-checker.claude/skills/qa/SKILL.mdsequant-implementer.claude/skills/exec/SKILL.mdsequant-testgen.claude/skills/testgen/SKILL.mdTask(→Agent(grep -rn 'Task(' .claude/skills/ templates/skills/ skills/= 0 matchessequant-qa-checker.mdhaspermissionMode: bypassPermissionssequant-explorer.mdtools: Read, Grep, Glob onlybackgroundfield in any agent defTask()→Agent()in subagent-types.mdAgent()templates/agents/createdtemplates/agents/.claude/agents/copyDir("agents", ".claude/agents")in templates.tsallowed-toolsupdatedTask→AgentQuality Gates
npm run buildnpm run lintnpm testTest plan
/specon a test issue — verify explorer agents spawn correctly/qaon a test branch — verify quality check agents use bypassPermissionssequant initin a temp project — verify.claude/agents/gets populatedCloses #484