Repository navigation
refactor: canonicalize Crabbox run invocation transforms - #118544
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
August 3, 2026 06:45
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #106789
What Problem This Solves
Fixes an issue where Crabbox wrapper callers could have run-option values mistaken for the remote command when the locally maintained option-arity table drifted from Crabbox. That ambiguity was especially risky for provider-neutral changed-gate routing, where options such as
--idle-timeout 90mand--ttl 240mprecede the payload.Why This Change Was Made
The wrapper now derives value-bearing run options from the mandatory
crabbox run --helpprobe, parses each run invocation once into canonical option and payload spans, owns remote-command facts in one analysis step, and applies the existing platform transforms through one ordered pipeline. The stale 108-line static value-option table and duplicate payload scans are removed. Platform-specific renderers remain separate because exact cross-platform byte parity was not established; signal, lease, sparse-sync, lifecycle, diagnostic, and redaction behavior is unchanged.User Impact
Operators can pass current and future Crabbox run options before a remote command without the wrapper consuming their values as payload words. Provider-omitted changed gates keep workload routing intact, and the wrapper no longer needs source edits each time Crabbox adds a value-bearing run option.
Evidence
check:changedproof: workload routing selected Blacksmith Testbox without an explicit provider and all 14 changed-surface gates passed; the one-shot lease stopped cleanly (Actions run).string,duration,int,float, andvalue).gpt-5.6-sol/high autoreview reported no accepted or actionable findings; secret scan clean.git diff --check, targeted formatting, script syntax validation, test-root typecheck, and script lint passed.AI-assisted with Codex. I understand the implementation and verified the dependency contract, transform ordering, preservation boundaries, and proof results.