Files
skills/public/hip-0140.html
zeekayandHanzo Dev 9e10c1c10e Each llms index points at the other two
hanzoskills.com/llms.txt now opens with the install line, the API
reference index and the company index, so an agent that lands on any
one of the three can find the rest.

robots.txt claimed 537 documents while llms.txt counts 920. The number
is gone from robots.txt; llms.txt derives it.

public/ is regenerated from scripts/site.py, which it had fallen
behind: the copy-prompt menu and agent bar were in the generator and
not in the committed pages. tests/site.mjs passes against the result.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-11 00:27:59 -07:00

328 lines
28 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en"><head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>hip-0140</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-0140.md">
<link rel="icon" href="/favicon.svg">
<link rel="canonical" href="https://hanzoskills.com/hip-0140">
</head>
<!-- Reading this with a machine? Every page here is also plain markdown.
This one: https://hanzoskills.com/hip-0140.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-0140</h1><p class="lede">HIP-140: Proposing a Capability. Status Living. Hanzo architectural specification.</p><h1>HIP-0140: Proposing a Capability</h1>
<h2>Abstract</h2>
<p>HIP-0139 says what a capability is. This says how one comes to exist, and how one that exists grows.</p>
<p>A capability is proposed as a HIP, numbered at 1000 or above, before any of it is served. The HIP names the thing, the address, the boundary it owns and what a customer is promised. It enters at <code>alpha</code> behind a flag, reaches <code>beta</code> when a customer can be let in, and is promoted to <code>ga</code> when its surface is published to every generated client, tool, command and page. Every step is proved by a gate that already runs, and the two judgements a person actually makes — is this one capability, and may it be published — are the only two this document hands to anyone.</p>
<h2>Motivation</h2>
<p>Every projection of a capability is generated (HIP-0139 §1), so the expensive part of adding one is never the code. It is the name, the address and the boundary. A name that is not the word people say is carried into nine places at once. An address that belongs to another capability inherits that capability&#x27;s audience. Both cost a paragraph to fix before the first commit and a coordinated rename after a client has been generated against them.</p>
<p>So the review happens where it is cheap: on a document with a name in it. The grounds for refusing one are short enough to check in a sitting.</p>
<h2>Specification</h2>
<p>The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.</p>
<h3>§1 The number</h3>
<p>Numbers are allocated in two ranges.</p>
<ol><li><strong>0000–0999</strong> — how we work and what the platform is: the process, the</li></ol>
<p> conventions, the principles, the service standards, the operator&#x27;s resources.</p>
<ol><li><strong>1000 and above</strong> — one HIP per capability. A HIP in this range specifies</li></ol>
<p> exactly one capability and declares it in front matter, <code>capability: &lt;name&gt;</code>, from the moment the cloud serves that name (§2.7).</p>
<p>A new capability HIP takes the next free number at 1000 or above, chosen so the capability sits beside the ones it is read with. A number is never reused and a HIP is never renumbered: the number is how a reader cites the document. A capability HIP that already holds a number below 1000 keeps it — the range decides where a new one goes, not where an existing one lives.</p>
<p>How many capabilities there are, and how many carry a HIP, are measured and not written down. <code>python3 scripts/coverage.py --report</code> prints both against the release it is run on.</p>
<h3>§2 From a gap to a served capability</h3>
<p>The order is spec first (HIP-0139 §6): write the HIP, land the code that implements it, let every projection regenerate. Each step is proved by a gate that already runs.</p>
<ol><li><strong>Name it.</strong> HIP-0139 §2 decides the name and nobody else does. A name that</li></ol>
<p> fails it is refused here, at the title, rather than at the directory.</p>
<ol><li><strong>Check nobody owns it.</strong> A capability that already answers for the thing is</li></ol>
<p> its owner, and what is being proposed is an expansion of theirs (§6). The served document is the authority for what is answered; <code>python3 scripts/coverage.py --report</code> is the authority for which HIP covers which name.</p>
<ol><li><strong>Write the HIP.</strong> A number from §1, <code>requires: HIP-0139</code>, and each thing</li></ol>
<p> HIP-0139 §6 requires. While nothing is served the front matter carries no <code>capability:</code> key — that key declares a name the cloud answers, and <code>coverage.py</code> CV006 refuses a declaration nothing serves — and the Abstract says, in those words, that the capability is proposed and serves nothing today.</p>
<ol><li><strong>Merge it.</strong> <code>python3 scripts/lint-hips.py</code> and <code>python3 scripts/coverage.py</code></li></ol>
<p> both pass. From here the document is the specification and the code is what disagrees with it.</p>
<ol><li><strong>Land the code.</strong> <code>apps/&lt;name&gt;</code> in <code>hanzoai/cloud</code> returning a <code>*zip.App</code>,</li></ol>
<p> <code>plugin/&lt;name&gt;/main.go</code>, and one manifest row naming <code>/v1/&lt;name&gt;</code>. <code>plugin/gen-app-cmds</code> proves the bijection. <code>openapi/misfiled.txt</code> proves the address, and it may not gain a line, so a new capability&#x27;s address is right in its first commit or the commit does not land.</p>
<ol><li><strong>Group it.</strong> The name joins one of the nine domains in <code>hanzoai/openapi</code></li></ol>
<p> <code>capabilities.yaml</code>. <code>publish.py</code> refuses a served name grouped nowhere and a grouped name nothing serves.</p>
<ol><li><strong>Declare it.</strong> The change that puts the name in the taxonomy is matched by a</li></ol>
<p> change here that adds <code>capability: &lt;name&gt;</code> to the HIP. Both halves of <code>coverage.py</code> then agree: a served name with exactly one HIP, and a declaration of a name that is served.</p>
<p>Steps 5 to 7 leave the capability at <code>alpha</code> (§4). No line is ever added to <code>capability-coverage.txt</code> on this path (§5).</p>
<h3>§3 What a proposal must contain</h3>
<p>A proposal is reviewable when a reader can check every claim in it without asking the author a question. It states:</p>
<ol><li>the name, and why it is the word people say (HIP-0139 §2);</li><li>the address <code>/v1/&lt;name&gt;</code> and the operations under it — each typed, or</li></ol>
<p> declared with prose and the reason the response cannot be a value;</p>
<ol><li>the boundary: the one store it owns, or that it owns none;</li><li>the nearest capability that already exists, and why this surface is not</li></ol>
<p> theirs;</p>
<ol><li>everything HIP-0139 §6 requires of a capability HIP — tenancy, money, events,</li></ol>
<p> telemetry, stage, upstream, and what an attacker gets from the wrong implementation;</p>
<ol><li>what is served today, honestly. A proposal that serves nothing says so. A</li></ol>
<p> surface written in the present tense is a claim a reviewer will check and a promise the corpus will carry.</p>
<p>It does not restate HIP-0139 §1–§5, and it names no count a gate measures.</p>
<h3>§4 Stage</h3>
<p>Stage is a fact about the product; status is a fact about the text (HIP-0139 §8). They move independently: a <code>ga</code> capability may carry a <code>Draft</code> HIP, and a <code>Final</code> HIP may specify an <code>alpha</code> one.</p>
<p><strong>alpha.</strong> The entry. The manifest row declares it, the prefix answers 404 to every org that does not hold the flag named for the capability (<code>/v1/flags</code>, key <code>&lt;name&gt;</code>), and no generated client, tool list, command group or public page carries it. Evidence to enter: the merged HIP, and one route that answers. What <code>alpha</code> buys is that the shape of the surface may still change without breaking a caller. It does not buy an unsettled address, and it does not suspend a gate — HIP-0139 §3 and §8.4 bind at every stage.</p>
<p><strong>beta.</strong> A customer may be let in. Evidence:</p>
<ol><li>a request that carries no org is refused, and the store is opened by org, so</li></ol>
<p> a flag admits a tenant and never a reader of everyone&#x27;s rows;</p>
<ol><li>the price is declared in the surface — free, said in those words, or a priced</li></ol>
<p> route — because from the first admitted org the code bills whatever it says and the HIP is the promise it is measured against;</p>
<ol><li>every event the HIP names is published on the bus, and every span, metric and</li></ol>
<p> log line it names is emitted. A promise nobody has watched fire is not evidence;</p>
<ol><li>an org that did not build the thing holds the flag and has called it.</li></ol>
<p><strong>ga.</strong> The promotion publishes. It is one edit to the manifest row (HIP-0139 §8.4), and from the next release the operations are in the public document, <code>&lt;Name&gt;Api</code> is in every generated client, the tool is listed at <code>/v1/mcp</code>, <code>hanzo &lt;name&gt;</code> is a command group and <code>docs.hanzo.ai/&lt;name&gt;</code> is a page. Evidence:</p>
<ol><li>no line in <code>openapi/misfiled.txt</code> names the capability — its address is its</li></ol>
<p> name;</p>
<ol><li>every operation the public rule will publish is typed (HIP-0139 §4.2, §4.3):</li></ol>
<p> a generated client cannot express one that is not;</p>
<ol><li>the name is grouped in <code>capabilities.yaml</code>;</li><li><code>coverage.py</code> finds exactly one HIP declaring it, and that HIP states each</li></ol>
<p> thing HIP-0139 §6 requires — the price and the tenancy refusal above all, because at <code>ga</code> both become public promises;</p>
<ol><li><code>openapi/floor.json</code> carries the capability&#x27;s operation count as of the</li></ol>
<p> promotion. From then on the surface may not shrink unless the commit that shrinks it says so.</p>
<p>At <code>ga</code> the flag named for the capability admits nobody in particular; the prefix answers every org.</p>
<p>There is no demotion. Taking a published surface back is a removal — operations leaving the document, generated clients losing methods — and <code>floor.json</code> is what makes that removal something a commit has to say out loud.</p>
<h3>§5 The ratchet</h3>
<p><code>capability-coverage.txt</code> carries the capabilities that have no HIP. It exists for one case: a capability reaches the taxonomy before its specification is written. The name is added there in that same change, so <code>coverage.py</code> CV001 does not fire, and the line is deleted in the same commit as the HIP that specifies it — CV002 fails on a line whose capability is now declared, so neither half can rot.</p>
<p>The file may only shrink. A name that leaves it never returns, because what removed it was the HIP that specifies it, and a name enters it exactly once. A capability proposed by §2 never appears in the file at all: its HIP is merged before its first route answers, and the declaration lands with the name.</p>
<h3>§6 Expanding a capability that exists</h3>
<p>The HIP is amended first, in the order §2 states: amend, land, regenerate.</p>
<ol><li><strong>A new operation.</strong> Amend the capability&#x27;s address section to name it and</li></ol>
<p> its type, then land it. <code>floor.json</code> rises. <code>misfiled.txt</code> may not gain a line, so the route is under <code>/v1/&lt;name&gt;</code>. The operation is typed, or declared with the prose HIP-0139 §4.3 requires.</p>
<ol><li><strong>A new address.</strong> There is none. A capability answers at <code>/v1/&lt;name&gt;</code> for</li></ol>
<p> its whole life (HIP-0139 §3.1) and what grows is the tree beneath it. A proposal for a second top-level address is a proposal for a second capability, and is written as one: §2 from the top, its own name, its own number, its own HIP.</p>
<ol><li><strong>A widened surface.</strong> An operation entering the public document, a price</li></ol>
<p> changing, an event name being published, a store gaining rows a customer can read back: each is a promise, and the promise is written in the HIP before it is made. A stage promotion is the widest of them and takes the evidence in §4.</p>
<ol><li><strong>A capability carved out of one that exists.</strong> Permitted along a store</li></ol>
<p> boundary and nowhere else (HIP-0139 §7.2). The new capability gets its own HIP; the amendment that gives up the surface lands with it, so no interval exists in which two HIPs claim one address.</p>
<p>An amendment never needs a new HIP. A capability&#x27;s HIP is the living document for that capability: it is amended in place, and its <code>status:</code> says how settled the text is.</p>
<h3>§7 Grounds for refusal</h3>
<p>A proposal is refused, and the refusal names which of these it is:</p>
<ol><li><strong>The name breaks HIP-0139 §2</strong> — a compound word, a hyphen, an underscore,</li></ol>
<p> the plural of a capability that already exists in the singular, or an abbreviation that is not the word people say.</p>
<ol><li><strong>The surface is already owned.</strong> Another capability answers for the thing</li></ol>
<p> proposed. The remedy is §6.1: an operation under the owner&#x27;s address.</p>
<ol><li><strong>There is no boundary.</strong> The proposal owns no store and does nothing another</li></ol>
<p> capability&#x27;s routes do not already do. A handful of routes over somebody else&#x27;s store is that capability&#x27;s routes.</p>
<ol><li><strong>It wants a second top-level address</strong> (§6.2).</li><li><strong>It is two capabilities.</strong> One HIP declares one capability; <code>coverage.py</code></li></ol>
<p> CV005 refuses the second declaration, and two specifications in one file are unreadable well before a gate sees them.</p>
<ol><li><strong>It is written in the present tense about something that serves nothing.</strong> A</li></ol>
<p> reviewer weighs a claim by checking it. This one is refused for being uncheckable, not for being wrong.</p>
<p>Refusals 1, 4 and 5 are mechanical, and the gates would catch each of them. Catching them in the paragraph is cheaper than catching them in a commit that has to be reverted across nine projections.</p>
<h3>§8 Who decides</h3>
<p>Two things are decided by no one. The name is decided by HIP-0139 §2 and the address by HIP-0139 §3, and the gates HIP-0139 §5 lists refuse a projection that disagrees. There is no exception to grant, because an exception would have to be a line in a ratchet and every ratchet here only shrinks.</p>
<p>Everything else is decided by the HIP editors, on the merge: whether the proposal is one capability, whether its boundary is real, and whether the corpus already covers it. The states are the corpus&#x27;s — Draft, Review, Last Call, Final — and a status says how settled the text is, never whether a customer is shown the thing.</p>
<p>The author may enter <code>alpha</code> alone. It costs a directory, a manifest row and a flag, and no customer who does not hold the flag can tell it exists.</p>
<p><code>ga</code> is the editors&#x27;, on the evidence in §4. It is the one decision that publishes: afterwards the surface is in every generated client and held by <code>floor.json</code>, which makes it the one decision that is expensive to take back.</p>
<h2>Rationale</h2>
<p>The alternative is to let a capability arrive as code and write its HIP afterwards. That case has a file — <code>capability-coverage.txt</code> — and the file is the argument against it: every line is a name already living in nine projections whose specification is still owed, and the name is the part that was free to change before the first commit. Spec first is not ceremony. It moves the irreversible decision to the one moment it is still reversible.</p>
<p>The alternative to a declared stage is a flag and a convention about what the flag means. Then every reader has to ask what a route is for, and the answer lives with whoever remembers. A stage in the manifest row is an answer the public rule can read.</p>
<h2>Security Considerations</h2>
<p>Two steps here are the security boundary; the rest is bookkeeping.</p>
<p>The address decides the audience. A route admitted under another capability&#x27;s prefix inherits that capability&#x27;s audience and its public rule — an operator&#x27;s view offered as a customer method is the concrete case (HIP-0139 Security Considerations). §2&#x27;s ordering closes it: the address is proved by <code>misfiled.txt</code> before any projection publishes the operation.</p>
<p>The stage decides who learns the capability exists. HIP-0139 §8.2 fixes that answer at 404 and never 403, because 403 tells an outsider the name is real. A capability that reaches <code>beta</code> without the tenancy refusal in §4 is worse than one that never shipped: the flag admits an org, and then the store decides nothing.</p>
<h2>References</h2>
<ul><li>HIP-0000 — Hanzo AI Architecture &amp; Framework</li><li>HIP-0026 — Identity and Access Management</li><li>HIP-0106 — The Hanzo Plugin Contract</li><li>HIP-0135 — What Is Public</li><li>HIP-0139 — Capability</li></ul>
<h2>Copyright</h2>
<p>Released under CC0 1.0 Universal Public Domain Dedication.</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-0140.md">This page as plain text</a> · <a href="/llms.txt">Index for agents</a></div>
</footer>
</div></body></html>