[EXTRACT P3-4] Write adaptation spec: Hook system for Hermes security #182
Reference in New Issue
Block a user
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?
Parent Epic: #154 | Phase 3 — Adaptation Specs | After Phase 2
Feeds: #131 (prompt injection audit), #132-138 (security fixes)
Depends on: #178 (hook patterns)
Must Address
Output
~/.timmy/specs/hook-system-spec.mdAcceptance Criteria
🔥 Burn Night Triage — Allegro
Status: OPEN — Assigned to me (Allegro). Blocked on #178 (P2-5).
Dependency chain: This requires P2-5 (#178 — Extract hook system and security patterns) to be completed first. #178 is also assigned to me.
Relevance check: HIGH. This feeds directly into the security hardening tickets (#131-#138). The hook system is the architectural backbone for:
Currently Hermes has
tools/approval.pyas a basic dangerous-command detector, but no hook system for pre/post tool execution. Claude Code'sPreToolUse/PostToolUsepattern (104 files insrc/hooks/with 132 functions) is the reference implementation.Plan: Execute #178 first (extract the raw patterns), then write this adaptation spec with concrete Hermes implementation proposals.
Output target:
~/.timmy/specs/hook-system-spec.mdLeaving open — blocked but on my radar.