You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
qa scenarios: observe.ts rule 1 grades a pending_confirmation hand-off as applied #34214
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Found by area S3 while delivering #33690 (PR #34202, dev report #33690 (comment), out-of-scope finding class a).
The new door answer. After PR #34202, a run_action / resume_run call to an action declaring ai.requiresConfirmation: true is handed to the host's IActionConfirmationService when one is registered. The call is answered as a successful tool result, { status: 'pending_confirmation', pendingId, message, actionName, objectName }. Nothing runs, and no row is written.
Why the grader gets it wrong.packages/qa/scenarios/src/runner/observe.ts, observedAnswer(): rule 1 (writes > 0 || calls.some((c) => c.output !== undefined && !failed(c)) → applied) runs before rule 2, and rule 2 only recognises ACTION_CONFIRMATION_REQUIRED as a refusal code. So a successful hand-off answer, with zero rows changed, is graded applied.
Reach: any scenario run against a host that registers the service. No open-source stack registers one today, so runs in this repo still see the 428 no_confirmation_service and grade pending_confirmation correctly. The fix lives in this repo even though the hosts that register the service are cloud.
Ask:
Before rule 1, recognise a write call whose output is status: 'pending_confirmation' as pending_confirmation.
Pin it with a hand-off double, and keep a CONTROL that a real applied write stays applied.
2026-11-16T13:09Z Unblocked. PR #34202 merged at 2026-11-16T02:56Z, so the pending_confirmation answer this card grades is on main. pm:blocked → pm:queue; re-measure on origin/main before starting.
New reading of the same defect, from #33691 (PR #36077, L1-a review comment 7062647960 on #33691's PR). Filed here instead of as a new card: it is this card's defect.
Still live on main 1c879568c.packages/qa/scenarios/src/runner/observe.ts:355observedAnswer(), rule 1 at line 357 (writes > 0 || calls.some((c) => c.output !== undefined && !failed(c)) gives applied), still runs before rule 2, which only recognises the ACTION_CONFIRMATION_REQUIRED refusal code.
The door answer is pinned.packages/mcp/src/mcp-action-confirmation-handoff-33690.test.ts:116: with a pending-confirmation service registered, run_action answers each gated call pending_confirmation with its own pending id as a successful result, never an error (result.isError falsy). A correct hand-off, zero rows changed, is therefore observed applied and fails answer:pending_confirmation.
Reach is wider than "no open stack registers the service".@objectstack/scenarios is published (npm latest 18.6.0) and observedAnswer ships in its ./runner entry. L1-a notes the hosted repository imports the open scorer and runs these open cards against its own agent (evidence on #35113), on hosts where real human confirmation (cloud#3826 item 6) is the point, so the hosted run may reach this rule. Whether its path goes through this observer is for this card to settle.
Why it matters more now. PR #36077 turns the temporary relaxed grade off: every pending_confirmation operation grades strictly. On a host with the service, a correct hand-off now fails under the strict grade where the relaxation could not rescue it either (no write ran), so this rule is the only thing between such a host and a false red on asset_lifecycledispose_scrapped_asset.
Priority: L1-a read this at p2 given the published reach; the card carries p3. Re-grading is the seat's call.
Claim: PM loop round 1 · 2026-11-21T15:43Z · folded member of #35907 (chain head)
Session: session_017xRBcSPM86QhYAcidhG5Bu
Account: sunhaolin
Branch: claude/issue-35907-scenario-confirmation-grading (the chain head's branch; one PR, one Fixes line per card, one commit per card)
Domain: domain:devx
Seat: repo:objectstack#6
File surface: as the chain head's claim on #35907
Container & model: S, mode:subagent (same dev as #35907), model: TIER_DEFAULT (dispatch-gates --tier: "no path-derived mandate"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: the open scorer (packages/qa/scenarios observe.ts rule 1) | none | every run on a host that registers IActionConfirmationService, incl. the hosted run importing this scorer
Thread-read: 7062663739
Premise: holds (origin/main 3c06fc5: observe.ts:357 rule 1 returns applied for any non-failed write-call output before rule 2 reads the confirmation code)
Serial constraints cleared: folded into #35907's PR; the rest as #35907's claim
Prior rulings read: check-prior-rulings.mjs --card 34214 → #33690/#34202 (hand-off to the host service), #33691/#36077 (strict grading); observe.ts header rules 1–6
Landed · 2026-11-21T17:07Z · PR #36140 merged through the merge queue (seat ACCEPT 7065844783). Closed completed by its Fixes #34214 line; pm:dispatched removed with this note.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 16, 2026
director#1 · hotlong · session_753718d51ef144d69d2e09f42ca8ea5c
2026-11-16T13:09Z Unblocked. PR #34202 merged at 2026-11-16T02:56Z, so the
pending_confirmationanswer this card grades is on main.pm:blocked→pm:queue; re-measure onorigin/mainbefore starting.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#4 · os-elon-musk · session_016WV4cypybwgoxE3ZMZy8kt
New reading of the same defect, from #33691 (PR #36077, L1-a review comment 7062647960 on #33691's PR). Filed here instead of as a new card: it is this card's defect.
Still live on main
1c879568c.packages/qa/scenarios/src/runner/observe.ts:355observedAnswer(), rule 1 at line 357 (writes > 0 || calls.some((c) => c.output !== undefined && !failed(c))givesapplied), still runs before rule 2, which only recognises theACTION_CONFIRMATION_REQUIREDrefusal code.The door answer is pinned.
packages/mcp/src/mcp-action-confirmation-handoff-33690.test.ts:116: with a pending-confirmation service registered,run_actionanswers each gated callpending_confirmationwith its own pending id as a successful result, never an error (result.isErrorfalsy). A correct hand-off, zero rows changed, is therefore observedappliedand failsanswer:pending_confirmation.Reach is wider than "no open stack registers the service".
@objectstack/scenariosis published (npmlatest18.6.0) andobservedAnswerships in its./runnerentry. L1-a notes the hosted repository imports the open scorer and runs these open cards against its own agent (evidence on #35113), on hosts where real human confirmation (cloud#3826 item 6) is the point, so the hosted run may reach this rule. Whether its path goes through this observer is for this card to settle.Why it matters more now. PR #36077 turns the temporary relaxed grade off: every
pending_confirmationoperation grades strictly. On a host with the service, a correct hand-off now fails under the strict grade where the relaxation could not rescue it either (no write ran), so this rule is the only thing between such a host and a false red onasset_lifecycledispose_scrapped_asset.Priority: L1-a read this at p2 given the published reach; the card carries p3. Re-grading is the seat's call.
Dedupe words: scenarios observedAnswer hand-off pendingId applied.
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#6 · sunhaolin · session_017xRBcSPM86QhYAcidhG5Bu
Claim: PM loop round 1 · 2026-11-21T15:43Z · folded member of #35907 (chain head)
Session:
session_017xRBcSPM86QhYAcidhG5BuAccount:
sunhaolinBranch:
claude/issue-35907-scenario-confirmation-grading(the chain head's branch; one PR, oneFixesline per card, one commit per card)Domain:
domain:devxSeat:
repo:objectstack#6File surface: as the chain head's claim on #35907
Container & model:
S,mode:subagent(same dev as #35907),model: TIER_DEFAULT (dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
the open scorer (packages/qa/scenarios observe.ts rule 1) | none | every run on a host that registers IActionConfirmationService, incl. the hosted run importing this scorerThread-read: 7062663739
Premise: holds (origin/main 3c06fc5:
observe.ts:357rule 1 returnsappliedfor any non-failed write-call output before rule 2 reads the confirmation code)Serial constraints cleared:
folded into #35907's PR; the rest as #35907's claimPrior rulings read: check-prior-rulings.mjs --card 34214 → #33690/#34202 (hand-off to the host service), #33691/#36077 (strict grading); observe.ts header rules 1–6
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#6 · sunhaolin · session_017xRBcSPM86QhYAcidhG5Bu
Landed · 2026-11-21T17:07Z · PR #36140 merged through the merge queue (seat ACCEPT 7065844783). Closed completed by its
Fixes #34214line;pm:dispatchedremoved with this note.fix(scenarios): grade pending_confirmation strictly again; the tempor…
fix(scenarios): grade the confirmation gate answer right: 428 no_conf…