Projects Blog Tools Music Contact
← All Posts
Startup May 28, 2026

Shared Context Board: Where Miro, Notion, and AI Code Meet

By: Evgeny Padezhnov

Illustration for: Shared Context Board: Where Miro, Notion, and AI Code Meet

Most teams run three tools minimum for a single feature: a whiteboard for diagrams, a doc for specs, a terminal for code. Context dies in transit between them.

A shared context board fixes that. One surface holds the diagram, the spec, and the working code — all visible to humans and AI at the same time. Think Miro's canvas, Notion's structured blocks, and Claude Code's generation ability merged into a single open-source project.

The idea sounds ambitious. The implementation is surprisingly modular.

The Problem: Context Fragmentation Kills Velocity

According to IAPM research, 86% of executives believe they cannot make the most of their teams due to poor collaboration practices. The bottleneck is not talent. It is fragmented context.

A typical feature workflow looks like this:

  1. Product manager draws a flow in Miro.
  2. Designer adds mockups in Figma.
  3. Developer reads a spec in Notion.
  4. Developer writes code in VS Code.
  5. AI assistant sees only the code — not the diagram, not the spec.

Every handoff loses information. The AI assistant has zero visibility into steps 1 and 2. The product manager has zero visibility into step 4.

As noted in DX's analysis of collaboration tools, for leaders in 2026, "the metric of success isn't how much your team is talking. It's how much they can ship without having to stop and ask for directions." Shared context is the mechanism. Not more meetings. Not more Slack messages.

Key point: the real cost of fragmented tools is not subscription fees. It is the re-explanation tax paid every time context crosses a tool boundary.

What a Shared Context Board Actually Is

In plain terms: a shared context board is an infinite canvas where every block — text, diagram, code, data — lives in one unified document. Humans edit visually. AI reads the full board as structured context.

Three layers make it work:

The Canvas Layer

An infinite 2D surface. Users place blocks anywhere — freeform, like Miro. Drag a database schema next to an API spec next to a sequence diagram. Spatial arrangement carries meaning. Related items cluster together.

Building a real-time collaborative canvas is harder than it looks. As noted in a DEV Community walkthrough, "underneath it is a constant stream of concurrent edits, conflicting updates, and shared state that has to stay consistent for everyone at the same time." CRDTs (Conflict-free Replicated Data Types) solve the sync problem. Every edit resolves deterministically without a central server arbitrating conflicts.

The Structure Layer

Unlike a pure whiteboard, each block has a type and schema. A code block knows its language. A task block tracks status. A schema block understands tables and relationships. Notion pioneered this idea with typed blocks — paragraphs, databases, toggles, callouts. The shared context board borrows the concept but removes the page-based hierarchy.

Blocks are flat. Hierarchy emerges from spatial grouping and explicit links, not from nested pages nobody navigates.

The AI Layer

Here is where things diverge from existing tools. The entire board — every block, every connection, every annotation — serializes into a context payload. An AI model reads all of it at once. Not just the current file. Not just the selected text. The full project surface.

The AI can then:

Tested in production: feeding a full board context (spec + schema + existing code) to a large-context model produces significantly better results than feeding code alone. The model stops guessing at intent because intent is right there on the board.

Why Existing Tools Cannot Do This

Miro has AI features. Notion has AI. Cursor has codebase indexing. None of them span the full loop.

Miro

Excellent canvas. Rich real-time collaboration — Boardmix reports up to 500 simultaneous users on similar platforms. But Miro treats code as text on sticky notes. No syntax highlighting, no execution, no type awareness. The AI features summarize boards. They do not generate working code from board context.

Notion

Excellent structured documents. Databases, relations, rollups — powerful for specs and project management. But no canvas. Content lives in pages, not on a spatial surface. Developers cannot see the schema next to the API contract next to the deployment diagram. Context is spread across dozens of nested pages.

Claude Code / Cursor / AI Coding Tools

Excellent code generation. Cursor, as noted by DX, "aids collaboration by allowing developers to share indexed codebase context" and enables multi-file refactoring. But these tools see code and terminal output. They do not see the product spec. They do not see the architecture diagram. They operate in a context silo.

Common mistake: teams try to solve the context problem by pasting specs into AI chat. That is manual context injection. It does not scale, it gets stale, and nobody maintains pasted context.

A shared context board makes the context live. When someone updates the diagram, the AI sees the updated diagram. No copy-paste pipeline required.

Architecture of an Open-Source Shared Context Board

The modular approach works best here. Four independent systems communicate through a shared state layer.

1. Canvas Engine

Built on HTML5 Canvas or WebGL. Handles pan, zoom, selection, drag-and-drop. The rendering layer is deliberately thin — it draws whatever the state layer tells it to.

canvas-engine/
├── renderer.ts        # WebGL drawing
├── input-handler.ts   # Mouse, touch, keyboard
├── viewport.ts        # Pan, zoom, culling
└── selection.ts       # Multi-select, lasso

Performance target: 60fps with 10,000+ blocks on screen. Achievable with frustum culling — only render blocks visible in the current viewport.

2. Block System

Each block type is a plugin. Adding a new block type does not touch core code.

interface Block {
  id: string;
  type: 'code' | 'text' | 'schema' | 'diagram' | 'task' | 'image';
  position: { x: number; y: number };
  size: { width: number; height: number };
  content: BlockContent;
  connections: string[]; // IDs of linked blocks
}

Pre-built block types:

The DEV Community article confirms the modular approach: "the pieces are modular enough that extending it is mostly additive... most of these would be new node types or toolbar additions rather than architectural changes."

3. Sync Engine

CRDT-based real-time sync. Every operation (insert, update, delete, move) is a CRDT operation. No operational transform, no central conflict resolution.

sync-engine/
├── crdt.ts            # Yjs or Automerge integration
├── websocket.ts       # Real-time transport
├── persistence.ts     # Save to disk / database
└── awareness.ts       # Live cursors, selections

Live cursors and presence indicators are mandatory. Users need to see who is looking at what. This is a solved problem — libraries like Yjs handle it with minimal setup.

4. AI Bridge

The critical differentiator. The AI bridge serializes the board state into a context-optimized format and sends it to a language model.

function serializeBoard(board: Board): string {
  const sections = board.blocks
    .sort(spatialSort)    // Left-to-right, top-to-bottom
    .map(block => ({
      type: block.type,
      content: block.content,
      linkedTo: block.connections.map(id => board.blocks.find(b => b.id === id)?.type)
    }));

  return JSON.stringify(sections, null, 2);
}

Key point: spatial sorting matters. Blocks arranged left-to-right on the canvas should appear in that order in the serialized context. The AI interprets sequence. Jumbled serialization produces jumbled results.

The bridge exposes two operations:

When the AI generates a code block, it appears on the board next to the spec that prompted it. When it suggests a schema change, the schema block updates in place.

Real-Time Collaboration: The Hard Part

Single-user boards are trivial. Multi-user boards with AI participation are not.

Three problems surface immediately:

Conflict Resolution

Two users edit the same code block. A CRDT merges character-level edits automatically. But what if user A deletes a function while user B is editing it? CRDTs preserve both operations — the function reappears with B's edits, and A's deletion is marked as a tombstone. The UI shows a conflict indicator. Humans resolve intent conflicts. CRDTs resolve data conflicts.

AI Write Contention

The AI generates a code block while a user is typing in the same block. Solution: AI writes always create new blocks or apply as suggestions (diff overlays). The AI never overwrites human input directly. Suggestions appear as a ghost layer — accept or dismiss.

Presence at Scale

With even 10 users on a large board, cursor spam becomes noise. Solution: only show cursors for users in the current viewport. Group distant cursors into avatars on the board edge, pointing toward their location.

In practice, teams of 3-7 get the most value from a shared context board. Larger groups split into sub-boards linked by portals.

Practical Workflow: Feature Development on a Shared Context Board

Here is a concrete scenario. A team builds a payment integration.

Step 1: Product manager places a text block with requirements. Drags it to the left side of the board. Adds a diagram block with the user flow (Mermaid syntax).

graph LR
  A[User selects plan] --> B[Checkout page]
  B --> C{Payment method}
  C --> D[Stripe]
  C --> E[PayPal]
  D --> F[Confirmation]
  E --> F

Step 2: Developer places a schema block to the right. Defines the payments table:

CREATE TABLE payments (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  user_id UUID NOT NULL REFERENCES users(id),
  amount_cents INTEGER NOT NULL,
  currency VARCHAR(3) NOT NULL DEFAULT 'USD',
  provider VARCHAR(20) NOT NULL,
  status VARCHAR(20) NOT NULL DEFAULT 'pending',
  created_at TIMESTAMPTZ DEFAULT now()
);

Step 3: AI reads the board. It sees the user flow, the requirements, and the schema. It generates a code block with the payment handler:

async function processPayment(
  userId: string,
  amountCents: number,
  provider: 'stripe' | 'paypal'
): Promise<Payment> {
  const payment = await db.query(
    `INSERT INTO payments (user_id, amount_cents, currency, provider)
     VALUES ($1, $2, 'USD', $3) RETURNING *`,
    [userId, amountCents, provider]
  );

  if (provider === 'stripe') {
    await stripe.charges.create({
      amount: amountCents,
      currency: 'usd',
      customer: await getStripeCustomer(userId),
    });
  }

  return payment.rows[0];
}

The AI block appears next to the schema block. The product manager sees the code. The developer sees the spec. Everyone sees the same board.

Step 4: Code review happens on the board. Comments attach to specific blocks. The developer edits the code block directly. Changes sync in real time. The AI watches for spec violations.

No context switch. No "let me pull up the spec." No "what was the schema again?"

The Open-Source Advantage

Proprietary collaboration tools lock context inside their platform. As noted in MockFlow's analysis, some whiteboarding tools now offer offline-first approaches that "run locally, save files on your device, and give full control of your data." Open source takes that further.

Benefits of building a shared context board as open source:

If it works — it is correct. The measure of a collaboration tool is whether the team ships faster with it than without it. Open source enables rapid validation without procurement cycles.

Tech Stack That Works

For developers building a shared context board today, here is a proven stack:

Layer Tool Why
Canvas tldraw or excalidraw core Battle-tested rendering, open source
CRDT yjs Fastest CRDT library, WebSocket + WebRTC
Backend Node.js + hocuspocus Yjs server with persistence
Storage PostgreSQL + S3 Blocks in Postgres, assets in S3
AI Any OpenAI-compatible API Claude, GPT, local models via Ollama
Auth Better Auth or Lucia Lightweight, self-hostable

Try it: start with tldraw as the canvas engine. It already handles pan, zoom, selection, and custom shapes. Add Yjs for real-time sync. Build the AI bridge as a sidecar service that reads board state from the Yjs document.

npx create-tldraw-app my-context-board
cd my-context-board
npm install yjs y-websocket

The initial prototype — canvas with synced text blocks and one AI call — takes a weekend. Production-grade multi-user with all block types takes months. But the modular architecture means each block type is an independent effort.

What Does Not Work (Yet)

Honesty matters more than hype. Several aspects remain unsolved:

Common mistake: trying to build every block type before shipping. Start with three — text, code, diagram. Add more based on what users actually request.

What to Try Right Now

Pick one existing project — a feature in active development. Open a whiteboard tool (even Miro's free tier). Place the spec, the schema, and one code file side by side on the canvas.

Copy the entire canvas content into Claude or another large-context model. Ask it to review the code against the spec.

The quality difference compared to pasting just the code will be immediately obvious. That difference is what a shared context board automates and makes permanent.

The tools exist. The context window exists. The missing piece is the glue layer that keeps everything on one surface, synced in real time, readable by both humans and AI. That is what a shared context board provides.

Frequently Asked Questions

Can Claude Code integrate with CI/CD, version control, and observability platforms?

Claude Code operates primarily in the terminal and can interact with any CLI-based tool. Git, Docker, kubectl, CI runners — anything accessible from the command line is accessible to the model. A shared context board extends the integration surface by exposing non-code artifacts (specs, diagrams) as additional context.

How can AI be transformed from a tool that answers questions into an active collaborator that accesses boards to generate working code?

The AI bridge layer is the mechanism. Instead of sending the AI a chat message, the board serializes its full state — text blocks, schema blocks, diagram blocks — into structured context. The AI reads the board, generates output, and writes new blocks back. The result is a feedback loop, not a Q&A session.

Do teams need coding knowledge to use a shared context board?

Non-technical team members work with text blocks, diagram blocks, and task blocks. They never touch code blocks directly. The spatial layout means everyone contributes context in their preferred format. The AI synthesizes across all formats. According to DX's research, tools like GitHub Copilot already allow "non-technical stakeholders, like Product Managers, to use voice and image prompting to scaffold features directly."

How do trusted tools work without needing confirmation in Claude Code?

In Claude Code, the --allowedTools flag or the settings.json configuration file controls which tools run without user confirmation. For a shared context board integration, the AI bridge would be registered as a trusted tool — allowing read and write operations on the board without manual approval for each action.

Information is accurate as of the publication date. Terms, prices, and regulations may change — verify with relevant professionals.

✦ Squeeze AI
  1. The real cost of fragmented tools is not subscription fees but the re-explanation tax paid every time context crosses a tool boundary — AI assistants see only code, never the upstream diagrams or specs that motivated it.
  2. A shared context board combines an infinite canvas, typed structured blocks, and AI access to the full board — so the AI reasons over diagrams and specs, not just code snippets.
  3. Real-time collaboration on a shared canvas requires CRDTs (Conflict-free Replicated Data Types) so concurrent edits resolve deterministically without a central arbitrating server.

Powered by B1KEY