Commit graph

458 commits

Author SHA1 Message Date
Mario Zechner
8f31282be6 feat(agent): add inert runtime2 shell 2026-08-15 22:20:06 +02:00
Mario Zechner
1267b4cd2c feat(agent): serialize runtime2 lane transitions 2026-08-15 22:13:36 +02:00
Mario Zechner
258668cf4c feat(agent): start lane-owned harness runtime 2026-08-15 21:45:14 +02:00
Mario Zechner
d1a569a791 feat(agent): organize AgentHarness runtime by protocol 2026-08-15 20:35:24 +02:00
Mario Zechner
d411d7b05e feat(agent): add AgentHarness R4 tool execution 2026-08-14 23:26:56 +02:00
Mario Zechner
a606448360 feat(agent): add AgentHarness R3 generation recovery 2026-08-14 20:14:02 +02:00
Mario Zechner
908ae3f018 fix(agent): normalize assistant request action name 2026-08-14 16:22:43 +02:00
Mario Zechner
434332dce8 Merge remote-tracking branch 'origin/dev' into dev 2026-08-14 16:18:42 +02:00
Mario Zechner
1d882a7eca feat(agent): add AgentHarness R2 minimal run 2026-08-14 16:18:33 +02:00
David Brailovsky
95e3765ade fix(agent): reserve JSONL session destinations
Coordinate create and fork operations by cwd and session ID so only the first caller can publish a destination.

Split destination-reservation conformance from active-source snapshot coordination.
2026-08-14 15:53:51 +02:00
David Brailovsky
fd8380f323 feat(agent): add JSONL session forking
Extract shared fork snapshot planning from the memory repository and use it to atomically publish JSONL branch and tree forks.

Split fork conformance into behavior and coordination cases so JSONL runs its currently supported behavior.
2026-08-14 15:23:42 +02:00
Mario Zechner
0e5bd4c90d feat(agent): integrate AgentHarness R1 with current dev 2026-08-14 14:56:05 +02:00
Mario Zechner
09ce3dda5d feat(agent): add AgentHarness R1 runtime shell 2026-08-14 14:54:27 +02:00
Cristina Poncela Cubeiro
35c1521573 feat(sqlite): wire repo to return real session 2026-08-14 13:58:16 +02:00
David Brailovsky
3ad1d716ae refactor(agent): keep storage register keys internal
Represent snapshot registers as arrays and simplify memory session fork handling.
2026-08-14 13:19:12 +02:00
Cristina Poncela Cubeiro
39b5f12a04 chore: extract validateCommittedWrites as shared helper 2026-08-14 13:08:09 +02:00
Vegard Stikbakke
0bddd620d6 feat(agent): benchmark session repository lifecycle 2026-08-14 12:56:36 +02:00
David Brailovsky
a2fd9783f5 refactor(agent): share session register key helper 2026-08-14 12:50:04 +02:00
David Brailovsky
3d93ae29b9 refactor(agent): extract memory fork content selection 2026-08-14 12:43:13 +02:00
Vegard Stikbakke
0537b2f702 feat(agent): benchmark session repository forks 2026-08-14 12:38:11 +02:00
David Brailovsky
c09fb2041c docs(agent): document session fork options 2026-08-14 12:34:52 +02:00
David Brailovsky
d46aaa5f1c fix(agent): narrow memory fork lane leaf registers type-safely 2026-08-14 12:30:48 +02:00
Vegard Stikbakke
7b8ee7a3f5 feat(agent): add session repository catalog benchmark 2026-08-14 12:17:40 +02:00
David Brailovsky
4f069996d4 refactor(agent): extract memory fork source validation 2026-08-14 12:16:23 +02:00
David Brailovsky
f0182cdc9e fix(agent): make fork parent source-derived
Move optional fork destination id into ForkOptions and stop allowing fork callers to pass a parentSessionId override. Update the harness spec to state that fork destination parentSessionId is always the source session id.
2026-08-14 10:55:25 +02:00
David Brailovsky
f43f1ef81d remove defensive options capture 2026-08-14 10:46:26 +02:00
Vegard Stikbakke
18ddf8ad90 fix(agent): test session destination reservation order 2026-08-14 10:24:04 +02:00
David Brailovsky
781859c7d0 feat(agent): add JSONL session repository lifecycle 2026-08-14 10:21:04 +02:00
David Brailovsky
b01c21e5e6 feat(agent): separate session ownership conformance 2026-08-14 09:27:02 +02:00
Vegard Stikbakke
e3234b0fcb fix(agent): cover register rollback in storage conformance 2026-08-14 09:20:20 +02:00
David Brailovsky
76bb78c6b3 feat(agent): split session repo conformance by capability 2026-08-14 09:14:46 +02:00
David Brailovsky
69c7f1fea2 feat(agent): simplify session repo conformance setup 2026-08-14 09:14:46 +02:00
Cristina Poncela Cubeiro
14b5aaa213 refactor(storage-state): extract commit helpers 2026-08-13 18:07:03 +02:00
David Brailovsky
08ef22c276 feat(agent): organize JSONL storage modules 2026-08-13 15:52:24 +02:00
David Brailovsky
d957f808d4 feat(agent): discard torn JSONL transaction tails
Drop an unterminated final line on open and rewrite the kept prefix before admitting writes. Complete malformed lines stay corruption.
2026-08-13 15:23:32 +02:00
David Brailovsky
fdb8181de0 refactor(agent): share in-memory storage state
Extract transaction preparation, invariant checks, projections, and queries for reuse by Memory and JSONL storage.
2026-08-13 13:45:08 +02:00
David Brailovsky
9c1b446870 feat(agent): add format-4 JSONL storage
Add FileSystem-backed transaction persistence, replay, and storage conformance coverage.
2026-08-13 11:36:19 +02:00
Christian Klotz
8718fbea77
feat(agent): add session storage benchmarks
Add reusable timing, loaded-footprint, and allocation workloads and runners. Index memory entries by sequence so limited scans can stop early.
2026-08-13 10:40:43 +03:00
Mario Zechner
686e6d7cdc fix(agent): gate harness tool execution 2026-08-13 09:29:38 +02:00
Mario Zechner
9d5d9e4fab feat(agent): add harness execution primitives 2026-08-13 00:26:05 +02:00
Christian Klotz
d0d70d9bbc
fix(agent): complete session acceptance coverage 2026-08-12 23:38:22 +03:00
Christian Klotz
a51cde3b48
fix(agent): align context projection contract 2026-08-12 23:03:11 +03:00
Christian Klotz
dbae7ec9f3
Add comment 2026-08-12 22:26:13 +03:00
Mario Zechner
0815e45890 feat(agent): add guarded session mutations 2026-08-12 20:51:47 +02:00
Christian Klotz
678732ccf6
fix(agent): enforce durable assistant message handling 2026-08-12 19:36:43 +03:00
Mario Zechner
cf0102b9ce feat(agent): retain memory sessions across reopen 2026-08-12 17:41:55 +02:00
Christian Klotz
55214fada5
fix(agent): align storage decorator contract 2026-08-12 17:44:03 +03:00
Christian Klotz
025c4fb16d
feat(agent): add memory session repository 2026-08-12 17:43:14 +03:00
Christian Klotz
bec2ecec9d
feat(agent): add storage testing decorator 2026-08-12 17:40:11 +03:00
Mario Zechner
f6e396d142 refactor(agent): remove obsolete session context type 2026-08-12 15:49:18 +02:00