inject-subagent-context.sh missing penny case — no context injection at spawn #157
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#157
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?
Type
Bug
Lineage
Discovered during QA review of PR #135 (penny spawn schema fix)
Repo
forgejo_admin/claude-customWhat Broke
inject-subagent-context.shhas a case statement that injects context per agent type at spawn time. There is nopennycase, so penny agents get zero context injection — no personality, no MCP tool hints, no project awareness.Repro Steps
Agent(subagent_type="penny", prompt="Check email...")Expected Behavior
Penny should get context injection matching her role (communications agent — Gmail, calendar, social media, external KBs). The
agents/penny.mdprofile exists but isn't wired into the inject script.Environment
Acceptance Criteria
pennycase added toinject-subagent-context.shRelated
Scope Review: READY
Review note:
review-347-2026-03-27All file targets verified. The
inject-subagent-context.shcase statement (lines 18-31) confirmed missingpenny— falls through to*wildcard with zero context. Thesettings.jsonSubagentStart matcher correctly routes penny to the hook, but the hook drops it.agents/penny.mdprofile exists with full role/tool definitions ready to source the context string.Minor note for implementer: acceptance criterion 2 mentions Gmail but
gmail-mcpis NOT DEPLOYED peragents/penny.md. Context string should reflect currently available tools (pal-e-docs read-only, Notion).Validation: PASS
Validation note:
validation-157-2026-03-274 checks: 4 PASS, 0 FAIL
All acceptance criteria verified against live main branch (commit
91ce684, PR #176). Penny case present, MCP tools referenced in context, no regression to other agent types, pattern consistent with qa/dev/dottie cases.