Files
skills/public/hip-0114.html

306 lines
26 KiB
HTML

<!doctype html>
<html lang="en"><head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>hip-0114</title>
<meta name="color-scheme" content="dark">
<style>
/* Committed to one visual world: a dark instrument panel. No light variant —
the dot field and the hairline rules only read on black, and a naive
inversion would wash both out. Every colour is painted explicitly so the page
never borrows a host background. */
@font-face{font-family:'Zen';src:url('/fonts/Zen-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Zen';src:url('/fonts/Zen-Italic-Variable.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:'Zen Mono';src:url('/fonts/ZenMono-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Zen Mono';src:url('/fonts/ZenMono-Italic-Variable.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:'Zen Pixel Square';src:url('/fonts/ZenPixel-Square.woff2') format('woff2');font-style:normal;font-display:swap}
:root{
--ink:#f4f4f2; --soft:#9c9c98; --faint:#6a6a66; --ground:#000; --panel:#0a0a0a;
--line:#232323; --line-hi:#3a3a3a; --accent:#f4f4f2;
--font-zen-sans:'Zen',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
--font-zen-mono:'Zen Mono',ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
--font-zen-pixel-square:'Zen Pixel Square',monospace;
--mono:var(--font-zen-mono);
--sans:var(--font-zen-sans);
/* Controls are pills and surfaces are soft, as on hanzo.ai. */
--r:999px; --r-soft:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);
font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{max-width:60rem;margin:0 auto;padding:0 1.75rem}
/* The dot field. A halftone made of one repeating radial-gradient, faded out
along the diagonal by a mask so it reads as a wave rather than wallpaper. */
/* No overflow clip here: the dot field is inset to the box already, and a clip
would cut off the copy-prompt menu. */
.hero{position:relative;border-bottom:1px solid var(--line)}
.hero::before{content:"";position:absolute;inset:0;
background-image:radial-gradient(var(--line-hi) 1px, transparent 1px);
background-size:7px 7px;
-webkit-mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 72%);
mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 72%);
pointer-events:none}
.hero .wrap{position:relative;padding-top:5.5rem;padding-bottom:4rem}
nav{border-bottom:1px solid var(--line)}
nav .in{max-width:60rem;margin:0 auto;padding:1.1rem 1.75rem;display:flex;
justify-content:space-between;align-items:center;gap:1rem}
.brand{font-family:var(--mono);font-size:.85rem;letter-spacing:.14em;
text-transform:uppercase;color:var(--ink);text-decoration:none;
display:inline-flex;align-items:center;gap:.6rem}
.brand i{font-style:normal;color:var(--faint)}
.mark{width:1.15em;height:1.15em;display:block;flex:0 0 auto}
nav a.up{font-family:var(--mono);font-size:.72rem;letter-spacing:.14em;
text-transform:uppercase;color:var(--soft);text-decoration:none}
nav a.up:hover{color:var(--ink)}
h1{font-family:var(--mono);font-size:clamp(2rem,5.4vw,3.4rem);line-height:1.12;
letter-spacing:-.02em;margin:0 0 1.1rem;font-weight:500;text-wrap:balance}
h1 em{font-style:normal;color:var(--faint)}
.lede{color:var(--soft);font-size:1.05rem;max-width:52ch;margin:0 0 2.25rem}
.btns{display:flex;flex-wrap:wrap;gap:.7rem;margin:0 0 .5rem;align-items:center}
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--mono);
font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
padding:.8rem 1.4rem;border:1px solid var(--line-hi);border-radius:var(--r);
color:var(--ink);text-decoration:none;background:transparent;cursor:pointer;
line-height:1.2;font-weight:400}
.btn:hover{background:#141414;text-decoration:none;border-color:var(--soft)}
.btn.solid{background:var(--ink);color:#000;border-color:var(--ink)}
.btn.solid:hover{background:#d8d8d4}
.btn .chev{width:.7em;height:.7em;flex:0 0 auto;transition:transform .15s ease}
.btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
/* Copy-prompt selector. Each row copies the prompt for its own target. */
.copy{position:relative;display:inline-flex}
.menu{position:absolute;top:calc(100% + .5rem);left:0;z-index:20;min-width:21rem;
background:var(--panel);border:1px solid var(--line-hi);border-radius:var(--r-soft);
padding:.4rem;display:flex;flex-direction:column;
box-shadow:0 12px 32px rgba(0,0,0,.75)}
.menu[hidden]{display:none}
.mi{display:flex;align-items:center;gap:.7rem;width:100%;text-align:left;
padding:.62rem .8rem;border:0;border-radius:calc(var(--r-soft) - .35rem);
background:transparent;color:var(--ink);font-family:var(--mono);font-size:.76rem;
letter-spacing:.04em;text-decoration:none;cursor:pointer;line-height:1.3;
white-space:nowrap}
.mi:hover,.mi:focus-visible{background:#181818;outline:none}
.mi .mark{width:1.05rem;height:1.05rem;color:var(--soft)}
.mi:hover .mark{color:var(--ink)}
.mi u{margin-left:auto;color:var(--faint);text-decoration:none;font-size:.68rem;
letter-spacing:.1em;text-transform:uppercase}
/* Works-with bar: one scrolling row, name and mark per agent. */
.strip{border-bottom:1px solid var(--line);background:var(--panel)}
.strip .in{max-width:60rem;margin:0 auto;padding:.9rem 1.75rem;display:flex;
align-items:center;gap:1.25rem;font-family:var(--mono);font-size:.72rem;
letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.strip b{color:var(--soft);font-weight:400;flex:0 0 auto;
border-right:1px solid var(--line);padding-right:1.25rem;align-self:stretch;
display:flex;align-items:center}
.bar{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;min-width:0;
overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent);
mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent)}
.bar::-webkit-scrollbar{display:none}
.agent{display:inline-flex;align-items:center;gap:.45rem;flex:0 0 auto;
padding:.4rem .85rem;border:1px solid var(--line);border-radius:var(--r);
color:var(--soft);white-space:nowrap;scroll-snap-align:start;
text-decoration:none;background:var(--ground)}
.agent:hover{color:var(--ink);border-color:var(--line-hi);text-decoration:none}
.agent .mark{width:.95rem;height:.95rem}
h2{font-family:var(--mono);font-size:1.1rem;letter-spacing:-.01em;margin:2.75rem 0 .75rem;font-weight:500}
h3{font-size:1rem;margin:2rem 0 .5rem;font-weight:600}
h4,h5,h6{font-size:.94rem;margin:1.5rem 0 .5rem;font-weight:600}
p{margin:0 0 1rem;max-width:70ch}
ul,ol{margin:0 0 1rem;padding-left:1.35rem;max-width:70ch}
li{margin:.22rem 0}
a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;
text-decoration-color:var(--line-hi)}
a:hover{text-decoration-color:var(--ink)}
a:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
code{font-family:var(--mono);font-size:.85em;background:var(--panel);
border:1px solid var(--line);border-radius:5px;padding:.1em .36em}
pre{background:var(--panel);border:1px solid var(--line);padding:1rem 1.1rem;
border-radius:var(--r-soft);overflow-x:auto;margin:0 0 1.25rem}
pre code{background:none;border:0;padding:0;font-size:.82rem;line-height:1.7}
blockquote{margin:0 0 1rem;padding-left:1rem;border-left:1px solid var(--line-hi);color:var(--soft)}
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}
table{border-collapse:collapse;width:100%;margin:0 0 1.25rem;font-size:.92rem;
display:block;overflow-x:auto}
th,td{border:1px solid var(--line);padding:.5rem .7rem;text-align:left}
.curl{display:block;background:var(--panel);border:1px solid var(--line);
border-radius:var(--r-soft);padding:.95rem 1.1rem;font-family:var(--mono);
font-size:.8rem;color:var(--soft);overflow-x:auto;margin:0 0 2.5rem;
white-space:pre;line-height:1.9}
.curl b{color:var(--ink);font-weight:400}
.curl i{font-style:normal;color:var(--faint)}
/* index */
#q{width:100%;padding:.85rem 1.2rem;font-family:var(--mono);font-size:.85rem;color:var(--ink);
background:var(--panel);border:1px solid var(--line);border-radius:var(--r);margin:0 0 .6rem}
#q::placeholder{color:var(--faint);text-transform:uppercase;letter-spacing:.1em;font-size:.72rem}
#q:focus{outline:none;border-color:var(--soft)}
#count{color:var(--faint);font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;
text-transform:uppercase;margin:0 0 2rem}
.cat{margin:2.5rem 0 .5rem;font-family:var(--mono);font-size:.7rem;letter-spacing:.16em;
text-transform:uppercase;color:var(--faint);border-bottom:1px solid var(--line);
padding-bottom:.45rem}
.row{display:block;padding:.6rem .9rem;margin:0 -.9rem;border-bottom:1px solid var(--line);
border-radius:var(--r-soft);text-decoration:none}
.row:hover{background:#0a0a0a}
.nm{font-family:var(--mono);font-size:.84rem;color:var(--ink);display:block}
.ds{color:var(--soft);font-size:.9rem;display:block;margin-top:.12rem}
footer{margin-top:4rem;padding:2rem 0 4rem;border-top:1px solid var(--line);
color:var(--faint);font-size:.85rem}
footer a{color:var(--soft)}
.fmap{display:grid;gap:1.75rem;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));
margin:0 0 2rem;font-size:.85rem}
.fmap b{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.16em;
text-transform:uppercase;color:var(--faint);font-weight:400;margin:0 0 .6rem;
border-bottom:1px solid var(--line);padding-bottom:.4rem}
.fmap a{display:inline-block;color:var(--ink);text-decoration:none;margin:.3rem .35rem 0 0}
.fmap a:hover{text-decoration:underline}
.fmap div{color:var(--faint);line-height:1.5}
.fend{border-top:1px solid var(--line);padding-top:1.25rem;font-size:.82rem}
@media (max-width:640px){
.hero .wrap{padding-top:3.25rem;padding-bottom:2.75rem}
.btns{gap:.5rem}
.btn{padding:.75rem 1.15rem;font-size:.68rem}
.copy,.copy .btn{width:100%;justify-content:center}
.menu{left:0;right:0;min-width:0}
.strip .in{flex-direction:column;align-items:flex-start;gap:.6rem;padding:.9rem 1.75rem}
.strip b{border-right:0;padding-right:0}
.bar{width:100%}
}
</style>
<link rel="alternate" type="text/markdown" href="/hip-0114.md">
<link rel="icon" href="/favicon.svg">
<link rel="canonical" href="https://hanzoskills.com/hip-0114">
</head>
<!-- Reading this with a machine? Every page here is also plain markdown.
This one: https://hanzoskills.com/hip-0114.md
Index: https://hanzoskills.com/llms.txt
Corpus: https://hanzoskills.com/all.md
Append .md to any path for the markdown twin. -->
<body>
<nav><div class="in">
<a class="brand" href="/"><svg class="mark" viewBox="0 0 67 67" fill="currentColor" aria-hidden="true"><path d="M22.21 67V44.6369H0V67H22.21Z"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z"/><path d="M22.21 0H0V22.3184H22.21V0Z"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z"/></svg> HANZO<i>SKILLS</i></a>
<a class="up" href="/">All skills</a>
</div></nav>
<div class="wrap">
<h1>hip-0114</h1><p class="lede">HIP-114: ZAP — Inter-VM Cognitive Transport for Thinking Chains. Status Draft. Hanzo architectural specification.</p><h1>HIP-0114: ZAP — Inter-VM Cognitive Transport for Thinking Chains</h1>
<h2>Abstract</h2>
<p><strong>ZAP</strong> is the node-local / inter-VM transport that carries the <em>messages</em> of a Thinking Chain: inference intents, settled receipts, and agent/operator messages between the consensus engine, the VM, the Cognitive Sidecar (HIP-0113), and the A-Chain provider runtime. ZAP is <strong>only a transport</strong>. It moves bytes; it is never a proof and confers no consensus weight. A ZAP message becomes consensus-relevant only when an <em>independent</em> committed proof or receipt certifies its content — the Bridge Law. This HIP specifies the ZAP message envelope, the cognitive procedure set, framing and authentication, and the binding rule that separates transport from truth, so that the messaging layer can be reasoned about and audited independently of the proofs it happens to carry.</p>
<p>This is the focused companion to HIP-0113 (Cognitive Sidecar &amp; Hanzo Engine Provider Runtime). It is one of four sibling artifacts sharing one canon: the Lux <em>Thinking Chains</em> proposal, the Zoo <em>Beluga L3 Thinking-Chain Architecture</em> ZIP, and the Zoo <em>Thinking Chains</em> paper.</p>
<h2>Motivation</h2>
<p>A Thinking Chain has several actors that must exchange messages without any of those messages silently acquiring authority: a contract submits an inference intent; the A-Chain returns a settled receipt; the Cognitive Sidecar emits a recommendation; an operator publishes a health alert. The dangerous failure mode is treating a <em>message</em> as if it were a <em>decision</em> — letting a value on the wire steer consensus before it is committed and certified.</p>
<p>Hanzo already runs ZAP as its service-to-service RPC surface (dot-prefixed procedures like <code>kms.Get</code>, <code>tasks.ExecuteWorkflow</code>, <code>notify.Send</code>; the native RPC that parallels the HTTP routes, default port 9999). This HIP carves out the <em>cognitive</em> procedure set on that same transport and makes one property binding: <strong>ZAP transports; proofs commit; receipts settle; VMs execute.</strong> Pulling the transport into its own HIP lets the proof/receipt layer (HIP-0113, the Zoo PoT receipt ZIP) be specified and audited without entangling it with the wire that delivers it — orthogonal separation of concerns.</p>
<h2>Specification</h2>
<p>The keywords MUST, MUST NOT, SHALL, SHOULD, MAY are used per RFC 2119.</p>
<h3>1. What ZAP is, and what it is not</h3>
<ul><li>ZAP is a <strong>transport</strong>: a framed, authenticated, ordered byte channel between two</li></ul>
<p> endpoints (two VMs, a VM and the sidecar, the node and the A-Chain runtime).</p>
<ul><li>ZAP is <strong>not a proof</strong>. No ZAP message carries consensus weight. A receiver MUST</li></ul>
<p> NOT make a consensus-relevant state transition on the basis of a ZAP message alone; it MUST require an independent committed artifact (a proof verified against a committed root, or a settled receipt) per the Bridge Law.</p>
<ul><li>ZAP delivery is <strong>at-least-once</strong> and idempotent at the application layer: every</li></ul>
<p> cognitive message is keyed by a content identifier (<code>intent_id</code>, <code>receipt_hash</code>, or <code>artifact_id</code>) so a duplicate delivery is a no-op.</p>
<p>The binding rule, identical across all four artifacts:</p>
<blockquote><p><strong>ZAP transports; proofs commit; receipts settle; VMs execute.</strong></p></blockquote>
<h3>2. The Bridge Law boundary</h3>
<blockquote><p><strong>C-Chain consensus state MUST NOT depend on a live query whose result is not already committed and certified.</strong></p></blockquote>
<p>ZAP is the wire on which the two-pattern bridge runs, and it is precisely <em>because</em> ZAP is non-authoritative that the bridge is safe:</p>
<ul><li><strong>Pattern A (submit intent)</strong> is a <em>deterministic local</em> state change (staging an</li></ul>
<p> intent in an outbox), recorded under the originating chain&#x27;s consensus. ZAP MAY carry the intent to the A-Chain, but the intent&#x27;s existence is established by the committed outbox entry, not by the ZAP delivery.</p>
<ul><li><strong>Pattern B (verify receipt)</strong> acts only on a receipt whose <code>receipt_hash</code> is</li></ul>
<p> proven (keccak/Merkle) against a <em>committed</em> <code>receipt_root</code>. ZAP MAY carry the receipt and its proof, but the state change is gated by proof verification, not by receipt arrival.</p>
<p>A receiver that has the bytes but not the committed proof has nothing it may act on.</p>
<h3>3. Message envelope</h3>
<p>Every ZAP cognitive message shares a fixed envelope. Fields are fixed-width and big-endian where numeric; the payload is procedure-specific (§4).</p>
<pre><code>ZapMessage {
Version uint16 // envelope schema version
Procedure string // dot-prefixed cognitive procedure (§4)
Kind uint8 // 1 = intent, 2 = receipt, 3 = agent, 4 = operator, 5 = alert
ContentID bytes32 // intent_id | receipt_hash | artifact_id — the idempotency key
Origin bytes // sender endpoint id (VM/role/sidecar/provider)
Nonce bytes32 // per-message anti-replay nonce
Timestamp uint64 // sender clock, advisory only — NEVER a consensus input
Payload bytes // procedure-specific body
Auth bytes // transport authentication tag (§5)
}</code></pre>
<p>Binding constraints:</p>
<ul><li><code>Timestamp</code> is advisory transport metadata. It MUST NOT be read into any</li></ul>
<p> consensus-relevant computation (wall-clock is not a consensus input).</p>
<ul><li><code>ContentID</code> MUST equal the content identifier of the payload it carries</li></ul>
<p> (<code>intent_id</code> for an intent, <code>receipt_hash</code> for a receipt, <code>artifact_id</code> for an agent/operator artifact). A receiver MUST drop a message whose <code>ContentID</code> does not match a recomputation over its payload.</p>
<ul><li><code>Payload</code> for a receipt-kind message carries the receipt AND its Merkle proof</li></ul>
<p> against <code>receipt_root</code>; the receiver verifies the proof before acting (Pattern B). The proof is what certifies; ZAP merely delivered it.</p>
<h3>4. Cognitive procedure set</h3>
<p>ZAP cognitive procedures follow the existing dot-prefixed convention. The authoritative handlers live in the VM/sidecar; ZAP procedures dispatch to them.</p>
<p>| Procedure | Kind | Direction | Carries (and what certifies it) | |-----------|------|-----------|---------------------------------| | <code>cog.SubmitIntent</code> | intent | C-role → A-Chain runtime | an inference intent (<code>intent_id</code>); certified by the committed outbox entry, not by ZAP | | <code>cog.DeliverReceipt</code> | receipt | A-Chain runtime → C/G-role | a settled PoT receipt + Merkle proof vs committed <code>receipt_root</code>; certified by the proof | | <code>cog.AgentArtifact</code> | agent | Cognitive Sidecar → signer firewall | a typed artifact (HIP-0113 §5.2: <code>ProposalDraft</code>, <code>VoteRecommendation</code>, <code>RiskReport</code>, …); certified only when the signer enacts it under policy | | <code>cog.OperatorAction</code> | operator | Cognitive Sidecar → signer firewall | a bounded <code>OperatorAction</code> / <code>ConfigPatch</code>; certified by signer policy (HIP-0113 §6) | | <code>cog.BridgeHealth</code> | alert | bridge monitor → operators / sidecar | a <code>BridgeHealthAlert</code> (intent backlog, proof failure); evidence only, never a consensus input | | <code>cog.SimRequest</code> / <code>cog.SimResult</code> | agent | sidecar ↔ S-role | a <code>SimulationRequest</code> and its result; evidence informing a recommendation |</p>
<p>A procedure MUST NOT exist on ZAP that mutates consensus directly. The only path from a <code>cog.AgentArtifact</code> / <code>cog.OperatorAction</code> message to the chain is through the HIP-0113 signer firewall: ZAP delivers the artifact to the firewall&#x27;s inbound queue; the firewall, not ZAP, decides whether it becomes a transaction.</p>
<h3>5. Framing and authentication</h3>
<ul><li><strong>Framing.</strong> Each message is length-prefixed and ordered within an endpoint pair;</li></ul>
<p> the channel is reliable and at-least-once. (On the existing Hanzo transport this is the native ZAP RPC framing that parallels the HTTP routes; on a local socket it is the same envelope over a length-delimited stream.)</p>
<ul><li><strong>Transport authentication.</strong> The <code>Auth</code> tag authenticates sender and integrity at</li></ul>
<p> the transport layer (consensus-native, mnemonic-derived authorization as used elsewhere in the Hanzo ZAP stack). Transport auth proves <em>who sent the bytes</em>; it does NOT make the content a proof. A receipt is trusted because its Merkle proof verifies against a committed root, not because the ZAP frame authenticated.</p>
<ul><li><strong>Anti-replay.</strong> <code>(Origin, Nonce)</code> is unique per message; a receiver drops a</li></ul>
<p> repeat. Idempotency by <code>ContentID</code> makes a re-delivered-but-distinct-nonce message a no-op as well.</p>
<h3>6. Determinism and ordering</h3>
<p>ZAP delivery order, timing, and duplication MUST NOT affect any consensus-relevant result. Concretely:</p>
<ul><li>Two intents delivered in either order produce the same committed outbox state</li></ul>
<p> (each is keyed by its own <code>intent_id</code>).</p>
<ul><li>A receipt delivered twice settles once (once-only consumption by <code>intent_id</code> per</li></ul>
<p> the PoT receipt ZIP).</p>
<ul><li>An agent artifact delivered late, early, or twice changes nothing until the signer</li></ul>
<p> firewall enacts it under policy — and enactment is itself rate- and value-bounded (HIP-0113 §6).</p>
<p>This is what &quot;transport only&quot; buys: the messaging layer can be lossy-but-retrying, reordered, and duplicated, and the chain is still deterministic, because authority lives in the committed proofs, not in the wire.</p>
<h2>Security Considerations</h2>
<h3>Transport compromise cannot forge consensus</h3>
<p>An attacker who fully controls the ZAP channel can drop, delay, duplicate, or inject messages. None of this forges a consensus result: a fabricated receipt fails Merkle verification against the committed <code>receipt_root</code> (Pattern B); a fabricated intent is only acted on after it is committed to an outbox under the originating consensus (Pattern A); a fabricated agent artifact is inert until the signer firewall enacts it under policy (HIP-0113). The worst transport-level attack is denial of delivery, which the at-least-once + retry semantics and <code>BridgeHealthAlert</code> monitoring surface.</p>
<h3>Authentication vs. certification</h3>
<p>Transport auth (<code>Auth</code> tag) answers &quot;who sent these bytes,&quot; not &quot;is this content true.&quot; Conflating the two would re-introduce an oracle. A receiver MUST gate every consensus-relevant action on an independent committed proof/receipt, never on the transport auth alone.</p>
<h3>Replay and idempotency</h3>
<p><code>(Origin, Nonce)</code> uniqueness plus <code>ContentID</code> idempotency make duplicate or replayed delivery a no-op. Receipt replay is additionally blocked by once-only consumption by <code>intent_id</code> in the settlement layer.</p>
<h3>Artifact channel isolation</h3>
<p><code>cog.AgentArtifact</code> / <code>cog.OperatorAction</code> deliver into the signer firewall&#x27;s inbound queue only; ZAP has no procedure that hands the agent a signing capability or mutates consensus. The firewall&#x27;s <code>[ai.forbidden]</code> / <code>[human_required]</code> policy (HIP-0113 §6) governs whether an artifact ever becomes a transaction, independent of how it arrived.</p>
<h2>Reference Implementation</h2>
<p>| Component | Path | Role | |-----------|------|------| | ZAP RPC surface (existing) | <code>hanzo/notify/internal/zaprpc</code> and the Hanzo ZAP service-to-service stack | dot-prefixed procedures, native RPC paralleling HTTP routes (default <code>:9999</code>) | | Cognitive procedures (this HIP) | dispatch to the VM / Cognitive Sidecar handlers (HIP-0113) | <code>cog.SubmitIntent</code> / <code>cog.DeliverReceipt</code> / <code>cog.AgentArtifact</code> / … | | Proof / receipt layer (certifies content) | <code>hanzo/chains/hanzo-evm/precompile/aiquorum</code>; the Zoo PoT receipt ZIP | the committed artifacts ZAP carries but never replaces | | Signer firewall (artifact → tx) | HIP-0113 §5 | the only path from a <code>cog.*</code> artifact to a transaction |</p>
<h2>References</h2>
<ul><li><a href="./hip-0113-cognitive-sidecar-and-hanzo-engine-provider-runtime.md">HIP-0113: Cognitive Sidecar &amp; Hanzo Engine Provider Runtime for Thinking Chains</a></li><li><em>Thinking Chains</em> (Lux Proposal) — the L0/consensus-layer primitive and the C→A</li></ul>
<p> bridge precompiles ZAP carries between.</p>
<ul><li><em>Beluga L3 Thinking-Chain Architecture</em> (Zoo ZIP) — the first deployment; states</li></ul>
<p> the same bridge-law slogan and the two-pattern bridge ZAP rides on.</p>
<ul><li><em>Proof-of-Thought Receipts on Zoo</em> (Zoo ZIP) — the settlement object delivered by</li></ul>
<p> <code>cog.DeliverReceipt</code> and certified by Merkle proof, not by ZAP.</p>
<ul><li><em>Thinking Chains</em> (Zoo paper) — the conceptual treatment and Subsampled Cognitive</li></ul>
<p> Consensus analysis.</p>
<h2>Copyright</h2>
<p>Copyright and related rights waived via <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a>.</p>
<footer>
<div class="fmap">
<div><b>Build</b>
<a href="https://hanzo.app">hanzo.app</a> app builder
<a href="https://hanzo.codes">hanzo.codes</a> code with an agent
<a href="https://hanzoskills.com">hanzoskills.com</a> what an agent reads</div>
<div><b>Run</b>
<a href="https://console.hanzo.ai">console.hanzo.ai</a> cloud console
<a href="https://api.hanzo.ai">api.hanzo.ai</a> the API</div>
<div><b>Account</b>
<a href="https://hanzo.id">hanzo.id</a> sign in
<a href="https://pay.hanzo.ai">pay.hanzo.ai</a> top up
<a href="https://billing.hanzo.ai">billing.hanzo.ai</a> invoices and usage</div>
<div><b>Company</b>
<a href="https://hanzo.ai">hanzo.ai</a> canonical
<a href="https://hanzo.ventures">hanzo.ventures</a> ventures</div>
</div>
<div class="fend"><a href="/hip-0114.md">This page as plain text</a> · <a href="/llms.txt">Index for agents</a></div>
</footer>
</div></body></html>