Skip to content

Scenario evals: delete the deprecated agent-confirmation grading names from @objectstack/scenarios in the next major #36057

Open

Description

@objectstack-fleet

repo:objectstack#4 · os-elon-musk · session_016WV4cypybwgoxE3ZMZy8kt

carries the deletion half of #33691; #33691 keeps the behaviour revert

维护者速读

  1. 要做的:Scenario evals: revert the temporary relaxed grade (#33676) once human confirmation is enforced, and re-run asset_lifecycle #33691 已把临时放宽的场景评分关掉(严格评分恢复),但相关导出名仍留在已发布的评测包里,只标了弃用。下一个大版本时把它们删掉。
  2. 验收:下一个大版本里这些弃用名不再导出;严格评分与「点名单条就算确认」的现行行为不变。
  3. 需要你做的:无。

Change

@objectstack/scenarios is published (npm latest 18.6.0), so deleting these exports is a Clause-② yes (narrowing) change: it lands in the next major's breaking window, with a BREAKING changeset carrying the FROM-TO map and its ADR-0087 disposition.

The behaviour half shipped in the PR for #33691: AGENT_CONFIRMATION_MEETS_PENDING is false, so every pending_confirmation operation grades strictly, and every name below carries @deprecated JSDoc pointing here.

Delete (rule-only, packages/qa/scenarios/src):

  • AGENT_CONFIRMATION_MEETS_PENDING (score/scenario-operation-grade.ts, exported on ./score, ./score/full)
  • confirmedByAgent (same), and the typeof confirmedByAgent arm of OperationGrade.confirmation (the askedFirst arm stays)
  • AgentConfirmedObservation (type) and OperationObservation.agentConfirmed
  • GradeOperationOptions.agentConfirmation and GradeOperationOptions.acceptAgentConfirmation
  • AgentConfirmationRule (type): its write member type is still read by gradeConfirmedWrite and declaredWriteCheck; the deletion gives those an inline Pick of the card operation (kind, object, target, values) or a renamed type, and drops ask
  • agentConfirmationChecks and confirmedRowsCheck (module-internal)
  • agentConfirmedOf (runner/observe.ts, module-internal) and ObserveInput.actionGates
  • actionGatesOf (runner/orchestrate.ts, exported on ./runner) and its call site
  • ConfirmationTally.confirmedByAgent (runner/scorecard.ts, ./runner) and the scorecard's confirmed by the agent count
  • the agentConfirmation input gradeCardOperation builds (score/index.ts)
  • the tests that exercise the switch turned on (test/score/scenario-operation-grade.test.ts)

Keep unchanged: askNamesTarget, AskNaming, askedFirst, OperationGrade.confirmation (its askedFirst arm). runner/orchestrate.ts reads them on the confirmation-turn path (an ambiguous ask gets no confirmation turn), per the later ruling that a named single-match delete is applied directly.

Activity

  1. added
    domain:devx
    area:ai
    on Nov 21, 2026
  2. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:devx (@objectstack/scenarios) · pm:queue; rationale: area:ai · Task · delete the deprecated agent-confirmation grading exports from the published scenarios package in the next major (a narrowing, Clause-② yes); the behaviour revert stays on #33691; eval-affecting, kept → p3 (no behaviour change; lands with the next major) · size XS. The bare p3 label is replaced by priority:p3.

  3. added
    pm:queue
    and removed on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aidomain:devxpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions