claudecode/crates
Yeachan-Heo e98d0b7dda 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
..
api feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
commands Tighten help and clear messaging across the CLI surface 2026-03-31 21:03:49 +00:00
compat-harness feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
runtime feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
rusty-claude-cli Enrich status with git and project context 2026-03-31 21:06:51 +00:00
tools feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00