claudecode/crates
Yeachan-Heo 62703a9ed5 Preserve actionable state in compacted Rust sessions
This upgrades Rust session compaction so summaries carry more than a flat timeline. The compacted state now calls out recent user requests, pending work signals, key files, and the current work focus so resumed sessions retain stronger execution continuity.

The change stays deterministic and local while moving the compact output closer to session-memory style handoff value.

Constraint: Keep compaction local and deterministic rather than introducing API-side summarization

Constraint: Preserve the existing resumable system-summary mechanism and compact command flow

Rejected: Add a full session-memory background extractor now | larger runtime change than needed for this incremental parity pass

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep future compaction enrichments biased toward actionable state transfer, not just verbose recap

Tested: cargo fmt; cargo clippy --all-targets --all-features -- -D warnings; cargo test -q

Not-tested: Long real-world sessions with deeply nested tool/result payloads
2026-03-31 19:34:56 +00:00
..
api Make Rust sessions easier to find and resume 2026-03-31 19:22:56 +00:00
commands feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
compat-harness Improve CLI visibility into runtime usage and compaction 2026-03-31 19:18:56 +00:00
runtime Preserve actionable state in compacted Rust sessions 2026-03-31 19:34:56 +00:00
rusty-claude-cli Make tool approvals and summaries easier to understand 2026-03-31 19:28:07 +00:00
tools Improve CLI visibility into runtime usage and compaction 2026-03-31 19:18:56 +00:00