Skip to content

ci(test): run Git release contracts on Node - #204830

Merged
obviyus merged 2 commits into
mainfrom
ci/git-release-node-proof
Nov 24, 2026
Merged

obviyus merged 2 commits into
mainfrom
ci/git-release-node-proof

Conversation

@obviyus

@obviyus obviyus commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Class A, first PR: execute the Git release proof

This is the first PR in class A's proof work, split from #204685 so an independent CI gap does not wait for class B. #204685 retains the real T→T+1/schema/rollback lane and the report-only prior-reader observation. Design context: #204775.

src/infra/git-release.test.ts intentionally skips Windows and Bun: it spawns the Node launcher/service contract with process.execPath. On the Linux CI lane, the Windows condition is false, but the default bun-all policy makes process.versions.bun true. The suite was missing from the existing Node-required runtime inventory, so selecting it could produce a green skipped Bun run.

Thanks to @fuller-stack-dev for finding this gap in the update proof.

  • Route the suite through nodeRequiredFiles, not a second job or a blanket Node policy.
  • Preserve its Windows/Bun guard and every existing assertion.
  • Select the real suite when its runtime policy changes, so the routing is tested by execution as well as selection regressions.
  • Cover mixed, whole-infra, exact-target and explicit-include selections through the existing selector tests.

No updater, launcher, migration or schema behavior changes. This does not start backward-compatible migration work.

Proof

  • AWS Linux/Node: 44 passed, zero skipped in src/infra/git-release.test.ts; the three focused routing/selection files passed 122 tests. Tooling typecheck and scoped scripts lint passed (0 warnings/errors). The tested code commit is fe0209f1ae3d; the final commit adds documentation only.
  • GitHub CI run 45455506525, head 94ceeb19ef0ef2178a532f4a4034248e8c65d718: checks-node-changed-1 planned src/infra/git-release.test.ts with runtime node and executed 44 passed (44), zero skipped, in 25.87 s. The suite ended with exit 0. This is execution proof, not just the selector regression.
  • Production source delta: 0. Changed tooling scripts (tokei, own files): 2,825 → 2,830 code lines (+5).
  • Exact-head local review: complete, patch correct, zero findings.
  • The overall CI run is red only on a proven inherited main failure: Gateway pricing-fixture count (ci-node-test-plan.test.ts:1852, expected 4 groups, observed 5). One clean main run reproduced it (173 passed, 1 failed); no fixture edits or rerun were made in this PR. Scoped maintainer override.

@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: S labels Nov 24, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 24, 2026
@clawsweeper

clawsweeper Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR routes Git release contract tests to Node and selects them when CI runtime policy changes.

Example: Linux CI selects src/infra/git-release.test.ts under bun-all.

  • Before: Bun runs the suite with its tests skipped.
  • After: The existing runtime selector routes the suite to Node so its assertions execute.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused implementation is sound and supported by reported tests, but CI is not green and the observed planner failure remains unattributed.
Proof confidence 🦐 gold shrimp (3/6) This CI-only change requires no shipped-entry-point demonstration; the supplied validation reports exercise routing contracts and the existing launcher suite.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Developers can receive green CI results while selected Git release launcher contracts are skipped.
Reason: The maintainer-authored direction closes a concrete coverage omission using the established runtime-selection contract.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR repairs a confirmed CI coverage gap through existing owners, with no actionable correctness or security findings.

Priority: P3
Reviewed head: 94ceeb19ef0ef2178a532f4a4034248e8c65d718

Before merge

None.

Findings

None.

Agent review details

How this fits together

Changed-file selection determines which tests enter CI, and the shared runtime selector assigns those tests to Node or Bun before the shard executor launches them.

flowchart TD
  A[Changed paths] --> B[Policy test watches]
  B --> C[Selected test shards]
  C --> D[Shared runtime selector]
  D --> E[Node contract execution]
  D --> F[Bun eligible execution]
Loading

Technical review

Best possible solution:

Retain the focused Node exception and policy watch in the existing CI owners.

Do we have a high-confidence way to reproduce the issue?

Current-main source establishes the path: the suite skips on Bun and is absent from the Node-required inventory; no target code was executed during review.

Is this the best way to solve the issue?

The patch restores the invariant that selected Node-only contracts execute on Node, using two existing inventories and regressions for distinct selection shapes without new machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 43ef4fb0d284.

Provenance checked

  • Node-required runtime inventory keeps the original intent (fa86f99: Preserve execution of Node-specific contracts when broader test selections run under Bun.)
  • Policy-watch selection keeps the original intent (e68cfe2: Select contract tests whose relevant inputs are not discoverable through ordinary import edges.)
  • Mixed-runtime regression coverage keeps the original intent (f8f68f0: Retain Node exceptions and both-host benchmark coverage when partitioning mixed Bun-policy selections.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit fa86f99 adds scripts/lib/ci-test-runtime.mts:299 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fa86f99a19fa; files: scripts/lib/ci-test-runtime.mts)
  • Vincent Koc: Raw commit 1e0c8f8 adds scripts/lib/ci-test-runtime.mts:349 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1e0c8f8294d4; files: scripts/lib/ci-test-runtime.mts)
  • Ayaan Zaidi: Raw commit 115e711 adds scripts/lib/ci-test-runtime.mts:360 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 115e7114dea5; files: scripts/lib/ci-test-runtime.mts)

PR surface

Tests +31, Docs +6, Other +7. Total +44 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 38 7 +31
Docs 1 6 0 +6
Config 0 0 0 0
Generated 0 0 0 0
Other 2 7 0 +7
Total 5 51 7 +44

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This restores internal CI contract coverage without changing shipped runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This restores internal CI contract coverage without changing shipped runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 24, 2026, 1:19 PM ET / 18:19 UTC.

@obviyus

obviyus commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Maintainer override:

The only failing test in CI run 45455506525 is inherited from main: ci-node-test-plan.test.ts:1852, “prices serial Gateway server measurements at two workers and preserves parallel samples (github)”, expected four groups and received five.

The single canonical baseline run on clean origin/main 269f884 used node scripts/run-vitest.mjs run test/scripts/ci-node-test-plan.test.ts --maxWorkers=1 and returned 173 passed, 1 failed, with the identical assertion. No fixture or planner fix was made here, and no second baseline run was used. The Gateway-only inventory grew with server.sessions.compaction-model.test.ts (#204755); that inventory is outside this PR. The same baseline is recorded for #204700: #204700 (comment).

The requested proof itself passed in this PR's CI: checks-node-changed-1 explicitly selected src/infra/git-release.test.ts with runtime node, then ran 44 passed (44), zero skipped, in 25.87 s and exited 0. The exact-head local review is clean. Main owns landing and the separate main-fixture repair; this comment does not claim the overall CI run is green.

@obviyus
obviyus merged commit 8f8a656 into main Nov 24, 2026
144 of 147 checks passed
@obviyus
obviyus deleted the ci/git-release-node-proof branch November 24, 2026 18:51
@obviyus

obviyus commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Landed. The Git release contract suite now runs on Node in CI instead of skipping under the default Bun policy: 44 passed, 0 skipped (checks-node-changed-1). Thanks @fuller-stack-dev for finding the gap. The only CI red is the node test-plan expectation that also fails on clean main (override above).

obviyus added a commit that referenced this pull request Nov 24, 2026
## Problem
The release update survivor changes package metadata but does not build a successor or migrate state. It is also absent from relevant PR CI. This leaves the normal update/trial/schema path to one-off host proofs.

Class A (proof debt), owner: existing upgrade-survivor lane. Known instances: #203735, #203769, #204094, #204224, #204426, #204512, #204275. This closes the missing-proof class, not each incident's separate runtime cause.

## Change
- Replace the metadata repacker with a real same-source T+1 build, a distinct build ID, and a disposable schema N+1 migration using the normal SQLite/PostgreSQL schema generator.
- Extend `release-update-survivor`: npm-global T and normal `openclaw update` delegated to the Gateway. Require a healthy committed trial, the new serving build, schema N+1, and non-empty sentinel row contents/counts. The crash-after-migration case is split into the StoreCustody product-fix PR, where the same strict rollback assertions must pass; it is not made report-only here.
- Select it for update/state/update-CLI/launcher/harness owners inside the existing Docker seed job. Named failure artifacts now include the trial, latest 20 update rows, readiness/schema observations, and a bounded combined Gateway/launcher journal. Environment dumps remain excluded.

No shipped schema, production source, install behavior, runner size, concurrency cap, or new job is changed. The fixture changes scratch source only. The old metadata/inventory-rehash path is removed. Existing Git and published-version lanes cover other contracts and remain.

## Cost and line count
One extra source build and one Linux npm container update; 40-minute lane ceiling and existing 20-minute container ceiling. Normal manual CI retains its existing six-lane seed profile and 115-minute budget; Full Package Acceptance already owns this lane separately. Relevant PRs can newly select one existing Docker seed runner. The conservative 21-PR envelope becomes 5,131 registrations versus the 6,000 operating target (10,000 bucket).

Production source delta is **0**. `tokei` on this PR's five changed script files, excluding tests: **2,113 → 2,337 code lines (+224)** at base `d4c6c46e32aed4018592e4b0fcc32ab6aa3fb271`, healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`. This is the authorized Class A proof exception; direction beats line count. The metadata/inventory-rehash path is gone; no unrelated code was removed for a quota.

## Evidence and remaining gate
- On head `123a9a40aa67c38e6ccff3bd9fb978545d1bb84a`, [run 45415579743](https://github.com/openclaw/openclaw/actions/runs/45415579743) passed the healthy case: API trigger, committed trial, distinct serving build, schema **42**, two preserved/migrated rows. The CLI switch took **148,733 ms**.
- The earlier full lane failed its crash case after **2,161 s (36m01s)**: CLI exit 1 was followed by no terminal ledger result for 12 minutes. That real product failure belongs to StoreCustody. Per maintainer direction, the entire crash hook/case/artifact contract was extracted, not weakened or allowed to fail. The exact restoration patch was handed to StoreCustody and applies cleanly to this healthy-only head.
- Valid negative control: closed, unmerged #204693, [run 45418885332](https://github.com/openclaw/openclaw/actions/runs/45418885332), head `0616b4dd680fc873a147f31680a8d87c5492f0c0`. The omitted candidate migration left sentinel a/b instead of `migrated=true`; the unchanged row-content assertion failed at line 231. Both sides have SQLite's null prototype. Lane duration **1,193 s (19m53s)**.
- Shared T package preparation took **7m48s** on hosted Ubuntu. Earlier positive/negative receipts above are from frozen earlier heads; removing the dormant crash hook does not change their healthy migration assertions.
- AWS owner tests and source builds ran; the AWS lease was released with `--wait`. Two local reviews found no correctness/security findings on earlier heads. The split is pure crash-case extraction plus a copied-artifact permission fix; no third broad review was added under the two-round policy.
- Failure collection remains strict and allowlisted. Only the container-owned copied trial is chmod 0644 so the artifact uploader can read it; the product's live trial stays 0600.
- New healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`: [CI 45473893182](https://github.com/openclaw/openclaw/actions/runs/45473893182) is running. Final green duration is not yet claimed.
- The completed compact-small-11 job has the known upstream planner-fixture failure: `ci-node-test-plan.test.ts:1852`, expected four groups/got five, 173 passed/1 failed. The single canonical clean-main AWS proof on `269f88452ac261cec1d8e99e7b740cedfe341161` reproduced it ([run_266010a78ce4d0e864cfa9f696fd7f68](https://crabbox.openclaw.ai/portal/runs/run_266010a78ce4d0e864cfa9f696fd7f68)). No duplicate baseline run or fixture change. [Scoped Maintainer override](#204685 (comment)) does not waive the healthy Docker lane.

Land only when the healthy-only Docker lane and other scoped checks pass, apart from the documented upstream planner-fixture override. Class B is already merged. Schema-read reporting and the three enforcement stages are separate follow-up PRs; Node routing was split into merged #204830 (44 Git release tests executed, zero skipped).

Co-authored-by: Ayaan Zaidi <[email protected]>
obviyus added a commit that referenced this pull request Nov 25, 2026
…204883)

## Class A — previous-reader enforcement, stage 1

Follow-up to merged #204685 and #204830; coordination #204775. Existing owner: upgrade-survivor. Instances behind the proof-debt class: #203735, #203769, #204094, #204224, #204426, #204512, #204275. This adds proof, not claims to fix those separate runtime causes.

## Contract

- Keep the merged healthy head → synthetic-next update lane. Its retained T also reports shared-schema readability from an isolated online backup (`readable`, `refused`, `unproven`), without changing the update result.
- For actual schema-version/production-migration diffs, build T from the PR fork point and reuse CI's tested merge-tree package as T+1. Record both source/build identities.
- Seed shared cron and agent sessions/history through T's real Gateway writers. Stop T, retain raw preimages, boot T+1, stop it at the exact Gateway TCP listen boundary, then hard-kill/reap its process group.
- Inspect DB/WAL/SHM **copies** after the kill. Advanced stores must have committed target schemas and valid floors; untouched lazy stores are named as untouched. Integrity/setup failures always fail.
- Project actual rollback state: restore only raised-floor stores from T's preimages, preserve other candidate-written store bytes, then authenticate to genuine T and read the seeded cron/session/history data. Compatibility becomes required when candidate source includes ReaderFloor's contract; absent/NULL floor metadata is valid and is not mistaken for missing capability.

No production code/schema change, down-migration, fake success receipt, production startup hook, or committed `src/update`/`src/state` edit. StoreCustody owns the separate normal-update crash case; this PR does not reintroduce the old red case. Bulk-access enforcement and the 10 GB nightly are stages 2 and 3, not claimed here.

## Cost and simplification

One extra previous-source build only for schema/migration diffs; no new CI job, runner tier or fanout. Existing lane ceiling rises 40 → 55 min; per-container ceiling stays 20 min and the existing seed job stays 115 min. Explicit downgrade qualification skips the unrelated synthetic successor build. Actual additional runtime is not measured yet.

The previous-reader report's duplicate process supervisor is deleted; seeder, report and downgrade share one bounded process-group owner. Separate modules own source preparation, real RPC fixture, crash barrier, physical store observations/projection and the controller; none ships in the product. These are the smallest coherent pieces of the approved pre-ready oracle, not a second updater.

Final PR-owned `tokei code` against pinned main `f36e439d70772464e10f66182e05e52e99e22663`: production **0 → 0**; scripts **2,116 → 3,516 (+1,400)**; tests **8,797 → 9,175 (+378)**. Net raw test growth is **394 / 400**, allocation **0**. The duplicate SQLite fixture factory/mixed-projection case is gone; byte preservation and restored-content assertions remain in the single suite. No unrelated deletions, suppression allowlist entries or Knip ignores were added.

## Evidence and current gate

Ready for review; published head `ead509c7f0fdd54096923f7cc11b0d7df2d824ec`, with the required CI watchdog armed. Do not treat prior-head runtime proof as a final CI result. Subsequent changes affect typing, unit fixtures, lint and typed failure receipts, not the successful migration/projection path.

- Healthy update and schema-read observation on `1f0cdf960f0c`: AWS [run_8fc9ebd67a55f3ac853523dc53dd7100](https://crabbox.openclaw.ai/portal/runs/run_8fc9ebd67a55f3ac853523dc53dd7100). Committed/reported trial `e7846307-c5b3-48eb-97c4-c8c0bdfd4455`, schema42, two rows; CLI153097ms. Verified old T refused the isolated new shared schema with exit78; backup stayed schema42. This is the requested report, not an accepted downgrade refusal.
- Genuine pre-ready qualification on `55efd824fc82`: AWS [run_2c8997c1c413a76556c9a07c640be21b](https://crabbox.openclaw.ai/portal/runs/run_2c8997c1c413a76556c9a07c640be21b). Actual d4c6c46 source T→published candidate: both agents43→44 before candidate SIGKILL; raised stores restored, shared41 byte-preserved. Config preimage restored atomically: before/restored SHA `74a6c60183b06ccb29deda5eb80de98ae113767aa9e3d232f10c8c8f8c641387`, candidate SHA `076aa2f7d5f926c7998edbb5afeb18a48b42161dee8acf79ad5498371e803b0f`. **Genuine T served, its build ID matched, and both exact histories and the cron sentinel passed.** This older-writer qualification is not a claim that d4 is this PR's fork point.
- ReaderFloor's independent [#204880](#204880) size-loss/config-provenance case remains known ([run_5eaf078abca514a139d8c599b2092035](https://crabbox.openclaw.ai/portal/runs/run_5eaf078abca514a139d8c599b2092035)). Our different fixture passing does not clear it. Rollout remains report-only until the reader-floor/recovery fix lands; no override flag, backup deletion or unraised-database restore was added.
- The genuine proof's full build and14 owner tests passed. After the test consolidation, exact published `55ff2e4cfa76` AWS [run_c243aab4f60386a030d0fa6e81cb65a0](https://crabbox.openclaw.ai/portal/runs/run_c243aab4f60386a030d0fa6e81cb65a0) passed selected canonical type graphs, **11 focused tests**, and the **391/400** test-line ratchet.
- Two full source reviews (`43bd8ae1016a`, `55efd824fc82`) found zero findings, patch correct, security cleared. Exact final-head review of **only the later repair delta** `55efd824fc82..ead509c` also completed clean (zero findings/security cleared); this is not a third full-range audit or release rebuild.
- Complete changed-file format, lint, scripts/test-root types and guards passed in AWS [run_69e9eb1d2d90257c64d462065092464e](https://crabbox.openclaw.ai/portal/runs/run_69e9eb1d2d90257c64d462065092464e). That full canonical command also reported a CLI-only harness export (now private) and pinned-production `src/gateway/operator-admission.ts:intersectOperatorRunModelPolicy`, which this PR does not modify. Previous head `18be57a08bda` [run_7ebfa24dbd0e08ea4509fd93887a6ae3](https://crabbox.openclaw.ai/portal/runs/run_7ebfa24dbd0e08ea4509fd93887a6ae3) then passed the canonical script-Knip profile, **11 tests** and **394/400** line ratchet. No full-command green or current-main reproduction of the production finding is claimed; final PR CI is authoritative.
- Exact waiver-free final head AWS [run_14b6d54ff040f3eda60ba6620d8a44f7](https://crabbox.openclaw.ai/portal/runs/run_14b6d54ff040f3eda60ba6620d8a44f7) passed scoped canonical scripts lint/typecheck, **25 tests** (11 downgrade boundaries plus the suppression guard), and **394/400** line ratchet. The two annotations were removed using explicit reflective receiver handling and existing protocol destructuring, not allowlisted. All owned AWS leases released with `--wait`.

Fable challenged the design before code. Bulk-access enforcement and the real10GB nightly remain the approved subsequent stages, not claimed by this PR.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 25, 2026
## Problem
The release update survivor changes package metadata but does not build a successor or migrate state. It is also absent from relevant PR CI. This leaves the normal update/trial/schema path to one-off host proofs.

Class A (proof debt), owner: existing upgrade-survivor lane. Known instances: #203735, #203769, #204094, #204224, #204426, #204512, #204275. This closes the missing-proof class, not each incident's separate runtime cause.

## Change
- Replace the metadata repacker with a real same-source T+1 build, a distinct build ID, and a disposable schema N+1 migration using the normal SQLite/PostgreSQL schema generator.
- Extend `release-update-survivor`: npm-global T and normal `openclaw update` delegated to the Gateway. Require a healthy committed trial, the new serving build, schema N+1, and non-empty sentinel row contents/counts. The crash-after-migration case is split into the StoreCustody product-fix PR, where the same strict rollback assertions must pass; it is not made report-only here.
- Select it for update/state/update-CLI/launcher/harness owners inside the existing Docker seed job. Named failure artifacts now include the trial, latest 20 update rows, readiness/schema observations, and a bounded combined Gateway/launcher journal. Environment dumps remain excluded.

No shipped schema, production source, install behavior, runner size, concurrency cap, or new job is changed. The fixture changes scratch source only. The old metadata/inventory-rehash path is removed. Existing Git and published-version lanes cover other contracts and remain.

## Cost and line count
One extra source build and one Linux npm container update; 40-minute lane ceiling and existing 20-minute container ceiling. Normal manual CI retains its existing six-lane seed profile and 115-minute budget; Full Package Acceptance already owns this lane separately. Relevant PRs can newly select one existing Docker seed runner. The conservative 21-PR envelope becomes 5,131 registrations versus the 6,000 operating target (10,000 bucket).

Production source delta is **0**. `tokei` on this PR's five changed script files, excluding tests: **2,113 → 2,337 code lines (+224)** at base `d4c6c46e32aed4018592e4b0fcc32ab6aa3fb271`, healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`. This is the authorized Class A proof exception; direction beats line count. The metadata/inventory-rehash path is gone; no unrelated code was removed for a quota.

## Evidence and remaining gate
- On head `123a9a40aa67c38e6ccff3bd9fb978545d1bb84a`, [run 45415579743](https://github.com/openclaw/openclaw/actions/runs/45415579743) passed the healthy case: API trigger, committed trial, distinct serving build, schema **42**, two preserved/migrated rows. The CLI switch took **148,733 ms**.
- The earlier full lane failed its crash case after **2,161 s (36m01s)**: CLI exit 1 was followed by no terminal ledger result for 12 minutes. That real product failure belongs to StoreCustody. Per maintainer direction, the entire crash hook/case/artifact contract was extracted, not weakened or allowed to fail. The exact restoration patch was handed to StoreCustody and applies cleanly to this healthy-only head.
- Valid negative control: closed, unmerged #204693, [run 45418885332](https://github.com/openclaw/openclaw/actions/runs/45418885332), head `0616b4dd680fc873a147f31680a8d87c5492f0c0`. The omitted candidate migration left sentinel a/b instead of `migrated=true`; the unchanged row-content assertion failed at line 231. Both sides have SQLite's null prototype. Lane duration **1,193 s (19m53s)**.
- Shared T package preparation took **7m48s** on hosted Ubuntu. Earlier positive/negative receipts above are from frozen earlier heads; removing the dormant crash hook does not change their healthy migration assertions.
- AWS owner tests and source builds ran; the AWS lease was released with `--wait`. Two local reviews found no correctness/security findings on earlier heads. The split is pure crash-case extraction plus a copied-artifact permission fix; no third broad review was added under the two-round policy.
- Failure collection remains strict and allowlisted. Only the container-owned copied trial is chmod 0644 so the artifact uploader can read it; the product's live trial stays 0600.
- New healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`: [CI 45473893182](https://github.com/openclaw/openclaw/actions/runs/45473893182) is running. Final green duration is not yet claimed.
- The completed compact-small-11 job has the known upstream planner-fixture failure: `ci-node-test-plan.test.ts:1852`, expected four groups/got five, 173 passed/1 failed. The single canonical clean-main AWS proof on `269f88452ac261cec1d8e99e7b740cedfe341161` reproduced it ([run_266010a78ce4d0e864cfa9f696fd7f68](https://crabbox.openclaw.ai/portal/runs/run_266010a78ce4d0e864cfa9f696fd7f68)). No duplicate baseline run or fixture change. [Scoped Maintainer override](#204685 (comment)) does not waive the healthy Docker lane.

Land only when the healthy-only Docker lane and other scoped checks pass, apart from the documented upstream planner-fixture override. Class B is already merged. Schema-read reporting and the three enforcement stages are separate follow-up PRs; Node routing was split into merged #204830 (44 Git release tests executed, zero skipped).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit e2ac431)
Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 25, 2026
This is the first PR in class A's proof work, split from #204685 so an independent CI gap does not wait for class B. #204685 retains the real T→T+1/schema/rollback lane and the report-only prior-reader observation. Design context: #204775.

`src/infra/git-release.test.ts` intentionally skips Windows and Bun: it spawns the Node launcher/service contract with `process.execPath`. On the Linux CI lane, the Windows condition is false, but the default `bun-all` policy makes `process.versions.bun` true. The suite was missing from the existing Node-required runtime inventory, so selecting it could produce a green skipped Bun run.

Thanks to @fuller-stack-dev for finding this gap in the update proof.

- Route the suite through `nodeRequiredFiles`, not a second job or a blanket Node policy.
- Preserve its Windows/Bun guard and every existing assertion.
- Select the real suite when its runtime policy changes, so the routing is tested by execution as well as selection regressions.
- Cover mixed, whole-infra, exact-target and explicit-include selections through the existing selector tests.

No updater, launcher, migration or schema behavior changes. This does not start backward-compatible migration work.

- AWS Linux/Node: **44 passed, zero skipped** in `src/infra/git-release.test.ts`; the three focused routing/selection files passed **122 tests**. Tooling typecheck and scoped scripts lint passed (0 warnings/errors). The tested code commit is `fe0209f1ae3d`; the final commit adds documentation only.
- GitHub CI [run 45455506525](https://github.com/openclaw/openclaw/actions/runs/45455506525), head `94ceeb19ef0ef2178a532f4a4034248e8c65d718`: `checks-node-changed-1` planned `src/infra/git-release.test.ts` with **runtime `node`** and executed **44 passed (44), zero skipped**, in **25.87 s**. The suite ended with exit 0. This is execution proof, not just the selector regression.
- Production source delta: **0**. Changed tooling scripts (`tokei`, own files): **2,825 → 2,830 code lines (+5)**.
- Exact-head local review: complete, patch correct, zero findings.
- The overall CI run is red only on a proven inherited main failure: Gateway pricing-fixture count (`ci-node-test-plan.test.ts:1852`, expected 4 groups, observed 5). One clean main run reproduced it (173 passed, 1 failed); no fixture edits or rerun were made in this PR. [Scoped maintainer override](#204830 (comment)).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 8f8a656)
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
## Class A, first PR: execute the Git release proof

This is the first PR in class A's proof work, split from openclaw#204685 so an independent CI gap does not wait for class B. openclaw#204685 retains the real T→T+1/schema/rollback lane and the report-only prior-reader observation. Design context: openclaw#204775.

`src/infra/git-release.test.ts` intentionally skips Windows and Bun: it spawns the Node launcher/service contract with `process.execPath`. On the Linux CI lane, the Windows condition is false, but the default `bun-all` policy makes `process.versions.bun` true. The suite was missing from the existing Node-required runtime inventory, so selecting it could produce a green skipped Bun run.

Thanks to @fuller-stack-dev for finding this gap in the update proof.

- Route the suite through `nodeRequiredFiles`, not a second job or a blanket Node policy.
- Preserve its Windows/Bun guard and every existing assertion.
- Select the real suite when its runtime policy changes, so the routing is tested by execution as well as selection regressions.
- Cover mixed, whole-infra, exact-target and explicit-include selections through the existing selector tests.

No updater, launcher, migration or schema behavior changes. This does not start backward-compatible migration work.

## Proof

- AWS Linux/Node: **44 passed, zero skipped** in `src/infra/git-release.test.ts`; the three focused routing/selection files passed **122 tests**. Tooling typecheck and scoped scripts lint passed (0 warnings/errors). The tested code commit is `fe0209f1ae3d`; the final commit adds documentation only.
- GitHub CI [run 45455506525](https://github.com/openclaw/openclaw/actions/runs/45455506525), head `94ceeb19ef0ef2178a532f4a4034248e8c65d718`: `checks-node-changed-1` planned `src/infra/git-release.test.ts` with **runtime `node`** and executed **44 passed (44), zero skipped**, in **25.87 s**. The suite ended with exit 0. This is execution proof, not just the selector regression.
- Production source delta: **0**. Changed tooling scripts (`tokei`, own files): **2,825 → 2,830 code lines (+5)**.
- Exact-head local review: complete, patch correct, zero findings.
- The overall CI run is red only on a proven inherited main failure: Gateway pricing-fixture count (`ci-node-test-plan.test.ts:1852`, expected 4 groups, observed 5). One clean main run reproduced it (173 passed, 1 failed); no fixture edits or rerun were made in this PR. [Scoped maintainer override](openclaw#204830 (comment)).

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
…04685)

## Problem
The release update survivor changes package metadata but does not build a successor or migrate state. It is also absent from relevant PR CI. This leaves the normal update/trial/schema path to one-off host proofs.

Class A (proof debt), owner: existing upgrade-survivor lane. Known instances: openclaw#203735, openclaw#203769, openclaw#204094, openclaw#204224, openclaw#204426, openclaw#204512, openclaw#204275. This closes the missing-proof class, not each incident's separate runtime cause.

## Change
- Replace the metadata repacker with a real same-source T+1 build, a distinct build ID, and a disposable schema N+1 migration using the normal SQLite/PostgreSQL schema generator.
- Extend `release-update-survivor`: npm-global T and normal `openclaw update` delegated to the Gateway. Require a healthy committed trial, the new serving build, schema N+1, and non-empty sentinel row contents/counts. The crash-after-migration case is split into the StoreCustody product-fix PR, where the same strict rollback assertions must pass; it is not made report-only here.
- Select it for update/state/update-CLI/launcher/harness owners inside the existing Docker seed job. Named failure artifacts now include the trial, latest 20 update rows, readiness/schema observations, and a bounded combined Gateway/launcher journal. Environment dumps remain excluded.

No shipped schema, production source, install behavior, runner size, concurrency cap, or new job is changed. The fixture changes scratch source only. The old metadata/inventory-rehash path is removed. Existing Git and published-version lanes cover other contracts and remain.

## Cost and line count
One extra source build and one Linux npm container update; 40-minute lane ceiling and existing 20-minute container ceiling. Normal manual CI retains its existing six-lane seed profile and 115-minute budget; Full Package Acceptance already owns this lane separately. Relevant PRs can newly select one existing Docker seed runner. The conservative 21-PR envelope becomes 5,131 registrations versus the 6,000 operating target (10,000 bucket).

Production source delta is **0**. `tokei` on this PR's five changed script files, excluding tests: **2,113 → 2,337 code lines (+224)** at base `ad98b9e7f734c00759f4a2bf776dce718a66bd0a`, healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`. This is the authorized Class A proof exception; direction beats line count. The metadata/inventory-rehash path is gone; no unrelated code was removed for a quota.

## Evidence and remaining gate
- On head `123a9a40aa67c38e6ccff3bd9fb978545d1bb84a`, [run 45415579743](https://github.com/openclaw/openclaw/actions/runs/45415579743) passed the healthy case: API trigger, committed trial, distinct serving build, schema **42**, two preserved/migrated rows. The CLI switch took **148,733 ms**.
- The earlier full lane failed its crash case after **2,161 s (36m01s)**: CLI exit 1 was followed by no terminal ledger result for 12 minutes. That real product failure belongs to StoreCustody. Per maintainer direction, the entire crash hook/case/artifact contract was extracted, not weakened or allowed to fail. The exact restoration patch was handed to StoreCustody and applies cleanly to this healthy-only head.
- Valid negative control: closed, unmerged openclaw#204693, [run 45418885332](https://github.com/openclaw/openclaw/actions/runs/45418885332), head `0616b4dd680fc873a147f31680a8d87c5492f0c0`. The omitted candidate migration left sentinel a/b instead of `migrated=true`; the unchanged row-content assertion failed at line 231. Both sides have SQLite's null prototype. Lane duration **1,193 s (19m53s)**.
- Shared T package preparation took **7m48s** on hosted Ubuntu. Earlier positive/negative receipts above are from frozen earlier heads; removing the dormant crash hook does not change their healthy migration assertions.
- AWS owner tests and source builds ran; the AWS lease was released with `--wait`. Two local reviews found no correctness/security findings on earlier heads. The split is pure crash-case extraction plus a copied-artifact permission fix; no third broad review was added under the two-round policy.
- Failure collection remains strict and allowlisted. Only the container-owned copied trial is chmod 0644 so the artifact uploader can read it; the product's live trial stays 0600.
- New healthy-only head `faf9a9b01fecacb643bc201eeedd4317f8456604`: [CI 45473893182](https://github.com/openclaw/openclaw/actions/runs/45473893182) is running. Final green duration is not yet claimed.
- The completed compact-small-11 job has the known upstream planner-fixture failure: `ci-node-test-plan.test.ts:1852`, expected four groups/got five, 173 passed/1 failed. The single canonical clean-main AWS proof on `0ef684ebc6840c92d9ae493cfe64b390acd90e49` reproduced it ([run_266010a78ce4d0e864cfa9f696fd7f68](https://crabbox.openclaw.ai/portal/runs/run_266010a78ce4d0e864cfa9f696fd7f68)). No duplicate baseline run or fixture change. [Scoped Maintainer override](openclaw#204685 (comment)) does not waive the healthy Docker lane.

Land only when the healthy-only Docker lane and other scoped checks pass, apart from the documented upstream planner-fixture override. Class B is already merged. Schema-read reporting and the three enforcement stages are separate follow-up PRs; Node routing was split into merged openclaw#204830 (44 Git release tests executed, zero skipped).

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
…penclaw#204883)

## Class A — previous-reader enforcement, stage 1

Follow-up to merged openclaw#204685 and openclaw#204830; coordination openclaw#204775. Existing owner: upgrade-survivor. Instances behind the proof-debt class: openclaw#203735, openclaw#203769, openclaw#204094, openclaw#204224, openclaw#204426, openclaw#204512, openclaw#204275. This adds proof, not claims to fix those separate runtime causes.

## Contract

- Keep the merged healthy head → synthetic-next update lane. Its retained T also reports shared-schema readability from an isolated online backup (`readable`, `refused`, `unproven`), without changing the update result.
- For actual schema-version/production-migration diffs, build T from the PR fork point and reuse CI's tested merge-tree package as T+1. Record both source/build identities.
- Seed shared cron and agent sessions/history through T's real Gateway writers. Stop T, retain raw preimages, boot T+1, stop it at the exact Gateway TCP listen boundary, then hard-kill/reap its process group.
- Inspect DB/WAL/SHM **copies** after the kill. Advanced stores must have committed target schemas and valid floors; untouched lazy stores are named as untouched. Integrity/setup failures always fail.
- Project actual rollback state: restore only raised-floor stores from T's preimages, preserve other candidate-written store bytes, then authenticate to genuine T and read the seeded cron/session/history data. Compatibility becomes required when candidate source includes ReaderFloor's contract; absent/NULL floor metadata is valid and is not mistaken for missing capability.

No production code/schema change, down-migration, fake success receipt, production startup hook, or committed `src/update`/`src/state` edit. StoreCustody owns the separate normal-update crash case; this PR does not reintroduce the old red case. Bulk-access enforcement and the 10 GB nightly are stages 2 and 3, not claimed here.

## Cost and simplification

One extra previous-source build only for schema/migration diffs; no new CI job, runner tier or fanout. Existing lane ceiling rises 40 → 55 min; per-container ceiling stays 20 min and the existing seed job stays 115 min. Explicit downgrade qualification skips the unrelated synthetic successor build. Actual additional runtime is not measured yet.

The previous-reader report's duplicate process supervisor is deleted; seeder, report and downgrade share one bounded process-group owner. Separate modules own source preparation, real RPC fixture, crash barrier, physical store observations/projection and the controller; none ships in the product. These are the smallest coherent pieces of the approved pre-ready oracle, not a second updater.

Final PR-owned `tokei code` against pinned main `87236ceb25a9fc98d1043d1f18edfcb71b98414b`: production **0 → 0**; scripts **2,116 → 3,516 (+1,400)**; tests **8,797 → 9,175 (+378)**. Net raw test growth is **394 / 400**, allocation **0**. The duplicate SQLite fixture factory/mixed-projection case is gone; byte preservation and restored-content assertions remain in the single suite. No unrelated deletions, suppression allowlist entries or Knip ignores were added.

## Evidence and current gate

Ready for review; published head `ead509c7f0fdd54096923f7cc11b0d7df2d824ec`, with the required CI watchdog armed. Do not treat prior-head runtime proof as a final CI result. Subsequent changes affect typing, unit fixtures, lint and typed failure receipts, not the successful migration/projection path.

- Healthy update and schema-read observation on `1f0cdf960f0c`: AWS [run_8fc9ebd67a55f3ac853523dc53dd7100](https://crabbox.openclaw.ai/portal/runs/run_8fc9ebd67a55f3ac853523dc53dd7100). Committed/reported trial `e7846307-c5b3-48eb-97c4-c8c0bdfd4455`, schema42, two rows; CLI153097ms. Verified old T refused the isolated new shared schema with exit78; backup stayed schema42. This is the requested report, not an accepted downgrade refusal.
- Genuine pre-ready qualification on `55efd824fc82`: AWS [run_2c8997c1c413a76556c9a07c640be21b](https://crabbox.openclaw.ai/portal/runs/run_2c8997c1c413a76556c9a07c640be21b). Actual ad98b9e source T→published candidate: both agents43→44 before candidate SIGKILL; raised stores restored, shared41 byte-preserved. Config preimage restored atomically: before/restored SHA `74a6c60183b06ccb29deda5eb80de98ae113767aa9e3d232f10c8c8f8c641387`, candidate SHA `076aa2f7d5f926c7998edbb5afeb18a48b42161dee8acf79ad5498371e803b0f`. **Genuine T served, its build ID matched, and both exact histories and the cron sentinel passed.** This older-writer qualification is not a claim that d4 is this PR's fork point.
- ReaderFloor's independent [openclaw#204880](openclaw#204880) size-loss/config-provenance case remains known ([run_5eaf078abca514a139d8c599b2092035](https://crabbox.openclaw.ai/portal/runs/run_5eaf078abca514a139d8c599b2092035)). Our different fixture passing does not clear it. Rollout remains report-only until the reader-floor/recovery fix lands; no override flag, backup deletion or unraised-database restore was added.
- The genuine proof's full build and14 owner tests passed. After the test consolidation, exact published `55ff2e4cfa76` AWS [run_c243aab4f60386a030d0fa6e81cb65a0](https://crabbox.openclaw.ai/portal/runs/run_c243aab4f60386a030d0fa6e81cb65a0) passed selected canonical type graphs, **11 focused tests**, and the **391/400** test-line ratchet.
- Two full source reviews (`43bd8ae1016a`, `55efd824fc82`) found zero findings, patch correct, security cleared. Exact final-head review of **only the later repair delta** `55efd824fc82..ead509c` also completed clean (zero findings/security cleared); this is not a third full-range audit or release rebuild.
- Complete changed-file format, lint, scripts/test-root types and guards passed in AWS [run_69e9eb1d2d90257c64d462065092464e](https://crabbox.openclaw.ai/portal/runs/run_69e9eb1d2d90257c64d462065092464e). That full canonical command also reported a CLI-only harness export (now private) and pinned-production `src/gateway/operator-admission.ts:intersectOperatorRunModelPolicy`, which this PR does not modify. Previous head `18be57a08bda` [run_7ebfa24dbd0e08ea4509fd93887a6ae3](https://crabbox.openclaw.ai/portal/runs/run_7ebfa24dbd0e08ea4509fd93887a6ae3) then passed the canonical script-Knip profile, **11 tests** and **394/400** line ratchet. No full-command green or current-main reproduction of the production finding is claimed; final PR CI is authoritative.
- Exact waiver-free final head AWS [run_14b6d54ff040f3eda60ba6620d8a44f7](https://crabbox.openclaw.ai/portal/runs/run_14b6d54ff040f3eda60ba6620d8a44f7) passed scoped canonical scripts lint/typecheck, **25 tests** (11 downgrade boundaries plus the suppression guard), and **394/400** line ratchet. The two annotations were removed using explicit reflective receiver handling and existing protocol destructuring, not allowlisted. All owned AWS leases released with `--wait`.

Fable challenged the design before code. Bulk-access enforcement and the real10GB nightly remain the approved subsequent stages, not claimed by this PR.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 26, 2026
…204883)

## Class A — previous-reader enforcement, stage 1

Follow-up to merged #204685 and #204830; coordination #204775. Existing owner: upgrade-survivor. Instances behind the proof-debt class: #203735, #203769, #204094, #204224, #204426, #204512, #204275. This adds proof, not claims to fix those separate runtime causes.

## Contract

- Keep the merged healthy head → synthetic-next update lane. Its retained T also reports shared-schema readability from an isolated online backup (`readable`, `refused`, `unproven`), without changing the update result.
- For actual schema-version/production-migration diffs, build T from the PR fork point and reuse CI's tested merge-tree package as T+1. Record both source/build identities.
- Seed shared cron and agent sessions/history through T's real Gateway writers. Stop T, retain raw preimages, boot T+1, stop it at the exact Gateway TCP listen boundary, then hard-kill/reap its process group.
- Inspect DB/WAL/SHM **copies** after the kill. Advanced stores must have committed target schemas and valid floors; untouched lazy stores are named as untouched. Integrity/setup failures always fail.
- Project actual rollback state: restore only raised-floor stores from T's preimages, preserve other candidate-written store bytes, then authenticate to genuine T and read the seeded cron/session/history data. Compatibility becomes required when candidate source includes ReaderFloor's contract; absent/NULL floor metadata is valid and is not mistaken for missing capability.

No production code/schema change, down-migration, fake success receipt, production startup hook, or committed `src/update`/`src/state` edit. StoreCustody owns the separate normal-update crash case; this PR does not reintroduce the old red case. Bulk-access enforcement and the 10 GB nightly are stages 2 and 3, not claimed here.

## Cost and simplification

One extra previous-source build only for schema/migration diffs; no new CI job, runner tier or fanout. Existing lane ceiling rises 40 → 55 min; per-container ceiling stays 20 min and the existing seed job stays 115 min. Explicit downgrade qualification skips the unrelated synthetic successor build. Actual additional runtime is not measured yet.

The previous-reader report's duplicate process supervisor is deleted; seeder, report and downgrade share one bounded process-group owner. Separate modules own source preparation, real RPC fixture, crash barrier, physical store observations/projection and the controller; none ships in the product. These are the smallest coherent pieces of the approved pre-ready oracle, not a second updater.

Final PR-owned `tokei code` against pinned main `f36e439d70772464e10f66182e05e52e99e22663`: production **0 → 0**; scripts **2,116 → 3,516 (+1,400)**; tests **8,797 → 9,175 (+378)**. Net raw test growth is **394 / 400**, allocation **0**. The duplicate SQLite fixture factory/mixed-projection case is gone; byte preservation and restored-content assertions remain in the single suite. No unrelated deletions, suppression allowlist entries or Knip ignores were added.

## Evidence and current gate

Ready for review; published head `ead509c7f0fdd54096923f7cc11b0d7df2d824ec`, with the required CI watchdog armed. Do not treat prior-head runtime proof as a final CI result. Subsequent changes affect typing, unit fixtures, lint and typed failure receipts, not the successful migration/projection path.

- Healthy update and schema-read observation on `1f0cdf960f0c`: AWS [run_8fc9ebd67a55f3ac853523dc53dd7100](https://crabbox.openclaw.ai/portal/runs/run_8fc9ebd67a55f3ac853523dc53dd7100). Committed/reported trial `e7846307-c5b3-48eb-97c4-c8c0bdfd4455`, schema42, two rows; CLI153097ms. Verified old T refused the isolated new shared schema with exit78; backup stayed schema42. This is the requested report, not an accepted downgrade refusal.
- Genuine pre-ready qualification on `55efd824fc82`: AWS [run_2c8997c1c413a76556c9a07c640be21b](https://crabbox.openclaw.ai/portal/runs/run_2c8997c1c413a76556c9a07c640be21b). Actual d4c6c46 source T→published candidate: both agents43→44 before candidate SIGKILL; raised stores restored, shared41 byte-preserved. Config preimage restored atomically: before/restored SHA `74a6c60183b06ccb29deda5eb80de98ae113767aa9e3d232f10c8c8f8c641387`, candidate SHA `076aa2f7d5f926c7998edbb5afeb18a48b42161dee8acf79ad5498371e803b0f`. **Genuine T served, its build ID matched, and both exact histories and the cron sentinel passed.** This older-writer qualification is not a claim that d4 is this PR's fork point.
- ReaderFloor's independent [#204880](#204880) size-loss/config-provenance case remains known ([run_5eaf078abca514a139d8c599b2092035](https://crabbox.openclaw.ai/portal/runs/run_5eaf078abca514a139d8c599b2092035)). Our different fixture passing does not clear it. Rollout remains report-only until the reader-floor/recovery fix lands; no override flag, backup deletion or unraised-database restore was added.
- The genuine proof's full build and14 owner tests passed. After the test consolidation, exact published `55ff2e4cfa76` AWS [run_c243aab4f60386a030d0fa6e81cb65a0](https://crabbox.openclaw.ai/portal/runs/run_c243aab4f60386a030d0fa6e81cb65a0) passed selected canonical type graphs, **11 focused tests**, and the **391/400** test-line ratchet.
- Two full source reviews (`43bd8ae1016a`, `55efd824fc82`) found zero findings, patch correct, security cleared. Exact final-head review of **only the later repair delta** `55efd824fc82..ead509c` also completed clean (zero findings/security cleared); this is not a third full-range audit or release rebuild.
- Complete changed-file format, lint, scripts/test-root types and guards passed in AWS [run_69e9eb1d2d90257c64d462065092464e](https://crabbox.openclaw.ai/portal/runs/run_69e9eb1d2d90257c64d462065092464e). That full canonical command also reported a CLI-only harness export (now private) and pinned-production `src/gateway/operator-admission.ts:intersectOperatorRunModelPolicy`, which this PR does not modify. Previous head `18be57a08bda` [run_7ebfa24dbd0e08ea4509fd93887a6ae3](https://crabbox.openclaw.ai/portal/runs/run_7ebfa24dbd0e08ea4509fd93887a6ae3) then passed the canonical script-Knip profile, **11 tests** and **394/400** line ratchet. No full-command green or current-main reproduction of the production finding is claimed; final PR CI is authoritative.
- Exact waiver-free final head AWS [run_14b6d54ff040f3eda60ba6620d8a44f7](https://crabbox.openclaw.ai/portal/runs/run_14b6d54ff040f3eda60ba6620d8a44f7) passed scoped canonical scripts lint/typecheck, **25 tests** (11 downgrade boundaries plus the suppression guard), and **394/400** line ratchet. The two annotations were removed using explicit reflective receiver handling and existing protocol destructuring, not allowlisted. All owned AWS leases released with `--wait`.

Fable challenged the design before code. Bulk-access enforcement and the real10GB nightly remain the approved subsequent stages, not claimed by this PR.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 1bec224)

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant