Commit graph

321 commits

Author SHA1 Message Date
Mario Zechner
10d1ad621f feat: add transactional replicated state 2026-09-21 16:07:59 +02:00
Mario Zechner
b5ef419d5b docs(agent): restore non-Pico5 documentation 2026-09-18 13:48:19 +02:00
Mario Zechner
0801601621 feat(durable): move Pico into dedicated package 2026-09-18 13:39:09 +02:00
Mario Zechner
cf8d5fac30 feat(agent): add Pico storage foundation 2026-09-18 12:32:00 +02:00
Mario Zechner
729d5cb74d docs(agent): finalize Pico5 specification set 2026-09-17 14:57:03 +02:00
Mario Zechner
2b04ce27fb docs(agent): refine Pico5 plugin state API 2026-09-17 11:24:54 +02:00
Mario Zechner
01528e2094 Merge remote-tracking branch 'origin/main' into pico 2026-09-16 17:58:54 +02:00
Armin Ronacher
9e05370b29
Mid conversation system messages (#9548)
This change makes system prompt text and tool changes part of the transcript rather than silently rewriting its starting conditions. This lets Pi record when instructions changed or tools became available, restore that state after resuming or navigating branches, and preserve cached prompt prefixes where the upstream supports it.
2026-09-16 15:54:07 +02:00
Mario Zechner
b02eef4186 docs(agent): specify Pico5 harness API 2026-09-15 19:27:23 +02:00
Mario Zechner
c8e4a5a552 docs(agent): finalize Pico5 architecture and presentation 2026-09-15 17:36:13 +02:00
Mario Zechner
56cd5989ea docs(agent): replace obsolete Pico prototypes with Pico5 design 2026-09-15 11:27:53 +02:00
Mario Zechner
46b66c59af feat(agent): add hardened pico3 kernel 2026-09-14 11:17:04 +02:00
Mario Zechner
9b2aff2c5b docs(agent): pico3: forbid AsyncLocalStorage; nested-line detection via Chord context key 2026-09-13 23:02:38 +02:00
Mario Zechner
09b031600d docs(agent): pico3 review decisions: revision, visibility, memos, waiting, reload
- Envelope carries a contiguous per-watch revision; storage Seq stays internal;
  Chord bridge publishes off the line through a bounded ordered adapter
- Namespaces reach the view only through a declared view projection; memos and
  slot working state are never in the view
- memoOnce uses property presence; memos are coordination/evidence, not
  exactly-once; idempotency key before the effect
- Hooks bound to their namespace token; BeforeToolApi.waiting(ctx) is async;
  memo keys are (task, namespace, name)
- Reload: quiescent hold/reload/release, otherwise suspend/reopen; no handler
  withdrawal machinery in v1; Namespace.unregister
- pi.* entry names reject except pi.notice; config reset is an operation;
  generation failures run the final boundary and start successors
2026-09-13 22:49:14 +02:00
Mario Zechner
fd3b009d9f docs(agent): add pico3 view/events, plugins and hardening handoff
Canonical pico3 material under packages/agent/docs/pico/v3/:
- hardening-handoff.md: V3 hardening handoff with supersession table
- view-and-events.md: single view document, ops by path, named events,
  commit-by-commit mapping, Codex mapping, watchers and late joiners
- plugins.md: harness registration surface, durable primitives, extension
  points with examples, reload contract, Chord facet layer
- harness-v3.zip: baseline sketch backup (sha256 1c69c5c5...fbe7)
2026-09-13 22:38:07 +02:00
Mario Zechner
a9930d2857 docs(agent): correct pico v2 foundation contracts 2026-09-13 04:01:44 +02:00
Mario Zechner
99a3948c4c docs(agent): define pico v2 kernel contract 2026-09-13 02:20:26 +02:00
Mario Zechner
d11c4b7281 docs(agent): simplify pico scheduling and core task model 2026-09-12 22:31:03 +02:00
Mario Zechner
7a2647f32a docs(agent): define pico state tasks and tool boundaries 2026-09-12 01:20:49 +02:00
Mario Zechner
f467cf7068 feat(agent): add pico compile-time foundation 2026-09-12 00:02:58 +02:00
Mario Zechner
4819cc877e docs(agent): add approved pico implementation handoff 2026-09-11 21:49:53 +02:00
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
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
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
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
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
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
Mario Zechner
e26afb63a4 fix(agent): retain settled tools until placement 2026-09-02 17:53:25 +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