Repository navigation
test: fold script guards into existing fixtures - #198752
Conversation
|
🦞👀 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: passed. What this changesThis PR consolidates script-test assertions and setup into existing tables and shared fixtures. Example: Maintainers run the Crabbox routing-policy tests for ci-proof with configured provider aws on Linux.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-directed test consolidation preserves the reviewed guards, and no blocking defect was found in the pinned diff. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe script-test suites feed synthetic arguments, source files, build outputs, and subprocess fixtures into existing tooling owners and check their results. flowchart LR
A[Synthetic fixtures] --> B[Script test suites]
B --> C[Existing script owners]
C --> D[Results and process outcomes]
D --> E[Retained assertions]
Technical reviewBest possible solution: Retain the focused consolidation and complete the existing exact-head CI gates. Do we have a high-confidence way to reproduce the issue? This is behavior-preserving test maintenance, not a product-bug report; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? Reusing the existing suites and fixture owners is a proportionate way to reduce repetition while retaining the distinct reviewed guards. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d407ba340e8e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -206. Total -206 across 8 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 27, 2026, 7:37 AM ET / 12:37 UTC (Revision 2). |
5c489a3 to
8c67ab5
Compare
75bf338 to
1be335c
Compare
1be335c to
dcde967
Compare
|
@clawsweeper re-review Please review rebuilt head |
|
🦞👀 Re-review progress:
|
test: fold script guards into existing fixtures (openclaw#198752) Consolidate repeated parser, resolver, metadata, policy and child-cleanup checks into existing script-test tables and fixtures. Preserve independent negative controls and current-main guard additions. Tests only; net -206 lines, production delta zero. Validation: scoped oxlint and formatting, both tsgo graphs and 225 distinct focused tests passed. Local review and fresh exact-head ClawSweeper review are clean. Required CI and the exact completed-run security replay passed.
What problem this solves
Repeated script-test setup and assertions obscure the independent guards. This rebuild folds those checks into existing tables and shared fixtures in eight test files, without changing their script owners.
Maintainer-directed test cleanup: #198737. This supersedes the old broad tranche proposal; the mappings below are retained as historical evidence, not claims about the current diff.
Scope and impact
2a03308f2bb9b9b4dc1dd2e14646b97b061e886c.2328cd93eef94ce643e836c76a874684a4dfd5d6.Per-file preservation evidence
All paths below are under
test/scripts/.bench-gateway-concurrency.test.tsbun-standalone-imports.test.tsbun-standalone-source-module-urls.test.tscheck-control-ui-controllers.test.tscheck-dynamic-import-warts.test.tscrabbox-routing-policy.test.tsopenclaw-bws-resolver.test.tsrun-with-env.test.tsThe old deadcode/CI/package inventories and Darwin elevation fold are excluded. Current-main guard additions and exact whitespace assertions elsewhere are retained.
Validation
Local Node 26.7.0 / pnpm 12.15.0: physical
pnpm install --frozen-lockfilepassed, reusing 1,484 packages with zero downloads; disk was 58.882 GiB before and 58.550 GiB after. No shared dependency installation was used. Targeted oxfmt, scoped oxlint withconfig/tsconfig/oxlint.scripts.json, privacy check andgit diff --checkpassed.Remote provider: Blacksmith Testbox, workflow
.github/workflows/ci-check-testbox.yml, jobcheck, refmain. Observed affinity: 4 CPUs; available memory approximately 14.5 GiB. Testbox workflow. The wrapper command results and settled completion events are the delegated-proof result; stopping the completed lease can mark that hosting workflow cancelled. The lease is stopped.test-root-scriptsandtest-root-toolingtsgo graphs passed.test/vitest/vitest.unit-fast.config.ts. Explicit tooling config excludes unit-fast membership, so it was verified separately.Commands:
Review
Local AutoReview (Codex), P0–P3: scoped-clean, no actionable findings, one completed review attempt. The complete eight-file source snapshot at tree
2328cd93eef94ce643e836c76a874684a4dfd5d6was reviewed against the frozen base. The committed headdcde96763a0eb573c319195faa254756bb523b10has that identical tree. Tests were executed separately by the root, not by the reviewer. The local ClawSweeper checkout was unqualified, so this used the documented AutoReview fallback; hosted ClawSweeper remains required. The helper excluded the production secrets-directory dataset; that owner was checked directly and the changed test file remained in the complete review scope.Fresh hosted ClawSweeper review and required CI are separate landing gates. Their durable exact-head results are recorded in the PR review and checks.
Historical source mappings
Original tranche mappings - superseded scope, retained for provenance
Preserved coverage mappings
The following data moved from the twelve unused JSON files. Historical schema/validation/baseline fields are omitted. The two restored tmpdir cases are removed from retired-case records: each now keeps itself. Remaining mappings describe retained contracts, not fresh runtime proof.
Case and file mappings formerly in tranche-1 JSON files
tranche-1-build
{"consolidations":[{"removed":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"rejects changed output until its postbuild owner verifies and updates the hash"},"keeper":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"keeps emitted module identity authoritative through postbuild updates and corrupt metadata","section":"stale and mismatched original hashes, then verified batch update"},"invariant":"Changed emitted bytes reject lookup until the postbuild owner verifies original bytes and publishes the replacement hashes."},{"removed":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"updates multiple chunks with one read and write per metadata ledger"},"keeper":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"keeps emitted module identity authoritative through postbuild updates and corrupt metadata","section":"multi-chunk update read/write spies and resolved module identity"},"invariant":"One metadata ledger is read and written once for a batch of multiple emitted chunks; lookup succeeds after the update."},{"removed":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"requires fresh producer metadata instead of inferring an emitted location"},"keeper":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"keeps emitted module identity authoritative through postbuild updates and corrupt metadata","section":"version, missing facade source, and removed metadata directory"},"invariant":"Outdated, incomplete, or absent producer metadata rejects lookup with the build instruction rather than inferring an output."},{"removed":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"rejects two recorded bodies inside one configuration"},"keeper":{"file":"test/scripts/bun-standalone-source-module-urls.test.ts","case":"keeps emitted module identity authoritative through postbuild updates and corrupt metadata","section":"duplicate-body lookup and source graph rejection"},"invariant":"Both source entry lookup and source graph chunk admission reject two emitted bodies for one source in the same configuration."},{"removed":{"file":"test/scripts/bun-standalone-imports.test.ts","case":"maps the CJS %s resolver handoff while preserving external paths and restoration","rows":["key","\"_resolveFilename\"","direct","typed-arrow"]},"keeper":{"file":"test/scripts/bun-standalone-imports.test.ts","case":"retains the typed %s resolver's handoff, receiver, arguments and restoration","rowMapping":{"key":"satisfies","\"_resolveFilename\"":"as","direct":"direct","typed-arrow":"typed-arrow"}},"invariant":"Computed, literal, and direct property assignments plus typed arrow resolvers map embedded handoffs while preserving external paths, receiver state, arguments, errors, and restoration; every row executes both type-preserving and stripped-source rewrites."}]}tranche-1-ci
{"file":"test/scripts/ci-workflow-planning.test.ts","consolidatedCases":[{"case":"keeps docs i18n CI on the workflow-owned Go toolchain","keeper":{"case":"keeps docs i18n CI on the workflow-owned Go toolchain","helper":"expectNodePrerequisite","rows":"0..15"},"invariant":"requires_go","preservedSelectionRows":16},{"case":"provisions pinned Bun for Node-hosted standalone code generation","keeper":{"case":"provisions pinned Bun for Node-hosted standalone code generation","helper":"expectNodePrerequisite","rows":"0..7"},"invariant":"requires_bun","preservedSelectionRows":8},{"case":"provisions ripgrep for filesystem, SQLite ratchet, and native PR wrapper selections","keeper":{"case":"provisions ripgrep for filesystem, SQLite ratchet, and native PR wrapper selections","helper":"expectNodePrerequisite","rows":"0..31"},"invariant":"requires_ripgrep","preservedSelectionRows":32},{"case":"prepares the Docker sandbox image only for selected container E2E cases","keeper":{"case":"prepares the Docker sandbox image only for selected container E2E cases","helper":"expectNodePrerequisite","rows":"0..6"},"invariant":"requires_sandbox_image","preservedSelectionRows":7},{"case":"provisions native OAuth binaries for selected Gateway proof rows","keeper":{"case":"provisions native OAuth binaries for selected Gateway proof rows","helper":"expectNodePrerequisite","rows":"0..2"},"invariant":"requires_native_secret_service","preservedSelectionRows":3}],"preservedContracts":["All 66 input selections and expected prerequisite values","Go uses exact boolean equality; other prerequisites retain Boolean coercion","Bun rows retain node runtime policy assertions","Go toolchain/cache and Docker/native OAuth setup assertions remain in their original cases"]}tranche-1-guards
{"retiredCases":[{"file":"test/scripts/check-no-random-messaging-tmp.test.ts","case":"ignores tmpdir symbols that are not imported from node:os","keeperFile":"test/scripts/check-no-random-messaging-tmp.test.ts","keeperCases":["allows plugin test support while rejecting runtime tmpdir calls through the guard"],"invariant":"Host tmpdir imports are rejected only in messaging runtime sources; local functions and plugin test support remain allowed.","movedUniqueAssertions":"src/channels/local.ts defines and calls a local tmpdir; first guard invocation must leave exitCode unchanged and emit no errors; second invocation must exclude it from the exact diagnostic set."},{"file":"test/scripts/check-no-random-messaging-tmp.test.ts","case":"guards src/media against host tmpdir usage","keeperFile":"test/scripts/check-no-random-messaging-tmp.test.ts","keeperCases":["allows plugin test support while rejecting runtime tmpdir calls through the guard"],"invariant":"Host tmpdir imports are rejected only in messaging runtime sources; local functions and plugin test support remain allowed.","movedUniqueAssertions":"src/media/runtime.ts must appear in the exact executable diagnostic set. The same case now exercises src/channels, src/infra/outbound, src/line, src/media-understanding and both plugin source/public runtime paths."},{"file":"test/scripts/check-control-ui-controllers.test.ts","case":"ratchets imported %s aliases and namespace calls only","keeperFile":"test/scripts/check-control-ui-controllers.test.ts","keeperCases":["ratchets imported flush without counting unrelated or shadowed bindings","ratchets imported getOwner without counting unrelated or shadowed bindings","ratchets imported runWithOwner without counting unrelated or shadowed bindings"],"invariant":"Only live Solid imports count toward the per-pattern ratchet.","movedUniqueAssertions":"All unrelated-module, owner property/computed, parameter, namespace parameter, block local, hoisted var, destructured and catch bindings first pass with an empty baseline. Appending imported generic, optional namespace and computed namespace calls passes at allowance 3; a fourth imported call fails with the same pattern-specific growth diagnostic."},{"file":"test/scripts/check-control-ui-controllers.test.ts","case":"ignores non-Solid and shadowed %s bindings","keeperFile":"test/scripts/check-control-ui-controllers.test.ts","keeperCases":["ratchets imported flush without counting unrelated or shadowed bindings","ratchets imported getOwner without counting unrelated or shadowed bindings","ratchets imported runWithOwner without counting unrelated or shadowed bindings"],"invariant":"Only live Solid imports count toward the per-pattern ratchet.","movedUniqueAssertions":"All unrelated-module, owner property/computed, parameter, namespace parameter, block local, hoisted var, destructured and catch bindings first pass with an empty baseline. Appending imported generic, optional namespace and computed namespace calls passes at allowance 3; a fourth imported call fails with the same pattern-specific growth diagnostic."},{"file":"test/scripts/check-deadcode-exports.test.ts","case":"models named Solid lazy consumers without retaining a deleted loader","keeperFile":"test/scripts/check-deadcode-exports.test.ts","keeperCases":["models named Solid lazy consumers without retaining removed consumers"],"invariant":"Named Solid lazy exports are real graph consumers only while their loader exists.","movedUniqueAssertions":"Exact generated named import; removing loader omits ShellSettingsSidebar."},{"file":"test/scripts/check-deadcode-exports.test.ts","case":"models only Vite runner members consumed by the build","keeperFile":"test/scripts/check-deadcode-exports.test.ts","keeperCases":["models only Vite runner members consumed by the build without retaining removed consumers"],"invariant":"Vite graph edges retain only referenced exports.","movedUniqueAssertions":"Exact APP_ROUTE_PATHS generated import, no APP_ROUTE_OFFLINE_PREFIXES, actual ui/vite.config.ts read, unrelated compiler input unchanged and config project inventory membership."},{"file":"test/scripts/check-deadcode-exports.test.ts","case":"models the locale catalogue members consumed through Vite's runner","keeperFile":"test/scripts/check-deadcode-exports.test.ts","keeperCases":["models the locale catalogue members consumed through Vite's runner without retaining removed consumers"],"invariant":"Locale startup/catalog reads project their named graph edges.","movedUniqueAssertions":"Exact two-member generated import; removing only the startup member leaves its name absent. Both config entries remain script workspace roots."},{"file":"test/scripts/check-deadcode-exports.test.ts","case":"models ordinary UI Vite imports into the script workspace","keeperFile":"test/scripts/check-deadcode-exports.test.ts","keeperCases":["models ordinary UI Vite imports into the script workspace without retaining removed consumers"],"invariant":"Ordinary UI-to-script imports participate in the script graph while present.","movedUniqueAssertions":"Exact ordinary generated import; removing the import omits isControlUiOptionalAsset."},{"file":"test/scripts/check-dynamic-import-warts.test.ts","case":"flags direct dynamic imports inside execute paths","keeperFile":"test/scripts/check-dynamic-import-warts.test.ts","keeperCases":["flags direct dynamic imports inside execute paths"],"invariant":"Uncached imports inside execute paths emit an actionable advisory.","movedUniqueAssertions":"Original three-line fixture, exact line 2 and full cached-loader guidance retained in existing exact-advisory result table."}]}tranche-1-install
{"lane":"install-update-upgrade","coverageConsolidations":[{"file":"test/scripts/install-sh.test.ts","retiredCases":["reports a stale Homebrew node without PATH advice","does not print PATH advice when Homebrew node is missing at runtime"],"keeper":{"file":"test/scripts/install-sh.test.ts","case":"$name","rows":["reports a stale Homebrew node without PATH advice","does not print PATH advice when Homebrew node is missing at runtime"]},"invariant":"Homebrew runtime rejection keeps stale-version and missing-on-disk diagnostics distinct.","transferredAssertions":["status 0 from the guarded probe; ensure returned failure","stale: upgrade guidance and v26.10.0 rejection","missing: on-disk diagnostic; no installed-success or profile guidance"]},{"file":"test/scripts/install-sh.test.ts","retiredCases":["fails a configured upgrade without printing success when doctor fails"],"keeper":{"file":"test/scripts/install-sh.test.ts","case":"required installer lifecycle: $name","rows":["configured npm upgrade rejects failed Doctor before success"]},"invariant":"A configured npm upgrade propagates Doctor failure before success, upgrade-complete, or dashboard output.","transferredAssertions":["Doctor exit 9 remains process exit 9","no installed-success or Upgrade complete output","installation reached; no external command escaped fixture"]},{"file":"test/scripts/upgrade-survivor-probe-gateway.test.ts","retiredCases":["rejects degraded ready responses by default even when failing components are allowlisted","does not let degraded ready mode convert generic server errors into success"],"keeper":{"file":"test/scripts/upgrade-survivor-probe-gateway.test.ts","case":"$name","rows":["rejects degraded ready responses by default even when failing components are allowlisted","does not let degraded ready mode convert generic server errors into success"]},"invariant":"Default degraded-readiness rejection and generic HTTP 500 rejection retain independent arguments, environment and transport timing.","transferredAssertions":["exit 1; no signal or execution error","HTTP 503 and HTTP 500 diagnostics, respectively","no successful probe receipt"]},{"file":"test/scripts/upgrade-survivor-migration-order.test.ts","removedUnreachableFixtureBranches":["missing-export","exported-applied","tables-kept","files-kept","live-skill-changed","candidate-table-kept","candidate-not-retired","candidate-reexported"],"keeper":{"file":"test/scripts/upgrade-survivor-migration-order.test.ts","case":"keeps published refusal, candidate retirement, and repair distinct: %s","rows":["intact","baseline-consumed","retirement-warning"]},"invariant":"The declared table never selected removed branches. All three executable rows and their assertions remain.","transferredAssertions":["exact pending/quarantined export set","baseline refusal and explicit repair evidence","candidate retirement, separate candidate repair, and completed recovery receipts","original-state consumption and retirement-warning rejections"]},{"file":"test/scripts/upgrade-survivor-assertions.test.ts","removedUnreachableFixtureBranches":["not-started","wait-timeout","turn-failed","wrong-session","user-only"],"keeper":{"file":"test/scripts/upgrade-survivor-assertions.test.ts","case":"requires a completed persisted managed serving reply (%s)","rows":["queued","cli-failed","wrong-reply"]},"invariant":"The declared table never selected removed branches. Pending-to-complete success and both active failure rows keep the same protocol responses.","transferredAssertions":["exit status and receipt presence","secret redaction on every outcome","managed command failure diagnostic","persisted session id, marker reply, and completed status"]}]}tranche-1-native
{"scope":"tranche-1-native","mappings":[{"deleted":{"file":"test/scripts/ios-release-prepare.test.ts","case":"rejects non-canonical signing teams before generating release inputs"},"keeper":{"file":"test/scripts/ios-release-wrapper-args.test.ts","case":"rejects non-canonical signing teams before generating release inputs"},"invariant":"Release preparation rejects unofficial signing teams before generating inputs.","uniqueAssertionsMoved":["exit status 1","official Team ID FWJYW4S8P8 diagnostic","got Y3YUZP442G diagnostic"]},{"deleted":{"file":"test/scripts/ios-release-signing.test.ts","case":"rejects missing values for %s before reading signing manifests","rows":[["--mode","--manifest"],["--mode","-h"],["--manifest","-h"]]},"keeper":{"file":"test/scripts/ios-release-wrapper-args.test.ts","case":"rejects missing values for %s before reading signing manifests","rows":[["--mode","--manifest"],["--mode","-h"],["--manifest","-h"]]},"invariant":"Missing option values fail before manifest I/O.","uniqueAssertionsMoved":["exit status 1","Missing value for first flag","stderr excludes ENOENT","empty stdout"]},{"deleted":{"file":"test/scripts/ios-release-signing.test.ts","case":"emits manual App Store profile settings for every signed target"},"keeper":{"file":"test/scripts/ios-release-wrapper-args.test.ts","case":"$name","rows":[{"name":"emits manual App Store profile settings for every signed target","mode":"xcconfig"}]},"invariant":"Signing CLI emits canonical profiles and excludes the retired Watch extension.","uniqueAssertionsMoved":["Manual signing style","Apple Distribution identity","canonical app group","app, share, activity widget, Watch app profile strings","OPENCLAW_WATCH_EXTENSION_PROFILE absent"]},{"deleted":{"file":"test/scripts/ios-release-signing.test.ts","case":"documents the canonical release signing plan"},"keeper":{"file":"test/scripts/ios-release-wrapper-args.test.ts","case":"$name","rows":[{"name":"documents the canonical release signing plan","mode":"plan"}]},"invariant":"Signing CLI describes the canonical distribution plan.","uniqueAssertionsMoved":["Team ID FWJYW4S8P8","signing repository URL","main branch","Fastlane match setup","PUSH_NOTIFICATIONS, APP_GROUPS, APP_ATTEST, HEALTH_KIT capabilities","canonical shared app group","OpenClawWatchExtension absent"]},{"deleted":{"file":"test/scripts/ios-periphery-comment-workflow.test.ts","case":"attempts both app reports before surfacing a rejected %s artifact download","rows":["macOS","iOS"]},"keeper":{"file":"test/scripts/ios-periphery-comment-workflow.test.ts","case":"attempts both app reports before surfacing a rejected $failedPlatform $failure","rows":[{"failedPlatform":"macOS","failure":"artifact download"},{"failedPlatform":"iOS","failure":"artifact download"}]},"invariant":"One app failure must not suppress the other app report.","uniqueAssertionsMoved":["both artifacts attempted (downloadCount=2)","exactly one surviving comment with opposite platform marker","AggregateError","exact failed-platform diagnostic"]},{"deleted":{"file":"test/scripts/ios-periphery-comment-workflow.test.ts","case":"attempts both app reports before surfacing a rejected %s comment write","rows":["macOS","iOS"]},"keeper":{"file":"test/scripts/ios-periphery-comment-workflow.test.ts","case":"attempts both app reports before surfacing a rejected $failedPlatform $failure","rows":[{"failedPlatform":"macOS","failure":"comment write"},{"failedPlatform":"iOS","failure":"comment write"}]},"invariant":"One app failure must not suppress the other app report.","uniqueAssertionsMoved":["both artifacts attempted (downloadCount=2)","exactly one surviving comment with opposite platform marker","AggregateError","exact failed-platform diagnostic"]}],"unchangedCases":{"file":"test/scripts/mac-elevation-host.test.ts","change":"57 identical darwin-only selector chains share nativeIt; test callbacks and matrix rows remain unchanged"}}tranche-1-operations
{"consolidations":[{"removed":{"file":"test/scripts/crabbox-routing-policy.test.ts","case":"routes %s through Boat, Daytona, Azure, then AWS"},"keeper":{"file":"test/scripts/crabbox-routing-policy.test.ts","cases":["routes ci-fast from blacksmith-testbox on linux","routes ci-proof from blacksmith-testbox on linux","routes release-proof from blacksmith-testbox on linux"]},"invariant":"ordered eligible CI providers for all three workloads","transferredAssertions":"exact provider-array equality; all original workload, target and configured-provider inputs retained"},{"removed":{"file":"test/scripts/crabbox-routing-policy.test.ts","case":"does not let persistent cloud config outrank the CI policy"},"keeper":{"file":"test/scripts/crabbox-routing-policy.test.ts","cases":["routes ci-proof from aws on linux"]},"invariant":"configured AWS does not override CI preference","transferredAssertions":"exact provider-array equality; all original workload, target and configured-provider inputs retained"},{"removed":{"file":"test/scripts/crabbox-routing-policy.test.ts","case":"prefers Daytona for interactive Linux work"},"keeper":{"file":"test/scripts/crabbox-routing-policy.test.ts","cases":["routes interactive from blacksmith-testbox on linux"]},"invariant":"interactive provider preference","transferredAssertions":"exact provider-array equality; all original workload, target and configured-provider inputs retained"},{"removed":{"file":"test/scripts/crabbox-routing-policy.test.ts","case":"keeps untrusted work off Blacksmith and Daytona pending isolation proof"},"keeper":{"file":"test/scripts/crabbox-routing-policy.test.ts","cases":["routes untrusted from blacksmith-testbox on linux"]},"invariant":"untrusted provider isolation","transferredAssertions":"exact provider-array equality; all original workload, target and configured-provider inputs retained"},{"removed":{"file":"test/scripts/crabbox-routing-policy.test.ts","case":"uses Azure then AWS for Windows and only AWS for macOS"},"keeper":{"file":"test/scripts/crabbox-routing-policy.test.ts","cases":["routes ci-fast from blacksmith-testbox on windows","routes ci-fast from blacksmith-testbox on macos"]},"invariant":"platform eligibility and ordering","transferredAssertions":"exact provider-array equality; all original workload, target and configured-provider inputs retained"},{"removed":{"file":"test/scripts/run-with-env.test.ts","case":"cleans up wrapped command descendants on wrapper shutdown"},"keeper":{"file":"test/scripts/run-with-env.test.ts","cases":["settles wrapped command descendants (graceful=false)"]},"invariant":"forced descendant cleanup after parent exit","transferredAssertions":"positive live PID before SIGTERM, signal outcome, observed descendant exit"},{"removed":{"file":"test/scripts/run-with-env.test.ts","case":"lets wrapped command descendants finish during the shutdown grace period"},"keeper":{"file":"test/scripts/run-with-env.test.ts","cases":["settles wrapped command descendants (graceful=true)"]},"invariant":"graceful descendant completion before teardown","transferredAssertions":"SIGTERM outcome and exact done marker"}]}tranche-1-package
{"lane":"package","note":"Broad same-case source-layer cuts were reverted after preservation review. Only independently verified canonical duplicates remain. All unique actor, validator, consumer, upgrade, command execution, artifact identity, auth and cleanup checks are preserved.","canonicalDuplicateConsolidations":[{"file":"test/scripts/package-acceptance-workflow.test.ts","case":"runs Release Decision and Diagnostic Drain in parallel from exact child tuples","baselineLineRanges":[[9463,9467],[9535,9553]],"removedLines":24,"keeper":{"file":"test/scripts/full-release-validation-continuation-workflow.test.ts","case":"restores the immutable attempt-one plan instead of rebuilding child identity"},"invariant":"Same immutable attempt-one cache/restore/upload conditions, parent run identity and overwrite=false. Keep the exact cache action pin in the source case."},{"file":"test/scripts/package-acceptance-workflow.test.ts","case":"publish requires the credentialed authorization path","baselineLineRanges":[[15662,15665],[15668,15676],[15679,15679],[15683,15683],[15687,15690]],"removedLines":19,"keeper":{"file":"test/scripts/plugin-clawhub-new-workflow.test.ts","case":"requires an exact attested parent tuple for approved dry-run validation"},"invariant":"Duplicate bootstrap permissions, approval artifact tuple, child/target SHA and attestation source arguments. Keep unique approval path, expected attempt/branch, actor and validator checks."},{"file":"test/scripts/package-acceptance-workflow.test.ts","case":"lets reusable Docker E2E consume an already resolved package artifact","baselineLineRanges":[[9786,9794],[9810,9811],[9815,9815],[9817,9818]],"removedLines":14,"keeper":{"file":"test/scripts/release-no-push-workflow.test.ts","case":"builds shared images locally, verifies artifacts, and cannot fall back to a registry"},"invariant":"Duplicate reusable artifact input keys, named current/previous downloads, artifact IDs, digest and attempt-bound URL. Keep every consumer, selected-source and upgrade check."},{"file":"test/scripts/package-acceptance-workflow.test.ts","case":"runs Release Decision and Diagnostic Drain in parallel from exact child tuples","baselineLineRanges":[[9454,9454],[9456,9456],[9494,9494],[9499,9502],[9559,9561]],"removedLines":10,"keeper":{"file":"test/scripts/package-acceptance-workflow.test.ts","case":"runs Release Decision and Diagnostic Drain in parallel from exact child tuples","row":"decisionStep and decisionUpload"},"invariant":"Both aliases select the identical watcher step. Keep one environment/upload assertion and remove only the self-comparison and second copies."}]}tranche-1-release
{"strategy":"Consolidate repeated setup; preserve every scenario, expected error, and boundary invocation.","entries":[{"file":"test/scripts/frv.test.ts","removedCases":["recognizes a carried npm preparation by its execution fingerprint","rejects a replacement npm preparation even without a second descriptor"],"keeper":"$name","rows":["recognizes a carried npm preparation by its execution fingerprint","rejects a replacement npm preparation even without a second descriptor"],"invariant":"Recovery distinguishes a carried preparation fingerprint from a replacement that invalidates consumed candidate bytes.","carriedUniqueAssertions":"Original inputs, expected rejection, and mutation/no-mutation assertions are retained in the named table row."},{"file":"test/scripts/frv.test.ts","removedCases":["does not invent rerunnable producers for retained publication artifacts","does not let evidence reuse hide a failed producer job"],"keeper":"$name","rows":["does not invent rerunnable producers for retained publication artifacts","does not let evidence reuse hide a failed producer job"],"invariant":"Authenticated artifact reuse cannot invent a producer or conceal failed original npm dispatch identity.","carriedUniqueAssertions":"Original inputs, expected rejection, and mutation/no-mutation assertions are retained in the named table row."},{"file":"test/scripts/release-ci-summary.test.ts","removedCases":["rejects a parent recovery that reruns a sealed child dispatch slot","rejects carried parent jobs whose selected-attempt execution fingerprint changed"],"keeper":"$name","rows":["rejects a parent recovery that reruns a sealed child dispatch slot","rejects carried parent jobs whose selected-attempt execution fingerprint changed"],"invariant":"Sealed child dispatches and carried parent jobs retain their original execution fingerprints.","carriedUniqueAssertions":"Original inputs, expected rejection, and mutation/no-mutation assertions are retained in the named table row."},{"file":"test/scripts/release-plan-producer.test.ts","removedCases":["ignores poisoned direct yaml require cache entries","ignores poisoned transitive yaml require cache entries"],"keeper":"ignores poisoned %s yaml require cache entries","rows":["direct","transitive"],"invariant":"Verified YAML executes its retained closure rather than ambient direct or transitive require-cache entries.","carriedUniqueAssertions":"Original inputs, expected rejection, and mutation/no-mutation assertions are retained in the named table row."},{"file":"test/scripts/release-no-push-workflow.test.ts","removedCases":["fails a missing required local live image before any registry pull","fails a missing required local Docker E2E image before pull or build fallback"],"keeper":"$name","rows":["fails a missing required local live image before any registry pull","fails a missing required local Docker E2E image before pull or build fallback"],"invariant":"Required local images fail before registry pulls or build fallback.","carriedUniqueAssertions":"Exact command, environment, missing-image error, status 1, and one inspect call retained for each image owner."}]}tranche-1-remaining-a-i
{"tranche":1,"lane":"remaining-a-i","mapping_note":"Each keeper_case is the exact expanded Vitest name; $name and %s rows preserve the original names.","case_mappings":[{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"disables a shrinkwrap that violates a scoped rule with the global version","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"disables a shrinkwrap that violates a scoped rule with the global version","invariant":"override conflict policy is applied to the effective dependency edge","unique_assertions_carried":["global forked=2.0.0 plus parent-scoped forked=1.0.0 disables node_modules/parent"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches a scoped override against the incoming dependency range","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches a scoped override against the incoming dependency range","invariant":"override conflict policy is applied to the effective dependency edge","unique_assertions_carried":["incoming ^1.0.0 selects [email protected] policy for installed parent 1.1.0"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"applies a wildcard scoped override to a plain Git edge","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"applies a wildcard scoped override to a plain Git edge","invariant":"override conflict policy is applied to the effective dependency edge","unique_assertions_carried":["parent@* selects the Git dependency and disables its conflicting shrinkwrap"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"accepts a hoisted peer that satisfies its scoped override","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"accepts a hoisted peer that satisfies its scoped override","invariant":"override conflict policy is applied to the effective dependency edge","unique_assertions_carried":["hoisted forked=1.0.0 satisfies the parent peer override; no source is disabled"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (plain Git spec)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (plain Git spec)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["git+https://example.test/parent.git conflicts"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (hosted Git URL without suffix)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (hosted Git URL without suffix)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["https://github.com/example/parent conflicts"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (hosted archive URL)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (hosted archive URL)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["https://github.com/example/parent/archive/v1.0.0.tar.gz is not a Git edge"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (local tarball)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (local tarball)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["file:./parent.tgz is not a Git edge"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (local directory)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (local directory)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["../parent is not a Git edge"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (GitHub shorthand)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (GitHub shorthand)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["example/parent conflicts"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (Git semver range)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (Git semver range)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["git+https://example.test/parent.git#semver:^1.0.0 follows its semver selector"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (npm alias range)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (npm alias range)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["npm:aliased-parent@^1.0.0 follows its alias selector"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"matches scoped selectors using the effective edge spec (optional dependency precedence)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"matches scoped selectors using the effective edge spec (optional dependency precedence)","invariant":"dependency syntax and optional precedence retain their own rows","unique_assertions_carried":["optional parent=2.0.0 takes precedence over required parent=1.0.0"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"validates npm override alias identity (original package)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"validates npm override alias identity (original package)","invariant":"override alias identity is independent of installed version","unique_assertions_carried":["name=foo is rejected against npm:[email protected]"]},{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_case":"validates npm override alias identity (alias target)","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_case":"validates npm override alias identity (alias target)","invariant":"override alias identity is independent of installed version","unique_assertions_carried":["name=patched-foo satisfies the alias override"]},{"source_file":"test/scripts/docker-e2e-plan.test.ts","source_case":"fails closed when an unknown legacy scenario catalog lacks the command","keeper_file":"test/scripts/docker-e2e-plan.test.ts","keeper_case":"fails closed when an unknown legacy scenario catalog lacks the command","invariant":"frozen scenario admission rejects each invalid contract form","unique_assertions_carried":["throws unknown upgrade-survivor assertion command: list-scenarios"]},{"source_file":"test/scripts/docker-e2e-plan.test.ts","source_case":"fails closed when a frozen target scenario command returns non-JSON output","keeper_file":"test/scripts/docker-e2e-plan.test.ts","keeper_case":"fails closed when a frozen target scenario command returns non-JSON output","invariant":"frozen scenario admission rejects each invalid contract form","unique_assertions_carried":["throws list-scenarios did not return JSON"]},{"source_file":"test/scripts/docker-e2e-plan.test.ts","source_case":"fails closed when a frozen target scenario command returns an invalid catalog","keeper_file":"test/scripts/docker-e2e-plan.test.ts","keeper_case":"fails closed when a frozen target scenario command returns an invalid catalog","invariant":"frozen scenario admission rejects each invalid contract form","unique_assertions_carried":["duplicate base rows throw list-scenarios returned an invalid catalog"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"reuses strict direct-root evidence produced by a canonical SHA-pinned run","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"reuses strict direct-root evidence produced by a canonical SHA-pinned run","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["ancestor producer SHA on main lineage is reusable","status=0, reuse=true, evidence_run_id=111"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"reuses strict evidence from the protected tooling tag","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"reuses strict evidence from the protected tooling tag","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["exact protected tooling SHA remains reusable when verifier is not on main","status=0, reuse=true, evidence_run_id=111"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"reuses strict evidence produced by an ancestor of the protected tooling tag","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"reuses strict evidence produced by an ancestor of the protected tooling tag","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["protected-tag-tooling-lineage proof admits an ancestor producer","status=0, reuse=true, evidence_run_id=111"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"rejects unrecognized protected tooling proof","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"rejects unrecognized protected tooling proof","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["protected-tag-diverged proof is rejected","status=0, reuse=false"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"rejects cross-SHA reuse when the release delta includes code","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"rejects cross-SHA reuse when the release delta includes code","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["index.ts code delta prevents changelog-only reuse","status=0, reuse=false, diagnostic=is not a CHANGELOG.md-only descendant"]},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_case":"rejects a source-file rename to CHANGELOG.md","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_case":"rejects a source-file rename to CHANGELOG.md","invariant":"reuse admission binds producer lineage and the exact release delta","unique_assertions_carried":["renamed code cannot acquire changelog-only reuse","status=0, reuse=false, diagnostic=is not a CHANGELOG.md-only descendant"]}],"support_consolidations":[{"source_file":"test/scripts/generate-npm-package-lock.test.ts","source_symbol":"repeated parent/forked lockfile object construction","keeper_file":"test/scripts/generate-npm-package-lock.test.ts","keeper_symbol":"shrinkwrapFixture","invariant":"each invocation constructs a fresh graph, including the original absence of hasShrinkwrap for peers","unique_assertions_carried":"all override, dependency-syntax, peer and alias expectations remain in the mapped cases"},{"source_file":"test/scripts/find-reusable-release-validation.test.ts","source_symbol":"ParentTuple, ChildTuple and copied NormalizedEvidence fixture shape","keeper_file":"test/scripts/find-reusable-release-validation.test.ts","keeper_symbol":"ReturnType<typeof normalizedEvidence> with optional qualificationAdmission","invariant":"fixture shape has one typed producer; nullable mutable evidenceReuse remains supported","unique_assertions_carried":"no runtime input or assertion removed"},{"source_file":"test/scripts/clawhub-postpublish.test.ts","source_symbol":"zip(name, bytes) manual ZIP headers","keeper_file":"test/scripts/actions-artifact-zip.test-support.ts","keeper_symbol":"makeStoredZip","invariant":"stored ZIPs retain the requested entry name, payload bytes, CRC32 and directory offsets","unique_assertions_carried":"every ClawHub test and its artifact identity, payload, authorization and registry assertions remain unchanged"}]}tranche-1-remaining-j-p
{"lane":"remaining-j-p","consolidations":[{"removed":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"revalidates child identity after a transient GET retry","fragment":"standalone retry fixture and callback"},"keeper":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"%s","row":"revalidates child identity after a transient GET retry"},"invariant":"A transient child-run read cannot bypass validation of the successful retry's identity.","transferredAssertions":["--include on child reads","HTTP 429 Retry-After seven seconds","one read at 6999 ms, retry at 7000 ms","changed head_sha rejected with child identity diagnostic","exactly two reads"]},{"removed":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"revalidates publisher job identity after a transient inventory retry","fragment":"standalone retry fixture and callback"},"keeper":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"%s","row":"revalidates publisher job identity after a transient inventory retry"},"invariant":"A transient jobs inventory read cannot bypass publisher identity validation after retry.","transferredAssertions":["--include on inventory reads","transient HTTP 503","1000 ms retry","publisher head_sha mismatch rejected with publisher job diagnostic","exactly two reads"]},{"removed":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"revalidates artifact identity after a transient metadata retry","fragment":"standalone retry fixture and callback"},"keeper":{"file":"test/scripts/plugin-npm-publication-readback.test.ts","case":"%s","row":"revalidates artifact identity after a transient metadata retry"},"invariant":"Verification revalidates immutable artifact metadata after a transient read.","transferredAssertions":["parent created before fake timers","transient HTTP 503","1000 ms retry during verify","changed artifact digest rejected with immutable publication tuple diagnostic","exactly two reads"]},{"removed":{"file":"test/scripts/openclaw-bws-resolver.test.ts","case":"forwards the self-hosted server URL without inheriting unrelated variables","fragment":"duplicated executable subprocess fixture and success assertions"},"keeper":{"file":"test/scripts/openclaw-bws-resolver.test.ts","case":"forwards the self-hosted server URL without inheriting unrelated variables"},"invariant":"The real resolver forwards the token and self-hosted URL but omits unrelated parent variables.","transferredAssertions":["fresh executable bws fixture","explicit isolated child environment","token, URL and unrelated-variable child probes","process status 0 and empty stderr","exact protocol version, resolved value and empty errors"]},{"removed":{"file":"test/scripts/openclaw-bws-resolver.test.ts","case":"returns bounded error codes for missing and ambiguous keys","fragment":"duplicated executable subprocess fixture and success assertions"},"keeper":{"file":"test/scripts/openclaw-bws-resolver.test.ts","case":"returns bounded error codes for missing and ambiguous keys"},"invariant":"The real resolver distinguishes absent and duplicate secrets without returning either ambiguous value.","transferredAssertions":["fresh executable bws fixture","explicit isolated child environment","process status 0 and empty stderr","exact empty values map","NOT_FOUND and AMBIGUOUS_DUPLICATE_KEY for their original requested ids"]}]}tranche-1-remaining-q-z
{"consolidatedAssertions":[{"file":"test/scripts/test-group-report.test.ts","case":"preserves bounded empty report output","retiredAssertions":["empty report inline snapshot","empty comparison inline snapshot"],"keeperFile":"test/scripts/test-group-report.test.ts","keeperCases":["preserves bounded empty report output","preserves bounded populated report output","preserves bounded comparison output"],"invariant":"Empty counters, ordered headings, absent run section and comparison none placeholders remain exact normalized rows; populated report/comparison snapshots retain exact spacing and section separation."},{"file":"test/scripts/test-group-report.test.ts","case":"preserves bounded populated report output","retiredAssertions":["zero-limit report inline snapshot"],"keeperFile":"test/scripts/test-group-report.test.ts","keeperCases":["preserves bounded populated report output"],"invariant":"Zero limits retain every counter and heading, suppress rows and retain the slow-test section. The same case preserves its original exact populated snapshot."},{"file":"test/scripts/test-group-report.test.ts","case":"preserves bounded comparison output","retiredAssertions":["zero-limit comparison inline snapshot"],"keeperFile":"test/scripts/test-group-report.test.ts","keeperCases":["preserves bounded comparison output"],"invariant":"Zero limits retain all totals, added/removed counts, ordered sections and none placeholders; the run section remains present without a none placeholder. The same case preserves its original exact populated snapshot."}]}tranche-1-runtime
{"consolidations":[{"removed":{"file":"test/scripts/profile-extension-memory.test.ts","case":"profiles package-local output without a root dist tree"},"keeper":{"file":"test/scripts/profile-extension-memory.test.ts","case":"writes complete import reports for %s","row":"package-local"},"invariant":"Profile the built package-local entry without importing source or requiring a root dist tree.","transferredAssertions":["CLI success and no cliStartup error","exact selected entry and count","repo root and cold-import scope","unqualified canonical identity with removed temporary home","individual and combined import completion, RSS, CPU arithmetic and closed child"]},{"removed":{"file":"test/scripts/profile-extension-memory.test.ts","case":"bounds noisy child output without losing RSS samples"},"keeper":{"file":"test/scripts/profile-extension-memory.test.ts","case":"writes complete import reports for %s","row":"noisy"},"invariant":"Noisy successful imports retain RSS and the exit tail while bounding captured output.","transferredAssertions":["CLI success","one successful result with numeric RSS","output and preview truncation markers","exit tail retained","old stderr discarded","preview under 9000 characters"]},{"removed":{"file":"test/scripts/profile-extension-memory.test.ts","case":"creates parent directories for nested JSON report paths"},"keeper":{"file":"test/scripts/profile-extension-memory.test.ts","case":"writes complete import reports for %s","row":"nested-report"},"invariant":"The CLI creates nested report directories and writes the completed import result.","transferredAssertions":["CLI success","report read from .artifacts/memory/report.json","one successful entry, no failures or timeouts"]},{"removed":{"file":"test/scripts/profile-extension-memory.test.ts","case":"uses distinct default JSON report paths for separate runs"},"keeper":{"file":"test/scripts/profile-extension-memory.test.ts","case":"writes complete import reports for %s","row":"default-report"},"invariant":"Separate invocations produce separate valid reports under the platform temporary directory.","transferredAssertions":["two successful CLI invocations","temporary parent directory","timestamp/PID/UUID filename shape","successful report counts","distinct report paths"]},{"removed":{"file":"test/scripts/bench-gateway-concurrency.test.ts","case":"parses bounded mock and live benchmark controls without booting a gateway","fragment":"repeated per-option setup and assertions"},"keeper":{"file":"test/scripts/bench-gateway-concurrency.test.ts","case":"parses bounded mock and live benchmark controls without booting a gateway","rows":"controls, invalid arguments, accepted boundaries"},"invariant":"Benchmark option defaults, selected values, mode restrictions, argument rejection and workload limits remain independently checked.","transferredAssertions":["all original default fields","23 explicit flag-to-field mappings and six boolean flags","live provider acceptance and four incompatible options","all original invalid argument/error pairs","upper accepted agent/session counts and load CPU profile path"]}]}Historical CI links from the prior body: selected-head gate and older-head gate. Neither qualifies a rebuilt current-main candidate.