claw-code-parity/rust/crates/rusty-claude-cli/src
Yeachan-Heo 1adf11d572 Enrich status with git and project context
Extend /status with project root and git branch details derived from the local repository so the report feels closer to a real Claude Code session dashboard. This adds high-value workspace context without inventing any persisted metadata the runtime does not actually have.

Constraint: Status metadata must be computed from the current working tree at runtime and tolerate non-git directories
Rejected: Persist branch/root into session files first | a local runtime derivation is smaller and immediately useful without changing session format
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep status context opportunistic and degrade cleanly to unknown when git metadata is unavailable
Tested: cargo fmt --manifest-path ./rust/Cargo.toml --all; cargo clippy --manifest-path ./rust/Cargo.toml --workspace --all-targets -- -D warnings; cargo test --manifest-path ./rust/Cargo.toml --workspace
Not-tested: Manual non-git-directory /status run
2026-03-31 21:06:51 +00:00
..
app.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
args.rs feat: Rust port of Claude Code CLI 2026-03-31 17:43:09 +00:00
input.rs feat: make rusty-claude-cli usable end-to-end 2026-03-31 18:40:09 +00:00
main.rs Enrich status with git and project context 2026-03-31 21:06:51 +00:00
render.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00