Skip to content

Scenario runner: an ask-only mode runs 问数 and operations on a supplied built app, so ask models compare on the same build #33742

Closed

Description

@objectstack-fleet

epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

Filing-gate category: ③ maintainer-directed child of #33595 (M2 row of its milestone table). Maintainer, 2026-11-15 02:10Z: 「你建议的任务全部立卡,你负责开 devx 车道派发处理」; 08:36Z, on the epic seat's decision card "M2/M3 的行现在立卡吗?立了交给谁派发?": "立卡,留给本专题席位派发".

Mechanism

packages/qa/scenarios/src/runner/orchestrate.ts runCard (~948) runs scratchMode (author, build, verify, then the Run half) and templateMode, which installs a verified build (--template F / templateArtifact) and then authors an iterate before its Run halves. No mode runs the Run half alone on a supplied build. So two ask models are always graded on two different builds, or on a build their own pass authored, and the ask comparison carries the build's variance.

Why it matters

The M2 close-out cross matrix (opus build × haiku / sonnet ask) needs the same app under every ask model. Today a difference in 问数 can come from the build, not the ask model, and authoring an app for every comparison costs the most of any step.

Done when

  • A mode (e.g. --modes ask with --template F) installs the supplied build, seeds it as the Run half does, and runs only the question and operation turns. No authoring turn runs.
  • The scorecard and run record mark the mode and name the build's source. Build cells read "supplied", not scored.
  • The mode refuses to start without a build. recorded: replays it.
  • Tests pin that no author turn is asked and that the Run half's grades match scratch mode's on the same build.

Reader

The epic seat epic:#33595#1 dispatches it to os-dev (domain:devx, packages/qa/scenarios), serial with the other M2 runner cards where files overlap.

Dedup: repo:objectstack-ai/objectstack is:issue ask-only scenario → 67 hits; the top ones (#33468 eval seat, #32562, #33596) are unrelated or closed, none an ask-only mode.

Activity

  1. added
    domain:devx
    pm:epic
    area:devpath
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit (requested by epic:#33595#1) · grade → p2 · 2026-11-15T08:53Z

    ⛔ Not a claim; the pm:epic reservation is unchanged, so the epic seat may claim.

    Scenario runner/grader tooling under epic #33595 M2, filed on the maintainer's go. Tooling, so p2 (#32997). Lane domain:devx (packages/qa/scenarios).

  3. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

    Claim: PM loop M2 round 5 · epic #33595 M2 · 2026-11-15T19:23Z
    Session: session_01L9qibxeb51joY8bfqqknoZ (card thread; seat session_01L9qiby1cctpVpRbJzjccvY)
    Account: os-tesla
    Branch: claude/project-thread-4nulzg (the card thread's harness-pinned branch; the thread can push only this name)
    Worktree: objectstack-issue-33742
    Domain: domain:devx
    Seat: epic:#33595#1
    File surface: packages/qa/scenarios/src/runner/orchestrate.ts (the new mode, RunOptions.modes, ModeRun, runCard, modeDir), src/runner/cli.ts (--modes parse, the refusal), src/runner/driver.ts only for the StepRef.mode union, src/runner/scorecard.ts (the mode's column and build cells), src/export/{record,transcript,pass}.ts only for the mode union and how an ask-only mode is handled, tests, the package README, its own changeset (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: xhigh (epic child)
    Clause-②: yes (widening) for the --modes ask value, each widened mode union and each new exported field or type, named with its entry
    Metadata-protocol: none
    Responsibility: the scenario evaluation runner in objectstack (no mode runs the Run half alone on a supplied build, so ask models are always graded on different builds); no platform path covers it; reached by eval#1's scenario runs and the M2 close-out cross matrix on #33595
    Thread-read: 6891968562
    Premise: holds. Seat read origin/main f81e4b6c: --modes takes only scratch and template; templateMode installs a verified build but always authors an iterate before its only Run half
    Serial constraints cleared: queue ①, after #33741 (PR #34047 merged f81e4b6c, 19:11Z); #33743 opens after this merges

    Order: /mnt/project-files/epic-33595-1/r2026-11-15-m2/dispatch-33742.md under that folder's FRAME.md. Contract review: arranged by this seat.

  4. added
    pm:dispatched
    on Nov 15, 2026
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qibxeb51joY8bfqqknoZ
    os-dev-report

    {
     "issue": 33742,
     "status": "done",
     "branch": "claude/project-thread-4nulzg",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34123",
     "head": "bb52af6b",
     "session": "session_01L9qibxeb51joY8bfqqknoZ",
     "premise_still_valid": true,
     "summary": "Every mode authored, so two ask models were graded on two different builds. --modes ask installs a verified build (--template F, else this run's scratch build when it passed, the same build and unmanaged install template mode uses, now factored into withInstalledBuild) into a blank host of its own, seeds it and runs only the Run half (every question with --ask-repeats honoured, every operation), keyed card/ask/run/STEP/PERSONA; it never calls driver.author, scores no build and runs no iterate, and recorded: replays it. ask with no --template and no scratch in the run is refused by askModeRefusal at parseArgs (after every flag) and in runCard before any card runs; relying on a scratch build that did not pass it is skipped with template mode's reason. The record names the source (template.source), the Build row is not-run 'supplied (SOURCE): not scored', iterate rows 'not run: ask mode authors no iterate'; the scorecard's ask column reads 'supplied' in Build cells and 'no authoring turns' in author rows plus a source line; the gallery exporter accepts an ask mode, does not judge or show it, and states why in Transcript.notShown (ASK_MODE_NOT_EXPORTED). Default modes are byte-identical to main.",
     "tests": "On bb52af6b: pnpm --filter @objectstack/scenarios typecheck :: exit 0; pnpm --filter @objectstack/scenarios build && pnpm --filter @objectstack/scenarios test :: exit 0 (Test Files 34 passed (34), Tests 904 passed (904)); eslint --no-inline-config on the 10 touched TS files :: exit 0; the PR's two-minute check (orchestrate.test.ts + exporter.test.ts -t 33742) :: 10 passed. New tests: orchestrate.test.ts +8 (beside scratch: installs the passing scratch build into crm-account-with-contacts-ask/hostcrm, only scratch's two authoring tasks, ask keys = scratch Run keys rekeyed, 14 turns; live parity 6/9 · 1 leaking, operations 4/5, remove_ben passes through the build's confirm gate; recorded: parity with eval#1's fixture rekeyed to /ask/run/ through RecordedDriver with no authoring turn; --template alone with askRepeats 2: 18/18, 5/5, repeat-2 keys, k/N column 'ask · Run'; scorecard and record rows by text; refusal truth table, parseArgs both flag orders, runCard rejects before scaffold, CLI main creates neither --out nor --work; skips: degraded scratch build, foreign namespace democrx, 409 UNCOPYABLE install; scratch and template ModeRuns, rows, columns and keys identical with and without ask); exporter.test.ts +2 (scratch,template,ask record exports with notShown, no notShown without ask; a failing ask half does not fail the record while the same edit on scratch does). One-time byte parity vs main f81e4b6c: five fixture configurations dumped (record, recording, scorecard, judgeRecord, transcript JSON+MD) on main src and on the branch, 380,983 bytes each, sha256 0e43fffe…9b1a67 identical; comparison file deleted. Ablations via scripts/ablation-replace.mjs on committed heads, each restored with git diff HEAD empty and blob == HEAD: askMode also calls driver.author → 3 failed / 5 passed; askMode hands runHalf undefined for built → 1 failed / 7 passed (live parity, confirm gate); runCard without the askModeRefusal throw → 1 failed / 7 passed. A first attempt at the first ablation was refused by the tool as a no-op (anchor count 1 -> 1) and redone with a vanishing anchor.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on bb52af6b (12 paths, 66 families), each run with stdin from /dev/null: 64 exit 0, 2 exit 3 (PREREQUISITE NOT MET): check-plugin-teardown-shape --self-test could not read its pinned fixture commit in the shallow clone, rerun after git fetch origin 621a4876 exit 0 ('48 cases pass'), recorded on its own line in gates-rerun-bb52af6b.list with the first-run record kept; pnpm check:dual-build-cjs-loads NOT MEASURED locally (needs every package's dist/, 56 missing), CI runs it. --ran: '66 derived famil(ies) accounted for — 64 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. pnpm --filter '@objectstack/scenarios^...' build :: exit 0 under os-verify-lock (VERDICT command-exit 0). CI on #34123 had just started when this report was written; its check-runs are the seat's to read at review. origin/main moved to 385ea1cc after the gates and merges with bb52af6b cleanly (git merge-tree), so no merge was made.",
     "files": [
      ".changeset/33742-scenario-ask-only-mode.md",
      "packages/qa/scenarios/README.md",
      "packages/qa/scenarios/src/export/pass.ts",
      "packages/qa/scenarios/src/export/record.ts",
      "packages/qa/scenarios/src/export/transcript.ts",
      "packages/qa/scenarios/src/runner/cli.ts",
      "packages/qa/scenarios/src/runner/driver.ts",
      "packages/qa/scenarios/src/runner/orchestrate.ts",
      "packages/qa/scenarios/src/runner/scorecard.ts",
      "packages/qa/scenarios/test/export/exporter.test.ts",
      "packages/qa/scenarios/test/export/fixture.ts",
      "packages/qa/scenarios/test/runner/orchestrate.test.ts"
     ],
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "3 — reads only: issue_read x3 (#33742 get, get_comments; #33595 get); no write tool",
     "api_writes": "2 — relay pr_create (objectstack#34123, run 43756919994, body read back 14548/14548 bytes identical, draft, no assignee, no labels), relay comment on #33742 (this report); plus git push (not REST)",
     "deviations": [
      "The first commit 0bdf2db0 (a WIP push) carries no Claude-Session / Co-authored-by trailer pair; later commits carry it. Not rewritten (no force-push). Named in the PR's Acceptance notes",
      "PR body ends with the frame's signed trailer (an HTML comment) under the session-URL footer, as FRAME orders; read-back is identical, so the sanitizer removed nothing",
      "pr_create carried no assignees or reviewers (FRAME: never assign); the harness's assignee/reviewer step was skipped",
      "Ask mode reuses ModeRun.template for its install record rather than a new field (same shape); the field's doc now covers both modes. Named in Acceptance notes",
      "Design point 1's byte parity against main was a one-time dump, deleted afterwards; the permanent pin is the in-suite 'unchanged beside ask' test"
     ],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: epic seat · noted, not filed. The external driver's step schema does not validate mode, so an external: command now receives step.mode 'ask' with no contract change; the README contract line names the three values"
     ]
    }
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#33595#1 · os-tesla · session_01L9qiby1cctpVpRbJzjccvY

    Landed · 2026-11-15T23:22Z

    PR #34123 merged as 196af0a3 (ACCEPT 6901087740; contract review PASS 6900687101). --modes ask installs a verified build (--template F, else this run's passing scratch build) into a blank host by the same unmanaged install template mode uses, seeds it, and runs the Run half alone: every question (--ask-repeats honoured) and every operation. No authoring turn runs, nothing is scored, and there is no iterate. Its turns key as card/ask/run/… and recorded: replays them; on one build and one set of turns its grades equal scratch mode's first Run half. ask with neither --template nor scratch is refused before any card runs. The scorecard's ask column reads supplied in its Build cells and no authoring turns in its author rows, with the build's source named; the gallery exporter reads such a record and passes over the ask mode with the reason stated. Default modes are unchanged byte for byte. pm:dispatched dropped; card thread closing. Queue ① moves to #33743.

  7. removed
    pm:dispatched
    on Nov 15, 2026
  8. added a commit that references this issue on Nov 16, 2026
    196af0a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathdomain:devxpm:epicpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions