Skip to content

fix(crabbox): seed unpublished Boat source from its base - #192164

Merged
vincentkoc merged 8 commits into
mainfrom
fix/boat-unpublished-source-baseline-20261104
Nov 10, 2026
Merged

vincentkoc merged 8 commits into
mainfrom
fix/boat-unpublished-source-baseline-20261104

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

When origin does not contain the selected local commit, Boat cannot fetch it for exact-commit seeding if the source capsule exposes that commit as its transport HEAD. The existing full-file fallback preserves correctness but loses the seeded transfer path.

User Impact

Boat can seed from the captured base while the verified source capsule still supplies the selected local commit, dirty bytes, deletions and file modes to the payload.

Why This Change Was Made

After source selection, candidate index and bundle creation, the Boat caller selects the captured base as the disposable transport HEAD before staging is sealed. Original source identity, witness, candidate tree and carrier remain intact. Other providers and native Crabbox admission are unchanged; an unavailable captured base retains the existing fetch/fallback behavior.

Current candidate 230dc74bc4a86264fbb8a43d146cae4ab8c7a0c2 integrates the frozen main baseline 2ab28a6bcb5cc3ecc9d221b3c964de771a17e491. Its contribution against that baseline is five files, 62 additions and two deletions. The integration preserves upstream receiver EPIPE/lifetime handling and existing fixture fixes. The parent dependency, #191845, has merged.

Evidence

  • The real wrapper/receiver regression failed against the original producer because native-boundary capture saw the origin-absent source commit instead of the base. It passed at original candidate 7739efb0d637314359bc004e96c6ea9eab61e45c (one selected test; 311 skipped).

  • Original-head sibling transport cases covered Boat arbitrary commands and Git lifetime, AWS arbitrary commands, and Testbox captured-base behavior. A separate secretless native coherence-plan check selected the captured available base while preserving source, candidate, carrier and caller state.

  • Prior combined head 7cc112b991739e120b3b653e88a0013c3a167aca passed 18 selected wrapper/hook tests with 307 skipped, plus its scoped static checks. These remain prior-head evidence, not a current full-suite claim.

  • At current 230dc74b, the advertised Boat alias, native Git lifetime, unpublished-source transport and graph cases passed: 4 tests, 308 skipped, in 95.93 seconds. The alias retains the upstream first-three-argument provider assertion; the graph case uses the upstream copied-Node/prefix-library fixture unchanged. No new workaround was added.

  • Current scripts and test-scripts typechecks, scoped production/test lint, changed-file formatting, test-line allocation ratchet and diff checks passed. Root and independent review found no issues in the current contribution. Native preparation is github_pending; hosted CI supplies broader current-head validation.

  • Released Crabbox 0.83.0 completed a real Boat wrapper run from an unpublished local commit with a dirty overlay. The payload verified the selected source witness, a distinct carrier rooted at the captured base, dirty content, executable mode, deletion and an unchanged control file. It exited 0, released its workspace owner and left local HEAD/index/dirty content unchanged. The initial native stop returned an error; a separate targeted stop --wait then confirmed the same lease released. The exact VM was absent from all-state inventory and all owned local processes exited. The original failed aggregate receipt and successful cleanup reconciliation are retained separately.

  • Current CodeQL passed all 7 checks. Current CI failed only the inherited test-line ratchet: actual merge b531713ffffac48c45f0683bad6fd36a21e4cd2a and its base 0c5c4754c33dd9a9e7f4eb4493d4472d458a4609 both exceed their ceiling by 128 lines (6,635,227 / 6,635,099 versus 6,635,176 / 6,635,048). The contribution adds 51 test lines and an equal 51-line allocation; all five changed blobs match 230dc74b. No baseline padding or rerun was applied.

Limits

The selected wrapper tests use a fake provider with the real capsule and receiver; the released-client Boat run separately proves the live unpublished-source path. No full-wrapper or full-repository pass, throughput benchmark or long-duration qualification is claimed. The inherited test-line ratchet failure remains explicitly attributed above.

Related: #190941

@clawsweeper

clawsweeper Bot commented Nov 3, 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.

@vincentkoc vincentkoc self-assigned this Nov 3, 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. labels Nov 3, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts labels Nov 3, 2026
* fix: keep CI preparation from changing Git hooks

* chore: format CI preparation regression

(cherry picked from commit 3bbbcd4)
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 7739efb0d637314359bc004e96c6ea9eab61e45c, but the PR head is now 7cc112b991739e120b3b653e88a0013c3a167aca. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (1 earlier review cycle)
  • reviewed 2026-11-03T19:03:00.795Z sha 7739efb :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 5, 2026
Base automatically changed from fix/boat-source-capsule-20261103 to main November 10, 2026 00:02
Baseline-Refresh: e1da6d1a5ea3e4e99db852170efb8632d3e7b459
@vincentkoc
vincentkoc marked this pull request as ready for review November 10, 2026 19:43
@vincentkoc
vincentkoc merged commit 6f18dd4 into main Nov 10, 2026
190 of 194 checks passed
@vincentkoc
vincentkoc deleted the fix/boat-unpublished-source-baseline-20261104 branch November 10, 2026 21:37
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…2164)

* fix(crabbox): preserve Boat source and retained claim ownership

* test(crabbox): avoid map spreads in source fixtures

* fix(crabbox): restore Boat transport Git after source execution

* test(crabbox): reproduce unpublished Boat source seeding

* fix(crabbox): seed Boat capsules from the captured base

* fix: keep CI preparation from changing Git hooks (openclaw#192138)

* fix: keep CI preparation from changing Git hooks

* chore: format CI preparation regression

(cherry picked from commit 8c449fe)
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 P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant