Working note · v0.3.0 · for builders

A sealed HTML memory object
for AI work worth preserving.

Single-file, self-contained, sealed at the moment work was done. Human-readable, machine-readable, and provenance-bearing in one object. LLMs, deterministic compilers, and human authors all produce the same envelope shape — that's the multi-producer interop story, and it's what makes capsules different from yet another save format.

Spec v0.3.0 · full spec v0.3.2 · 12 rules · 5 required blocks · 0 network deps

01 · WHAT'S ALREADY HAPPENING

The substrate has settled.

Claude, ChatGPT, Gemini, and Codex all default to producing self-contained HTML files for rich output. Plans. Specs. Mockups. Briefings. Dashboards. The files open in any browser, work offline, and carry their own structure.

"HTML is the new markdown."

— Thariq Shihipar (Claude Code), How I AI podcast

"The format you ask for is part of the runtime contract."

— Blake Crosley, HTML Is the Format AI Agents Want

Three voices, one substrate, three positions on the lifecycle:

Same substrate. Three slots on the lifecycle. The capsule contract is what turns those one-off HTML files into something that travels across tools, time, and people after the work is done.

02 · WHERE CAPSULES FIT

The seal layer everyone skips.

01
Think
Chat
02
Shape
Canvas, Artifacts
03
Seal
Capsules
04
Harden
Repos, Codex

Canvas and Artifacts are about live editing. Repos are about production. Between them is the moment when something is done changing and needs to leave the workspace cleanly. That's where capsules sit.

03 · TWO PROMISES

What capsules guarantee.

Most modern documents phone home. Most sharing platforms let you "unshare." Capsules do neither, on purpose. Two load-bearing trust properties, both by construction:

01
Capsules can't be unshared.

Once a capsule reaches a recipient, the bytes are theirs. No retraction, no expiring link that revokes access, no "deleted from your view." Same contract as a paper memo or a sent email. This forces honest authoring discipline: redact and audience-scope before sharing, because there's no undo. Core Rule 10.

02
Capsules don't phone home.

Zero fetch, zero analytics, zero tracking pixels. Once a capsule opens, the recipient's view is unobservable to the author — no view counts, no "X opened your capsule," no engagement metrics. Hosting platforms can track wrapper-level activity; the capsule itself is mute. Privacy by construction, not by policy. Core Rule 2.

04 · THE CONTRACT

Twelve rules. One page.

Pasteable into any LLM prompt. See CAPSULE_CORE.md for the canonical version.

One file. A single .html document.
No network. Zero fetch, CDN, external CSS.
Five required blocks with reserved IDs.
Manifest required fields. Identity, provenance, capabilities, privacy.
Honest provenance. generator.kind: compiler, llm, human, hybrid.
Read-only data. Runtime never mutates the data block.
Capabilities don't lie. Declared = implemented.
Typed response exports. Carry a capsule_reference.
Accessibility baseline. Semantic HTML, keyboard nav, ARIA.
Cannot be unshared. Treat audience as final.
Backtick string literals in runtime JS.
Render in HTML. Not at runtime.
05 · THREE FAMILIES

Same outer rules. Different content.

conversation

Conversation Capsule

Sealed summary of an AI work session. What was figured out, decided, left open.

domain.<name>

Domain Capsule

Sealed export of a domain object. Named schema per type. See below.

project

Project Capsule

Snapshot of where a sustained thing stands. Composes other capsules plus synthesis.

Already use Obsidian, Tana, or a second-brain system? Capsules don't replace it. They're the layer where your finished thinking exits your knowledge base as a portable, sealed artifact someone else can open — months later, on a different machine, with no platform login. The workshop stays in your PKM. The capsules are the finished products that ship out of it.

06 · DOMAIN SCHEMAS — SHIPPED

Two formal schemas. More coming.

Domain Capsules formalize the patterns already in use. The namespace is open: anyone can declare domain.<name>. See spec/DOMAIN_CAPSULES.md for the catalog.

domain.implementation_notes

Origin: Thariq's viral implementation-notes.html prompt. Captures the gap between a spec and what got built.

spec_reference: { title, url, version, scope }
design_decisions[]: { decision, context, rationale, alternatives_considered }
deviations[]: { spec_section, deviation, why, reversible }
tradeoffs[]: { question, options_considered, chosen, why }
open_questions[]: { question, context, urgency }
ai_usage_guidance — advisory, non-enforceable; under review for v0.4 (see spec Appendix E.3)

→ Canonical example

domain.design_system

Origin: Thariq's living-design-system pattern from the How I AI podcast. Portable design system as a single file.

design_system_name, version
tokens: { colors, typography, spacing, radius, shadows }
components[]: { name, variants, states, props, usage_notes }
patterns[]: { name, when_to_use, components_used }
ai_usage_guidance — advisory, non-enforceable; under review for v0.4 (see spec Appendix E.3)

Canonical example forthcoming

07 · PRODUCE ONE

Paste this. Get a capsule.

The simplest production path. Works in Claude, ChatGPT, Gemini.

Prompt fragment (paste into any LLM)
Produce a Capsule per Core v0.3.0. Output a single .html file
with the five embedded blocks: capsule-manifest, capsule-data,
capsule-style, capsule-root, capsule-runtime. Set generator.kind to
"llm" and generator.version to your model ID. Include the "about"
capability plus at least one export (copy_as_json recommended).
Pre-render content in the HTML body (rule 12). Use backtick template
literals for multi-line strings in runtime JS (rule 11).

[paste the twelve rules from CAPSULE_CORE.md]

The data to put in the capsule:

[paste your data]
08 · WHAT IT ISN'T

Sharp negative space.

A new file format. It's HTML. A new paradigm. An old one — sealed documents with manifests — applied to a new problem. A new editing surface. Canvas covers that. A competitor to MCP. Complementary. A SaaS. No accounts, no server. A knowledge graph. Not a second brain. Not a tag soup. Anti-platform. Anti-context-loss.
09 · STATUS

Four phases. One shipped.

01

Format

Single-file HTML, manifest, sealed convention. Twelve rules.

EXISTS
02

Compiler

Reference compiler + validator + two compiler templates. First independent compiler-kind producer (Mintel) has shipped capsules that validate at 26/26 against the reference. Definition of done still TBD.

HALF-BUILT
03

Domain capsules

Schemas shipped for implementation_notes and design_system. Map, dataset, deal pending.

PARTIAL
04

Network layer

Registry, lineage, importers. Deferred. Possibly never.

NOT BUILT
About this capsule

This page is itself a Capsule per Core v0.3.0 (full spec v0.3.2). All five required blocks inline, no network, no analytics.

Export this page

Manifest

Loading manifest...