- Add non-interactive env defaults to reduce hangs\n- Suppress bash job control for bash -lc exec\n- Make Auto Drive turn cap opt-in (default unlimited); add --turn-cap\n- Only bias coordinator finishing when --max-seconds is set
- keep failed overlong coordinator outputs in the conversation, suppress compaction notices, and surface a retry action in the Auto Drive card so follow-up requests retain the error context
- add explicit Action app event, pass compaction notice intent through to the TUI, and raise the coordinator worker stack to 1 MiB with an opt-in backtrace hook for debugging validation overflows
- simplify bottom_spacer_hysteresis_requests_followup_frame to a known viewport pair to avoid FD exhaustion during repeated harness setup
Fixes#432Fixes#430Fixes#433Fixes#429
* emit json snapshots once then deltas with ordering metadata
* dedupe browser snapshots and update history pruning
* refresh mac temp path tests and TUI snapshots for new ordering
build-fast.sh
cargo nextest run --no-fail-fast --manifest-path code-rs/Cargo.toml
This commit completes Phase 1 of the codebase cleanup plan documented in
ROADMAP.md and related migration documents.
Major changes:
- Removed legacy test suites from code-rs/ crates (~35,000 lines)
- Adopted upstream codex-mcp-client and codex-responses-api-proxy
- Deleted TUI compat layer, agent task planning docs, and orphaned modules
- Updated documentation to reflect current state and future phases
Test Coverage:
- Deleted tests from: app-server, apply-patch, chatgpt, cli, core, exec,
login, mcp-server
- Documented 9 remaining coverage gaps requiring new tests (see
docs/migration/legacy-tests-retirement.md)
- Preserved smoke test infrastructure in tui/tests/ui_smoke.rs
Crate Adoptions:
- mcp-client: Now re-exports codex-mcp-client with fork-specific buffer config
- responses-api-proxy: Now re-exports codex-responses-api-proxy with minimal
wrapper
- mcp-types: Updated to use upstream types where possible
TUI Cleanup:
- Removed compat.rs ratatui adapter layer
- Deleted obsolete modules: app_backtrack, custom_terminal, scroll_view,
text_block, transcript_app
- Archived agent_tasks/ planning docs to docs/archive/
Documentation Updates:
- ROADMAP.md: Marked Phases 1-2 complete, updated next actions
- TEST_SUITE_RESET.md: Documented Phase 1 completion
- DEAD_CODE_INVENTORY.md: Updated with deletion outcomes
- Added docs/migration/legacy-tests-retirement.md with 6-week plan
- Added docs/maintenance/prompt-architecture.md
Next Steps (Phase 2-3):
- Port critical test coverage (9 test files identified)
- Expand smoke test scenarios
- Continue upstream tracking per monthly cadence
See docs/migration/ for detailed migration status and roadmap.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>