fix(harness): map native plan surfaces for R25 receipt events - #5203
Merged
Conversation
Teach portable `_research_preflight_events` to record compare-proven-approaches and record-plan from enter_plan_mode, exit_plan_mode, and todo_write while keeping update_plan behavior. Track origin .grok/hooks/lifecycle.json and widen host hook matchers so PreToolUse/PostToolUse observe those tools. Closes #5195 Related to #5186
12 tasks
Up to standards ✅🟢 Issues
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enter_plan_mode/exit_plan_mode/todo_write, plus PascalCase forms) into R25compare-proven-approachesandrecord-planin portableguard.py, keepingupdate_planbehavior..grok/hooks/lifecycle.jsonand widen Claude/Codex/Grok hook matchers so PreToolUse/PostToolUse can observe those tools.Test plan
py -3 -m unittest tests.scripts.test_chaos_engine_hook tests.scripts.test_guard_lifecycle tests.scripts.test_chaos_engine_research(298 OK)Closes #5195
Related to #5186
Tracker remains #5186