feat: install and monitor latest claw-code#2934
Open
bloodf wants to merge 1 commit intoultraworkers:mainfrom
Open
feat: install and monitor latest claw-code#2934bloodf wants to merge 1 commit intoultraworkers:mainfrom
bloodf wants to merge 1 commit intoultraworkers:mainfrom
Conversation
ef62599 to
d7bf159
Compare
The update path should track the current canonical claw-code source instead of merging a branch or fork into the user's checkout. This keeps updates explicit: the process periodically checks canonical HEAD and prints a notice, while claw update performs the install from a fresh temporary clone. Constraint: ultraworkers/claw-code has no releases or tags, so latest currently means canonical HEAD. Rejected: Merge origin or upstream branches during update | mutates local worktrees and can clobber fork-specific changes. Rejected: Auto-install from the periodic checker | surprising side effect during an interactive session. Confidence: high Scope-risk: moderate Directive: Keep update checks best-effort and keep installation behind the explicit claw update command. Tested: cargo fmt --all -- --check Tested: cargo test -p rusty-claude-cli update_checker -- --nocapture Tested: cargo test -p rusty-claude-cli update_subcommand_parses_without_repo_options -- --nocapture Tested: cargo check -p runtime -p api -p commands -p tools -p rusty-claude-cli
d7bf159 to
52e51c5
Compare
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.
Summary
claw updateto install the latest canonicalclaw-codesource fromhttps://github.com/ultraworkers/claw-codeGIT_SHAto canonicalHEADand prints a notice when an update is availableclaw updateuses a temporary clone instead of merging or mutating the current checkoutCLAW_DISABLE_UPDATE_CHECK=1andCLAW_UPDATE_CHECK_INTERVAL_SECONDS=<seconds>for local controlTest plan
cargo fmt --all -- --checkcargo test -p rusty-claude-cli update_checker -- --nocapturecargo test -p rusty-claude-cli update_subcommand_parses_without_repo_options -- --nocapturecargo check -p runtime -p api -p commands -p tools -p rusty-claude-cli