Phase 16: Agent Model Completion — Penny config + worktree pollution fix #118
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#118
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 16 (Agent Model Completion)Absorbs:
todo-penny-claude-config,bug-claude-custom-worktree-pollutionRepo
forgejo_admin/claude-customUser Story
As a session coordinator (Betty Sue)
I want all 5 agents in the operating model to have runtime configs and clean worktree behavior
So that I can spawn Penny for comms work and dev agents don't pollute the main checkout
Context
The 5-agent model (Betty Sue, Dev, QA, Dottie, Penny) was validated in Phase 12 but Penny has no runtime config in
claude-custom/agents/. She's defined in pal-e-docs (agent-penny) with frontmatter fields, MCP servers, and constraints — but can't be spawned without the config file.Separately, dev agents targeting claude-custom check out feature branches directly in
~/claude-custominstead of isolated worktrees. Because~/.claude/hooks/symlinks to~/claude-custom/hooks/, in-progress hooks go live before merge. Observed 3 times (PR #58, issue #59, branch 115 left dirty 2026-03-16).File Targets
Files to create:
agents/penny.md— new agent config (matchagents/dottie.mdformat exactly)Files to modify:
CLAUDE.md— add instruction: "Always clone to/tmp/claude-custom-{branch}for development. Never work in~/claude-customdirectly."Files NOT to touch:
agents/betty-sue.md,agents/dev.md,agents/qa.md,agents/dottie.md— verify they exist but do not modifyhooks/— no hook changes in this issueAcceptance Criteria
agents/penny.mdexists with valid frontmatter (name: penny, disallowedTools: Write/Edit/Bash/NotebookEdit, mcpServers: pal-e-docs + notion, model: inherit)agents/penny.mdbody has sections: Role, Access table, MCP Tools, Code Tools, Constraints, Output (match dottie.md structure).deprecatedfiles removed (cleanup is separate scope)Test Expectations
Constraints
agents/dottie.mdformat exactly — Dottie is the closest analog (non-code agent)get_note(slug="agent-penny")in pal-e-docsget_note(slug="todo-penny-claude-config")in pal-e-docspal-e-docsandnotion. Gmail, GCal, LinkedIn are NOT deployed yet — do not include them.bug-claude-custom-worktree-pollution.Checklist
Related
plan-pal-e-agency— Phase 16todo-penny-claude-config— exact specbug-claude-custom-worktree-pollution— root cause analysisagent-penny— pal-e-docs definitionproject-pal-e-agency— parent project