This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Repository navigation
Changes
Fix: Pi hook warnings now visible to agent (#2)
Previously, the Pi hook used ctx.ui.notify() which only showed notifications to the human user in the TUI. The agent never saw these warnings.
Fix: Changed from tool_call with ctx.ui.notify() to tool_result event that modifies bash output content directly. The warning is now appended to git add output so the agent sees it.
Claude Code: Switch to prompt-based hook
Changed from PostToolUse command hook to PreToolUse with type: 'prompt'. This is a cleaner integration - Claude evaluates the prompt and includes the reminder in its response.
Consistent warning message
All hooks now show the same message with a features.json reminder:
⚠️ Long-task-harness: .long-task-harness/long-task-progress.md is not staged.
If relevant, also update features.json with completed/failed features.
Update these files before committing to maintain session continuity.
Removed
droid_install_hooks.pyanddroid_precommit_check.py- Droid hooks didn't work as expectedclaude_code_precommit_check.py- replaced by prompt-based hook