pi-mono/packages/chord/test
Mario Zechner 20d86c3657 feat(p2): Chord v2 cleanup pass
p2 rewritten by the Chord v2 authoring rules (decision "App authoring rules confirmed
by the p2 audit"), in four parts merged together:
- core: session lifecycle (relocate, clone, fork, archive) and search rebuild are
  persisted jobs on a new server store; Sessions v6 with client-chosen ids and visible
  operations; Retry answers with the worker's real outcome; workers push branch,
  subagent and status state to the server; roots take the method's ctx.
- services: models, envs, ports, login, mcp, logs, sharing and voice follow external
  state (self.follow, followNative) instead of copy loops; methods answer after their
  state commits; presence from host.references.
- chat: chat mode, artifacts and prompt resources follow Durable and native state;
  shell commands are Chord jobs (shellId is the requestId); status pushed before
  send and stop answer; race-free draft claim.
- ui: optimistic updates on web (useOptimistic) and terminal (TuiScope.optimistic,
  extended in Chord with a reducer and a pending flag), pending states for long work,
  visible rollback, load waterfalls removed; merged with the one composer and
  immediate first send (ccff9876e) and the folder + button (5a31a6d5f).
docs/optimistic-ui.md describes the pattern.
2026-11-05 18:22:13 +00:00
..
bench feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
contracts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
data feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
delta-benchmark feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
delta-tracker fix(chord): Delta's tracker holds its one open change without a WeakRef 2026-10-27 23:46:11 +00:00
documents feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
examples feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
host feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
jobs feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
link feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
node feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
registries feat(chord): mistakes that wait are reported at once 2026-11-03 07:19:52 +00:00
remote feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
schema feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
sqlite feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
state feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
store feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
surfaces feat(chord): the reload suite, kit timeouts and base marks, four reload fixes 2026-11-04 16:47:07 +00:00
sync feat(storage): replication (#11696) 2026-11-05 12:03:16 +01:00
telemetry-ingest fix(chord): a page cannot claim chord.* attributes on its spans; tutorial layout 2026-11-04 12:13:07 +00:00
tui feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
boundary.test.ts feat(chord): Chord v1 and v2 on pi-schema, drop TypeBox 2026-11-01 10:15:02 +00:00
context.test.ts feat: Durable storage adopt callback inside the commit, watch types in Chord, explicit watch retirement 2026-10-22 10:52:59 +00:00
delta-append-text.test.ts feat(chord,durable): appendText for cheap string appends; Durable partial commits append instead of reassigning 2026-10-24 08:21:41 +00:00
delta-apply-immutable.test.ts perf(chord): cheaper container copies in Delta's tracker and applyImmutable 2026-10-24 16:56:53 +00:00
delta-clone.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
delta-diff.test.ts feat(chord): replace the facet and service runtime with the chord2 host runtime 2026-10-12 10:41:59 +00:00
delta-op-text-retention.test.ts fix(ai,chord,durable,coding-agent): parse streamed tool-call arguments incrementally (fixes #9265) 2026-10-24 08:00:07 +00:00
delta-pending.test.ts fix(chord): give the PendingOps fuzz tests room on loaded CI runners 2026-10-24 09:48:13 +00:00
delta-traversal.bench.ts feat(chord): optimize immutable batch application 2026-09-25 00:09:50 +02:00
delta.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
json.test.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
output-skip.test.ts feat(chord,durable): move OutputBuffer and Progress to @earendil-works/chord/output 2026-10-15 09:59:46 +00:00
output.test.ts fix(chord): remove whole ANSI escape sequences from tool output (#11607) 2026-10-30 12:17:49 +01:00
state-diff.test.ts feat(chord): replace the facet and service runtime with the chord2 host runtime 2026-10-12 10:41:59 +00:00
state-draft.test.ts refactor(chord): name things after the concepts; object variants; link protocol version; object lifetimes 2026-10-14 05:34:14 +00:00
state-fuzz.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
state-value.test.ts feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
support.ts feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
telemetry-sqlite-node.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
telemetry-sqlite-store.test.ts feat(chord): SqliteExecutor.runCounted resolves with the rows a statement changed 2026-10-27 08:54:53 +00:00
telemetry-sqlite.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
telemetry.test.ts feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
watch.test.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00