fix: remove unreachable pal-e-docs refs + add claude-code-guide to spawn schema #105
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-pal-e-agency→ Phase 12 → Phase 12v (validation gate)Repo
forgejo_admin/claude-customUser Story
As Betty Sue
I want agent configs that don't produce guaranteed-to-fail tool calls
So that every agent spawn is clean, token-efficient, and the spawn gate allows all built-in agent types
Context
Phase 12v L1 smoke tests found two issues blocking validation:
Finding 5: Six agent configs (dev-backend, dev-frontend, devops, dev-qa, devops-qa, frontend-qa) contain
Read your full profile: mcp__pal-e-docs__get_note(slug="agent-...")but these agents only havemcpServers: [forgejo]. Every spawn produces a failed tool call — wasted tokens and noise. Dottie is the only agent with pal-e-docs access and already has the correct instruction.Finding 4:
schemas/agent-spawn-requirements.jsonhasExplore(empty required_patterns) but is missingclaude-code-guide. The spawn gate hook blocks claude-code-guide spawns for help queries.File Targets
Files the agent should modify:
agents/dev-backend.md— remove theRead your full profileand pal-e-docs get_note line (lines 12-13)agents/dev-frontend.md— remove the same lines (lines 12-13)agents/devops.md— remove the same lines (lines 12-13)agents/dev-qa.md— remove the same lines (lines 18-19)agents/devops-qa.md— remove the same lines (lines 18-19)agents/frontend-qa.md— remove the same lines (lines 18-19)schemas/agent-spawn-requirements.json— addclaude-code-guideentry with empty required_patternsFiles the agent should NOT touch:
agents/dottie.md— Dottie HAS pal-e-docs access, its instruction is correctagents/betty-sue.md— Betty Sue's config is separateagents/dev.md.deprecated— already deprecatedagents/qa.md.deprecated— already deprecatedAcceptance Criteria
mcp__pal-e-docs__get_noteunless the agent haspal-e-docsin its mcpServers frontmatterclaude-code-guideentry exists inschemas/agent-spawn-requirements.jsonwithrequired_patterns: []Test Expectations
jq . schemas/agent-spawn-requirements.jsonparses without errormcp__pal-e-docs__get_note— should only match dottie.mdgrep -r "mcp__pal-e-docs__get_note" agents/should return onlyagents/dottie.mdConstraints
Exploreentry pattern forclaude-code-guide(read-only, no gate)# Agent: Xheading and role description intactChecklist
Related
project-pal-e-agency— Agency projectproject_phase12v_progress.mdFindings 4+5Reading issue for acceptance criteria (DevOps-QA review in progress).