Build an M-Agent + N-Human Cooperative IDE in Rust gpui
Activation boundary: use this when editor collaboration or recovery needs a decision across UI, CRDT, claims, and transport. A bounded pane, transition, or shader change can activate its owning sibling directly. This entry is the cross-layer architecture and authority contract, not a required wrapper for every visual edit.
This is the capstone: the whole-system skill for building the Harbor — an editor where M autonomous agents and N humans edit the same files at once, as co-equal replicas, on a native Rust gpui shell, governed by a daemon that already exists. It is an index/orchestration skill: it holds the architecture and dispatches each slice into the sibling rust skills. The thesis (from the battle plan) is the critical wall: make the CRDT governable — Loro merges bytes, claims govern intent, the harbor card decides who may write the region at all.
DEPENDS ON (pull these as you work)
| Sibling skill |
Pull it when you're working on… |
| gpui-rust-console |
the shell itself — core/pd-console's mux/Workspace pane tree, the render-agnostic Pane/Surface contract, or the reqwest↔smol refresh pipeline the Harbor is built on top of. |
| rust-gpui-motion |
any transition/animation — pane expand, board/hop, the spawn→fullscreen→diff flow, presence pulses. The no-transform constraint lives here. |
| gpui-shaders |
bespoke GPU surfaces — the living-harbor water, dithered chrome, sonar sweep, biofield. |
| sound-design-and-audio |
the fleet audio cues (board/steer/hop/approve/fail) and how to ship them in Rust. |
| beautiful-gui-design |
the visual system — hierarchy, semantic tokens, light/dark, contrast, the 8pt grid, a11y. |
| vello-parley-rendering / metal-text-pipeline |
vector viz + bare-metal text/glyph rendering when you go below the widget layer. |
Plus the canon docs: docs/strategy/harbor-editor-battle-plan.md (the spine) and docs/design/harbor-interaction-model.md (the Quay/board/steer interaction).
When to Use
- Building any part of the cooperative IDE / Harbor editor.
- Adding a new collaborative surface (editor, Quay, transcript, diff, commission).
- Wiring agents-as-peers, claims/conflict UX, salvage, or a harbor transport.
NOT for
- A single, non-collaborative gpui screen — compose the sibling skills directly.
- Web-based collaborative editors (different stack).
- Non-editor apps.
Decision Points
flowchart TD
A[Working on the coop IDE] --> B{Which layer?}
B -->|The FACE: panes, surfaces, interaction| L1[Layer 1 gpui shell → rust-gpui-motion, gpui-shaders, sound, beautiful-gui-design + ref 02]
B -->|The TEXT: buffer, replicas, presence| L2[Layer 2 editor core on Loro → ref 03]
B -->|GOVERNANCE: claims, guard, salvage| L3[Layer 3 coordination kernel = the daemon → ref 03]
B -->|The WATER: LAN/shared/remote| L4[Layer 4 transport behind SyncTransport → ref 01/04]
L1 --> P[Pick the phase in the roadmap → ref 04]
L2 --> P
L3 --> P
L4 --> P
Core Rules
- Governable CRDT. Loro v1.13.x is the buffer; a claim is a presence range the guard can refuse to merge across. Bytes merge automatically; intent is governed above the CRDT.
- Actors and replicas are distinct. Bind a verified principal to a distinct device/session incarnation. Never derive a PeerID from a principal or display name alone: two devices must not reuse one operation counter. DocumentRef, not an absolute path, identifies a shared document. Names are labels, not verification.
- Claims govern intent, not bytes. "Merges cleanly" ≠ "merges correctly". Enforce direct claim violations. Semantic intersection allegations remain advisory unless an authorized policy explicitly creates a gate; similarity or an unconfirmed prediction cannot block human editing by itself.
- Authoritative recovery is the target wedge, not current functionality. P3.5 requires daemon-owned typed receipts from sequence zero, sealed abandonment, canonical Rust Loro validation, and one atomic P3 claim transfer/token/provenance transaction. Current P2 snapshots,
/blob, notes, generic salvage, and apply_remote_ops cannot authorize it. Build the missing authorities; never simulate them.
- The daemon IS the collab server — no new sync backend. Loro Protocol rides the existing tube; the canonical editor-sync contract owns checkpoint/reconnect behavior, while P3.5 salvage uses separate daemon-owned typed operation receipts. Notes are provenance, never replay evidence.
- Topology behind a trait.
SyncTransport abstracts Shared (daemon HTTP+SSE) / LAN (iroh) / Remote (relay+E2E); the editor never knows which.
- Reuse without overstating. Layers 1, 3, and 4 assemble many shipped PD assets, but authoritative P3.5 editor recovery is still unimplemented. Layer 2's editor core and the missing recovery authorities remain real product work.
- One motion owner per surface (see rust-gpui-motion). No UI merges without visual artifacts in the test plan (screenshot + motion clip) — full stop.
Current Implementation Truth
The authenticated POST /editor/recovery/{request,prepare,replay,finalize} routes are registered security scaffolding, not a usable Harbor recovery pipeline. The P1 Rust operation-receipt producer, P1B, canonical Rust Loro recovery adapter, and P3 same-database released-claim transfer adapter remain unimplemented external gates. Daemon scope minting also lacks the required verified worktree root device/inode witness, and production does not yet provide the content-hash/parser-generation symbol lease or daemon file-mutation generation authority. Keep the public routes 503-gated until all authorities exist. Finalization must retain the descriptors and both leases through P3 transfer, persist the exact root/file device+inode, content hash, and generations, seal that hash in provenance as scope.canonical_content_hash, and consume the mutation lease in the same transaction. That lease excludes daemon-authorized writers, not arbitrary OS processes; later governed edits must reject any stale persisted witness. Canonical editor-owned provenance and its append-only outbox do not authorize replay. Any post-commit projection read, attempt-log write, or local publication-receipt failure must preserve canonical 200 success and return the stable outbox ID with a truthful pending reason; restart retries the same sink-deduplicated key until one local receipt exists. Without an atomically idempotent derived-note sink, no drain is scheduled and the outbox remains durably pending without churn; with one, bounded startup/periodic passes retry the exact key. Never fall back to sessions.addNote, and do not add migration compatibility for unshipped intermediate schemas.
Failure Modes
Anti-Pattern: "Agents as tools, not peers"
Symptom: agents are a side-panel that edits for the human; no shared cursor/claim/provenance.
Detection: agent edits don't appear as a replica in the buffer; no PeerID identity.
Fix: make every human/agent embodiment a distinct replica with verified principal/device/session provenance (ref 03). Do not hash a principal into one shared PeerID.
Anti-Pattern: "Trusting CRDT auto-merge for correctness"
Symptom: two actors edit the same symbol; it merges cleanly and silently produces wrong code.
Detection: no claim/conflict layer above Loro; no /conflicts/predict call.
Fix: claim-before-edit; predict overlap; render Conflicted band + nudge before any write (ref 03).
Anti-Pattern: "Building the editor before the coordination"
Symptom: a beautiful buffer with no claims/salvage — demos well, fails the moment two actors touch one file.
Detection: P1 buffer done, P3 claims/salvage indefinitely deferred.
Fix: the wedge IS coordination; sequence per the roadmap (ref 04); refuse the Potemkin editor.
Anti-Pattern: "Transport-first"
Symptom: weeks sunk into iroh/NAT traversal before the buffer or claims exist.
Detection: P4/P5 work happening before P1–P3.
Fix: abstract topology behind SyncTransport from day one but prove the buffer+coordination over the daemon bus first (ref 04).
Worked Example: add a collaborative surface end-to-end
Adding the Editor surface (battle plan P0→P1), composing the siblings:
- Shell (Layer 1) — add
SurfaceKind::Editor { path, region } to mux.rs; implement the object-safe Pane (one pane, two faces). Pull beautiful-gui-design for hierarchy/tokens, rust-gpui-motion for the open transition (no transform — layout-fraction zoom).
- Text (Layer 2) — reuse the existing
EditorPane and HarborBuffer; allocate a distinct replica incarnation, bind shared admission to verified principal/device/session authority, and route by DocumentRef. Never shell out to pd whoami or treat its label as verification.
- Governance (Layer 3) — claim the edited region;
/conflicts/predict; paint overlap Tone::Conflicted; guard the commit; record each validated operation in the typed salvage ledger.
- Polish — pull
gpui-shaders for the living-harbor water behind it; sound-design-and-audio for the board/approve cues.
- Land — visual artifacts (screenshot + a board→steer→diff clip) in the PR test plan, per the standing rule.
Quality Gates (phased)
Fork Guidance
Fork by layer: shell (ref 02 + the three visual siblings) · editor core (ref 03 / Loro) · coordination (ref 03 / daemon) · transport (ref 01/04). Keep the architecture (the four layers + the dependency map) in the parent so one actor owns coherence.
Reference Map
references/01-architecture-and-the-stack.md — the whole-system view: the four layers (gpui shell → Loro editor core → coordination kernel → transport), the dependency map onto the sibling skills, what's pivotal vs polish.
references/02-the-gpui-app-skeleton.md — structuring a large gpui app: the mux/Workspace pane tree, the Pane/Surface contract, SurfaceKind variants, the refresh→channel→view pipeline; how to add a surface end-to-end.
references/03-collaboration-coordination-salvage.md — the heart: agents+humans as co-equal Loro replicas, presence-as-claims, the daemon as collab server, conflict UX, agents-as-peers via MCP, salvage; the M×N model + three harbor topologies.
references/04-build-order-and-composing-the-skills.md — the phased roadmap (P0 skeleton → P1 buffer → P2 LAN → P3 agents+claims → P3.5 salvage → P4 shared → P5 remote+viz), each phase naming which sibling skill it pulls; the "you are here / read next" map.
Sibling skills (dependencies): gpui-rust-console, rust-gpui-motion, gpui-shaders, sound-design-and-audio, beautiful-gui-design, vello-parley-rendering, metal-text-pipeline.
Skill Bundle Index
Every file in this skill, and when to open it. Auto-generated; run scripts/index_references.py --fix.
root
CHANGELOG.md — UbuildUcoopUideUgpui — Changelog — - Brought to the agentic-family standard: added io-contract/provenance/pairs-with frontmatter - Added a deterministic audit helper (ma
examples/
examples/sample-input.json — sample input (data/schema)
references/
references/01-architecture-and-the-stack.md — Architecture & The Stack — The Whole-System View — This is the central wall of the capstone.
references/02-the-gpui-app-skeleton.md — The gpui App Skeleton — > Capstone reference 02 of the "Build an M-Agent + N-Human Cooperative IDE in Rust gpui" skill. > This is the structural chapter: how
references/03-collaboration-coordination-salvage.md — Collaboration, Coordination & Salvage — the heart of the M×N IDE — This is the capstone's decisive chapter.
references/04-build-order-and-composing-the-skills.md — Build Order & Composing the Skills — This is the index card for the whole capstone.
schemas/
schemas/coop-ide-plan.schema.json — coop ide plan.schema (data/schema)
scripts/
scripts/coop_ide_audit.mjs
1---2license: Apache-2.03name: build-coop-ide-gpui-24description: 'Plan or audit the cross-layer Harbor cooperative editor: Loro replicas for humans and agents, governed edit claims, salvage authority, and transport across shared, LAN, and remote harbors. Use when a change spans editor collaboration, identity, recovery, or transport contracts. For a single GPUI pane use gpui-rust-console; for motion use rust-gpui-motion; for a shader use gpui-shaders. NOT for non-collaborative screens, web editors, or generic Rust development.'5allowed-tools: Read,Write,Edit,Bash,Grep,Glob6metadata:7 source: https://skillmd.com/skills/curiositech/build-coop-ide-gpui-28 provenance:9 kind: first-party10 owners: [port-daddy]11 pairs-with:12 - skill: rust-gpui-motion13 reason: Owns every pane/board/hop transition and the no-transform constraint the coop-IDE shell composes for open/claim/conflict animations.14 - skill: gpui-shaders15 reason: Supplies the bespoke GPU surfaces (living-harbor water, dithered chrome, sonar sweep) the Harbor's visual-polish layer pulls in.16 - skill: vello-parley-rendering17 reason: Vector viz and Parley text layout for salvage/replica visualizations above the widget layer.18 - skill: metal-text-pipeline19 reason: Bare-metal glyph/text rendering when a coop-IDE surface drops below GPUI's text widget.20 - skill: gpui-rust-console21 reason: The Harbor's gpui shell (mux/Workspace pane tree, render-agnostic Pane/Surface contract) IS pd-console; this is the authoritative skill for that base app.22 io-contract:23 kind: deliverable24 consumes:25 - kind: feature-or-surface-requirement26 format: markdown27 description: A request to build or extend a cooperative-IDE feature or surface (e.g. "add a collaborative diff surface", "wire salvage for the editor pane") as reported by a human or another agent.28 - kind: coop-ide-architecture-plan29 format: json30 description: A structured plan describing the actors, claims/conflict handling, salvage, daemon-as-collab-server, transport topology, and sibling-skill composition for a coop-IDE surface, matching schemas/coop-ide-plan.schema.json.31 produces:32 - kind: phased-build-plan33 format: markdown34 description: A build plan sequenced by this skill's four layers and phased roadmap (P0 skeleton -> P5 remote+viz), citing which sibling skill each phase pulls (rust-gpui-motion, gpui-shaders, vello-parley-rendering, metal-text-pipeline, gpui-rust-console).35 - kind: architecture-audit-report36 format: json37 description: A deterministic pass/fail audit of a coop-ide-architecture-plan against this skill's phased Quality Gates and four anti-patterns, as produced by scripts/coop_ide_audit.mjs.38---3940# Build an M-Agent + N-Human Cooperative IDE in Rust gpui4142**Activation boundary:** use this when editor collaboration or recovery needs a decision across UI, CRDT, claims, and transport. A bounded pane, transition, or shader change can activate its owning sibling directly. This entry is the cross-layer architecture and authority contract, not a required wrapper for every visual edit.4344This is the **capstone**: the whole-system skill for building the Harbor — an editor where **M autonomous agents and N humans edit the same files at once, as co-equal replicas**, on a native Rust gpui shell, governed by a daemon that already exists. It is an **index/orchestration** skill: it holds the architecture and dispatches each slice into the sibling rust skills. The thesis (from the battle plan) is the critical wall: *make the CRDT governable — Loro merges bytes, claims govern intent, the harbor card decides who may write the region at all.*4546## DEPENDS ON (pull these as you work)4748| Sibling skill | Pull it when you're working on… |49|---|---|50| **gpui-rust-console** | the shell itself — `core/pd-console`'s mux/Workspace pane tree, the render-agnostic `Pane`/`Surface` contract, or the reqwest↔smol refresh pipeline the Harbor is built on top of. |51| **rust-gpui-motion** | any transition/animation — pane expand, board/hop, the spawn→fullscreen→diff flow, presence pulses. The no-transform constraint lives here. |52| **gpui-shaders** | bespoke GPU surfaces — the living-harbor water, dithered chrome, sonar sweep, biofield. |53| **sound-design-and-audio** | the fleet audio cues (board/steer/hop/approve/fail) and how to ship them in Rust. |54| **beautiful-gui-design** | the visual system — hierarchy, semantic tokens, light/dark, contrast, the 8pt grid, a11y. |55| **vello-parley-rendering** / **metal-text-pipeline** | vector viz + bare-metal text/glyph rendering when you go below the widget layer. |5657Plus the canon docs: `docs/strategy/harbor-editor-battle-plan.md` (the spine) and `docs/design/harbor-interaction-model.md` (the Quay/board/steer interaction). <!-- cite-exempt: forward design+build target of this capstone skill (harbor-editor track); not a file in this bundle -->5859## When to Use6061- Building any part of the cooperative IDE / Harbor editor.62- Adding a new collaborative surface (editor, Quay, transcript, diff, commission).63- Wiring agents-as-peers, claims/conflict UX, salvage, or a harbor transport.6465## NOT for6667- A single, non-collaborative gpui screen — compose the sibling skills directly.68- Web-based collaborative editors (different stack).69- Non-editor apps.7071## Decision Points7273```mermaid74flowchart TD75 A[Working on the coop IDE] --> B{Which layer?}76 B -->|The FACE: panes, surfaces, interaction| L1[Layer 1 gpui shell → rust-gpui-motion, gpui-shaders, sound, beautiful-gui-design + ref 02]77 B -->|The TEXT: buffer, replicas, presence| L2[Layer 2 editor core on Loro → ref 03]78 B -->|GOVERNANCE: claims, guard, salvage| L3[Layer 3 coordination kernel = the daemon → ref 03]79 B -->|The WATER: LAN/shared/remote| L4[Layer 4 transport behind SyncTransport → ref 01/04]80 L1 --> P[Pick the phase in the roadmap → ref 04]81 L2 --> P82 L3 --> P83 L4 --> P84```8586## Core Rules8788- **Governable CRDT.** Loro v1.13.x is the buffer; a **claim is a presence range the guard can refuse to merge across**. Bytes merge automatically; *intent* is governed above the CRDT.89- **Actors and replicas are distinct.** Bind a verified principal to a distinct device/session incarnation. Never derive a PeerID from a principal or display name alone: two devices must not reuse one operation counter. DocumentRef, not an absolute path, identifies a shared document. Names are labels, not verification.90- **Claims govern intent, not bytes.** "Merges cleanly" ≠ "merges correctly". Enforce direct claim violations. Semantic intersection allegations remain advisory unless an authorized policy explicitly creates a gate; similarity or an unconfirmed prediction cannot block human editing by itself.91- **Authoritative recovery is the target wedge, not current functionality.** P3.5 requires daemon-owned typed receipts from sequence zero, sealed abandonment, canonical Rust Loro validation, and one atomic P3 claim transfer/token/provenance transaction. Current P2 snapshots, `/blob`, notes, generic salvage, and `apply_remote_ops` cannot authorize it. Build the missing authorities; never simulate them.92- **The daemon IS the collab server** — no new sync backend. Loro Protocol rides the existing tube; the canonical editor-sync contract owns checkpoint/reconnect behavior, while P3.5 salvage uses separate daemon-owned typed operation receipts. Notes are provenance, never replay evidence.93- **Topology behind a trait.** `SyncTransport` abstracts Shared (daemon HTTP+SSE) / LAN (iroh) / Remote (relay+E2E); the editor never knows which.94- **Reuse without overstating.** Layers 1, 3, and 4 assemble many shipped PD assets, but authoritative P3.5 editor recovery is still unimplemented. Layer 2's editor core and the missing recovery authorities remain real product work.95- **One motion owner per surface** (see rust-gpui-motion). **No UI merges without visual artifacts** in the test plan (screenshot + motion clip) — full stop.9697## Current Implementation Truth9899The authenticated `POST /editor/recovery/{request,prepare,replay,finalize}` routes are registered security scaffolding, not a usable Harbor recovery pipeline. The P1 Rust operation-receipt producer, P1B, canonical Rust Loro recovery adapter, and P3 same-database released-claim transfer adapter remain unimplemented external gates. Daemon scope minting also lacks the required verified worktree root device/inode witness, and production does not yet provide the content-hash/parser-generation symbol lease or daemon file-mutation generation authority. Keep the public routes 503-gated until all authorities exist. Finalization must retain the descriptors and both leases through P3 transfer, persist the exact root/file device+inode, content hash, and generations, seal that hash in provenance as `scope.canonical_content_hash`, and consume the mutation lease in the same transaction. That lease excludes daemon-authorized writers, not arbitrary OS processes; later governed edits must reject any stale persisted witness. Canonical editor-owned provenance and its append-only outbox do not authorize replay. Any post-commit projection read, attempt-log write, or local publication-receipt failure must preserve canonical 200 success and return the stable outbox ID with a truthful pending reason; restart retries the same sink-deduplicated key until one local receipt exists. Without an atomically idempotent derived-note sink, no drain is scheduled and the outbox remains durably pending without churn; with one, bounded startup/periodic passes retry the exact key. Never fall back to `sessions.addNote`, and do not add migration compatibility for unshipped intermediate schemas.100101## Failure Modes102103### Anti-Pattern: "Agents as tools, not peers"104**Symptom**: agents are a side-panel that edits *for* the human; no shared cursor/claim/provenance.105**Detection**: agent edits don't appear as a replica in the buffer; no PeerID identity.106**Fix**: make every human/agent embodiment a distinct replica with verified principal/device/session provenance (ref 03). Do not hash a principal into one shared PeerID.107108### Anti-Pattern: "Trusting CRDT auto-merge for correctness"109**Symptom**: two actors edit the same symbol; it merges cleanly and silently produces wrong code.110**Detection**: no claim/conflict layer above Loro; no `/conflicts/predict` call.111**Fix**: claim-before-edit; predict overlap; render `Conflicted` band + nudge before any write (ref 03).112113### Anti-Pattern: "Building the editor before the coordination"114**Symptom**: a beautiful buffer with no claims/salvage — demos well, fails the moment two actors touch one file.115**Detection**: P1 buffer done, P3 claims/salvage indefinitely deferred.116**Fix**: the wedge IS coordination; sequence per the roadmap (ref 04); refuse the Potemkin editor.117118### Anti-Pattern: "Transport-first"119**Symptom**: weeks sunk into iroh/NAT traversal before the buffer or claims exist.120**Detection**: P4/P5 work happening before P1–P3.121**Fix**: abstract topology behind `SyncTransport` from day one but prove the buffer+coordination over the daemon bus first (ref 04).122123## Worked Example: add a collaborative surface end-to-end124125Adding the **Editor** surface (battle plan P0→P1), composing the siblings:1261. **Shell (Layer 1)** — add `SurfaceKind::Editor { path, region }` to `mux.rs`; implement the object-safe `Pane` (one pane, two faces). *Pull `beautiful-gui-design`* for hierarchy/tokens, *`rust-gpui-motion`* for the open transition (no transform — layout-fraction zoom).1272. **Text (Layer 2)** — reuse the existing `EditorPane` and `HarborBuffer`; allocate a distinct replica incarnation, bind shared admission to verified principal/device/session authority, and route by DocumentRef. Never shell out to `pd whoami` or treat its label as verification.1283. **Governance (Layer 3)** — claim the edited region; `/conflicts/predict`; paint overlap `Tone::Conflicted`; guard the commit; record each validated operation in the typed salvage ledger.1294. **Polish** — *pull `gpui-shaders`* for the living-harbor water behind it; *`sound-design-and-audio`* for the `board`/`approve` cues.1305. **Land** — visual artifacts (screenshot + a board→steer→diff clip) in the PR test plan, per the standing rule.131132## Quality Gates (phased)133134- [ ] Every actor is a Loro replica with a PD identity + provenance (agents = peers).135- [ ] Claims/`/conflicts/predict` gate edits; logical conflict is surfaced, never silently merged.136- [ ] Salvage implemented (dead-replica op-log replays; claim inherits) — not deferred away.137- [ ] Daemon is the collab server (no new sync backend); topology behind `SyncTransport`.138- [ ] Build order respected (buffer+coordination before transport polish).139- [ ] Each surface composes the right siblings (motion/shaders/audio/visual-system).140- [ ] No UI merge without visual artifacts in the test plan.141142## Fork Guidance143144Fork by layer: **shell** (ref 02 + the three visual siblings) · **editor core** (ref 03 / Loro) · **coordination** (ref 03 / daemon) · **transport** (ref 01/04). Keep the architecture (the four layers + the dependency map) in the parent so one actor owns coherence.145146## Reference Map147148- `references/01-architecture-and-the-stack.md` — the whole-system view: the four layers (gpui shell → Loro editor core → coordination kernel → transport), the dependency map onto the sibling skills, what's pivotal vs polish.149- `references/02-the-gpui-app-skeleton.md` — structuring a large gpui app: the mux/Workspace pane tree, the `Pane`/`Surface` contract, `SurfaceKind` variants, the refresh→channel→view pipeline; how to add a surface end-to-end.150- `references/03-collaboration-coordination-salvage.md` — the heart: agents+humans as co-equal Loro replicas, presence-as-claims, the daemon as collab server, conflict UX, agents-as-peers via MCP, salvage; the M×N model + three harbor topologies.151- `references/04-build-order-and-composing-the-skills.md` — the phased roadmap (P0 skeleton → P1 buffer → P2 LAN → P3 agents+claims → P3.5 salvage → P4 shared → P5 remote+viz), each phase naming which sibling skill it pulls; the "you are here / read next" map.152153**Sibling skills (dependencies):** `gpui-rust-console`, `rust-gpui-motion`, `gpui-shaders`, `sound-design-and-audio`, `beautiful-gui-design`, `vello-parley-rendering`, `metal-text-pipeline`.154155<!-- BEGIN BUNDLE INDEX (auto: index_references.py) -->156157## Skill Bundle Index158159*Every file in this skill, and when to open it. Auto-generated; run `scripts/index_references.py --fix`.*160161**root**162- [`CHANGELOG.md`](CHANGELOG.md) — UbuildUcoopUideUgpui — Changelog — - Brought to the agentic-family standard: added `io-contract`/`provenance`/`pairs-with` frontmatter - Added a deterministic audit helper (ma163164**`examples/`**165- [`examples/sample-input.json`](examples/sample-input.json) — sample input (data/schema)166167**`references/`**168- [`references/01-architecture-and-the-stack.md`](references/01-architecture-and-the-stack.md) — Architecture & The Stack — The Whole-System View — This is the central wall of the capstone.169- [`references/02-the-gpui-app-skeleton.md`](references/02-the-gpui-app-skeleton.md) — The gpui App Skeleton — > *Capstone reference 02 of the "Build an M-Agent + N-Human Cooperative IDE in Rust gpui" skill.* > This is the **structural** chapter: how 170- [`references/03-collaboration-coordination-salvage.md`](references/03-collaboration-coordination-salvage.md) — Collaboration, Coordination & Salvage — the heart of the M×N IDE — This is the capstone's decisive chapter.171- [`references/04-build-order-and-composing-the-skills.md`](references/04-build-order-and-composing-the-skills.md) — Build Order & Composing the Skills — This is the **index card for the whole capstone**.172173**`schemas/`**174- [`schemas/coop-ide-plan.schema.json`](schemas/coop-ide-plan.schema.json) — coop ide plan.schema (data/schema)175176**`scripts/`**177- [`scripts/coop_ide_audit.mjs`](scripts/coop_ide_audit.mjs)178179<!-- END BUNDLE INDEX -->