Epilogue nits: hook updates, Dottie config, worktree cleanup #86
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#86
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→ Epilogue (nits #5-9)Repo
forgejo_admin/claude-customUser Story
As a platform operator
I want hooks and agent configs to be complete and current
So that enforcement gaps don't let agents bypass boundaries
Context
QA review of PR #85 (enforcement nits — dottie spawn gate, hook fixes) found 5 items: 3 non-blocking nits and 2 deferred scope items. Per convention, these were captured in the plan Epilogue table.
File Targets
Files to modify:
hooks/block-docs-writes.sh— add missing board tools (delete_project,delete_board,remove_board_item,bulk_move_board_items) and remove stale sprint tool references (create_sprint,update_sprint,delete_sprint,list_sprints,get_sprint)hooks/check-agent-spawn.sh— consolidate dottie and general-purpose agent types (they're functionally identical in the spawn schema, creating dual maintenance)hooks/inject-dottie-context.sh— addget_note(slug="agent-dottie")instruction and block-first convention reference to context injectionhooks/— NEW: addblock-dottie-code-writes.shPreToolUse hook that blocks Dottie (general-purpose subagent) from using Write/Edit/Bash on repo files (deferred from Phase 2)hooks/— NEW: addcleanup-worktrees.shthat runs on session start or post-merge to clean stale worktrees (deferred from Phase 2)Acceptance Criteria
block-docs-writes.shblocks all current board write tools and has no references to removed sprint toolsagent-dottienote reference and block-first conventionTest Expectations
delete_boardtool callWriteto~/pal-e-docs/src/file.pygit worktree listConstraints
~/.claude/hooks/— changes deploy ongit pull{"decision": "block", "reason": "..."}or{"decision": "allow"}Checklist
Related
plan-pal-e-agency— parent plan