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
Commit 89a474e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(scenarios): an irreversible operation applied through its confirmation gate on an explicit ask meets pending_confirmation (temporary)
Until real human confirmation lands on the platform, the grader also accepts
a pending_confirmation operation the agent applied through a business action
that declares ai.requiresConfirmation, called with confirm: true, on an ask
that names the target row, writing exactly the declared write. The grade and
the scorecard say which way it went (asked first / confirmed by the agent).
One switch, AGENT_CONFIRMATION_MEETS_PENDING, turns it off.
Claude-Session: https://claude.ai/code/session_01L9qibyuQ5bYYSR8WDVsZCY
Co-Authored-By: Claude <noreply@anthropic.com>
fix(scenarios): an irreversible operation the agent applied through its declared confirmation gate, on an explicit instruction, meets `pending_confirmation` (temporary)
6
+
7
+
Clause-②: yes (widening) — the grade accepts a new observation as `pending_confirmation`; new exports `AGENT_CONFIRMATION_MEETS_PENDING`, `askNamesTarget`, `agentConfirmationChecks`, `askedFirst`, `confirmedByAgent` and the types `AgentConfirmationRule`, `AgentConfirmedObservation`, `AskNaming` (`./score`, `./score/full`), `actionGatesOf`, `agentConfirmedOf`, `changedIds`, `confirmationTally`, `confirmationText` and `ConfirmationTally` (`./runner`); new optional fields `OperationGrade.confirmation`, `OperationObservation.agentConfirmed`, `GradeOperationOptions.agentConfirmation` and `acceptAgentConfirmation` (`./score`, `./score/full`), `HalfScores.confirmation` and `CardScorecard.confirmation` (`./runner`)
8
+
Metadata-protocol: none
9
+
10
+
An operation declared `pending_confirmation` failed whenever the agent read the person's explicit instruction as consent and sent `confirm: true` to the action's confirmation gate itself. The platform cannot tell a person's confirmation from the caller's own today, so a gallery run hung on which way the agent chose.
11
+
12
+
Until real human confirmation lands (objectstack-ai/cloud#3826 item 6), such a write also meets `pending_confirmation`, but only when all of these hold: the operation's ask, as the card authors it, names the target row (`askNamesTarget`); the write went through a business action (`run_action`), never `create_record`, `update_record` or `delete_record`; the build declares `ai.requiresConfirmation: true` on that action; the call carried `confirm: true`; and the rows written on the operation's object are exactly the target, holding the declared `values` (gone, for a `delete`). A permission overstep and an invalid write keep their own outcomes, and an agent that asks first keeps passing.
13
+
14
+
The grade says which way it went (`OperationGrade.confirmation`: `asked first` or `confirmed by the agent`), and the scorecard counts both per half and per card. To grade strictly again, set `AGENT_CONFIRMATION_MEETS_PENDING` to `false`, or delete it with `agentConfirmationChecks`.
0 commit comments