[Improve] Fast sessions acknowledge users before substantive work - #1892
Draft
roomote-roomote[bot] wants to merge 2 commits into
Draft
[Improve] Fast sessions acknowledge users before substantive work#1892roomote-roomote[bot] wants to merge 2 commits into
roomote-roomote[bot] wants to merge 2 commits into
Conversation
Contributor
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.
What changed
Turn Startupworkflow before environments, integrations and Brain instructions, native tools, or other work policy.ignore_event, and trusted platform events continue to follow their dedicated no-ack rules.Why this change was made
Fast prompts are a first-class behavior surface, and the earlier fail-closed gate added substantial lifecycle machinery across every tool path. The prompt-first design makes the desired ordering prominent before the model sees Brain or work capabilities, while preserving conversational efficiency and avoiding new OpenCode permission/session coupling.
OpenCode
1.18.10does not expose a public named first-tool choice that could replace this with a simpler native guarantee. Itssession.promptrequest type supports only boolean tool filtering; structured output is terminal; andtool.execute.beforecan block execution but cannot force selection and depends on plugin delivery (docs, #41422, #45367).Impact
Substantive human Fast turns are strongly steered to acknowledge before Brain recall, delegation, integrations, or other work, without adding a second inference or a universal runtime interception layer. This is intentionally a softer behavioral contract: prompt ordering and content provide the primary guarantee, while the existing narrow MCP/cancel check remains as defense in depth. Prompt tests pin the rule ahead of Brain and tool catalogs and cover immediate, ambient, and platform-event exceptions; the full cloud-agents suite passes.