Files
zeekayandHanzo Dev 82556aebf5 hips: one lint, proven to fail, and the template it enforces
scripts/lint-hips.py replaces the heredoc that lived inside ci.yml. Two copies
of one rule meant the gate existed only on the forge and a contributor could not
reproduce a failure without pushing. Now both run the same file.

22 checks: FM* front matter, ST* structure, IX* index, PL* policy. Every one
fired on a defect that was really there.

scripts/test-lint-hips.py is why this is trustworthy. It copies the corpus,
breaks it 22 ways — one per check — and requires the matching error code each
time, then asserts every declared check has a test so adding a check without one
fails. The workflow this lineage replaced printed every missing field and exited
0; a check seen only to pass is indistinguishable from one that cannot fail.

Both policy checks were wrong first time and were narrowed against their own
output rather than against intent:

  PL001 fired on the comparative phrase alone and reported 15 lines, 12 of them
  ordinary English — 'only as good as the source behind it', 'a competitor
  cannot rebuild this', 'golden-parity with the reference'. 20% precision. It
  now requires a NAMED third-party product within 80 characters, and does not
  fire on weighing two candidate upstream dependencies, which is engineering
  rationale rather than a claim about us.

  ST004 fired on any repeated section number and reported four documents that
  simply number 1..3 under one heading and 1..3 under the next. It now scopes to
  siblings under one parent, keyed by the parent's identity rather than its
  number — keying by number made every unnumbered '##' the same parent.

docs/templates/hip-template.md did not exist, though LLM.md has told every
author to copy it for months. That is the simplest explanation for a corpus with
four H1 styles and eight status words: there was never anything to conform to.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-04 01:49:45 -07:00

2.4 KiB

hip, title, author, type, category, status, created, requires
hip title author type category status created requires
0000 The Thing This Specifies Hanzo AI Standards Track Infrastructure Draft 2026-01-01 HIP-0119

HIP-0000: The Thing This Specifies

Abstract

What this specifies and what changes if it is adopted, in a paragraph someone can read without reading the rest. Name the repository this HIP describes.

A Standards Track HIP describes one thing we build and maintain, and that thing has one public repository. If two HIPs describe one repository, one of them is redundant; if a HIP describes no repository, it is fiction.

Motivation

Why this exists. What is broken, what it costs, and what has already been tried. Optional, and worth writing anyway: a specification without one is a pile of requirements nobody can weigh against each other.

Specification

The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.

The normative content. Number the sections if there are more than a handful, and number them consistently — a subsection of §3 is §3.1, never §2.1.

State requirements directly and make each one falsifiable. "Fast" is not a requirement; "answers in under 50 ms at the 99th percentile" is. Do not define a requirement by comparison to another company's product: it cannot be tested, it dates the document, and it frames our work as derivative. Naming a third-party product as a fact — a wire format we implement, an upstream we fork, a licence we inherit — is legitimate and stays.

Anything a reader needs in order to implement this MUST be public. If the specification depends on a private repository, either the HIP is leaking work that is not a standard, or the dependency should be public. Those are different problems; say which one it is. See HIP-0135 for where that line sits.

Quote measured numbers with the command that produced them and the date they were taken, so the next reader can re-measure rather than trust.

Rationale

Why this design and not the obvious alternative. Name the alternative and say what it costs.

Security Considerations

What an attacker gets if this is implemented wrongly. Every HIP that touches identity, secrets, tenancy or the network needs this section and needs it to be specific.

References

  • HIP-0119 — Hanzo Service Conventions
  • HIP-0135 — What Is Public

Released under CC0 1.0 Universal Public Domain Dedication.