claw-code-parity/rust/crates/runtime/src
Yeachan-Heo 79da7c0adf Make claw's REPL feel self-explanatory from analysis through commit
Claw already had the core slash-command and git primitives, but the UX
still made users work to discover them, understand current workspace
state, and trust what `/commit` was about to do. This change tightens
that flow in the same places Codex-style CLIs do: command discovery,
live status, typo recovery, and commit preflight/output.

The REPL banner and `/help` now surface a clearer starter path, unknown
slash commands suggest likely matches, `/status` includes actionable git
state, and `/commit` explains what it is staging and committing before
and after the model writes the Lore message. I also cleared the
workspace's existing clippy blockers so the verification lane can stay
fully green.

Constraint: Improve UX inside the existing Rust CLI surfaces without adding new dependencies
Rejected: Add more slash commands first | discoverability and feedback were the bigger friction points
Rejected: Split verification lint fixes into a second commit | user requested one solid commit
Confidence: high
Scope-risk: moderate
Directive: Keep slash discoverability, status reporting, and commit reporting aligned so `/help`, `/status`, and `/commit` tell the same workflow story
Tested: cargo fmt --all; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace
Not-tested: Manual interactive REPL session against live Anthropic/xAI endpoints
2026-04-02 07:20:35 +00:00
..
bash.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
bootstrap.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
compact.rs fix: align session tests with jsonl persistence 2026-04-02 11:31:53 +09:00
config.rs chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
conversation.rs Make claw's REPL feel self-explanatory from analysis through commit 2026-04-02 07:20:35 +00:00
file_ops.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
hooks.rs chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
json.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
lib.rs fix: forward prompt cache events through clients 2026-04-02 11:38:24 +09:00
mcp.rs fix: post-plugins-merge cleanroom fixes and workspace deps 2026-04-01 18:48:39 +09:00
mcp_client.rs fix: post-plugins-merge cleanroom fixes and workspace deps 2026-04-01 18:48:39 +09:00
mcp_stdio.rs feat: telemetry progress 2026-04-01 06:15:15 +00:00
oauth.rs fix: post-plugins-merge cleanroom fixes and workspace deps 2026-04-01 18:48:39 +09:00
permissions.rs wip: hook-pipeline progress 2026-04-01 04:30:25 +00:00
prompt.rs fix: stabilize merge fallout test fixtures 2026-04-02 11:31:53 +09:00
remote.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
sandbox.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
session.rs Make claw's REPL feel self-explanatory from analysis through commit 2026-04-02 07:20:35 +00:00
sse.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
usage.rs wip: jsonl-session progress 2026-04-01 04:30:27 +00:00