Commit graph

1270 commits

Author SHA1 Message Date
Mario Zechner
f3c672245d docs(agent): require typed status payloads for pico task writes 2026-09-11 12:57:47 +02:00
Mario Zechner
7b4cfd6eb0 docs(agent): define pico system sections and mutable registries 2026-09-11 11:49:58 +02:00
badlogic
62129190d8 docs(agent): status lives in task state 2026-09-11 07:59:38 +00:00
badlogic
d12cd92e45 docs(agent): guide notes for appending entries 2026-09-10 23:13:57 +00:00
badlogic
66b72dd783 docs(agent): turn tasks gate model-visible appends 2026-09-10 23:13:36 +00:00
badlogic
2176b9dd8f docs(agent): runtime schema bundle as a work item 2026-09-10 21:28:48 +00:00
badlogic
c7eee01950 docs(agent): scope out permissions, migration and the wire schema 2026-09-10 21:21:05 +00:00
badlogic
66f3b138fe docs(agent): note foreground dependencies on background work 2026-09-10 21:18:34 +00:00
badlogic
378977cd3d docs(agent): simplify input results and unify queued input 2026-09-10 21:08:28 +00:00
badlogic
1b5aa80aec docs(agent): tagged-union task state and derived orphaned variant 2026-09-10 20:25:12 +00:00
badlogic
b734a75634 docs(agent): pico handoff for outstanding decisions 2026-09-10 19:30:41 +00:00
Mario Zechner
08dc60bc52 docs(agent): settle pico driver and storage contracts 2026-09-10 16:31:15 +02:00
Mario Zechner
400d6905ce docs(agent): make pico input attribution explicit 2026-09-09 23:29:53 +02:00
Mario Zechner
05c6229813 docs(agent): settle pico task lifecycle 2026-09-09 21:55:37 +02:00
Mario Zechner
ce5ec9ca35 docs(agent): persist pico entry projections 2026-09-09 20:40:04 +02:00
Mario Zechner
2188891bf3 docs(agent): resolve pico context and state ordering 2026-09-09 19:03:48 +02:00
Mario Zechner
e045ed2f33 docs(agent): add pico design drafts 2026-09-09 19:03:48 +02:00
Mario Zechner
73f3257ddc docs(agent): preserve pico2 spike design for review 2026-09-09 19:03:47 +02:00
David Brailovsky
c37b0e03b5 fix: cap agent retry backoff
Add a configurable 60-second default cap for assistant and summarization retry delays across coding-agent and the agent harness.

Fixes #8826
2026-09-09 11:54:56 +02:00
Armin Ronacher
4a6ed01945
fix(coding-agent): update runtime dependencies (#9341) 2026-09-08 16:04:35 +02:00
David Brailovsky
41218b3940 fix(agent): relax fork lane validation and sequence conformance 2026-09-08 13:34:58 +02:00
David Brailovsky
d0963bf06a docs(agent): relax WP08 fork streaming requirements 2026-09-08 12:23:14 +02:00
David Brailovsky
d3ba857ef4 Merge remote-tracking branch 'origin/main' into dev-named-forks-streaming 2026-09-07 12:48:15 +02:00
David Brailovsky
6dfc66d32a feat(agent): stream legacy JSONL migration and forks
Stream legacy v3 normalization through repeatable file passes, reuse atomic JSONL publication, and preserve stable fork IDs without an intermediate v4 source file.
2026-09-07 12:48:08 +02:00
Armin Ronacher
da840b6216 Add [Unreleased] section for next cycle 2026-09-05 13:54:52 +02:00
Armin Ronacher
d981de1229 Release v0.85.1 2026-09-05 13:54:46 +02:00
David Brailovsky
85186f823d fix(agent): expand fork conformance for Memory and JSONL
- Cover application list copying and branch-state exclusion
- Verify sequence preservation and next-write allocation
- Group WP08 cases separately until SQLite is ready
2026-09-04 22:45:31 +02:00
David Brailovsky
9908b2176a feat(agent): fork closed legacy JSONL through format 4
Normalize closed v3 sources into temporary format-4 files and reuse the two-pass fork path without modifying source files.

Remove obsolete JSONL snapshot creation and capture plumbing.
2026-09-04 17:40:30 +02:00
David Brailovsky
e3c966b6ff fix(agent): reject open legacy JSONL forks
Require a non-empty commit to persist normalized format-4 IDs before forking an open v3 session.

Verify rejection leaves the source unchanged and that the same destination ID succeeds after upgrade.
2026-09-04 16:46:14 +02:00
David Brailovsky
89670bc4a6 fix(agent): reduce JSONL fork list index memory
Track only the first surviving append sequence per non-empty list instead of retaining every surviving element sequence.
2026-09-04 16:44:13 +02:00
David Brailovsky
420deedf81 docs(agent): record JSONL fork capture question
Contrast the original fixed-length source capture requirement with the prototype's next-sequence boundary and document the file-replacement tradeoff.
2026-09-04 16:11:41 +02:00
David Brailovsky
9ee703230f Merge remote-tracking branch 'origin/main' into dev-named-forks-streaming 2026-09-04 16:05:40 +02:00
David Brailovsky
04d17a1080 feat(agent): add two-pass JSONL fork prototype
Stream format-4 sources through current-state indexes, preserve source sequences and high-water marks, and publish destinations atomically.

Capture open-source fork boundaries through the commit queue while retaining snapshot-based legacy-v3 handling.
2026-09-04 16:05:22 +02:00
Armin Ronacher
dd7e816b57 Add [Unreleased] section for next cycle 2026-09-04 11:57:42 +02:00
Armin Ronacher
107d79f110 Release v0.85.0 2026-09-04 11:57:38 +02:00
Qiaochu Hu
c2d3dc55b0
fix(agent): map signal-killed processes to non-zero exit codes (#8994)
waitForChildProcess resolved null for the exit code when a child was killed by a signal (e.g. OOM killer), and exec mapped it with code ?? 0, so the bash tool treated killed commands as successful.

Track the termination signal and fall back to the shell convention of 128 + signal number (137 for SIGKILL) when no exit code is available.

fixes #8992

closes #8882
2026-09-04 00:06:16 +02:00
David Brailovsky
2e2805d92f feat(agent): construct memory forks directly from live state
Stream current values and lists through shared fork policy while preserving sequences and the source high-water mark.
2026-09-03 16:31:29 +02:00
David Brailovsky
8c08d0645a Merge remote-tracking branch 'origin/main' into dev 2026-09-03 07:58:51 +00:00
Mario Zechner
4e69b0c280 feat(ai): preserve Anthropic per-turn thinking effort
Route eligible OpenRouter Claude models through the native Messages API and surface provider thinking-drop diagnostics.
2026-09-02 21:39:29 +02:00
Mario Zechner
e26afb63a4 fix(agent): retain settled tools until placement 2026-09-02 17:53:25 +02:00
David Brailovsky
e583b290a6 fix: remove misleading write byte counts
The write tools reported UTF-16 code units as bytes. Remove the count from success messages instead of scanning content again.

Closes #8979
2026-09-02 15:06:06 +02:00
Qiaochu Hu
ebc3744909
fix(agent): surface proxy stream EOF without terminal event as an error (#8997)
streamProxy dropped a final SSE event that was not newline-terminated
(the residual line buffer was never flushed after the read loop) and
called stream.end() without a result when no done/error event had been
seen, leaving EventStream.result() pending forever. Consumers like
agentLoop awaiting response.result() hung indefinitely when the server
closed the connection mid-response.

Flush the decoder and process the residual buffer after EOF, and push a
synthesized error event when the stream ended without a terminal event.

fixes #8996
2026-09-02 14:16:03 +02:00
Mario Zechner
6e8b9c8ea6 Handoff for tool settlemenet 2026-09-02 12:22:26 +02:00
Mario Zechner
d14d6b2232 fix(agent): finalize bounded shell output integration 2026-09-01 18:16:25 +02:00
Mario Zechner
a84a161c75 Merge remote-tracking branch 'origin/dev' into dev 2026-09-01 18:13:48 +02:00
Mario Zechner
fbb31a7015 docs(agent): add scoped storage implementation handoff 2026-09-01 18:13:16 +02:00
Mario Zechner
0095bce7db fix(agent): bound shell execution output 2026-09-01 18:12:06 +02:00
David Brailovsky
487af8e168 Merge remote-tracking branch 'origin/main' into dev 2026-09-01 14:48:57 +00:00
David Brailovsky
1df998a96c update harness.md to fork changes defined in wp08 2026-09-01 14:26:42 +00:00
David Brailovsky
4b7a0a7dba update wp08 doc 2026-09-01 14:13:14 +00:00