{"version":"2.1.281","anchor":"prompt-submit-post-query-hook-step-also-runs-on-the-no-quer","canonical_anchor":"prompt-submit-post-query-hook-step-also-runs-on-the-no-quer","heading":"Prompt submit: post-query hook step also runs on the no-query path","tier":"internal","area":"Hooks","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/prompt-submit-post-query-hook-step-also-runs-on-the-no-quer","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Prompt submit: post-query hook step also runs on the no-query path\n\nAn after-query step now also runs for prompts that never reach the model, such as bash-mode turns\n\n**Unclear.** The finding does not say what the after-query step does or what condition turns it on.\n\n**What**\n\nSome prompts do not send anything to the model, for example a bash-mode turn (where you run a shell command directly) or a turn handed off to a fork. For these, a step that normally runs after a model query now also runs, when a certain condition is set. It also runs after the point where query hooks finish.\n\n**Why**\n\nTurns that skip the model now go through the same after-query step as turns that use it.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}