mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-04-23 13:16:29 +02:00
476b03e609
Extend the direct and slash status surfaces with git-aware context so workspace checks include branch freshness against origin/main, active worktrees, and the three most recent commits. Constraint: Keep the implementation scoped to rust/crates/commands/src/lib.rs and rust/crates/rusty-claude-cli/src/main.rs Rejected: A separate dedicated git-status subcommand struct layer | unnecessary complexity for a single report surface Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep claw status read-only; do not fetch or mutate git state when computing freshness Tested: cargo build --workspace; cargo test --workspace; ./target/debug/claw status Not-tested: Repositories without git installed