Commit Graph
85 Commits
Author SHA1 Message Date
James Peter 3a9fa221c6 fix(auto-drive): stop on usage limit without reset (fixes #534) 2026-02-02 13:36:55 +10:00
James Peter 2fa8e8a563 fix(core/compact): harden auto-compact flow 2026-01-29 23:30:16 +10:00
James Peter 3a4d6aa76e fix(auto-drive): track estimated tokens without usage 2026-01-22 08:54:48 +10:00
James Peter 9560fb2773 fix(tui/auto-drive): align Esc edit/stop behavior 2026-01-18 21:10:29 +10:00
James Peter a05cba01ce feat(browser): add navigation telemetry; migrate auto-drive history 2026-01-06 22:57:47 +10:00
James Peter 326d04e813 fix(core/auth): auto-switch on usage limit with notice 2026-01-05 16:27:21 +10:00
James Peter 2a9dd2bfaf fix(auto-drive): keep retrying after errors 2025-12-30 14:21:10 +10:00
James Peter fefba81760 chore(auto-drive): refine timeboxed exec guidance 2025-12-25 14:47:49 +10:00
James Peter 856714d4d5 fix(auto-drive): drop unused time budget seed 2025-12-24 17:10:42 +10:00
James Peter 95a05061bf feat(exec): add timeboxed auto-exec guidance 2025-12-24 17:08:49 +10:00
James Peter 2eb08ec25d fix(auto-drive): tighten time budget guidance 2025-12-24 11:49:50 +10:00
James Peter 095c8401cc fix(auto-drive): respect retry budget and loop hints 2025-12-22 07:11:45 +10:00
James Peter 3742a14b3a fix(tb2): harden exec env/shell; gate auto drive rails
- 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
2025-12-17 05:37:54 +10:00
James Peter 458a65fb6b feat(exec): add max-seconds budget with countdown nudges 2025-12-16 08:01:48 +10:00
James Peter a25519dcae fix(models): align presets with protocol types 2025-12-10 08:55:17 +10:00
James Peter 74c2316e12 feat(auto-review): reuse worktree and pass turn context 2025-12-02 13:13:51 +10:00
James Peter 7f9b8bde38 fix(exec/auto-resolve): prevent stale follow-ups and snapshot races 2025-12-01 22:53:00 +10:00
James Peter 6d531666cf fix(auto-drive): force read-only agents without git repos 2025-11-26 16:59:44 +10:00
James Peter 97f1e454d4 fix(auto-drive): durable retries and coordinator stability
- 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 #432
Fixes #430
Fixes #433
Fixes #429
2025-11-26 09:09:46 +10:00
James Peter 0191e98bb4 chore(auto-drive): user-facing retry note without guidance
Replace the retry Thinking event text with a neutral message so the Auto Drive card shows the retry without exposing prompt-length guidance to the user. Build fast remains green.

fixes #432
2025-11-26 08:34:44 +10:00
James Peter b399614869 chore(auto-drive): persist retry note into action history
Add assistant retry note into the conversation so the Auto Drive card shows context while retrying overlong prompt_sent_to_cli errors. Developer guidance string remains in the conversation; raw model output stays in assistant message.

fixes #432
2025-11-26 07:45:50 +10:00
James Peter 6e1c620d50 chore(auto-drive): place overlong prompt error in developer note
Assistant message now keeps the raw model output; developer note carries the fixed guidance string so the coordinator sees both the failure context and the explicit <=600 notice. Build fast remains green.

fixes #432
2025-11-26 07:38:57 +10:00
James Peter a3ecceb97b chore(auto-drive): clarify overlong prompt retry messaging
Replace the retry assistant insert with a fixed error string so the CLI clearly sees the overlong prompt error without echoing the long prompt. Persist the message in the conversation and simplify developer notes.

fixes #432
2025-11-26 07:33:31 +10:00
James Peter 63297e0751 fix(auto-drive): show failed coordinator output when retrying
Surface the invalid assistant JSON as an assistant message before retrying recoverable validation errors (e.g., overlong prompt_sent_to_cli) so the coordinator can see what failed. Retains existing retry guidance path.

Refs #432
2025-11-26 07:21:47 +10:00
James Peter c86288b098 fix(core): agent dedupe and windows cmd resolution
- auto-drive retries overlong prompt_sent_to_cli instead of failing
- agents: canonical alias dedupe + PATHEXT-aware cmd resolution and Gemini config fallback

fixes #430
fixes #432
fixes #433
2025-11-26 06:56:15 +10:00
James Peter 8d76531795 fix(auto-drive): restore 600-char CLI prompts and handle cutoffs 2025-11-26 01:15:06 +10:00
James Peter aeda4168af fix(auto-drive): enforce 4-140 char cli prompts 2025-11-25 23:18:37 +10:00
James Peter 5d870dcea9 enhance(stream): carry request id, classify drops, log exhausted retries 2025-11-25 08:46:44 +10:00
James Peter 6bc9c2127b fix(core/tui): harden connectivity retries and reconnect UI 2025-11-24 10:22:34 +10:00
James Peter 7358c36cf6 fix(models): clamp reasoning effort to supported levels (closes #422) 2025-11-22 11:44:10 +10:00
James Peter 8a9682dbc7 fix(auto/compact): bound remote compaction with timeout 2025-11-21 14:37:20 +10:00
James Peter 35134eeacd feat(auto-drive): allow model selection and clamp verbosity 2025-11-21 03:03:28 +10:00
James Peter 6e114418b8 feat(core/models): migrate defaults to gpt-5.1 2025-11-14 08:19:52 +10:00
James Peter c2c345c2d7 refactor(agent-models): canonicalize model guide 2025-11-12 12:51:12 +10:00
James Peter 189bb845e3 added gpt-5-mini agent 2025-11-12 11:56:54 +10:00
James Peter b7925c0f99 improve compaction 2025-11-12 11:06:32 +10:00
James Peter faa89aa646 prompt tweaks 2025-11-08 14:10:05 +10:00
James Peter e05fa2eb28 row spacer 2025-11-08 13:46:19 +10:00
James Peter f801d497aa fix(auto-drive): shorten rate-limit waits 2025-11-08 11:50:47 +10:00
James Peter 8b413b20b5 feat(compaction): add per-message summary record 2025-11-07 21:04:52 +10:00
James Peter 20d2607067 feat(compaction): add prompt override and update default prompt 2025-11-07 19:59:53 +10:00
James Peter 7b40fab1ed fix(auth): classify refresh failures 2025-11-07 18:33:51 +10:00
James Peter d3cd08ab72 fix(core): treat insufficient quota as fatal 2025-11-07 17:35:27 +10:00
James Peter 8ad76869bd prompt tweak 2025-11-07 15:54:46 +10:00
James Peter 99873da2bf prompt tweak 2025-11-07 15:48:04 +10:00
James Peter 7ad81dd5ef Merge branch 'code-branch-20251106-060724' into main 2025-11-07 15:34:19 +10:00
James Peter b85f50f65a feat(tui/validation): move review auto resolve controls to settings 2025-11-06 18:30:37 +10:00
James Peter a6c56ce700 feat(auto-drive): harden sequencing and document reliability 2025-11-06 08:07:01 +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 dc196416b7 Auto Drive transcript correction 2025-11-04 20:35:33 +10:00