Summary
Remove or wire the unused prompt-zone TurnScratch and ThreeZoneRequest scaffolding.
Evidence
crates/tui/src/prompt_zones.rs:299 TurnScratch and :329 ThreeZoneRequest are unused outside tests/docs.
- Live code uses
PinnedPrefix/FrozenPrefix and AppendLog through core/session.rs and core/engine/turn_loop.rs.
- The module comments identify
TurnScratch and ThreeZoneRequest as future-phase type scaffolding.
deadcode.log reports both structs as never constructed.
Suggested Change
Delete the future-phase scaffolding and tests that only preserve it, or wire it into request assembly if the three-zone request model is ready to become active.
Risk & Confidence
Confidence: high. Risk: medium because this is architecture scaffolding; keep the active prefix/cache types intact.
Verification Checklist
Summary
Remove or wire the unused prompt-zone
TurnScratchandThreeZoneRequestscaffolding.Evidence
crates/tui/src/prompt_zones.rs:299TurnScratchand:329ThreeZoneRequestare unused outside tests/docs.PinnedPrefix/FrozenPrefixandAppendLogthroughcore/session.rsandcore/engine/turn_loop.rs.TurnScratchandThreeZoneRequestas future-phase type scaffolding.deadcode.logreports both structs as never constructed.Suggested Change
Delete the future-phase scaffolding and tests that only preserve it, or wire it into request assembly if the three-zone request model is ready to become active.
Risk & Confidence
Confidence: high. Risk: medium because this is architecture scaffolding; keep the active prefix/cache types intact.
Verification Checklist
cargo test -p codewhale-tui prompt_zones -- --nocapture.cargo check -p codewhale-tui --all-targets.rg "TurnScratch|ThreeZoneRequest" crates/tui/src crates/tui/tests docsonly finds intentional docs or no references.