pi-mono/packages/chord/docs
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
..
dependencies feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
durable-observers feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
flow-control feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
guide-plugins-hosts feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
http-workers feat(chord): workers start from the base code the server booted with 2026-11-04 21:18:17 +00:00
i18n feat(chord): messages and languages in the app kit (i18n) 2026-11-03 20:25:53 +00:00
p3-features feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
plugin-model feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
plugin-primer feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-7b feat(chord): remove Chord v1 (/old, /old/node), its tests and docs 2026-11-03 12:11:22 +00:00
store feat(chord): group commit in the store (decision S18) 2026-11-04 19:53:23 +00:00
theming feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
tutorial feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
benchmarks.md feat(chord): telemetry, spans across hosts (slice 9) 2026-11-04 10:02:48 +00:00
decisions.md docs(chord): decisions: restart-only reload with old work on old code, answers follow their state, app authoring rules 2026-11-05 10:31:23 +00:00
design.md feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
layer-1.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
layer-2.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
plugin-authoring.md feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
slice-1.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-2.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-3a.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-3b.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-4.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-4a.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-4b.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-5.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-6a.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-6b.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-7a.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-7b.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-7c.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-8.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-9.md docs(chord): slice 9 spec, telemetry with spans across hosts 2026-11-04 07:46:53 +00:00
slice-10.md fix(chord): recover worker links after a sleep or a lost link 2026-11-03 18:15:53 +01:00
slice-11.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-12.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slice-13.md feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
slices.md feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00