{"version":"2.1.225","anchor":"post-tool-use-commit-awareness-no-longer-fires-inside-subage","canonical_anchor":"post-tool-use-commit-awareness-no-longer-fires-inside-subage","heading":"Post-tool-use commit awareness no longer fires inside subagents","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/post-tool-use-commit-awareness-no-longer-fires-inside-subage","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### Post-tool-use commit awareness no longer fires inside subagents\n\nCommit-awareness notes now appear once in your main session instead of from every subagent.\n\n**What**\n\nThe post-commit awareness system message is now emitted only for the main session, not for every subagent that happens to run the tool.\n\n**Details**\n\n- the PostToolUse callback returns early when the hook payload carries an `agent_id`, on top of the existing non-interactive check\n- relatedly, the code-review prompt no longer appends its \"end your response with this exact line\" suffix when running with an agent id or as a skill preload\n\n**Evidence**\n\n`e.agent_id !== void 0`\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 0\/5"}