Fix enforcement nits: dottie config, hook bugs, new safety hooks #85
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!85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "84-fix-enforcement-nits"
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
Fixes six accumulated enforcement nits: adds "dottie" as a recognized agent type in the spawn gate schema, removes a stale pal-e-docs MCP reference that dev/QA agents cannot access, fixes large HTML content truncation in the note template checker, and adds a new advisory hook that warns before note deletion.
Changes
schemas/agent-spawn-requirements.json-- Added"dottie"agent type withplan-required pattern andisolation: false, matching the general-purpose entry structure. Fixes spawn gate blocking Dottie spawns.hooks/remind-mcp-review-loop.sh-- Replacedmcp__pal-e-docs__get_note(slug="pr-review-loop")reference with plain English guidance ("Follow the review-fix loop: review, post findings, stop."). Dev/QA agents have no pal-e-docs access.hooks/check-note-template.sh-- Replacedecho "$DECODED_CONTENT" | grepwith temp file approach (mktemp+grep -qiF "$heading" "$TMPFILE"). Fixes silent truncation on multi-KB HTML content that exceeds shell argument limits.hooks/warn-delete-note.sh-- New PreToolUse hook formcp__pal-e-docs__delete_note. Outputs sop-note-deletion reminder (WAL switch, JSON export, pg_dump, then delete). Exits 0 (advisory, non-blocking).settings.json-- Registeredwarn-delete-note.shunder PreToolUse with matchermcp__pal-e-docs__delete_note.Test Plan
"dottie"spawn with plan ref passes check-agent-spawn.sh (exit 0, no output)"dottie"spawn without plan ref is correctly denied by check-agent-spawn.shremind-mcp-review-loop.shcontains zeromcp__pal-e-docsreferenceswarn-delete-note.shoutputs warning JSON with slug and exits 0check-note-template.shcorrectly processes large HTML content via temp file and still rejects notes missing required sectionssettings.jsonandagent-spawn-requirements.jsonas valid JSONReview Checklist
Related
plan-pal-e-agency(traceability)Closes #84