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 ten 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 four labs test concrete browser boundaries—sandboxed iframes, dual-origin CSP/CSPEE/Hawser capability bridges, Connection-Allowlist headers, encrypted OPFS slices, 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, CaMeL-styleWeakSet/Proxytaint engine, and folded double-iframesrcdoc/frame-srcprobes) 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. - CSP & Iframe Sandbox Studio — Dual-origin containment workbench (
csp-sandbox-buffer-origin) testing all 9 HTMLsandboxflags, CSPEE, 6 double-iframe pushback presets, a 14-vector Durable Object canary harness,hawser.js-pattern revocableMessagePortbridges, and a 4-topology Worker Isolation Matrix. Inspired by the browser is the sandbox, shipping a prompt, and extensible web apps. - 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, opaque-origin<iframe sandbox="allow-scripts">isolation, and Attack #4 same-originIndexedDBkey-extraction probes. Inspired by my chrome extensions are just prompts and on-device ai needs a trust model. - Browser Ephemeral VM — Serialized Dedicated Worker executing fuel-metered
.wasmlinear memory with live micro-WAT compilation, 1–32 MiB OPFS checkpoint scaling, host-import stall vs.Worker.terminate()comparisons, byte-level hex diffs, and instant rollback. Inspired by wat the heck and the browser is the sandbox.
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 four interconnected labs pit alternative abstractions head to head from isolated failure torture tests up to multi-pane apps.
- Reactive Prompt Models Rosetta Stone — Pits seven reactive architectures (
effect(), Async Resource epoch barriers, WICGObservable, Salsa JSON early-cutoff diffing, keyed Collection IVM, event-sourced human pinning, and a 6/6 Composed Reference engine) 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 withElementInternals, FIFOconcatqueuing, cycle guards, content-addressed caching, human pin conflict states, and keyed Collection IVM rows, now combined with live#topic-surfaceMutationObserverNaive-Race vs. Controlled-Abort and 20-edit Abort-Storm comparators. Inspired by projects, web components are packaging for ai-generated ui, and what falling ai model latency means for the web. - Backward-Chaining Goal-Driven Reactive UI — Packaged as Meridian Travel (a realistic freeform-text + voice flight, hotel, and check-in booking app) backed by a backward-chaining constraint solver that builds editable filter chips on the fly, preserves pinned human edits, exports live WebMCP schemas, and invalidates only affected downstream fields. Inspired by what falling ai model latency means for the web and projects.
- 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 (BLACKBOARD_RULES) dispatched through supervised Dedicated Worker actors. Inspired by projects and agent-do: my agent loop.
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, unified human/tool interfaces, and out-of-order HTML streaming unfinished. These five labs test what web UI and navigation look like beyond plain chat threads.
- Hypermedia Islands Lab — Four-direction hypermedia over live HTTPS documents via streaming
HTMLRewriter(StretchText, View Transitions, Text Fragments,#t=PCM WAV anchors,#trail=serialization, XFO/SPA falsification probes) paired with pinned JWK receipts and a directed-graph PageRank simulator. Inspired by hypermedia was always the point, A link is all you need, and embedding is the web’s composability superpower. - Spatial Canvas OS — Infinite 2D
OffscreenCanvasresearch workspace with 300-node stress tests, 40ms jank simulation,#trail=import, anddeflate-rawbudget-checked bookmarkable#cam=URL hashes. Inspired by hypermedia was always the point and llms are becoming the new super-apps. <web-island>Multi-Origin Host Shell — Composes independent widget origins (including a real cross-originweb-island-seats-origincompanion Worker and dynamic manifest mounting) via/.well-known/web-island.json,<iframe sandbox="allow-scripts">,MessageChannel,ResizeObserver, batched<dialog>tool approval, and ECDSA P-256 attacker-key falsification probes. Inspired by embedding is the web’s composability superpower, extensible web apps, and webmcp is the new web intents.- Canonical Multimodal UI — Harbour Goods self-service order returns and support portal compiled from one declarative
ACTION_DEFINITIONSspec into both semantic HTML (FormData, ARIA, conditionalif/thenfields) and live WebMCP tool schemas, with a side-by-side agent comparator and Parity Drift toggle. Inspired by web components are packaging for ai-generated ui and webmcp is the new web intents. - DPU Out-of-Order Streaming Workbench — 48 Hours in Lisbon streaming travel guide powered by a Cloudflare Worker
TransformStreamemitting WICG Declarative Partial Updates (<?start>/<?end>+<template for>) out of order withsetHTML()XSS sanitization, CLS layout-jump comparisons, and mid-stream<input>cursor preservation. Inspired by hypermedia was always the point, what falling ai model latency means for the web, and web components are packaging for ai-generated ui.
Track 4: Delegated Authority & Keyless Execution
Static API tokens and ambient cookies hand automated tools far broader authority than any single step requires. These four labs focus on short-lived, scope-attenuated, spend-bounded delegation, inspectable permission policies, narrow MCP gateways, and keyless origin-bound execution.
- Keyless Browser Proxy — Origin-bound HMAC-first ephemeral session broker with anti-
curlOrigin-spoofing defenses (server-enforced anonymous caps, RFC 9449 DPoP non-extractable ECDSA P-256CryptoKeybinding, single-use attestation + Fetch Metadata gating, adaptive PoW, and a global spend circuit breaker) paired with DocPulse at/app. Inspired by calling apis from the browser shouldn’t mean exposing keys. - Passkey Attenuated Capabilities — Mints scope-restricted, dollar-capped, short-TTL ECDSA P-256 tokens using server-verified WebAuthn Level 3
prf+ HKDF/AES-KWwrapping,(htm, htu, bodySha256, nonce)request signing, and Delegator root vs. sandboxed iframe isolation inside a 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. - Permission Replay Debugger — Audits live
navigator.permissions.query()states, runs Enforcing vs. Report-OnlyPermissions-Policyreplay diffs, persists reports in a SQLiteReportCollectorDurable Object, and exports or re-imports OPFS.jsonltraces. Inspired by my chrome extensions are just prompts and agent-do: my agent loop. - Custodian Narrow MCP Gateway — Narrow 4-tool Streamable HTTP MCP gateway enforcing dual non-extractable ECDSA P-256 proofs (
HumanApprovalKey+AgentSessionKey), SQLite Durable Object nonce/epoch revocation (CustodianLedger), 6 live red-team attacks, and browser Worker CSP self-verification. 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.
Track 5: Content Negotiation, Signed Citations & Attribution
HTTP headers, cryptographic signatures, bot authentication, and content negotiation already solve several problems teams currently patch around with brittle scraping and ad-hoc proxies.
- Hyper Content Negotiation Lab — Universal multi-modal RFC 9110
Acceptnegotiation from one canonical URL serving HTML, Markdown, JSON-LD, JSON, PNG posters (image/png), SVG cards, WAV briefings (audio/wav), and WebVTT/storyboard reels (text/vtt) plus reactive300,Prefer,202async transcode, and AnyFormat Reader at/app. Inspired by hyper content negotiation. - Signed Web Citations — Persists Ed25519 keys in a
SigningKeyStoreDurable Object, pairs a synchronized interactive verification flow chart on/with VeriQuote (an AI research brief with live cryptographic quotes) on/app, and tests RFC 9530 / RFC 9421 verification viacrypto.subtle.verify(). Inspired by hypermedia was always the point and A link is all you need. - Attribution & Metering Protocol Lab — Two-pane citation-to-article workbench emitting signed
X-Attribution-Receiptheaders and#:~:text=links over verbatimaifoc.usspans, recordingsendBeaconreferrals vs. dark-traffic copy falsification in a Durable Object ledger alongside interactive publisher economics sliders. Inspired by A link is all you need and hypermedia was always the point. - Web Bot Auth & aipref Gate — Request-side RFC 9421 Ed25519
Signature-Agentverifier backed by a SQLiteReplayGuardDurable Object, 5 live red-team attacks, and an interactiverobots.txt/ IETFaipref(Content-Usage) /Content-Signal/ RSL 1.0 policy conflict matrix. Inspired by hyper content negotiation, A link is all you need, and hypermedia was always the point. - Malleable Accept Studio — Sends experimental media types such as
comic/manga,deck/slides,audio/podcast,study/flashcards,visual/zine,code/spec-tree, or customtype/subtypestrings to one canonical URL, compares deterministic edge compilation with optional in-browser AI rewriting, and powers PageMorph at/app. Inspired by hyper content negotiation and intercepting the web with an llm.
Track 6: Local Compute, .wat Compilation & On-Device Inference
Testing raw WebAssembly synthesis without compiler toolchains alongside empirical on-device vs. edge latency benchmarks.
- Local-First Model Latency & Capability Bench — Auto-runs a light benchmark and probes persistent-
GPUDeviceWebGPU(N=16..8192),WebNN, built-inLanguageModel/Summarizer, and WebAssembly against a Cloudflare Worker baseline with full-payload upload toggling,coldSetupMstracking, and Nielsen latency thresholds. Inspired by what falling ai model latency means for the web and on-device ai needs a trust model. - 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)anddom.paint_bartrace checks, reports the WAT/JS token multiplier, and races fair JS loops against batched linear-memory DOM command buffers. Inspired by wat the heck and what falling ai model latency means for the web.
Track 7: 7. P2P Sync, Persistent Surfaces & Plugin Shells
Multi-tab collaboration, persistent side panels, and extensible user plugins built on open browser primitives without central relays or privileged extensions.
- Malleable Worker Plugin Shell — Mounts built-in and live user-edited Worker plugins into typed JSON host UI slots with a 3-topology Isolation Reality Matrix (HTTP vs. Blob vs. Opaque-Iframe), Host Manifest Review attenuation toggles, generic-type guards, and runaway watchdog preemption. Inspired by extensible web apps.
- Document PiP Web Coprocessor — Persistent floating companion window using the Document Picture-in-Picture API,
BroadcastChannel, Navigation API, realRUN_CHECKprobes, live host DOM selection capture + undo, and a 2-second user-activation timeout falsifier. Inspired by my chrome extensions are just prompts. - WebRTC P2P Agent Swarm — Interactive 5-step P2P workflow diagram and RelayDesk zero-server incident dispatch board at
/app, connecting browser peers directly overRTCDataChannelwith offline-partition LWW conflict convergence, delta vector-clock sync,pc.getStats()ICE telemetry, IndexedDB +navigator.locks, and SQLite Durable Object signaling introspection. Inspired by agent-do: my agent loop.
Track 8: 8. Crawler Visibility, Model Cutoffs & Quality Evals
Closing the loop between non-rendering crawler blindness, stale model training cutoffs, draft spec polyfills, runtime browser regressions, and behavior-under-fault quality evals.
- Self-Observing Web Fault Bundler — Captures
PerformanceObserver(Long Animation Frames, CLS),ReportingObserverviolations, persisted/api/report-collectorlogs, and failed fetches inside a bounded ring buffer with a Severity-Pinning Deduplicator, Cross-Origin Opaque Fault probe, and 10-Event Noise Flood trigger. Inspired by please mind the model gap. - Model-Gap Live Conformance Probe — Benchmarks 25 modern platform APIs live in your browser against bundled
model-gap.jsondata and selectable training cutoffs (2024-06to2026-06), including a Pasteable Stale-Code Linter, live<button commandfor>dialog probe, and paired/probe/allowlistvs./probe/controlframes. Inspired by please mind the model gap and how fast do ai models go stale?. - Web + AI Spec Polyfill Testbed — Modular conformance harness splitting Native vs. Polyfill pass scores across
navigator.modelContext, unified<web-island>withElementInternals,Connection-Allowlist: (); report-to=allowlist, and a “What Polyfills Cannot Fake” prefetch probe. Inspired by webmcp is the new web intents, embedding is the web’s composability superpower, and the browser is the sandbox. - Crawler SSR vs. SPA Visibility — SSRF-hardened streaming
HTMLRewriterauditor comparing raw non-JS crawler extraction against browser-rendered text across SSR, Hydration-Heavy, Empty SPA, and Streaming-Falsify fixtures. Inspired by does a url in a prompt steer an llm, hyper content negotiation, and please mind the model gap. - Evidence Distiller & Eval Harness — 360px 6-defect seeded playground paired with a
<= 4 KBstructured browser evidence distiller (geometry clipping, WCAG 2.1 contrast, accessible names, lifecycle faults) and isolated edge rubric grading (strong/survives/hollow/baseline/unmet). Inspired by how might a modern lighthouse work with large language models? and please mind the model gap.
Track 9: Agent Discovery, Auth & Protocol Bridges
External agent onboarding, OAuth 2.1 delegation, attenuated MessagePort and ACP session bridging, reverse-exfiltration firewalls for personal user context, cross-site WebMCP discovery, and HTTP 402 micropayment settlement.
/agents.mdvs. MCP Onboarding Lab — Live transport race pitting zero-installGET /agents.md+ HTTP tools against Streamable HTTP JSON-RPC 2.0 MCP from one shared registry, plus a Naive vs. Hardened human-verification vulnerability toggle and prompt-injection canary check. Inspired by hyper content negotiation, webmcp is the new web intents, and agent-do: my agent loop.- MCP OAuth 2.1 Handshake Lab — End-to-end MCP OAuth 2.1 (
2025-11-25) workbench covering RFC 9728 protected-resource metadata, RFC 8414 discovery, unsigned/HMAC-signed DCR vs. CIMD, WebCrypto PKCES256, RFC 8707resourcebinding, refresh-token reuse family revocation, and DNS-rebindingOriginchecks. Inspired by calling apis from the browser shouldn’t mean exposing keys, webmcp is the new web intents, and on-device ai needs a trust model. - MessagePort Intent & ACP Bridge — Browser patch bay testing origin-attenuated 1-tool
MessagePorthandoffs, top-level popup picker storage, Hub-mediated ACP permission gating with SSELast-Event-IDresume,portwirebinary framing over 16 KiB byte pipes, and SHA-256 origin-bound live-tab auth. Inspired by webmcp is the new web intents, I think i’ve got it - Web Intents, and extensible web apps. - ACP Context Firewall Lab — Dedicated Worker +
MessageChannelworkbench testing 8 reverse-exfiltration attack vectors across 4 defense layers (Prompt Guard,port-authority-style Proxy DLP, Taint-Lock + Diff + Closed-Enum Schema, and Browser-Native Clean-Room Per-Origin Context + On-Device Classifier) when bridging a personal ACP agent into an untrusted site. Inspired by the browser is the sandbox, on-device ai needs a trust model, and webmcp is the new web intents. - Agent Well-Known Audit Lab — Hosts 12 live non-stub agent discovery endpoints backed by a persistent Ed25519
WellKnownKeyStoreDurable Object, HTTPQUERYskill filtering, 5 intentionally broken test fixtures, and an SSRF-hardened WebCrypto auditor. Inspired by hyper content negotiation, A link is all you need, and webmcp is the new web intents. - WebMCP Intent Registry Lab — Browser-native Okapi BM25 cross-site WebMCP tool registry (8 origins, 24 tools), 11-query
Recall@1/Recall@3/MRReval suite, 2–60 site dynamic vs. eager token-budget comparator, WebCrypto SHA-256 schema rug-pull diff gate (409 SCHEMA_DRIFT), and Chrome text-listing parser fragility probe. Inspired by webmcp is the new web intents, I think i’ve got it - Web Intents, and ai agents make mashups worth revisiting. - x402 Micropayment Rail — The Signal Daily newspaper (
$0.001HTTP402paywall + metered SSE briefing with stop-early settlement) running on a Cloudflare Worker + SQLite Durable Object (PaymentLedger) using ECDSA P-256PAYMENT-SIGNATUREreceipts. Inspired by A link is all you need, the token salary, and what token slinging taught me about ai costs.
Track 10: Browser-Delivered VMs & Container Fabrics
Delivering full Linux 7.x kernels in WebAssembly (Unkernel) to run unmodified POSIX tools inside browser Dedicated Workers without host filesystem access, background daemons, or server containers.
- Headless Browser Linux & WebMCP Custom UI — Boots real Linux 7.x headlessly inside a Dedicated Worker over JSPI behind custom web cards, a reactive 9p
MemoryFsexplorer, loopbackvm.fetch()HTTP previews, five typed WebMCP tools, and kernel memory checkpoints. Inspired by on-device ai needs a trust model and my chrome extensions are just prompts. - MessagePort Container Mesh — Two separate 96 MiB Unkernel Linux 7.x Dedicated Workers (
ingest-vmandvault-vm) with zero network interfaces linked strictly through a policy-mediatedMessageChannelbroker (/run/kw/bin/port-call), revocable ports (410 PORT_REVOKED), and transferableArrayBufferbenchmarks. Inspired by on-device ai needs a trust model and my chrome extensions are just prompts. - VM Runtime Mini-Apps (Browser-Native Voicebox) — Replaces Voicebox’s local Node.js daemon with an offline Unkernel Linux 7.x Dedicated Worker, mounts model- or user-authored HTML mini-apps in opaque sandboxed iframes over a scoped
MessagePort, and drives their dynamic WebMCP tools. Inspired by my voice harness is my new operating system, the browser is the sandbox, and webmcp is the new web intents. - Pi Sandboxed VM Harness — Runs a minimalist 4-tool coding agent (
read,write,edit,bash), tree-structured branching sessions, and SHA-256 digest-pinned extensions inside an offline Unkernel Linux 7.x Worker with zero API keys in the guest and one-click rollback. Inspired by extensible web apps and the browser is the sandbox.

Comments