Commit Graph
71 Commits
Author SHA1 Message Date
James Peter d53c71df9b fix(models): align presets with protocol types 2025-12-10 08:55:17 +10:00
James Peter 25bc53e1fa feat(auto-review): reuse worktree and pass turn context 2025-12-02 13:13:51 +10:00
James Peter 7640ff5ff4 fix(exec/auto-resolve): prevent stale follow-ups and snapshot races 2025-12-01 22:53:00 +10:00
James Peter 13226204c5 fix(auto-drive): force read-only agents without git repos 2025-11-26 16:59:44 +10:00
James Peter 7ffc4467c2 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 6f6b99c579 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 333b2855da 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 ed24f70144 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 1cb7fcf923 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 7841f887a6 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 5726826120 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 24a0dd4c56 fix(auto-drive): restore 600-char CLI prompts and handle cutoffs 2025-11-26 01:15:06 +10:00
James Peter 3651bc85ae fix(auto-drive): enforce 4-140 char cli prompts 2025-11-25 23:18:37 +10:00
James Peter 936cca8f74 enhance(stream): carry request id, classify drops, log exhausted retries 2025-11-25 08:46:44 +10:00
James Peter f0cb7afda1 fix(core/tui): harden connectivity retries and reconnect UI 2025-11-24 10:22:34 +10:00
James Peter 6a7cac9d2b fix(models): clamp reasoning effort to supported levels (closes #422) 2025-11-22 11:44:10 +10:00
James Peter 6184ac4cb0 fix(auto/compact): bound remote compaction with timeout 2025-11-21 14:37:20 +10:00
James Peter 61209e062d feat(auto-drive): allow model selection and clamp verbosity 2025-11-21 03:03:28 +10:00
James Peter 698c53f25f feat(core/models): migrate defaults to gpt-5.1 2025-11-14 08:19:52 +10:00
James Peter 55e1c83c6a refactor(agent-models): canonicalize model guide 2025-11-12 12:51:12 +10:00
James Peter 76112d3623 added gpt-5-mini agent 2025-11-12 11:56:54 +10:00
James Peter 9759fceaee improve compaction 2025-11-12 11:06:32 +10:00
James Peter adae9ce74b prompt tweaks 2025-11-08 14:10:05 +10:00
James Peter 25bd02f9ce row spacer 2025-11-08 13:46:19 +10:00
James Peter a40fe2c347 fix(auto-drive): shorten rate-limit waits 2025-11-08 11:50:47 +10:00
James Peter b21190f574 feat(compaction): add per-message summary record 2025-11-07 21:04:52 +10:00
James Peter 58cf74d486 feat(compaction): add prompt override and update default prompt 2025-11-07 19:59:53 +10:00
James Peter 752abff610 fix(auth): classify refresh failures 2025-11-07 18:33:51 +10:00
James Peter d996507154 fix(core): treat insufficient quota as fatal 2025-11-07 17:35:27 +10:00
James Peter 3d92678fff prompt tweak 2025-11-07 15:54:46 +10:00
James Peter c6395fa999 prompt tweak 2025-11-07 15:48:04 +10:00
James Peter 341ab87988 Merge branch 'code-branch-20251106-060724' into main 2025-11-07 15:34:19 +10:00
James Peter 7172f08b0e feat(tui/validation): move review auto resolve controls to settings 2025-11-06 18:30:37 +10:00
James Peter 82d4519cef feat(auto-drive): harden sequencing and document reliability 2025-11-06 08:07:01 +10:00
James Peter a62184db09 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 59daeb4bd1 Auto Drive transcript correction 2025-11-04 20:35:33 +10:00
James Peter e961d68acc removed goal from ui 2025-11-04 16:24:21 +10:00
James Peter 15d702c225 updated model info 2025-11-04 15:31:29 +10:00
James Peter d78a21a450 improved coordinator and added haiku 2025-11-04 15:29:34 +10:00
James Peter eff451a445 fix(auto-drive): include goal context doc updates 2025-11-04 15:08:26 +10:00
James Peter 77d2169cfa feat(auto-drive): add status fields and seed planning turn 2025-11-04 15:07:13 +10:00
James Peter 8b759d19ad feat(auto-drive): seed planning turn without model call 2025-11-04 12:12:29 +10:00
James Peter a4843f8045 fix(auto-drive): keep default instructions in coordinator 2025-11-04 11:32:35 +10:00
James PeterandGitHub b981babe4a 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
James Peter cbc31dadc1 fix(auto-drive): surface schema info on coordinator retries 2025-11-02 09:35:51 +10:00
James Peter 38caf29d67 fix(auto-drive): salvage user-turn json (#353) 2025-10-31 08:08:19 +10:00
James Peter d31fd3d079 feat(auto-drive): relax agent limits and refresh guidance 2025-10-30 16:24:47 +10:00
James Peter 4fdea51b4d fix(auto-drive): make coordinator prompt standalone 2025-10-30 16:14:27 +10:00
James Peter 467009b646 fix(auto-drive): prefer reasoning-high GPT-5 with low verbosity 2025-10-30 12:29:30 +10:00
James Peter ede776ad43 fix(auto-drive): retry on empty stream output 2025-10-28 16:51:00 +10:00