ultraworkers-claw-code/rust/crates
Yeachan-Heo b3b14cff79 Prevent resumed slash commands from dropping release-critical arguments
The release harness advertised resumed slash commands like /export <file> and /clear --confirm, but argv parsing split every slash-prefixed token into a new command. That made the claw binary reject legitimate resumed command sequences and quietly miss the caller-provided export target.

This change teaches --resume parsing to keep command arguments attached, including absolute export paths, and locks the behavior with both parser regressions and a binary-level smoke test that exercises the real claw resume path.

Constraint: Keep the scope to a high-confidence release-path fix that fits a ~1 hour hardening pass

Rejected: Broad REPL or network end-to-end coverage expansion | too slow and too wide for the release-confidence target

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: If new resume-supported commands accept slash-prefixed literals, extend the resume parser heuristics and add binary coverage for them

Tested: cargo test --workspace; cargo test -p rusty-claude-cli --test resume_slash_commands; cargo test -p rusty-claude-cli parses_resume_flag_with_absolute_export_path -- --exact

Not-tested: cargo clippy --workspace --all-targets -- -D warnings currently fails on pre-existing runtime/conversation/session lints outside this change
2026-04-02 07:37:25 +00:00
..
api chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
commands Merge remote-tracking branch 'origin/rcc/jsonl-session' into integration/dori-cleanroom 2026-04-02 11:10:48 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
plugins Merge remote-tracking branch 'origin/rcc/plugins' into integration/dori-cleanroom 2026-04-01 19:13:53 +09:00
runtime chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
rusty-claude-cli Prevent resumed slash commands from dropping release-critical arguments 2026-04-02 07:37:25 +00:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools fix: forward prompt cache events through clients 2026-04-02 11:38:24 +09:00