Repository navigation
feat(qa): compare live Code Mode tasks and interviews - #147537
Conversation
Extend the existing model matrix with isolated Gateway tasks, fixed-workload build comparisons, and separate task and interview evidence. Preserve failed trials, exact source identities, task effects, logical cell completion, and observed preview coverage. Validation: 187 focused tests, changed-file and targeted type/lint/docs checks, exact-candidate runtime build, actual OpenAI smoke, read-only replay of 24 original trials plus the final smoke, and fresh P2 review. Original scores and interview qualifications remain preserved.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 13, 2026, 7:26 PM ET / 23:26 UTC. ClawSweeper reviewWhat this changesAdds six opt-in Code Mode workloads that run through disposable Gateways, collect follow-up interviews, and compare task results across built revisions. Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this is useful, distinct evaluation work that current main does not provide. No blocking introduced defect was identified, and the maintainer-protected PR is not a cleanup candidate. Priority: P2 Review scores
Verification
How this fits togetherThe developer model matrix exercises OpenClaw’s agent runtime using selected models and synthetic tasks. It collects transcripts and tool effects, then produces task scores, interview checks, and paired measurements. flowchart TD
A[Models and task selections] --> B[Built revision]
B --> C[Disposable Gateway]
D[Synthetic fixtures and real tools] --> C
C --> E[Task and follow-up interview]
E --> F[Transcripts and effect receipts]
F --> G[Behavior checks]
G --> H[Matched baseline comparison]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +2091, Docs +76, Other +1941. Total +4108 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep comparative evaluation in the existing matrix, with fixed workloads, separate task and interview evidence, and performance claims limited to observed measurements. Do we have a high-confidence way to reproduce the issue? Not applicable: this adds evaluation capability rather than repairing a reported bug; the read-only review inspected the runner and counterexample tests without executing them. Is this the best way to solve the issue? Yes: extending the existing matrix is a coherent approach, and separating task behavior from interview consistency avoids treating agent explanations as proof of execution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fa724c69996a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Maintainer compatibility assessment: the data-model classifier has matched a synthetic fixture receipt, not an installed-user data model. No production schema, migration, configuration reader, or upgrade path changes in this PR. The runner creates a fresh temporary root and an empty receipt file for each cell (creation, initialization). The generated fixture writes only to that collector-supplied path; receipts are then exported as test evidence. Retained temporary state supports inspection, not operator-state resumption or migration. The existing default matrix remains unchanged. The new opt-in comparison refuses legacy rows without workload fingerprints with an explicit diagnostic. Regression coverage exercises repeated fixture registration against the same owned receipt, separate task/interview snapshots, missing workload evidence, and unchanged defaults. The final checker also replays all 24 recorded runs with the original verdicts and 79 evidence files unchanged. The PR body now contains this compatibility explanation. I consider the classifier's migration-proof item not applicable; ClawSweeper's substantive code and security review reports no findings. The native review records this assessment, and normal CI/merge gates remain required. |
|
Merged via squash.
|
Extend the existing model matrix with isolated Gateway tasks, fixed-workload build comparisons, and separate task and interview evidence. Preserve failed trials, exact source identities, task effects, logical cell completion, and observed preview coverage. Validation: 187 focused tests, changed-file and targeted type/lint/docs checks, exact-candidate runtime build, actual OpenAI smoke, read-only replay of 24 original trials plus the final smoke, and fresh P2 review. Original scores and interview qualifications remain preserved.
Related: #147105
What Problem This Solves
Code Mode changes need a repeatable way to compare completed tasks, actual tool effects, and agent explanations across built revisions.
User Impact
Developers can opt into six live Gateway workloads through
qa:code-mode-models, compare clean baseline and candidate builds, and inspect a follow-up interview for each run. The existing default matrix is unchanged.No installed-user schema, configuration format, or stored-state upgrade path changes. The generated fixture's JSONL receipt is a per-cell synthetic test artifact: the runner creates a fresh temporary root and empty collector-owned file, passes its path to the generated plugin, and exports it as evidence. Kept state is for inspection, not resumed or migrated as operator state. New comparison rows require their explicit workload fingerprints; legacy rows without that evidence are rejected with a diagnostic instead of being silently converted.
Why This Change Was Made
The workloads cover retained results, heterogeneous data joins, real automation/process contracts, failures after a write, and repeated checked cells. Each uses isolated state, a narrow tool catalog, and checks of actual calls and effects. Workload fingerprints prevent mismatched comparisons. Original failures remain visible, with separate task-behavior and interview-consistency observations; task-only comparisons require verified model identities. Interview explanations still need assessment against the recorded behavior.
Evidence
openai/gpt-5.6-lunaandopenai/gpt-5.6-solacross six tasks on baseline and candidate. Task-behavior checks improved from 8/12 to 12/12 and answer correctness from 10/12 to 12/12. Invoice totals came from all 240 retained records with one fetch; malformed post-write replies identified the bad fields and were followed by inspection without duplicate settlement.previewComplete: trueflags conflict with explicitly sampled descriptors; their prose discusses complete later calculations or caller-visible inventory, and the original prompt did not define which preview the flag meant. Grounded follow-ups clarified the distinction. Both models separately completed direct native typed reads without casts; earlier weak typing and one inaccurate self-description remain qualifications, not retroactive score changes.added:anyand incorrectly readadded.job.id; the model inspected state and recovered without duplicate creation. Removing only:anymakes the real candidate compiler reject that access before dispatch. Types protect this case when the model uses them.Fresh independent review is clean through P2. Detailed synthetic transcripts remain local. No operator Gateway, stored operator state, real channel, or real device was used.