labs and areas that I am exploring
Most of the prototypes listed on my earlier projects overview were created as I was thinking about how the web is changing with AI, or how my workflows are changing with AI. Over time I accumulated lots of little demos and other tidbits that I think it would be nice to have a place to show what is on my mind and strands and tracks that I am exploring (even if there is no end in sight), many of these demos come a long time before the essay or post that I create. They are small, runnable tests of browser engines, origin boundaries, HTTP protocols, cryptographic capabilities, local compute, and reactive prompt pipelines and any other thing that I have a weird thing that I want to test (normally while I walk the dog.)
I went through a lot of my work and I’ve had an LLM go over them to try and shape them into something that can be worked with and understood in isolation. They are very early drafts and clearly LLM driven, so reader be warned. Each experiment is in a folder inside /labs/, which itself is roughly organized into eight interrelated tracks where each lab records what essay inspired it, the falsifiable hypothesis being tested, open questions for future iterations, cross-links to connected labs, and its iteration log. Every lab runs immediately at its permanent /labs/<track>/<slug>/ URL, while staying off the homepage and main RSS feed (/index.xml) until it matures enough to graduate into a full post and something I really want to share, or at least I have a hunch that it will be interesting.
If you want to follow raw experiments as they land without waiting for finished essays, there is a dedicated labs feed.
What follows below is the LLM generated overview of the experiments.
Track 1: Browser Containment & Sandbox Boundaries
Same-Origin Policy separates different websites, not untrusted text pulled into your own page or execution loop. These labs test concrete browser boundaries—sandboxed iframes, Connection-Allowlist headers, encrypted OPFS slices, permissions, and fuel-metered WebAssembly VMs—to see what actually stops unintended network egress or sibling storage reads.
- Agent Containment Lab — Seven-tier browser containment suite (plus a WICG
Connection-Allowlistfirewall builder andWeakSet/Proxytaint engine) probing what actually blocks data exfiltration against a Cloudflare SQLite Durable Object canary collector. Inspired by the browser is the sandbox, shipping a prompt, and on-device ai needs a trust model. - Slice Capability Mesh — Least-privilege
/cap/<token>/<path>Service Worker broker backed by per-slice AES-256-GCM encrypted OPFS vaults, salted SHA-256 blob names, and opaque-origin<iframe sandbox="allow-scripts">isolation. Inspired by my chrome extensions are just prompts and on-device ai needs a trust model. - Browser Ephemeral VM — Dedicated Worker executing fuel-metered
.wasmlinear memory withWebAssembly.RuntimeErrortermination guards, OPFS binary checkpoints, byte-level hex diffs, and instant rollback. Inspired by wat the heck and the browser is the sandbox. - Permission Replay Debugger — Audits live
navigator.permissions.query()states against a strictPermissions-Policyiframe and correlatesReportingObserverviolations into exportable OPFS JSONL traces. Inspired by my chrome extensions are just prompts and agent-do: my agent loop.
Track 2: Reactive Prompt Architectures
Synchronous UI signal graphs assume cheap, deterministic, acyclic updates. Extending my earlier @paulkinlan/reactive-prompt (npm) and reactive-agent packages, these five interconnected labs pit alternative abstractions head to head from isolated failure torture tests up to multi-pane apps.
- Reactive DOM Signals for Prompts — Links
MutationObserverDOM edits to a 5-node dependency DAG that aborts supersededReadableStreamfetches viaAbortControllerwhile reusing cached sibling branches. Inspired by projects and what falling ai model latency means for the web. - Reactive Prompt Models Rosetta Stone — Pits six reactive architectures (
effect(), Async Resource epoch barriers, WICGObservable, Salsa JSON early-cutoff diffing, keyed Collection IVM, and event-sourced human pinning) against six isolated failure-mode torture tests and a 5-node Spec-to-PRD app. Inspired by projects and what falling ai model latency means for the web. - Declarative
<ai-prompt>Cells & Pinning Studio — DevTools-inspectable<ai-prompt>Custom Elements exposingwatch,policy, and cost gates (auto,debounce,manual,frozen), content-addressed caching, human pin conflict states, and keyed Collection IVM rows. Inspired by projects and web components are packaging for ai-generated ui. - Reactive Agent Statecharts, Blackboards & Worker Actors — Contrasts cyclic
effect()ping-pong loops against pure finite statechart reducers (transition(state, event, ctx)) and Rete/Linda tuple-space blackboards dispatched through supervised Dedicated Worker actors. Inspired by projects and agent-do: my agent loop. - Backward-Chaining Goal-Driven Reactive UI — Constraint solver that diffs a goal schema against already-extracted facts, renders HTML inputs strictly for the minimal missing frontier, evaluates conditional sub-goals, and invalidates only affected downstream steps. Inspired by what falling ai model latency means for the web and projects.
Track 3: Post-<a> Hypermedia & Composable Islands
HTML standardized one-way A -> B links while leaving transclusion, shareable trails, multi-origin component composition, spatial canvases, and unified human/tool interfaces unfinished. These labs test what web UI and navigation look like beyond plain chat threads.
- Hypermedia Islands Lab — Four-direction hypermedia over live HTTPS documents (StretchText, View Transitions, Text Fragments,
#trail=serialization) paired with a four-mode<web-island>comparison bench and PageRank graph simulator. Inspired by hypermedia was always the point, A link is all you need, and embedding is the web’s composability superpower. <web-island>Multi-Origin Host Shell — Composes three independent widget origins via/.well-known/web-island.json,<iframe sandbox="allow-scripts">,MessageChannel,ResizeObserver, batched<dialog>tool approval, and ECDSA P-256 receipts. Inspired by embedding is the web’s composability superpower, extensible web apps, and webmcp is the new web intents.- Spatial Canvas OS — Infinite 2D
OffscreenCanvasresearch workspace encoding camera position and branching document graphs directly into bookmarkable#cam=URL hashes. Inspired by hypermedia was always the point and llms are becoming the new super-apps. - Canonical Multimodal UI — Single declarative
ACTION_DEFINITIONSspecification emitting both accessible semantic HTML (FormData, ARIA,commandforinvokers) and WebMCP JSON tool schemas over one shared hashed reducer to prevent UI/API drift. Inspired by web components are packaging for ai-generated ui and webmcp is the new web intents. - Web + AI Spec Polyfill Testbed — 15-assertion conformance harness with
PerformanceObservertiming across polyfillednavigator.modelContext,<web-island>withElementInternals, and declarativeConnection-Allowlistrules. Inspired by webmcp is the new web intents, embedding is the web’s composability superpower, and the browser is the sandbox.
Track 4: Delegated Authority & Keyless Execution
Static API tokens and ambient cookies hand automated tools far broader authority than any single step requires. These labs focus on short-lived, scope-attenuated, spend-bounded delegation and keyless origin-bound execution.
- Passkey Attenuated Capabilities — Mints scope-restricted, dollar-capped, short-TTL ECDSA P-256 tokens (paired with optional WebAuthn Level 3
prfhardware confirmation) enforced inside a Cloudflare Durable Object SQLite spend ledger. Inspired by calling apis from the browser shouldn’t mean exposing keys, on-device ai needs a trust model, and building a claw in the browser. - Keyless Browser Proxy — Origin-bound ephemeral HMAC-SHA256 session broker enforcing SQLite Durable Object quotas (
401/403/429) so frontend prototypes can call downstream capabilities without embedding static API keys. Inspired by calling apis from the browser shouldn’t mean exposing keys.
Track 5: Content Negotiation, Signed Citations & Attribution
HTTP headers, cryptographic signatures, and content negotiation already solve several problems teams currently patch around with brittle scraping and ad-hoc proxies.
- Hyper Content Negotiation Lab — Real RFC 9110
Acceptnegotiation (Vary: Accept) returningtext/html, compacttext/markdown,application/ld+json, orapplication/jsonfrom one canonical URL, plus an SSRF-hardened/negotiateinspector. Inspired by hyper content negotiation. - Signed Web Citations — Issues RFC 9530
Content-Digest(SHA-256) and RFC 9421 HTTP Message Signatures over quoted snippets so browsers can verify cited spans directly withcrypto.subtle.verify(). Inspired by hypermedia was always the point and A link is all you need. - Attribution & Metering Protocol Lab — Emits cryptographically signed
X-Attribution-Receiptheaders paired with#:~:text=fragment links verified inside a Durable Object click ledger, alongside a three-model publisher economics simulator. Inspired by A link is all you need and hypermedia was always the point.
Track 6: Local Compute, .wat Compilation & On-Device Inference
Testing raw WebAssembly synthesis without compiler toolchains alongside empirical on-device vs. edge latency benchmarks.
- Live
.wat-to-.wasmCompiler & Equivalence Gate — Compiles WebAssembly Text directly to.wasmin the browser and Cloudflare Worker, gates unreviewed stack instructions behind automatedWasm(x) === JS(x)oracle checks, benchmarks Cold vs. Warm execution, and inspects explicit DOM host imports. Inspired by wat the heck and what falling ai model latency means for the web. - Local-First Model Latency & Capability Bench — Probes
WebGPU,WebNN, built-inLanguageModel/Summarizer, and WebAssembly in the visitor’s own browser and races standardized workloads against a Cloudflare Worker baseline. Inspired by what falling ai model latency means for the web and on-device ai needs a trust model.
Track 7: Peer-to-Peer Coordination, PiP Surfaces & Malleable Plugins
Multi-tab collaboration, persistent side panels, and extensible user plugins built on open browser primitives without central relays or privileged extensions.
- WebRTC P2P Agent Swarm — Connects browser peers directly over
RTCDataChannelwith CRDT task state stored locally in IndexedDB +navigator.locks, using a Durable Object strictly for ephemeral SDP/ICE handshakes. Inspired by agent-do: my agent loop. - Document PiP Web Coprocessor — Persistent floating companion window using the Document Picture-in-Picture API,
BroadcastChannel, Navigation API, and CSS Container Queries to survive across site navigation without building an extension. Inspired by my chrome extensions are just prompts. - Malleable Worker Plugin Shell — Mounts built-in and live Blob URL Dedicated Workers (
worker-src 'self' blob:) into typed JSON host UI slots while rejecting raw HTML patches and ungrantedhost:*capability calls. Inspired by extensible web apps.
Track 8: Model Cutoffs & Self-Observing Browser Telemetry
Closing the loop between runtime browser regressions and stale model training cutoffs.
- Model-Gap Live Conformance Probe — Benchmarks 25 modern platform APIs live in your browser (including a
Connection-Allowlistheader probe iframe) against selectable training cutoffs (2024-06to2026-06). Inspired by please mind the model gap. - Self-Observing Web Fault Bundler — Captures
PerformanceObserver(Long Animation Frames, CLS),ReportingObserverviolations, and failed fetches inside a bounded ring buffer to export compact regression packets. Inspired by please mind the model gap.

Comments