Repository navigation
fix(spec): delete the 0%-execution-rate explorer fan-out prescription (#927) - #931
Merged
admarble merged 1 commit intoAug 10, 2026
Conversation
…#927) `/spec`'s Agent Spawn Rules table prescribed spawning 1-3 sequant-explorer subagents by issue-content heuristic, but measured over 169 /spec runs in the local transcript corpus it never fired once. Replace the table with the strategy actually in use: targeted inline Read/Grep by default, escalating to a single built-in Explore agent only for open-ended discovery. Remove sequant-explorer.md and its references across the 3 skill mirrors and docs/features/declarative-agents.md. Known residual: sequant sync/update's copyTemplates has no prune path, so consumer projects keep a stale, inert sequant-explorer.md after upgrading. Closes #927
6 tasks
admarble
deleted the
feature/927-fix-spec-the-explorer-fan-out-prescription-has
branch
August 10, 2026 12:34
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
/spec's "Agent Spawn Rules" table prescribed spawning 1–3sequant-explorersubagents by issue-content heuristic — measured at 0 spawns across 169/specruns in the local transcript corpus. Replaces the table with the strategy actually in use: targeted inlineRead/Grepby default, escalating to a single built-inExploreagent only for genuinely open-ended discovery.sequant-explorer.mdfrom.claude/agents/andtemplates/agents/, and all remaining references across the 3 mirrored skill dirs (spec/SKILL.md,_shared/references/subagent-types.md) anddocs/features/declarative-agents.md.Agent(sequant-explorer)inspec/SKILL.md's frontmatter allow-list swapped toAgent(Explore)so the documented escalation path stays usable.AC-4: consumer upgrade path (residual)
sequant sync/update'scopyTemplates(src/lib/templates.ts:578) is purely additive — itscopyDirloop only reads template entries and writes them; there is no unlink/prune path anywhere in the sync flow. Consumer projects that already have.claude/agents/sequant-explorer.mdwill keep that stale file after upgrading to this version. It is inert: nothing in the shipped skills references it anymore, so it has no runtime effect beyond disk clutter. No prune machinery was added — a single orphaned file doesn't justify that complexity (also noted in the CHANGELOG entry).AC-5: token delta
spec/SKILL.md(per mirror)_shared/references/subagent-types.md(per mirror)docs/features/declarative-agents.md.claude/agents/sequant-explorer.mdtemplates/agents/sequant-explorer.mdRepo-wide total: −3,620 bytes (~−900 tokens) removed, counting all 3 skill mirrors.
AC-3 note (flagged during QA)
grep -rn 'sequant-explorer' --include='*.md' .returns CHANGELOG history (as intended) plus 2 hits invscode-extension/README.md— the VS Code extension's package filenamesequant-explorer-0.0.1.vsix, an unrelated entity that happens to share the substring. The requirement (no remaining references to the agent) is satisfied; the AC's literal grep is over-broad. Renaming the extension package is out of scope.Test plan
npm run build— passnpm run lint— passnpm run lint:skill-sync— 44/44 syncednpm run lint:skill-calls— no violationsnpm run lint:skill-gates— no violationsnpx skills-ref validate templates/skills/spec/— validgrep -rn 'sequant-explorer' --include='*.md' .— only CHANGELOG history + unrelated vscode-extension package name (see AC-3 note)Closes #927