chore(hooks): remove the dead binary hook-install channel residue #451
No reviewers
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea!451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/remove-dead-hooks-embed"
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
The binary no longer materializes the agent-safety hook scripts. The Claude Code plugin is the single delivery channel (docs/safety/safety-hooks.md, internal/cmd/install/mcp.go).
hooks/embed.gowas left behind from the retired binary channel: nothing imports the package, and its comment still described the removedmcp-config --installmaterialize path as live, which was misleading.Remove the dead file and the stale references to it:
hooks/embed.go(orphanedgo:embed, no importer).assemble-plugin-artifact.test.sh: drop theembed.go-specific artifact check; the general no-*.goguard already covers it.assemble-plugin-artifact.shandlib-hook-harness.sh: drop theembed.gomentions in comments.The live plugin hooks (
hooks/hooks.json+hooks/scripts/*.sh) are unchanged. Full gate green.