Skip to content

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

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
  4. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

    Claim: PM loop round 2
    Session: session_01QsR2jTsdScTh3o2fSjbxSz
    Thread session: session_01QsR2jSEWVZMA3EooZti247
    Account: zhuangjianguo
    Branch: claude/project-thread-fyaiwz
    Worktree: objectstack-issue-36057
    Domain: domain:devx
    Seat: repo:objectstack#1
    Area: o1-ai
    File surface: packages/qa/scenarios/src/**, packages/qa/scenarios/test/**, packages/qa/scenarios/README.md (prose-only rewrite of the paragraph naming the deleted opt-in; added on the dev's ask, it ships in the package), .changeset/36057-*.md, plus generated files a gate demands; not .changeset/pre/* (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default (dispatch-gates --tier packages/qa/scenarios/src/score/scenario-operation-grade.ts: no path-derived mandate), effort: medium
    Clause-②: no (narrowing) — removes published exports of @objectstack/scenarios
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7062141612
    Premise: holds (major window open: package 19.0.0-next.2; #33691's revert shipped)
    Serial constraints cleared: check-handover.mjs --inflight --paths=packages/qa/scenarios/src,packages/qa/scenarios/README.md: the two OVERLAP rows are suffix readings of other packages' fragments (#38556 src/__tests__/ is service-knowledge's, named in prose; #38150's src/chrome etc. are app-shell/console); README reads clear; none

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jSEWVZMA3EooZti247
    os-dev-report

    {
      "issue": 36057,
      "status": "done",
      "branch": "claude/project-thread-fyaiwz",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38580",
      "session": "session_01QsR2jSEWVZMA3EooZti247",
      "premise_still_valid": true,
      "summary": "Deleted every name on the card's Delete list from @objectstack/scenarios (score/scenario-operation-grade.ts, score/index.ts, runner/observe.ts, runner/orchestrate.ts, runner/scorecard.ts) and the tests that drove the switch on; gradeConfirmedWrite and declaredWriteCheck take an inline Pick of the card operation, so no new export. Kept askNamesTarget, AskNaming, askedFirst and OperationGrade.confirmation (askedFirst arm). README.md paragraph rewritten to the strict grade (surface granted on ask). BREAKING patch changeset with a FROM-TO line per removed name and its ADR-0087 disposition. Grading output is unchanged: the runner never opted in.",
      "tests": "head e832c853: pnpm --filter @objectstack/scenarios typecheck (tsc --noEmit, 47 test files in program) + build: VERDICT command-exit 0; vitest run --maxWorkers=2: Test Files 45 passed (45), Tests 1406 passed (1406); eslint --no-inline-config on the 9 touched .ts files: exit 0. No ablation: no tested behaviour changed (only opted-in paths and their pins were deleted).",
      "gates": "dispatch-gates --commands at e832c853: 67 families, 67 exit 0 (check:dual-build-cjs-loads included: 126 entry points / 74 packages load); --ran: 67 derived, 67 run, 0 NOT-MEASURED, 0 UNRUN. check-platform-checklist --changed-from origin/main: exit 0. PR body gated before pr_create: check-changeset-no-major, check-adr-0087-registration (not-required (no-migration-prescription) accepted), check-closing-keyword-parity, check-partof-closing-keyword all exit 0; readClause2Line = {value:no, arm:narrowing}. CI check-runs: not yet read (report delivered at local completion).",
      "dogfood_battery": "e832c853 · os-verify-lock: VERDICT command-exit 0 (held 38m30s) · Test Files 495 passed, 3 skipped (498) · Tests 4183 passed, 68 skipped (4251) · 0 failures. Closure turbo build 79/79. (A first attempt reached tests without its closure build: wrong flag on pnpm --filter build; discarded, re-run as above.)",
      "line_budget": "598 changed lines (+105 / -493) across 12 files, under the 3000 human-merge threshold",
      "files_changed": [".changeset/36057-scenarios-delete-agent-confirmation-names.md", "packages/qa/scenarios/README.md", "packages/qa/scenarios/src/runner/observe.ts", "packages/qa/scenarios/src/runner/orchestrate.ts", "packages/qa/scenarios/src/runner/scorecard.ts", "packages/qa/scenarios/src/schema.ts", "packages/qa/scenarios/src/score/index.ts", "packages/qa/scenarios/src/score/scenario-operation-grade.ts", "packages/qa/scenarios/test/runner/mid-tier-run-readings.test.ts", "packages/qa/scenarios/test/runner/orchestrate.test.ts", "packages/qa/scenarios/test/runner/units.test.ts", "packages/qa/scenarios/test/score/scenario-operation-grade.test.ts"],
      "deviations": [
        "ADR-0087 disposition is not-required (no-migration-prescription), not runtime-export-retired: the package's subpath keys (./score, ./runner) are refused by name as unmappable (the gate's SP battery uses @objectstack/scenarios ./score as its unmappable fixture) and the root entry exports none of these names. Gate accepts the marker beside the FROM-TO lines.",
        "packages/qa/scenarios/README.md added to the surface on the dev's ask before the edit (seat grant, claim 7254539353).",
        "Reviewer request for zhuangjianguo not sent: the relay pr_create takes no reviewers and GitHub MCP writes are off-limits; assignee set through pr_create.",
        "Pre-existing dirty hint: none. CONTRACT_REVIEW_TIER L2 (narrowing) owed before queue is the seat's."
      ],
      "mcp_calls": "0",
      "api_writes": "2 relay writes: pr_create (fleet-write dispatch fw-20261129T121318Z-8b3420, PR #38580, 7214 bytes read back identical, assignee zhuangjianguo) and the os-dev-report comment on #36057 via post-stamped; plus 2 git pushes (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  7. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

    2026-11-29T16:24Z · Landed: PR #38580 merged at 2026-11-29T14:20:53Z; the card closed by its closing keyword. pm:dispatched comes off. Follow-up N2 is card #38589.

  8. removed
    pm:dispatched
    on Nov 29, 2026
  9. added a commit that references this issue on Dec 1, 2026
    26ea065
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:devxpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions