pi-mono/packages/durable/test/examples
Mario Zechner 6eb99ad65b feat(chord): Chord v2 slice 8, registries and host.root
Registries: shared tokens (defineRegistry), one provider per host (host.serve(R, { compose, accepts })),
contributions from facets and host-lifetime objects, plain values or followed Chord watchables, a table
sorted by plugin, lazy compose in the batch that changed the table, failures left out and reported with
the last good value kept; self.registry as a declared dependency, host.registry outside objects, older
readers mapped by accepts[old].value; keyedEntries and orderedEntries. Native sources: self.writable,
registry values and ref.state. self.retryOn wakes failed objects on registry values. host.root gives code
outside objects a call scope sealed at settle, abort and host.close.

Durable: registryReader(value, context); a Session close ends synchronous observers failed
("session closed"), watches still end ended.
2026-10-28 21:34:56 +00:00
..
00-conversation.ts feat(durable): first runnable chat turn (Package 15) 2026-09-29 14:08:28 +02:00
01-documents.ts feat: checkpointWhen is required on Durable document definitions 2026-10-19 18:17:42 +00:00
02-forks.ts feat: checkpointWhen is required on Durable document definitions 2026-10-19 18:17:42 +00:00
03-owned-conversations.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
04-watches.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
05-harness.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
06-configuration.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
07-harness-conversations.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
08-context.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
09-registry-reload.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
10-extension-state.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
11-tasks.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
12-recovery.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
13-chat.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
14-system-prompt.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
15-real-model.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
16-coding-tools.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
17-print.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
18-json.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
19-inbox.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
20-late-join.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
21-subagent-foreground.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
22-subagent-background.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
23-child-tasks.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
24-compaction.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
25-coding-agent.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
26-plan-mode.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
27-reviewer.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
28-sandbox-per-conversation.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
29-tool-override.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
30-reload-and-restart.ts docs(durable): renumber examples 2026-10-22 10:56:50 +00:00
31-transcript.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00
32-tests-after-edits.ts feat(durable): run-end tasks with the afterRun hook 2026-10-28 14:03:25 +00:00
33-turn-limit-and-continue.ts docs(durable): examples for turn limits and continue, and admission inside a commit 2026-10-28 14:03:36 +00:00
34-submit-in-commit.ts docs(durable): examples for turn limits and continue, and admission inside a commit 2026-10-28 14:03:36 +00:00
35-durable-on-the-store.ts feat(chord,durable): Chord v2 slice 6b, Durable and jobs on the store 2026-10-28 19:18:30 +00:00
36-durable-views.ts feat(chord,durable): Chord v2 slice 6b, Durable and jobs on the store 2026-10-28 19:18:30 +00:00
37-harness-registry.ts feat(chord): Chord v2 slice 8, registries and host.root 2026-10-28 21:34:56 +00:00