fix: add penny agent type to spawn requirements schema #135
No reviewers
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!135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "132-add-penny-to-spawn-schema"
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?
Summary
Adds the missing
pennyagent type toagent-spawn-requirements.json. Penny is the communications and scheduling agent (email, calendar, messages) with no gate and no isolation requirement.Changes
schemas/agent-spawn-requirements.json— addedpennyentry to thetypesobject with emptyrequired_patterns,produces: ["email", "calendar", "messages"], andisolation: falseTest Plan
python3 -c "import json; json.load(open(...))"— passesReview Checklist
Related
Self-Review
Verdict: Pass — no issues found.
pennyentry follows the exact same schema structure as all existing agent types (description, required_patterns, produces, isolation)python3 json.loadPR #135 Review
DOMAIN REVIEW
Tech stack: Shell hooks + JSON schema (agent infrastructure config in
claude-custom).The diff adds a
pennyentry toschemas/agent-spawn-requirements.jsonwith 6 new lines. Verified the following integration points:check-agent-spawn.shreadstypes[$t]from this schema. Withpennyadded andrequired_patterns: [], the hook will correctly pass penny spawns through (no gate, same asqa,Explore,claude-code-guide).settings.jsonSubagentStart matcher (line 241) already includespenny-- done in PR #121. No change needed here.agents/penny.mdexists with properdisallowedToolsandblock-penny-writes.shhook for defense-in-depth. No change needed.description,required_patterns,produces,isolation-- all four keys present with correct types.produces: ["email", "calendar", "messages"]accurately reflects Penny's role as the communications agent peragents/penny.md.isolation: falseis correct -- Penny runs in the same context (no worktree isolation needed since she writes no code).No regression to existing agent types:
dev,qa,dottie,general-purpose,Explore,claude-code-guideare all untouched.BLOCKERS
None.
required_patterns: []path).NITS
inject-subagent-context.shmissing penny case. The SubagentStart matcher insettings.jsonincludespenny, but the case statement ininject-subagent-context.sh(lines 18-32) has nopennybranch. Penny spawns will hit the*fallback and get no context injection. This means theget_note(slug="agent-penny")instruction is never injected at spawn time -- Penny relies solely onagents/penny.mdfrontmatter. Not a blocker for this PR (separate scope), but should be tracked as a follow-up issue.SOP COMPLIANCE
132-add-penny-to-spawn-schemareferences #132Closes #132fix: add penny agent type to spawn requirements schema)PROCESS OBSERVATIONS
inject-subagent-context.shpenny case is a known gap that should be tracked separately. Recommend creating a Forgejo issue for it.VERDICT: APPROVED