<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Labs on AI Focus</title><link>https://aifoc.us/labs/</link><description>Experimental web platform and AI prototypes in active development. Runnable immediately under /labs/ and kept off the main essay RSS feed until graduated.</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>paul@aifoc.us (Paul Kinlan)</managingEditor><webMaster>paul@aifoc.us (Paul Kinlan)</webMaster><lastBuildDate>Tue, 01 Dec 2026 10:08:00 +0000</lastBuildDate><atom:link href="https://aifoc.us/labs/index.xml" rel="self" type="application/rss+xml"/><item><title>backward-chaining goal-driven reactive ui</title><link>https://aifoc.us/labs/reactive-prompts/reactive-goal-ui/</link><pubDate>Tue, 01 Dec 2026 09:26:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/reactive-prompts/reactive-goal-ui/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://reactive-goal-ui.kinlan-test.workers.dev">Reactive Goal UI&lt;/a> (&lt;a href="https://github.com/PaulKinlan/reactive-goal-ui">GitHub&lt;/a>) extracts structured facts via &lt;code>/api/extract-facts&lt;/code> (or local &lt;code>LanguageModel&lt;/code>), computes &lt;code>missingLeaves&lt;/code>, &lt;code>readyToPull&lt;/code>, and conditional sub-goals dynamically across three constraint schemas (&lt;code>Book a Trip&lt;/code>, &lt;code>SEV-1 Incident Postmortem&lt;/code>, &lt;code>Web Feature Launch Readiness&lt;/code>), applies canonical-fact early cutoff on rephrased inputs, and progressively unlocks ready sections on &lt;code>/api/pull-goal-node&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-js" data-lang="js">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">const&lt;/span> &lt;span style="color:#a6e22e">frontier&lt;/span> &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#a6e22e">solveGoalFrontier&lt;/span>(&lt;span style="color:#e6db74">&amp;#34;book-trip&amp;#34;&lt;/span>, &lt;span style="color:#a6e22e">extractedFacts&lt;/span>, &lt;span style="color:#a6e22e">nodeCache&lt;/span>, &lt;span style="color:#e6db74">&amp;#34;destination&amp;#34;&lt;/span>);
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">// -&amp;gt; missingLeaves: [&amp;#34;pace&amp;#34;, &amp;#34;international&amp;#34;] (renders only missing inputs)
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">// -&amp;gt; invalidated: [&amp;#34;flightEstimate&amp;#34;, &amp;#34;itinerary&amp;#34;] (leaves dates, budget, pace cached)
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://reactive-goal-ui.kinlan-test.workers.dev">Reactive Goal UI</a> (<a href="https://github.com/PaulKinlan/reactive-goal-ui">GitHub</a>) extracts structured facts via <code>/api/extract-facts</code> (or local <code>LanguageModel</code>), computes <code>missingLeaves</code>, <code>readyToPull</code>, and conditional sub-goals dynamically across three constraint schemas (<code>Book a Trip</code>, <code>SEV-1 Incident Postmortem</code>, <code>Web Feature Launch Readiness</code>), applies canonical-fact early cutoff on rephrased inputs, and progressively unlocks ready sections on <code>/api/pull-goal-node</code>.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-js" data-lang="js"><span style="display:flex;"><span><span style="color:#66d9ef">const</span> <span style="color:#a6e22e">frontier</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">solveGoalFrontier</span>(<span style="color:#e6db74">&#34;book-trip&#34;</span>, <span style="color:#a6e22e">extractedFacts</span>, <span style="color:#a6e22e">nodeCache</span>, <span style="color:#e6db74">&#34;destination&#34;</span>);
</span></span><span style="display:flex;"><span><span style="color:#75715e">// -&gt; missingLeaves: [&#34;pace&#34;, &#34;international&#34;] (renders only missing inputs)
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">// -&gt; invalidated: [&#34;flightEstimate&#34;, &#34;itinerary&#34;] (leaves dates, budget, pace cached)
</span></span></span></code></pre></div>]]></content:encoded></item><item><title>reactive agent statecharts, blackboards &amp; worker actors</title><link>https://aifoc.us/labs/reactive-prompts/reactive-agent-machines/</link><pubDate>Tue, 01 Dec 2026 09:25:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/reactive-prompts/reactive-agent-machines/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://reactive-agent-machines.kinlan-test.workers.dev">Reactive Agent Machines&lt;/a> (&lt;a href="https://github.com/PaulKinlan/reactive-agent-machines">GitHub&lt;/a>) runs cyclic &lt;code>effect()&lt;/code> loops head-to-head against a pure FSM reducer (&lt;code>transition(state, event, ctx)&lt;/code>) and a Rete/Linda tuple-space blackboard (&lt;code>runBlackboardToFixedPoint&lt;/code>) executed inside a supervised Dedicated Web Worker pool (&lt;code>/worker-actor.js&lt;/code>) over &lt;code>MessageChannel&lt;/code>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-js" data-lang="js">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">// Control flow sits in a pure reducer; UI reads derived state signals
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#66d9ef">const&lt;/span> { &lt;span style="color:#a6e22e">nextState&lt;/span>, &lt;span style="color:#a6e22e">valid&lt;/span>, &lt;span style="color:#a6e22e">effects&lt;/span> } &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#a6e22e">transition&lt;/span>(&lt;span style="color:#a6e22e">machine&lt;/span>.&lt;span style="color:#a6e22e">state&lt;/span>, {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">type&lt;/span>&lt;span style="color:#f92672">:&lt;/span> &lt;span style="color:#e6db74">&amp;#34;CONFIDENCE_LOW&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">claimId&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">confidence&lt;/span>&lt;span style="color:#f92672">:&lt;/span> &lt;span style="color:#ae81ff">0.42&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>});
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">// Guards reject illegal events rather than firing ambiguous effect() cycles
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://reactive-agent-machines.kinlan-test.workers.dev">Reactive Agent Machines</a> (<a href="https://github.com/PaulKinlan/reactive-agent-machines">GitHub</a>) runs cyclic <code>effect()</code> loops head-to-head against a pure FSM reducer (<code>transition(state, event, ctx)</code>) and a Rete/Linda tuple-space blackboard (<code>runBlackboardToFixedPoint</code>) executed inside a supervised Dedicated Web Worker pool (<code>/worker-actor.js</code>) over <code>MessageChannel</code>.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-js" data-lang="js"><span style="display:flex;"><span><span style="color:#75715e">// Control flow sits in a pure reducer; UI reads derived state signals
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#66d9ef">const</span> { <span style="color:#a6e22e">nextState</span>, <span style="color:#a6e22e">valid</span>, <span style="color:#a6e22e">effects</span> } <span style="color:#f92672">=</span> <span style="color:#a6e22e">transition</span>(<span style="color:#a6e22e">machine</span>.<span style="color:#a6e22e">state</span>, {
</span></span><span style="display:flex;"><span>  <span style="color:#a6e22e">type</span><span style="color:#f92672">:</span> <span style="color:#e6db74">&#34;CONFIDENCE_LOW&#34;</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#a6e22e">claimId</span>,
</span></span><span style="display:flex;"><span>  <span style="color:#a6e22e">confidence</span><span style="color:#f92672">:</span> <span style="color:#ae81ff">0.42</span>,
</span></span><span style="display:flex;"><span>});
</span></span><span style="display:flex;"><span><span style="color:#75715e">// Guards reject illegal events rather than firing ambiguous effect() cycles
</span></span></span></code></pre></div>]]></content:encoded></item><item><title>declarative &lt;ai-prompt> cells &amp; pinning studio</title><link>https://aifoc.us/labs/reactive-prompts/reactive-prompt-cells/</link><pubDate>Tue, 01 Dec 2026 09:24:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/reactive-prompts/reactive-prompt-cells/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://reactive-prompt-cells.kinlan-test.workers.dev">Declarative Prompt Cells&lt;/a> (&lt;a href="https://github.com/PaulKinlan/reactive-prompt-cells">GitHub&lt;/a>) implements &lt;code>&amp;lt;ai-prompt&amp;gt;&lt;/code> Custom Elements wired with content-addressed caching (&lt;code>hash(promptText, config)&lt;/code>), &lt;code>disconnectedCallback()&lt;/code> &lt;code>AbortController&lt;/code> teardown, human pin/conflict/merge controls, and keyed Collection IVM feature tables.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-html" data-lang="html">&lt;span style="display:flex;">&lt;span>&amp;lt;&lt;span style="color:#f92672">ai-prompt&lt;/span> &lt;span style="color:#a6e22e">id&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;cell-brief&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">watch&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;#product, #audience&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">mode&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;auto&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">policy&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;switch&amp;#34;&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> Draft an executive brief for ${#product} aimed at ${#audience}.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&amp;lt;/&lt;span style="color:#f92672">ai-prompt&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&amp;lt;&lt;span style="color:#f92672">ai-prompt&lt;/span> &lt;span style="color:#a6e22e">id&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;cell-faq&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">watch&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;#cell-brief&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">mode&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;manual&amp;#34;&lt;/span> &lt;span style="color:#a6e22e">policy&lt;/span>&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;exhaust&amp;#34;&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> Generate customer FAQs from ${#cell-brief}.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&amp;lt;/&lt;span style="color:#f92672">ai-prompt&lt;/span>&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://reactive-prompt-cells.kinlan-test.workers.dev">Declarative Prompt Cells</a> (<a href="https://github.com/PaulKinlan/reactive-prompt-cells">GitHub</a>) implements <code>&lt;ai-prompt&gt;</code> Custom Elements wired with content-addressed caching (<code>hash(promptText, config)</code>), <code>disconnectedCallback()</code> <code>AbortController</code> teardown, human pin/conflict/merge controls, and keyed Collection IVM feature tables.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span>&lt;<span style="color:#f92672">ai-prompt</span> <span style="color:#a6e22e">id</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;cell-brief&#34;</span> <span style="color:#a6e22e">watch</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;#product, #audience&#34;</span> <span style="color:#a6e22e">mode</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;auto&#34;</span> <span style="color:#a6e22e">policy</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;switch&#34;</span>&gt;
</span></span><span style="display:flex;"><span>  Draft an executive brief for ${#product} aimed at ${#audience}.
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">ai-prompt</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">ai-prompt</span> <span style="color:#a6e22e">id</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;cell-faq&#34;</span> <span style="color:#a6e22e">watch</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;#cell-brief&#34;</span> <span style="color:#a6e22e">mode</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;manual&#34;</span> <span style="color:#a6e22e">policy</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;exhaust&#34;</span>&gt;
</span></span><span style="display:flex;"><span>  Generate customer FAQs from ${#cell-brief}.
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">ai-prompt</span>&gt;
</span></span></code></pre></div>]]></content:encoded></item><item><title>reactive prompt models rosetta stone</title><link>https://aifoc.us/labs/reactive-prompts/reactive-prompt-rosetta/</link><pubDate>Tue, 01 Dec 2026 09:23:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/reactive-prompts/reactive-prompt-rosetta/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://reactive-prompt-rosetta.kinlan-test.workers.dev">Reactive Prompt Rosetta Stone&lt;/a> (&lt;a href="https://github.com/PaulKinlan/reactive-prompt-rosetta">GitHub&lt;/a>) compares all six engines live over an abort-aware Cloudflare Worker NDJSON stream (&lt;code>/api/prompt-step&lt;/code>) and feature-detected Chrome Built-in AI (&lt;code>LanguageModel&lt;/code>), displaying core engine snippets alongside calls fired, aborted requests, early cutoffs, glitches, race corruptions, and preserved manual edits.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-js" data-lang="js">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">// Async Resource epoch barrier + Salsa structural early-cutoff
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span>&lt;span style="color:#66d9ef">const&lt;/span> &lt;span style="color:#a6e22e">plan&lt;/span> &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#a6e22e">createPromptResource&lt;/span>({
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">deps&lt;/span>&lt;span style="color:#f92672">:&lt;/span> [&lt;span style="color:#a6e22e">requirements&lt;/span>, &lt;span style="color:#a6e22e">risks&lt;/span>], &lt;span style="color:#75715e">// epoch join waits until both match generation v
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span> &lt;span style="color:#a6e22e">earlyCutoffKey&lt;/span>&lt;span style="color:#f92672">:&lt;/span> (&lt;span style="color:#a6e22e">json&lt;/span>) =&amp;gt; &lt;span style="color:#a6e22e">canonicalHash&lt;/span>(&lt;span style="color:#a6e22e">json&lt;/span>.&lt;span style="color:#a6e22e">fields&lt;/span>), &lt;span style="color:#75715e">// ignores wording jitter
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">&lt;/span> &lt;span style="color:#a6e22e">run&lt;/span>&lt;span style="color:#f92672">:&lt;/span> (&lt;span style="color:#a6e22e">inputs&lt;/span>, &lt;span style="color:#a6e22e">signal&lt;/span>) =&amp;gt; &lt;span style="color:#a6e22e">streamPromptStep&lt;/span>(&lt;span style="color:#e6db74">&amp;#34;/api/prompt-step&amp;#34;&lt;/span>, &lt;span style="color:#a6e22e">inputs&lt;/span>, { &lt;span style="color:#a6e22e">signal&lt;/span> }),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>});
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://reactive-prompt-rosetta.kinlan-test.workers.dev">Reactive Prompt Rosetta Stone</a> (<a href="https://github.com/PaulKinlan/reactive-prompt-rosetta">GitHub</a>) compares all six engines live over an abort-aware Cloudflare Worker NDJSON stream (<code>/api/prompt-step</code>) and feature-detected Chrome Built-in AI (<code>LanguageModel</code>), displaying core engine snippets alongside calls fired, aborted requests, early cutoffs, glitches, race corruptions, and preserved manual edits.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-js" data-lang="js"><span style="display:flex;"><span><span style="color:#75715e">// Async Resource epoch barrier + Salsa structural early-cutoff
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span><span style="color:#66d9ef">const</span> <span style="color:#a6e22e">plan</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">createPromptResource</span>({
</span></span><span style="display:flex;"><span>  <span style="color:#a6e22e">deps</span><span style="color:#f92672">:</span> [<span style="color:#a6e22e">requirements</span>, <span style="color:#a6e22e">risks</span>], <span style="color:#75715e">// epoch join waits until both match generation v
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>  <span style="color:#a6e22e">earlyCutoffKey</span><span style="color:#f92672">:</span> (<span style="color:#a6e22e">json</span>) =&gt; <span style="color:#a6e22e">canonicalHash</span>(<span style="color:#a6e22e">json</span>.<span style="color:#a6e22e">fields</span>), <span style="color:#75715e">// ignores wording jitter
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>  <span style="color:#a6e22e">run</span><span style="color:#f92672">:</span> (<span style="color:#a6e22e">inputs</span>, <span style="color:#a6e22e">signal</span>) =&gt; <span style="color:#a6e22e">streamPromptStep</span>(<span style="color:#e6db74">&#34;/api/prompt-step&#34;</span>, <span style="color:#a6e22e">inputs</span>, { <span style="color:#a6e22e">signal</span> }),
</span></span><span style="display:flex;"><span>});
</span></span></code></pre></div>]]></content:encoded></item><item><title>attribution &amp; metering protocol lab</title><link>https://aifoc.us/labs/web-protocols/attribution-metering-lab/</link><pubDate>Tue, 01 Dec 2026 09:22:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/web-protocols/attribution-metering-lab/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://attribution-metering-lab.kinlan-test.workers.dev">Attribution &amp;amp; Metering Protocol Lab&lt;/a> (&lt;a href="https://github.com/PaulKinlan/attribution-metering-lab">GitHub&lt;/a>) issues cryptographically signed &lt;code>X-Attribution-Receipt&lt;/code> headers and &lt;a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments">&lt;code>#:~:text=&lt;/code> Text Fragment&lt;/a> links from &lt;code>/api/quote/:docId&lt;/code>, verifies referral clicks at &lt;code>/api/click-receipt&lt;/code> inside a Durable Object SQLite ledger (&lt;code>AttributionLedger&lt;/code>), and models sustainability across three publisher monetization curves.&lt;/p>
&lt;h2 id="deeper-dive-reactive-prompt-architectures-beyond-effect-overload">Deeper Dive: Reactive Prompt Architectures (Beyond &lt;code>effect()&lt;/code> Overload)&lt;/h2>
&lt;p>My earlier experiments—&lt;a href="https://github.com/PaulKinlan/reactive-prompt">&lt;code>@paulkinlan/reactive-prompt&lt;/code>&lt;/a> (&lt;a href="https://www.npmjs.com/package/@paulkinlan/reactive-prompt">npm&lt;/a>) and &lt;a href="https://github.com/PaulKinlan/reactive-agent">&lt;code>reactive-agent&lt;/code>&lt;/a>, discussed in &lt;a href="https://aifoc.us/projects/">the projects behind my ai focus posts&lt;/a> and &lt;a href="https://aifoc.us/latency/">what falling ai model latency means for the web&lt;/a>—wired prompt chains with Preact &lt;code>signal()&lt;/code> and &lt;code>effect()&lt;/code>. Synchronous UI signals assume derivations are fast, deterministic, cheap, and acyclic. Wrapping slow, nondeterministic model calls in plain &lt;code>effect()&lt;/code> chains creates five failure modes: immediate execution with &lt;code>undefined&lt;/code> placeholders, out-of-order async race overwrites without cancellation, diamond glitches across sibling joins, downstream cascades triggered by minor phrasing jitter, and overwritten human edits.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://attribution-metering-lab.kinlan-test.workers.dev">Attribution &amp; Metering Protocol Lab</a> (<a href="https://github.com/PaulKinlan/attribution-metering-lab">GitHub</a>) issues cryptographically signed <code>X-Attribution-Receipt</code> headers and <a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments"><code>#:~:text=</code> Text Fragment</a> links from <code>/api/quote/:docId</code>, verifies referral clicks at <code>/api/click-receipt</code> inside a Durable Object SQLite ledger (<code>AttributionLedger</code>), and models sustainability across three publisher monetization curves.</p>
<h2 id="deeper-dive-reactive-prompt-architectures-beyond-effect-overload">Deeper Dive: Reactive Prompt Architectures (Beyond <code>effect()</code> Overload)</h2>
<p>My earlier experiments—<a href="https://github.com/PaulKinlan/reactive-prompt"><code>@paulkinlan/reactive-prompt</code></a> (<a href="https://www.npmjs.com/package/@paulkinlan/reactive-prompt">npm</a>) and <a href="https://github.com/PaulKinlan/reactive-agent"><code>reactive-agent</code></a>, discussed in <a href="/projects/">the projects behind my ai focus posts</a> and <a href="/latency/">what falling ai model latency means for the web</a>—wired prompt chains with Preact <code>signal()</code> and <code>effect()</code>. Synchronous UI signals assume derivations are fast, deterministic, cheap, and acyclic. Wrapping slow, nondeterministic model calls in plain <code>effect()</code> chains creates five failure modes: immediate execution with <code>undefined</code> placeholders, out-of-order async race overwrites without cancellation, diamond glitches across sibling joins, downstream cascades triggered by minor phrasing jitter, and overwritten human edits.</p>
<p>Labs 23–26 push four alternative reactive models from focused single-bug torture tests up to multi-pane applications, including what authoring code looks like in each model.</p>
]]></content:encoded></item><item><title>model-gap live conformance probe</title><link>https://aifoc.us/labs/platform-observability/model-gap-live-harness/</link><pubDate>Tue, 01 Dec 2026 09:21:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/platform-observability/model-gap-live-harness/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>Code generation models trained on older snapshots omit recently shipped browser features (&lt;code>commandfor&lt;/code>, CSS anchor positioning, &lt;code>:has()&lt;/code>, OPFS, &lt;a href="https://chromestatus.com/feature/5175745573945344">&lt;code>Connection-Allowlist&lt;/code>&lt;/a>) and emit heavyweight legacy polyfills instead. How large is that gap inside &lt;em>your current browser&lt;/em> right now?&lt;/p>
&lt;p>&lt;a href="https://model-gap-live-harness.kinlan-test.workers.dev">Model-Gap Live Harness&lt;/a> (&lt;a href="https://github.com/PaulKinlan/model-gap-live-harness">GitHub&lt;/a>) probes 25 native platform features in real time—including a live &lt;a href="https://model-gap-live-harness.kinlan-test.workers.dev/probe/allowlist">&lt;code>Connection-Allowlist&lt;/code>&lt;/a> header test iframe—and scores &lt;em>your browser&amp;rsquo;s runtime support&lt;/em> against selectable training cutoffs (&lt;code>2024-06&lt;/code>, &lt;code>2025-03&lt;/code>, &lt;code>2025-11&lt;/code>, &lt;code>2026-06&lt;/code>), showing deprecated model snippets alongside native APIs.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>Code generation models trained on older snapshots omit recently shipped browser features (<code>commandfor</code>, CSS anchor positioning, <code>:has()</code>, OPFS, <a href="https://chromestatus.com/feature/5175745573945344"><code>Connection-Allowlist</code></a>) and emit heavyweight legacy polyfills instead. How large is that gap inside <em>your current browser</em> right now?</p>
<p><a href="https://model-gap-live-harness.kinlan-test.workers.dev">Model-Gap Live Harness</a> (<a href="https://github.com/PaulKinlan/model-gap-live-harness">GitHub</a>) probes 25 native platform features in real time—including a live <a href="https://model-gap-live-harness.kinlan-test.workers.dev/probe/allowlist"><code>Connection-Allowlist</code></a> header test iframe—and scores <em>your browser&rsquo;s runtime support</em> against selectable training cutoffs (<code>2024-06</code>, <code>2025-03</code>, <code>2025-11</code>, <code>2026-06</code>), showing deprecated model snippets alongside native APIs.</p>
]]></content:encoded></item><item><title>self-observing web fault bundler</title><link>https://aifoc.us/labs/platform-observability/self-observing-web/</link><pubDate>Tue, 01 Dec 2026 09:20:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/platform-observability/self-observing-web/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://self-observing-web.kinlan-test.workers.dev">Self-Observing Web&lt;/a> (&lt;a href="https://github.com/PaulKinlan/self-observing-web">GitHub&lt;/a>) instruments &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver">&lt;code>PerformanceObserver&lt;/code>&lt;/a> (Long Animation Frames, CLS, resource timing), &lt;code>ReportingObserver&lt;/code>, and &lt;code>fetch()&lt;/code> telemetry inside a bounded ring buffer to emit exportable reproduction JSON packets on intentional fault triggers.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://self-observing-web.kinlan-test.workers.dev">Self-Observing Web</a> (<a href="https://github.com/PaulKinlan/self-observing-web">GitHub</a>) instruments <a href="https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver"><code>PerformanceObserver</code></a> (Long Animation Frames, CLS, resource timing), <code>ReportingObserver</code>, and <code>fetch()</code> telemetry inside a bounded ring buffer to emit exportable reproduction JSON packets on intentional fault triggers.</p>
]]></content:encoded></item><item><title>malleable worker plugin shell</title><link>https://aifoc.us/labs/agent-meshes/malleable-worker-shell/</link><pubDate>Tue, 01 Dec 2026 09:19:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/agent-meshes/malleable-worker-shell/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://malleable-worker-shell.kinlan-test.workers.dev">Malleable Worker Shell&lt;/a> (&lt;a href="https://github.com/PaulKinlan/malleable-worker-shell">GitHub&lt;/a>) mounts built-in and live user-edited Blob URL Dedicated Workers (&lt;code>worker-src 'self' blob:&lt;/code>) against three versioned JSON UI slots while rejecting undeclared &lt;code>host:*&lt;/code> calls and raw HTML patches.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://malleable-worker-shell.kinlan-test.workers.dev">Malleable Worker Shell</a> (<a href="https://github.com/PaulKinlan/malleable-worker-shell">GitHub</a>) mounts built-in and live user-edited Blob URL Dedicated Workers (<code>worker-src 'self' blob:</code>) against three versioned JSON UI slots while rejecting undeclared <code>host:*</code> calls and raw HTML patches.</p>
]]></content:encoded></item><item><title>document pip web coprocessor</title><link>https://aifoc.us/labs/agent-meshes/pip-web-coprocessor/</link><pubDate>Tue, 01 Dec 2026 09:18:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/agent-meshes/pip-web-coprocessor/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://pip-web-coprocessor.kinlan-test.workers.dev">Document PiP Web Coprocessor&lt;/a> (&lt;a href="https://github.com/PaulKinlan/pip-web-coprocessor">GitHub&lt;/a>) keeps a persistent companion workbench synchronized across multiple origin routes (&lt;code>/&lt;/code>, &lt;code>/workspace/specs&lt;/code>, &lt;code>/workspace/audit&lt;/code>, &lt;code>/workspace/notes&lt;/code>) via &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Picture-in-Picture_API">&lt;code>Document Picture-in-Picture&lt;/code>&lt;/a>, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel">&lt;code>BroadcastChannel&lt;/code>&lt;/a>, the Navigation API, and CSS Container Queries.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://pip-web-coprocessor.kinlan-test.workers.dev">Document PiP Web Coprocessor</a> (<a href="https://github.com/PaulKinlan/pip-web-coprocessor">GitHub</a>) keeps a persistent companion workbench synchronized across multiple origin routes (<code>/</code>, <code>/workspace/specs</code>, <code>/workspace/audit</code>, <code>/workspace/notes</code>) via <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Picture-in-Picture_API"><code>Document Picture-in-Picture</code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel"><code>BroadcastChannel</code></a>, the Navigation API, and CSS Container Queries.</p>
]]></content:encoded></item><item><title>webrtc p2p agent swarm</title><link>https://aifoc.us/labs/agent-meshes/webrtc-agent-swarm/</link><pubDate>Tue, 01 Dec 2026 09:17:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/agent-meshes/webrtc-agent-swarm/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://webrtc-agent-swarm.kinlan-test.workers.dev">WebRTC Agent Swarm&lt;/a> (&lt;a href="https://github.com/PaulKinlan/webrtc-agent-swarm">GitHub&lt;/a>) connects two browser peers over &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel">&lt;code>RTCDataChannel&lt;/code>&lt;/a> using a Durable Object (&lt;code>SwarmSignaling&lt;/code>) solely for ephemeral SDP/ICE handshakes while persisting CRDT logs locally in IndexedDB with &lt;code>navigator.locks&lt;/code> leader coordination.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://webrtc-agent-swarm.kinlan-test.workers.dev">WebRTC Agent Swarm</a> (<a href="https://github.com/PaulKinlan/webrtc-agent-swarm">GitHub</a>) connects two browser peers over <a href="https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel"><code>RTCDataChannel</code></a> using a Durable Object (<code>SwarmSignaling</code>) solely for ephemeral SDP/ICE handshakes while persisting CRDT logs locally in IndexedDB with <code>navigator.locks</code> leader coordination.</p>
]]></content:encoded></item><item><title>reactive dom signals for prompts</title><link>https://aifoc.us/labs/reactive-prompts/reactive-dom-signals-for-prompts/</link><pubDate>Tue, 01 Dec 2026 09:16:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/reactive-prompts/reactive-dom-signals-for-prompts/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://reactive-dom-signals-for-prompts.kinlan-test.workers.dev">Reactive DOM Signals&lt;/a> (&lt;a href="https://github.com/PaulKinlan/reactive-dom-signals-for-prompts">GitHub&lt;/a>) links &lt;code>MutationObserver&lt;/code> text edits to a 5-node dependency DAG that caches unchanged sibling branches via &lt;code>structuredClone&lt;/code> and aborts superseded &lt;code>ReadableStream&lt;/code> responses through &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController">&lt;code>AbortController&lt;/code>&lt;/a>.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://reactive-dom-signals-for-prompts.kinlan-test.workers.dev">Reactive DOM Signals</a> (<a href="https://github.com/PaulKinlan/reactive-dom-signals-for-prompts">GitHub</a>) links <code>MutationObserver</code> text edits to a 5-node dependency DAG that caches unchanged sibling branches via <code>structuredClone</code> and aborts superseded <code>ReadableStream</code> responses through <a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController"><code>AbortController</code></a>.</p>
]]></content:encoded></item><item><title>local-first model latency &amp; capability bench</title><link>https://aifoc.us/labs/local-compute/local-first-model-bench/</link><pubDate>Tue, 01 Dec 2026 09:15:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/local-compute/local-first-model-bench/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://local-first-model-bench.kinlan-test.workers.dev">Local-First Model Bench&lt;/a> (&lt;a href="https://github.com/PaulKinlan/local-first-model-bench">GitHub&lt;/a>) probes &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API">&lt;code>WebGPU&lt;/code>&lt;/a>, &lt;code>WebNN&lt;/code>, built-in &lt;code>LanguageModel&lt;/code>/&lt;code>Summarizer&lt;/code>, and WebAssembly, racing standardized scoring workloads locally against a Cloudflare Worker &lt;code>/api/edge-baseline&lt;/code> endpoint.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://local-first-model-bench.kinlan-test.workers.dev">Local-First Model Bench</a> (<a href="https://github.com/PaulKinlan/local-first-model-bench">GitHub</a>) probes <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API"><code>WebGPU</code></a>, <code>WebNN</code>, built-in <code>LanguageModel</code>/<code>Summarizer</code>, and WebAssembly, racing standardized scoring workloads locally against a Cloudflare Worker <code>/api/edge-baseline</code> endpoint.</p>
]]></content:encoded></item><item><title>live .wat-to-.wasm compiler &amp; equivalence gate</title><link>https://aifoc.us/labs/local-compute/zero-js-wat-web/</link><pubDate>Tue, 01 Dec 2026 09:14:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/local-compute/zero-js-wat-web/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>If an AI model emits compact &lt;a href="https://webassembly.github.io/spec/core/text/index.html">WebAssembly Text (&lt;code>.wat&lt;/code>)&lt;/a> instead of JavaScript, can an automated equivalence gate verify outputs before anyone has to read stack instructions, and when does compiling &lt;code>.wat&lt;/code> on the fly beat the browser&amp;rsquo;s JS JIT?&lt;/p>
&lt;p>&lt;a href="https://zero-js-wat-web.kinlan-test.workers.dev">Live .wat-to-.wasm Compiler &amp;amp; Equivalence Gate&lt;/a> (&lt;a href="https://github.com/PaulKinlan/zero-js-wat-web">GitHub&lt;/a>) compiles raw &lt;code>.wat&lt;/code> S-expressions into binary &lt;code>.wasm&lt;/code> on the fly in both the browser and a Cloudflare Worker (&lt;code>POST /api/compile-wat&lt;/code>), synthesizes new modules directly from parameter specs (&lt;code>sum-squares&lt;/code>, &lt;code>xor-checksum&lt;/code>, &lt;code>threshold-count&lt;/code>, &lt;code>collatz-steps&lt;/code>), checks &lt;code>Wasm(x) === JS(x)&lt;/code> across curated test vectors (&lt;a href="https://zero-js-wat-web.kinlan-test.workers.dev/wasm/preset/primes.wat">&lt;code>/wasm/preset/primes.wat&lt;/code>&lt;/a>, &lt;a href="https://zero-js-wat-web.kinlan-test.workers.dev/wasm/preset/primes.wasm">&lt;code>/wasm/preset/primes.wasm&lt;/code>&lt;/a>), races Cold compile+run vs. Warm Wasm vs. Warm JS loops, and demonstrates why DOM updates require explicit host capability imports (&lt;code>dom.paint_bar&lt;/code>).&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>If an AI model emits compact <a href="https://webassembly.github.io/spec/core/text/index.html">WebAssembly Text (<code>.wat</code>)</a> instead of JavaScript, can an automated equivalence gate verify outputs before anyone has to read stack instructions, and when does compiling <code>.wat</code> on the fly beat the browser&rsquo;s JS JIT?</p>
<p><a href="https://zero-js-wat-web.kinlan-test.workers.dev">Live .wat-to-.wasm Compiler &amp; Equivalence Gate</a> (<a href="https://github.com/PaulKinlan/zero-js-wat-web">GitHub</a>) compiles raw <code>.wat</code> S-expressions into binary <code>.wasm</code> on the fly in both the browser and a Cloudflare Worker (<code>POST /api/compile-wat</code>), synthesizes new modules directly from parameter specs (<code>sum-squares</code>, <code>xor-checksum</code>, <code>threshold-count</code>, <code>collatz-steps</code>), checks <code>Wasm(x) === JS(x)</code> across curated test vectors (<a href="https://zero-js-wat-web.kinlan-test.workers.dev/wasm/preset/primes.wat"><code>/wasm/preset/primes.wat</code></a>, <a href="https://zero-js-wat-web.kinlan-test.workers.dev/wasm/preset/primes.wasm"><code>/wasm/preset/primes.wasm</code></a>), races Cold compile+run vs. Warm Wasm vs. Warm JS loops, and demonstrates why DOM updates require explicit host capability imports (<code>dom.paint_bar</code>).</p>
]]></content:encoded></item><item><title>web + ai spec polyfill testbed</title><link>https://aifoc.us/labs/hypermedia-and-islands/spec-polyfill-browser/</link><pubDate>Tue, 01 Dec 2026 09:13:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/hypermedia-and-islands/spec-polyfill-browser/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://spec-polyfill-browser.kinlan-test.workers.dev">Spec Polyfill Testbed&lt;/a> (&lt;a href="https://github.com/PaulKinlan/spec-polyfill-browser">GitHub&lt;/a>) runs 15 structured assertions with &lt;code>PerformanceObserver&lt;/code> timing across polyfilled &lt;code>navigator.modelContext&lt;/code>, &lt;code>&amp;lt;web-island&amp;gt;&lt;/code> with &lt;code>ElementInternals&lt;/code>, and declarative &lt;code>Connection-Allowlist&lt;/code> rules alongside a live HTTP &lt;code>Connection-Allowlist: ()&lt;/code> probe.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://spec-polyfill-browser.kinlan-test.workers.dev">Spec Polyfill Testbed</a> (<a href="https://github.com/PaulKinlan/spec-polyfill-browser">GitHub</a>) runs 15 structured assertions with <code>PerformanceObserver</code> timing across polyfilled <code>navigator.modelContext</code>, <code>&lt;web-island&gt;</code> with <code>ElementInternals</code>, and declarative <code>Connection-Allowlist</code> rules alongside a live HTTP <code>Connection-Allowlist: ()</code> probe.</p>
]]></content:encoded></item><item><title>signed web citations</title><link>https://aifoc.us/labs/web-protocols/signed-web-citations/</link><pubDate>Tue, 01 Dec 2026 09:12:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/web-protocols/signed-web-citations/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>When downstream tools summarize pages or transclude snippets, readers currently lack cryptographic proof that quoted spans match what the origin actually served.&lt;/p>
&lt;p>&lt;a href="https://signed-web-citations.kinlan-test.workers.dev">Signed Web Citations&lt;/a> (&lt;a href="https://github.com/PaulKinlan/signed-web-citations">GitHub&lt;/a>) emits real &lt;a href="https://www.rfc-editor.org/rfc/rfc9530">RFC 9530 &lt;code>Content-Digest&lt;/code>&lt;/a> (&lt;code>SHA-256&lt;/code>) and &lt;a href="https://www.rfc-editor.org/rfc/rfc9421">RFC 9421 HTTP Message Signatures&lt;/a> headers (&lt;code>Signature-Input&lt;/code>, &lt;code>Signature&lt;/code>) over origin payloads paired with &lt;a href="https://signed-web-citations.kinlan-test.workers.dev/.well-known/http-message-signatures-directory">&lt;code>/.well-known/http-message-signatures-directory&lt;/code>&lt;/a>. Mutating a single word highlights the exact diff and causes browser &lt;code>crypto.subtle.verify()&lt;/code> to fail.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>When downstream tools summarize pages or transclude snippets, readers currently lack cryptographic proof that quoted spans match what the origin actually served.</p>
<p><a href="https://signed-web-citations.kinlan-test.workers.dev">Signed Web Citations</a> (<a href="https://github.com/PaulKinlan/signed-web-citations">GitHub</a>) emits real <a href="https://www.rfc-editor.org/rfc/rfc9530">RFC 9530 <code>Content-Digest</code></a> (<code>SHA-256</code>) and <a href="https://www.rfc-editor.org/rfc/rfc9421">RFC 9421 HTTP Message Signatures</a> headers (<code>Signature-Input</code>, <code>Signature</code>) over origin payloads paired with <a href="https://signed-web-citations.kinlan-test.workers.dev/.well-known/http-message-signatures-directory"><code>/.well-known/http-message-signatures-directory</code></a>. Mutating a single word highlights the exact diff and causes browser <code>crypto.subtle.verify()</code> to fail.</p>
]]></content:encoded></item><item><title>hyper content negotiation lab</title><link>https://aifoc.us/labs/web-protocols/hyper-content-negotiation-lab/</link><pubDate>Tue, 01 Dec 2026 09:11:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/web-protocols/hyper-content-negotiation-lab/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>Serving monolithic rendered HTML to both visual browsers and automated retrieval pipelines bloats token budgets and mixes chrome with primary content. Does standard &lt;a href="https://www.rfc-editor.org/rfc/rfc9110#section-12.5.1">RFC 9110 &lt;code>Accept&lt;/code> content negotiation&lt;/a> solve this from one canonical URL?&lt;/p>
&lt;p>&lt;a href="https://hyper-content-negotiation-lab.kinlan-test.workers.dev">Hyper Content Negotiation Lab&lt;/a> (&lt;a href="https://github.com/PaulKinlan/hyper-content-negotiation-lab">GitHub&lt;/a>) serves canonical &lt;a href="https://hyper-content-negotiation-lab.kinlan-test.workers.dev/docs/hyper-content-negotiation">&lt;code>/docs/hyper-content-negotiation&lt;/code>&lt;/a> resources plus an SSRF-hardened &lt;code>/negotiate?url=https://...&lt;/code> proxy, responding with &lt;code>text/html&lt;/code>, compact &lt;code>text/markdown&lt;/code>, &lt;code>application/ld+json&lt;/code> (&lt;a href="https://schema.org/Article">Schema.org&lt;/a>), or &lt;code>application/json&lt;/code> while setting &lt;code>Vary: Accept&lt;/code>, &lt;code>Link&lt;/code> alternates, byte counts, and estimated token reductions.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>Serving monolithic rendered HTML to both visual browsers and automated retrieval pipelines bloats token budgets and mixes chrome with primary content. Does standard <a href="https://www.rfc-editor.org/rfc/rfc9110#section-12.5.1">RFC 9110 <code>Accept</code> content negotiation</a> solve this from one canonical URL?</p>
<p><a href="https://hyper-content-negotiation-lab.kinlan-test.workers.dev">Hyper Content Negotiation Lab</a> (<a href="https://github.com/PaulKinlan/hyper-content-negotiation-lab">GitHub</a>) serves canonical <a href="https://hyper-content-negotiation-lab.kinlan-test.workers.dev/docs/hyper-content-negotiation"><code>/docs/hyper-content-negotiation</code></a> resources plus an SSRF-hardened <code>/negotiate?url=https://...</code> proxy, responding with <code>text/html</code>, compact <code>text/markdown</code>, <code>application/ld+json</code> (<a href="https://schema.org/Article">Schema.org</a>), or <code>application/json</code> while setting <code>Vary: Accept</code>, <code>Link</code> alternates, byte counts, and estimated token reductions.</p>
]]></content:encoded></item><item><title>permission replay debugger</title><link>https://aifoc.us/labs/browser-containment/permission-replay-debugger/</link><pubDate>Tue, 01 Dec 2026 09:10:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/browser-containment/permission-replay-debugger/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://permission-replay-debugger.kinlan-test.workers.dev">Permission Replay Debugger&lt;/a> (&lt;a href="https://github.com/PaulKinlan/permission-replay-debugger">GitHub&lt;/a>) audits live &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API">&lt;code>navigator.permissions.query()&lt;/code>&lt;/a> states, exercises a strict HTTP &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy">&lt;code>Permissions-Policy&lt;/code>&lt;/a> iframe (&lt;code>/probe/restricted-policy&lt;/code>), and correlates &lt;code>ReportingObserver&lt;/code> violations into an exportable OPFS JSONL replay journal.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://permission-replay-debugger.kinlan-test.workers.dev">Permission Replay Debugger</a> (<a href="https://github.com/PaulKinlan/permission-replay-debugger">GitHub</a>) audits live <a href="https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API"><code>navigator.permissions.query()</code></a> states, exercises a strict HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"><code>Permissions-Policy</code></a> iframe (<code>/probe/restricted-policy</code>), and correlates <code>ReportingObserver</code> violations into an exportable OPFS JSONL replay journal.</p>
]]></content:encoded></item><item><title>keyless browser proxy</title><link>https://aifoc.us/labs/delegated-authority/keyless-browser-proxy/</link><pubDate>Tue, 01 Dec 2026 09:09:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/delegated-authority/keyless-browser-proxy/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://keyless-browser-proxy.kinlan-test.workers.dev">Keyless Browser Proxy&lt;/a> (&lt;a href="https://github.com/PaulKinlan/keyless-browser-proxy">GitHub&lt;/a>) replaces static client API secrets with origin-verified HMAC-SHA256 ephemeral tokens enforced against a Cloudflare Durable Object SQLite &lt;code>QuotaLedger&lt;/code> across &lt;code>401&lt;/code>, &lt;code>403&lt;/code>, and &lt;code>429&lt;/code> boundaries.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://keyless-browser-proxy.kinlan-test.workers.dev">Keyless Browser Proxy</a> (<a href="https://github.com/PaulKinlan/keyless-browser-proxy">GitHub</a>) replaces static client API secrets with origin-verified HMAC-SHA256 ephemeral tokens enforced against a Cloudflare Durable Object SQLite <code>QuotaLedger</code> across <code>401</code>, <code>403</code>, and <code>429</code> boundaries.</p>
]]></content:encoded></item><item><title>passkey attenuated capabilities</title><link>https://aifoc.us/labs/delegated-authority/passkey-agent-caps/</link><pubDate>Tue, 01 Dec 2026 09:08:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/delegated-authority/passkey-agent-caps/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>Static bearer keys and ambient session cookies grant unbounded authority when delegated to an automated tool loop. What does cryptographically attenuated delegation look like between a browser user and an edge Worker?&lt;/p>
&lt;p>&lt;a href="https://passkey-agent-caps.kinlan-test.workers.dev">Passkey Attenuated Capabilities&lt;/a> (&lt;a href="https://github.com/PaulKinlan/passkey-agent-caps">GitHub&lt;/a>) mints scope-restricted, dollar-capped, short-TTL ECDSA P-256 proofs (with optional &lt;a href="https://www.w3.org/TR/webauthn-3/#prf-extension">WebAuthn Level 3 &lt;code>prf&lt;/code>&lt;/a> hardware confirmation alongside non-extractable &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto">&lt;code>crypto.subtle&lt;/code>&lt;/a> session keys) and verifies every signature, expiry, nonce replay check, and cumulative spend cap in a Cloudflare Durable Object SQLite ledger (&lt;code>DelegationLedger&lt;/code>).&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>Static bearer keys and ambient session cookies grant unbounded authority when delegated to an automated tool loop. What does cryptographically attenuated delegation look like between a browser user and an edge Worker?</p>
<p><a href="https://passkey-agent-caps.kinlan-test.workers.dev">Passkey Attenuated Capabilities</a> (<a href="https://github.com/PaulKinlan/passkey-agent-caps">GitHub</a>) mints scope-restricted, dollar-capped, short-TTL ECDSA P-256 proofs (with optional <a href="https://www.w3.org/TR/webauthn-3/#prf-extension">WebAuthn Level 3 <code>prf</code></a> hardware confirmation alongside non-extractable <a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto"><code>crypto.subtle</code></a> session keys) and verifies every signature, expiry, nonce replay check, and cumulative spend cap in a Cloudflare Durable Object SQLite ledger (<code>DelegationLedger</code>).</p>
]]></content:encoded></item><item><title>canonical multimodal ui</title><link>https://aifoc.us/labs/hypermedia-and-islands/canonical-multimodal-ui/</link><pubDate>Tue, 01 Dec 2026 09:07:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/hypermedia-and-islands/canonical-multimodal-ui/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://canonical-multimodal-ui.kinlan-test.workers.dev">Canonical Multimodal UI&lt;/a> (&lt;a href="https://github.com/PaulKinlan/canonical-multimodal-ui">GitHub&lt;/a>) generates both semantic ARIA/&lt;code>FormData&lt;/code> HTML controls (with Invoker &lt;code>commandfor&lt;/code> actions) and &lt;a href="https://webmachinelearning.github.io/webmcp/">WebMCP&lt;/a> JSON tool schemas from one declarative schema backed by an FNV-1a hashed reducer to eliminate UI/API drift.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://canonical-multimodal-ui.kinlan-test.workers.dev">Canonical Multimodal UI</a> (<a href="https://github.com/PaulKinlan/canonical-multimodal-ui">GitHub</a>) generates both semantic ARIA/<code>FormData</code> HTML controls (with Invoker <code>commandfor</code> actions) and <a href="https://webmachinelearning.github.io/webmcp/">WebMCP</a> JSON tool schemas from one declarative schema backed by an FNV-1a hashed reducer to eliminate UI/API drift.</p>
]]></content:encoded></item><item><title>spatial canvas os</title><link>https://aifoc.us/labs/hypermedia-and-islands/spatial-canvas-os/</link><pubDate>Tue, 01 Dec 2026 09:06:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/hypermedia-and-islands/spatial-canvas-os/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://spatial-canvas-os.kinlan-test.workers.dev">Spatial Canvas OS&lt;/a> (&lt;a href="https://github.com/PaulKinlan/spatial-canvas-os">GitHub&lt;/a>) renders branching research graphs on &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas">&lt;code>OffscreenCanvas&lt;/code>&lt;/a> (with 2D Canvas fallback) driven by Pointer Events and serializes full camera coordinates and node state into shareable &lt;code>#cam=x,y,z&amp;amp;g=...&lt;/code> URL hashes.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://spatial-canvas-os.kinlan-test.workers.dev">Spatial Canvas OS</a> (<a href="https://github.com/PaulKinlan/spatial-canvas-os">GitHub</a>) renders branching research graphs on <a href="https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas"><code>OffscreenCanvas</code></a> (with 2D Canvas fallback) driven by Pointer Events and serializes full camera coordinates and node state into shareable <code>#cam=x,y,z&amp;g=...</code> URL hashes.</p>
]]></content:encoded></item><item><title>&lt;web-island> multi-origin host shell</title><link>https://aifoc.us/labs/hypermedia-and-islands/web-island-host-shell/</link><pubDate>Tue, 01 Dec 2026 09:05:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/hypermedia-and-islands/web-island-host-shell/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>How does a browser portal or conversational shell compose multiple independent interactive widgets from different origins without surrendering host DOM access or losing origin authentication?&lt;/p>
&lt;p>&lt;a href="https://web-island-host-shell.kinlan-test.workers.dev">Web Island Host Shell&lt;/a> (&lt;a href="https://github.com/PaulKinlan/web-island-host-shell">GitHub&lt;/a>) discovers &lt;a href="https://web-island-host-shell.kinlan-test.workers.dev/.well-known/web-island.json">&lt;code>/.well-known/web-island.json&lt;/code>&lt;/a> manifests for three isolated widgets (&lt;code>seats&lt;/code>, &lt;code>budget&lt;/code>, &lt;code>calendar&lt;/code>), mounts each as a &lt;code>&amp;lt;web-island&amp;gt;&lt;/code> custom element enclosing &lt;code>sandbox=&amp;quot;allow-scripts&amp;quot;&lt;/code>, synchronizes design tokens and intrinsic height over &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel">&lt;code>MessageChannel&lt;/code>&lt;/a> + &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver">&lt;code>ResizeObserver&lt;/code>&lt;/a>, enforces hub-and-spoke routing, gates batched &lt;a href="https://webmachinelearning.github.io/webmcp/">WebMCP&lt;/a> calls behind a &lt;code>&amp;lt;dialog&amp;gt;&lt;/code> confirmation modal, and verifies ECDSA P-256 hold receipts.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>How does a browser portal or conversational shell compose multiple independent interactive widgets from different origins without surrendering host DOM access or losing origin authentication?</p>
<p><a href="https://web-island-host-shell.kinlan-test.workers.dev">Web Island Host Shell</a> (<a href="https://github.com/PaulKinlan/web-island-host-shell">GitHub</a>) discovers <a href="https://web-island-host-shell.kinlan-test.workers.dev/.well-known/web-island.json"><code>/.well-known/web-island.json</code></a> manifests for three isolated widgets (<code>seats</code>, <code>budget</code>, <code>calendar</code>), mounts each as a <code>&lt;web-island&gt;</code> custom element enclosing <code>sandbox=&quot;allow-scripts&quot;</code>, synchronizes design tokens and intrinsic height over <a href="https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel"><code>MessageChannel</code></a> + <a href="https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver"><code>ResizeObserver</code></a>, enforces hub-and-spoke routing, gates batched <a href="https://webmachinelearning.github.io/webmcp/">WebMCP</a> calls behind a <code>&lt;dialog&gt;</code> confirmation modal, and verifies ECDSA P-256 hold receipts.</p>
]]></content:encoded></item><item><title>hypermedia islands lab</title><link>https://aifoc.us/labs/hypermedia-and-islands/hypermedia-islands-lab/</link><pubDate>Tue, 01 Dec 2026 09:04:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/hypermedia-and-islands/hypermedia-islands-lab/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>HTML standardized &lt;code>A -&amp;gt; B&lt;/code> navigation while leaving bidirectional inbound links (&lt;code>B -&amp;gt; A&lt;/code>), inline StretchText transclusion (&lt;code>A &amp;lt;- B&lt;/code>), shareable &lt;code>#trail=&lt;/code> Memex paths (&lt;code>B &amp;lt;- A&lt;/code>), and capability-isolated cross-origin widgets unresolved.&lt;/p>
&lt;p>&lt;a href="https://hypermedia-islands-lab.kinlan-test.workers.dev">Hypermedia Islands Lab&lt;/a> (&lt;a href="https://github.com/PaulKinlan/hypermedia-islands-lab">GitHub&lt;/a>) runs StretchText, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API">View Transitions&lt;/a>, optional local &lt;code>Summarizer&lt;/code>, &lt;a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments">URL Text Fragments&lt;/a>, &lt;code>#t=&lt;/code> Web Audio anchors, and an SSRF-shielded &lt;code>/api/fetch-doc&lt;/code> proxy alongside a 4-mode component bench and directed-graph PageRank simulator.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>HTML standardized <code>A -&gt; B</code> navigation while leaving bidirectional inbound links (<code>B -&gt; A</code>), inline StretchText transclusion (<code>A &lt;- B</code>), shareable <code>#trail=</code> Memex paths (<code>B &lt;- A</code>), and capability-isolated cross-origin widgets unresolved.</p>
<p><a href="https://hypermedia-islands-lab.kinlan-test.workers.dev">Hypermedia Islands Lab</a> (<a href="https://github.com/PaulKinlan/hypermedia-islands-lab">GitHub</a>) runs StretchText, <a href="https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API">View Transitions</a>, optional local <code>Summarizer</code>, <a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments">URL Text Fragments</a>, <code>#t=</code> Web Audio anchors, and an SSRF-shielded <code>/api/fetch-doc</code> proxy alongside a 4-mode component bench and directed-graph PageRank simulator.</p>
]]></content:encoded></item><item><title>browser ephemeral vm</title><link>https://aifoc.us/labs/browser-containment/browser-ephemeral-vm/</link><pubDate>Tue, 01 Dec 2026 09:03:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/browser-containment/browser-ephemeral-vm/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>&lt;a href="https://browser-ephemeral-vm.kinlan-test.workers.dev">Browser Ephemeral VM&lt;/a> (&lt;a href="https://github.com/PaulKinlan/browser-ephemeral-vm">GitHub&lt;/a>) runs a fuel-metered linear-memory &lt;code>.wasm&lt;/code> binary inside a Dedicated Worker backed by &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system">OPFS&lt;/a> binary checkpoints (&lt;code>vm-ckpt-*.bin&lt;/code>), aborting deterministically via &lt;code>WebAssembly.RuntimeError&lt;/code> on step-budget exhaustion and computing exact byte-level hex diffs and rollbacks.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p><a href="https://browser-ephemeral-vm.kinlan-test.workers.dev">Browser Ephemeral VM</a> (<a href="https://github.com/PaulKinlan/browser-ephemeral-vm">GitHub</a>) runs a fuel-metered linear-memory <code>.wasm</code> binary inside a Dedicated Worker backed by <a href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system">OPFS</a> binary checkpoints (<code>vm-ckpt-*.bin</code>), aborting deterministically via <code>WebAssembly.RuntimeError</code> on step-budget exhaustion and computing exact byte-level hex diffs and rollbacks.</p>
]]></content:encoded></item><item><title>slice capability mesh</title><link>https://aifoc.us/labs/browser-containment/slice-capability-mesh/</link><pubDate>Tue, 01 Dec 2026 09:02:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/browser-containment/slice-capability-mesh/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>Granting a page or embedded script ambient origin storage (&lt;code>localStorage&lt;/code>, &lt;code>IndexedDB&lt;/code>, or full storage roots) exposes unrelated secrets across tasks. How do native browser primitives enforce per-task least-privilege file access instead?&lt;/p>
&lt;p>&lt;a href="https://slice-capability-mesh.kinlan-test.workers.dev">Slice Capability Mesh&lt;/a> (&lt;a href="https://github.com/PaulKinlan/slice-capability-mesh">GitHub&lt;/a>) seeds sample directories inside &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system">Origin Private File System (OPFS)&lt;/a> (&lt;code>private/&lt;/code>, &lt;code>workspace/&lt;/code>, &lt;code>shared/&lt;/code>), mints short-lived capability tokens tied to &lt;code>/cap/&amp;lt;token&amp;gt;/&amp;lt;path&amp;gt;&lt;/code> routes, and enforces directory containment, read-only vs. read-append permissions, path-traversal rejection (&lt;code>../&lt;/code>), max read counts, and immediate revocation inside a &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">Service Worker&lt;/a> &lt;code>FetchEvent&lt;/code> broker.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>Granting a page or embedded script ambient origin storage (<code>localStorage</code>, <code>IndexedDB</code>, or full storage roots) exposes unrelated secrets across tasks. How do native browser primitives enforce per-task least-privilege file access instead?</p>
<p><a href="https://slice-capability-mesh.kinlan-test.workers.dev">Slice Capability Mesh</a> (<a href="https://github.com/PaulKinlan/slice-capability-mesh">GitHub</a>) seeds sample directories inside <a href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system">Origin Private File System (OPFS)</a> (<code>private/</code>, <code>workspace/</code>, <code>shared/</code>), mints short-lived capability tokens tied to <code>/cap/&lt;token&gt;/&lt;path&gt;</code> routes, and enforces directory containment, read-only vs. read-append permissions, path-traversal rejection (<code>../</code>), max read counts, and immediate revocation inside a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">Service Worker</a> <code>FetchEvent</code> broker.</p>
]]></content:encoded></item><item><title>agent containment lab</title><link>https://aifoc.us/labs/browser-containment/agent-containment-lab/</link><pubDate>Tue, 01 Dec 2026 09:01:00 +0000</pubDate><author>paul@aifoc.us (Paul Kinlan)</author><guid>https://aifoc.us/labs/browser-containment/agent-containment-lab/</guid><description>&lt;h2 id="what-this-lab-tests">What this lab tests&lt;/h2>
&lt;p>When untrusted web text enters an agent loop running in the browser, Same-Origin Policy does not block first-party exfiltration channels such as &lt;code>fetch()&lt;/code>, &lt;code>navigator.sendBeacon()&lt;/code>, &lt;code>&amp;lt;img src&amp;gt;&lt;/code>, stylesheets, or WebSockets. Combining &lt;code>allow-scripts&lt;/code> and &lt;code>allow-same-origin&lt;/code> on a same-origin &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#sandbox">&lt;code>&amp;lt;iframe sandbox&amp;gt;&lt;/code>&lt;/a> lets embedded scripts inspect &lt;code>parent.document&lt;/code> and &lt;code>parent.localStorage&lt;/code>.&lt;/p>
&lt;p>&lt;a href="https://agent-containment-lab.kinlan-test.workers.dev">Agent Containment Lab&lt;/a> (&lt;a href="https://github.com/PaulKinlan/agent-containment-lab">GitHub&lt;/a>) executes live probes (including 302 redirects and WebRTC ICE candidates) across 7 containment tiers backed by a Cloudflare SQLite Durable Object collector (&lt;code>CanarySession&lt;/code>), adds a dedicated WICG &lt;a href="https://chromestatus.com/feature/5175745573945344">&lt;code>Connection-Allowlist&lt;/code>&lt;/a> policy builder (&lt;code>()&lt;/code> empty list, &lt;code>(response-origin)&lt;/code>, &lt;code>URLPattern&lt;/code>, &lt;code>Connection-Allowlist-Report-Only&lt;/code>, &lt;code>redirects=allow&lt;/code>, &lt;a href="https://wicg.github.io/connection-allowlists">&lt;code>ReportingObserver&lt;/code>&lt;/a>), and pairs it with a &lt;code>WeakSet&lt;/code> + &lt;code>Proxy&lt;/code> taint engine and a dual-locked enclave.&lt;/p></description><content:encoded><![CDATA[<h2 id="what-this-lab-tests">What this lab tests</h2>
<p>When untrusted web text enters an agent loop running in the browser, Same-Origin Policy does not block first-party exfiltration channels such as <code>fetch()</code>, <code>navigator.sendBeacon()</code>, <code>&lt;img src&gt;</code>, stylesheets, or WebSockets. Combining <code>allow-scripts</code> and <code>allow-same-origin</code> on a same-origin <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#sandbox"><code>&lt;iframe sandbox&gt;</code></a> lets embedded scripts inspect <code>parent.document</code> and <code>parent.localStorage</code>.</p>
<p><a href="https://agent-containment-lab.kinlan-test.workers.dev">Agent Containment Lab</a> (<a href="https://github.com/PaulKinlan/agent-containment-lab">GitHub</a>) executes live probes (including 302 redirects and WebRTC ICE candidates) across 7 containment tiers backed by a Cloudflare SQLite Durable Object collector (<code>CanarySession</code>), adds a dedicated WICG <a href="https://chromestatus.com/feature/5175745573945344"><code>Connection-Allowlist</code></a> policy builder (<code>()</code> empty list, <code>(response-origin)</code>, <code>URLPattern</code>, <code>Connection-Allowlist-Report-Only</code>, <code>redirects=allow</code>, <a href="https://wicg.github.io/connection-allowlists"><code>ReportingObserver</code></a>), and pairs it with a <code>WeakSet</code> + <code>Proxy</code> taint engine and a dual-locked enclave.</p>
]]></content:encoded></item></channel></rss>