Commit Graph
10 Commits
Author SHA1 Message Date
James Peter a092ad44e2 fix(exec): preserve shell scripts and capture crash traces
Keep raw shell scripts intact until execution so heredocs and apply_patch invocations survive profile wrapping, and add the shell_command tool path for supported models.

Also record richer TUI and exec crash diagnostics, including session log paths, panic backtraces, and Auto Drive coordinator telemetry, and document the new debugging flow.
2026-04-16 10:36:12 +10:00
James Peter 63e0864108 fix(tests): clean snapshot headers and imports 2025-12-20 21:56:11 +10:00
James Peter d093a9a635 fix(tests): use cargo_bin_cmd for apply_patch 2025-12-20 21:52:22 +10:00
James Peter ade8970a46 fix(tests): update apply_patch bins and snapshots 2025-12-20 21:48:56 +10:00
James Peter cd34727274 feat(core): backport requirements, skills, headers, fixtures 2025-12-19 08:51:11 +10:00
James Peter d15857084d fix(core): align apply_patch parsing and exec timeout output 2025-12-17 13:40:51 +10:00
James Peter caf2e8dc52 fix(apply-patch): preserve CRLF line endings 2025-12-15 07:30:11 +10:00
James Peter 7b2a2de2e7 fix(ci): restore execpolicy cli and test deps 2025-10-06 11:46:01 +10:00
James PeterandClaude 72437dddb6 chore: complete legacy test retirement and upstream crate adoption
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]>
2025-10-06 05:15:48 +10:00
James Peter 929a57ffab feat(code-rs): add forked workspace and dual build support 2025-10-05 04:27:49 +10:00