Commit Graph
77 Commits
Author SHA1 Message Date
James Peter 704fdfeb14 fix(auto-drive): drop unused time budget seed 2025-12-24 17:10:42 +10:00
James Peter f013536b8f feat(exec): add timeboxed auto-exec guidance 2025-12-24 17:08:49 +10:00
James Peter 5fd3c3fefb fix(auto-drive): tighten time budget guidance 2025-12-24 11:49:50 +10:00
James Peter 78b3cad565 fix(auto-drive): respect retry budget and loop hints 2025-12-22 07:11:45 +10:00
James Peter 4c2b376735 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 d2e1727131 feat(exec): add max-seconds budget with countdown nudges 2025-12-16 08:01:48 +10:00
James Peter 4ea5c1a2ef fix(models): align presets with protocol types 2025-12-10 08:55:17 +10:00
James Peter 1805acfc4c feat(auto-review): reuse worktree and pass turn context 2025-12-02 13:13:51 +10:00
James Peter 6ed04e40c5 fix(exec/auto-resolve): prevent stale follow-ups and snapshot races 2025-12-01 22:53:00 +10:00
James Peter df8eb7f1e0 fix(auto-drive): force read-only agents without git repos 2025-11-26 16:59:44 +10:00
James Peter 01519ee282 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 f4e9d924bc 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 09e57ecd8c 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 220779d67c 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 3da344c9ec 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 54409a3df6 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 0b8b2d8aa5 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 3479758700 fix(auto-drive): restore 600-char CLI prompts and handle cutoffs 2025-11-26 01:15:06 +10:00
James Peter 8817c8a67b fix(auto-drive): enforce 4-140 char cli prompts 2025-11-25 23:18:37 +10:00
James Peter 3f5e88d1c0 enhance(stream): carry request id, classify drops, log exhausted retries 2025-11-25 08:46:44 +10:00
James Peter 20d80ffea2 fix(core/tui): harden connectivity retries and reconnect UI 2025-11-24 10:22:34 +10:00
James Peter 5dcf7ae991 fix(models): clamp reasoning effort to supported levels (closes #422) 2025-11-22 11:44:10 +10:00
James Peter e7c3c030c8 fix(auto/compact): bound remote compaction with timeout 2025-11-21 14:37:20 +10:00
James Peter 28782c96c8 feat(auto-drive): allow model selection and clamp verbosity 2025-11-21 03:03:28 +10:00
James Peter be268c2ccf feat(core/models): migrate defaults to gpt-5.1 2025-11-14 08:19:52 +10:00
James Peter 3da2823748 refactor(agent-models): canonicalize model guide 2025-11-12 12:51:12 +10:00
James Peter 97cd41890e added gpt-5-mini agent 2025-11-12 11:56:54 +10:00
James Peter 5a127efd94 improve compaction 2025-11-12 11:06:32 +10:00
James Peter 38c6dbca62 prompt tweaks 2025-11-08 14:10:05 +10:00
James Peter fb31082dea row spacer 2025-11-08 13:46:19 +10:00
James Peter 9b1506d9bd 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
James Peter 81a2201a3b removed goal from ui 2025-11-04 16:24:21 +10:00
James Peter 72dde2be6a updated model info 2025-11-04 15:31:29 +10:00
James Peter 592f1d0ced improved coordinator and added haiku 2025-11-04 15:29:34 +10:00
James Peter 8a0835d686 fix(auto-drive): include goal context doc updates 2025-11-04 15:08:26 +10:00
James Peter 72921abdc1 feat(auto-drive): add status fields and seed planning turn 2025-11-04 15:07:13 +10:00
James Peter 220e489bef feat(auto-drive): seed planning turn without model call 2025-11-04 12:12:29 +10:00
James Peter a0ddb58a9d fix(auto-drive): keep default instructions in coordinator 2025-11-04 11:32:35 +10:00
James PeterandGitHub c341805cd1 Merge pull request #389 from just-every/issue-353-json
fix(auto-drive): salvage user-turn json (#353)
2025-11-03 20:18:56 +10:00