codemap icon indicating copy to clipboard operation
codemap copied to clipboard

[codex] Add transition-based codemap hook guidance

Open JordanCoin opened this issue 8 months ago • 0 comments

Summary

This changes codemap’s hook guidance from generic protocol nudges to concrete transition-time commands.

  • add Next codemap: command suggestions during prompt-submit based on intent and mentioned files
  • make pre-edit and post-edit guidance phase-aware with Run now: / Re-check with: commands for risky files
  • update tests and docs so the new hook output is covered and documented

Why

Claude was treating codemap as orientation help instead of part of the execution loop. The existing hook output described risk, but it did not consistently turn that into an explicit next action at the moment a risky edit was about to happen.

Validation

  • go test ./cmd
  • go test ./...

JordanCoin avatar Mar 29 '26 03:03 JordanCoin