Commit Graph
68 Commits
Author SHA1 Message Date
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
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
James Peter 6d07790921 fix(auto-drive): surface schema info on coordinator retries 2025-11-02 09:35:51 +10:00
James Peter 86537b52c4 fix(auto-drive): salvage user-turn json (#353) 2025-10-31 08:08:19 +10:00
James Peter fbf8a86699 feat(auto-drive): relax agent limits and refresh guidance 2025-10-30 16:24:47 +10:00
James Peter f0ef4cd142 fix(auto-drive): make coordinator prompt standalone 2025-10-30 16:14:27 +10:00
James Peter 9a541be43a fix(auto-drive): prefer reasoning-high GPT-5 with low verbosity 2025-10-30 12:29:30 +10:00
James Peter ac23943567 fix(auto-drive): retry on empty stream output 2025-10-28 16:51:00 +10:00
James Peter 646033e749 Merge code-branch-20251027-040523: auto drive celebration 2025-10-27 22:00:49 +10:00
James Peter cec954bcf1 feat(tui/autodrive): add completion celebration state 2025-10-27 21:39:28 +10:00
James Peter 63f676cd1f fix(auto/compaction): chunk transcripts without truncation 2025-10-27 21:01:33 +10:00