Files
hanzo-dev 668c63ac33 docs: lead every money/identity app doc with the product, not the plumbing
The first sentence of an app's package doc is not internal prose. It projects
verbatim into three places a paying customer reads — the CLI group help line,
the OpenAPI tag description, and the MCP tool prose — so a sentence that opens
"mounts the ... surface", "is the ... plane", or names a /v1 path describes the
implementation to someone who asked what they bought.

Rewrites the opener of 32 app packages across billing/money and
identity/security to state what the customer gets, and reflows the displaced
detail into sentence two. Nothing is deleted: every path, mount note, store
shape and tenancy invariant that was in sentence one is still in the doc, one
sentence lower, where an engineer reading the package still finds it.

  billing   money door -> your org's balance, what it has spent, the cards it pays with
  books     "at /v1/books" -> chart of accounts, ledger, bank reconciliation, the reports
  o11y      "ONE owner of the observability plane" -> your logs, metrics and traces
  usage     "the usage plane at /v1/usage" -> what your org ran and what it cost
  principal "ONE place the data plane turns a request into an org" -> the guarantee
            that one org never reads another's data

iam is left alone: "Hanzo's identity provider: users, organizations,
applications, and the OIDC/OAuth2 endpoints every Hanzo service authenticates
against" already leads with the product.

Six of the 32 (finance, payout, metering, money, idv, principal) back no
plugin and so project nowhere; they are rewritten anyway, because the reason
the rule exists does not depend on which reader arrives.

Regenerated openapi.yaml + the 23 plugin subsets from source. The diff is the
description line and nothing else — no route moved.

apps/metering also drops a stale claim to live in the commerce repo; it lives
here.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-07-30 22:44:46 -07:00

6.7 KiB