Status: Core Collaboration Doctrine & Architecture Specification
Target Audience: Sovereign developers, peer agent creators, external execution engines (e.g., free-code, zero, openclaude), and human collaborators.
Dizzy is architected as an auditable, local-first control plane, not a monolithic agent, companion, or IDE wrapper.
When external systems or peer projects collaborate with Dizzy, the interface must adhere to strict authority boundaries:
┌────────────────────────────────────────────────────────┐
│ DIZZY CONTROL PLANE │
│ • Trust-Zone Enforcement (private_self / outside) │
│ • Cognitive Council Arbitration (62-Model Roster) │
│ • Invariant Verification & Cryptographic Receipts │
│ • Friction Ledger & Trajectory Memory Distillery │
└──────────────────────────┬─────────────────────────────┘
│
Signed Receipts & Sealed Envelopes
(No shared cookies, No shared memory)
│
┌──────────────────────────▼─────────────────────────────┐
│ EXTERNAL EXECUTION NODES │
│ • free-code (Zero-telemetry terminal pairing) │
│ • Gitlawb / Zero (Decentralized commit signing) │
│ • Gitlawb / OpenClaude (MCP coordination seat) │
│ • Sandboxed Runners (Docker / Wasm / ephemeral tests) │
└────────────────────────────────────────────────────────┘
- Dizzy does not execute untrusted commands directly on the host. It plans, sanitizes, issues runbooks, and verifies receipts.
- External nodes do not govern policy. They execute tasks, run test suites, or provide interactive terminal UI, returning deterministic receipts to Dizzy.
- The Bridge is Cryptographic Receipts: Communication between Dizzy and execution nodes occurs exclusively via typed, schema-validated JSON envelopes (
dizzy.router_receipt.v1,dizzy.bounty_task.v1, HMAC-signed A2A payloads). - No Ambient Trust: There is no shared cookie/session state, no cross-process memory bleed, and no hidden filesystem trust.
When collaborating with peer open-source projects (such as freecodexyz/free-code or Gitlawb/zero):
- Zero Code Borrowing: Do not copy-paste code from external repositories into Dizzy, even from permissive licenses. Dizzy’s runtime is a clean-room implementation governed by its own verifiable invariants.
- No License Contamination: All external patterns must be translated into native Dizzy contracts (as documented in
BORROWED_PATTERNS.md) and verified againstscripts/external_pattern_license_audit_check.mjs. - Propose Interfaces, Not Hacks: If an external tool requires deeper integration, propose a schema extension or an A2A message bridge rather than modifying internal middleware.
Collaborators operate across explicit trust zones:
| Trust Zone | Intended Actor | Access Allowed | Access Prohibited |
|---|---|---|---|
private_self |
Local Operator | Full local access, internal memory wiki, private friction entries | Cloud telemetry, unredacted public export |
trusted_collaborator |
Peer Agents & Reviewers | Review packets, public diffs, test receipts, architectural audits | Operator private notes, proprietary domain data (e.g. PBM schemas) |
outside_contact |
Unverified External Nodes | Sealed bounty tasks, public issue ingestion, public A2A ping | Local loopback dashboard, internal memory, write authority |
paid_public |
External Client Run | Scoped session context, visible capability receipts | Durable memory storage, private repository retrieval |
A foundational lesson learned from the joint Codex + Antigravity operational loops:
System reliability increases when collaborating agents assume neither side possesses perfect continuity.
- Catch Leftovers & Overclaims: Every handoff between agents must be treated with mutual, respectful skepticism. Check git status, verify test matrices, and assert that dirty worktrees or missing docs are surfaced immediately.
- Handoff by Receipt, Not Narrative: Do not rely on conversational memory across session boundaries. Always link to commit SHAs, test receipts (
reviews/oss_council_verdict_latest.json), and verified diffs. - Friction is Data: When an agent misinterprets a boundary or fails a verification gate, log it directly into
reviews/or the friction ledger. Do not smooth over errors with polite prose.
If you are building an integration with Dizzy:
- Verify Your Environment: Run
npm run check:councilto confirm the local 56-suite matrix passes on your machine. - Review Borrowed Patterns: Read
BORROWED_PATTERNS.mdandCHOKEPOINTS.mdto ensure your proposed mechanism does not introduce dependency lock-in or extraction vectors. - Deliver Deterministic Evidence: Every PR or collaboration packet must include verifiable receipts, updated test fixtures under
scripts/, and an updated entry inNEXT.md.