Commit Graph
27 Commits
Author SHA1 Message Date
James Peter e7227b72d2 feat(agents): make gemini-3-flash the default
Replace gemini-2.5-flash with gemini-3-flash and treat gemini as the primary Gemini alias.

Update docs, examples, and legacy upgrade paths.
2025-12-18 09:00:29 +10:00
James Peter 31592c39f6 feat(core/tui): add remote models; harden exec memory
Add best-effort remote /models parity with on-disk cache + TUI preset merge.

Harden exec handling by spooling output to disk, avoiding unbounded in-memory buffering, and using best-effort Linux cgroup limits + explicit OOM surfacing so child failures don’t kill the parent.
2025-12-17 18:23:40 +10:00
James Peter 32398b5bd5 fix(core/instructions): sync prompts and sandbox_permissions 2025-12-15 07:18:10 +10:00
James Peter 22a4dbcefb fix(core/tests): allow missing code-linux-sandbox binary
Also document .githooks pre-push pre-release hook.
2025-12-12 15:02:57 +10:00
James Peter a2cf01d503 fix(tui/history): demote earlier Answer outputs mid-turn
Add `mid_turn` to assistant history records and cells, and retroactively mark previous Answer streams as mid‑turn when a new Answer id arrives so only the final output gets gutter/bold styling.

Also upgrade legacy `gpt-5-codex` slugs to `gpt-5.1-codex`, bump GPT‑5 profile/review defaults to `gpt-5.2`, and refresh related TUI snapshots.
2025-12-12 12:29:43 +10:00
James Peter d7a2c9f230 fix(core,tui): hook events, resume name, gpt aliases
Fixes #453. Fixes #447. Fixes #444.
2025-12-11 13:57:01 +10:00
James Peter f9d2173252 fix: align tests with new auto-review flow and guide UI 2025-12-10 01:47:39 +10:00
James Peter 896edcb41c fix(core/tests): handle unsafe env var setters on rust 1.90 2025-12-10 00:58:38 +10:00
James Peter 1805acfc4c feat(auto-review): reuse worktree and pass turn context 2025-12-02 13:13:51 +10:00
James Peter 518fc8edc4 fix(agents/auto-drive): fallback to current binary, keep disabled mini (fixes #429, fixes #430, fixes #431) 2025-11-25 23:30:34 +10:00
James Peter 8012633c95 fix(agents): use gemini-3-pro-preview and tighten descriptions 2025-11-25 13:03:13 +10:00
James Peter 3d66a6e4bb feat(agents): upgrade opus and gemini defaults, retier frontlines 2025-11-25 12:55:53 +10:00
James Peter f94ad1f8c3 closes #423 2025-11-24 13:43:02 +10:00
James Peter 9a9e5ac96e feat(agents): add gemini-3-pro and default to codex-max (closes #423) 2025-11-22 11:48:41 +10:00
James Peter f79e8e699d feat(tui/resume): async picker + /push command 2025-11-17 16:35:07 +10:00
James Peter 1f3807f25d test(core): expose session catalog api 2025-11-17 09:22:44 +10:00
James Peter 481d8bd274 fix(resume): count user input from rollouts 2025-11-16 23:25:14 +10:00
James Peter 1a3657728e feat(resume): unify session catalog and add e2e tests 2025-11-16 19:40:47 +10:00
James Peter 0793a5baf2 feat(core/env_ctx): finalize env_ctx_v2 streaming flow
* 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
2025-11-05 06:08:13 +10:00
James Peter 638f94c5e1 fix(core/tests): guard custom prompt env setup 2025-10-28 20:40:41 +10:00
James Peter df907e38b9 fix(core/tests): update openai wire api env helpers 2025-10-28 20:17:36 +10:00
James Peter dfac97ff51 fix(agents/gemini): use --model flag for v2 CLI (closes #307) 2025-10-28 04:07:26 +10:00
James Peter c52500a564 fix(prompts): discover legacy ~/.codex/prompts as documented (closes #289) 2025-10-28 02:56:02 +10:00
James Peter d8acfc1fe7 fix(config): honor OPENAI_WIRE_API override (closes #343) 2025-10-28 02:34:15 +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 59f22502c2 chore(workspace): sync codex tree and finish reset plan 2025-10-05 09:04:09 +10:00
James Peter 929a57ffab feat(code-rs): add forked workspace and dual build support 2025-10-05 04:27:49 +10:00