Repository navigation
fix(agents): confirm ambiguous requests before acting - #175
Merged
Merged
Conversation
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
LGTM.
Regression scan
- CI: 91 success / 1 neutral (CodeQL) / 8 skipped / 0 failures across 145 checks, including the exact test targets (
checks-node-agentic-agents-core-*,check-additional-extension-channels). - Removed overlay strings (
A, B, or C,Make reasonable assumptions…) have no code consumers — grepped the tree; hits are in an unrelated GPT-5 overlay and a docstring. - Test contract cleanly swapped from guided-choice assertions to confirm-before-act assertions; four new focused test cases cover deterministic-skill strictness, non-deterministic assumption labeling, verbatim-copy stability, and the removal of the old act-first assumption rule.
- QA scenario yaml locks the live-Claude behavior for submittal / bid-to-budget / HCSS flows.
Behavioral note — This intentionally makes Claude ask instead of guess on materially ambiguous or under-specified skill invocations. Safer for deterministic skills; expected per ENG-18699.
Nit (non-blocking, doc-only) — src/config/schema.help.ts:1163 and src/config/types.agent-defaults.ts:34 still describe the field as "guided-choice … A/B/C narrowing prompts". Config field and default are unchanged so no runtime impact, but worth a follow-up doc sweep to match the new confirm-before-act contract.
Willi8910
added a commit
that referenced
this pull request
Sep 2, 2026
Version-bump-only release cutting the single commit merged to boon since v2026.6.11-boon.31: #175 (ENG-18699) — confirm ambiguous requests before acting, replacing the concise interaction overlay's act-on-most-likely-intent guidance with a confirm-before-act contract. Bumps the gateway plus @openclaw/slack, @openclaw/msteams, and @openclaw/diagnostics-prometheus to 2026.6.11-boon.32 in lockstep across all 8 manifests, and adds the CHANGELOG entry. No code changes. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
convyusboy
added a commit
that referenced
this pull request
Sep 3, 2026
…nflicts) 5 feature/fix commits (boon.32, boon.33): confirm-before-act on ambiguous requests (#175), unclosed content-block detection at stream finalization (ENG-19233, #177), >384MB PDF handling (#178), macro-enabled Office document delivery (#179), cron failure-destination recipient validation (#181). All conflicts were the established package.json/npm-shrinkwrap.json version-string pattern (kept 2026.6.34-boon.1), plus a new one this round: origin/boon still pins fast-uri at 3.1.6 across pnpm-workspace.yaml, pnpm-lock.yaml, and four npm-shrinkwrap.json files (root, acpx, lobster). This integration branch already carries a deliberate 4.1.2 override from the original 2026.6.34 sync (documented in the PR description's "Dependency / security pins" section: the bump was needed because upstream's 6.34-era code targets fast-uri's 4.x API, not because it's numerically newer) -- the same "boon hasn't caught up to a pin this branch already needed" situation as the `tar` override in that same section. Kept 4.1.2 everywhere. Verified: pnpm tsgo:core:test + tsgo:extensions:test both clean. Targeted tests across every touched surface (pdf-tool, web-media, mime, cron delivery-target-validation + cron.validation, anthropic-transport-stream, concise-interaction-overlay, embedded-agent-helpers, amazon-bedrock stream runtime, anthropic prompt-overlay, document-extract) -- 303 passing, 0 failures. One unrelated pre-existing failure noted and left alone: src/gateway/mcp-http.test.ts's "withdraws a closing runtime before drain without fencing its successor" fails deterministically in this sandboxed environment with a raw ECONNRESET on a real loopback TCP socket -- neither mcp-http.ts nor its test file were touched by this merge, so this is an environment/network-sandboxing artifact, not a regression from this change.
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 Problem This Solves
Claude-backed Boon Agent flows could choose an interpretation or invent missing skill inputs before the user confirmed material choices. This made ambiguous submittal, bid-to-budget, and HCSS requests unpredictable.
Why This Change Was Made
The existing concise interaction overlay explicitly encouraged acting on the most likely intent. This replaces that behavior with a confirm-before-act contract:
deterministic: trueskills never default missing required inputsdeterministic: falseskills may proceed only with a clearly labeled assumptionUser Impact
Users get a short, predictable question before an action or artifact could go down the wrong path. Once they answer, execution resumes normally. Fully specified requests do not gain an extra confirmation step.
Evidence
tsgo:prod,tsgo:test:src,tsgo:test:extensions)git diff --checkpassedcheck:changedcould not start because the Blacksmith Testbox helper failed its own CLI sanity check before running repository checksLinear: ENG-18699
Duplicate: ENG-18756
Summary by cubic
Changes the Boon Agent's interaction overlay so it confirms before acting on ambiguous requests instead of assuming the most likely interpretation, addressing ENG-18699. Materially ambiguous submittal, bid-to-budget, and HCSS requests now stop for one numbered clarification and wait for the user; fully specified requests proceed immediately without extra steps.
Behavior
deterministic: trueskills never invent missing required inputs.deterministic: falseskills may proceed but must label assumptions on the first visible line.QA
Written for commit 469b93f. Summary will update on new commits.