Files
hanzo-dev 702c5aeaf4 risk: a search winner is a shape the organisation that asked for it can run
POST /v1/risk/search ranked model spaces against a tenant's own history and
answered with the one that fit. Nothing could promote it, and nothing could:
adoption refused a shape change, and a winner is a different shape by
definition. The stated replacement for Katib produced advice nobody could take.

A model value now carries the SPACE its masses describe, not only the masses,
and install REPLANTS — it builds that space, restores into it, and swaps it in.
Every gate the refusal used to carry still holds: the tenant comes from the
validated principal, the geometry seed is checked against the model already
running before anything is rebuilt, and the recorded shape is rebuilt and
compared by digest rather than trusted. A value recording no shape is refused
rather than defaulted, and a failed replant leaves the residency untouched.

The winner arrives as one of the organisation's own published values: the run
fits it once more after the grid — a sixty-fifth pass, gated and metered as one
— under that organisation's OWN geometry, because the grid's reference partition
is a constant and a model an organisation runs must partition the space in a way
an outsider cannot predict. Keeping all sixty-four fitted stores instead would
hold 21 MiB for sixty-three shapes nobody adopts.

Also:
  - the shape is its own value, and the half of a config that belongs to the
    state. The grid's candidate embeds it, the residency records it, a published
    value stores it: one spelling, so adopting a shape cannot restate a policy.
  - the resume row's shape is what the next process plants. Without it an
    adopted shape was silently lost on every rollout and the organisation went
    back to the default, warming, deciding nothing.
  - the fold watermark travels with an adopted value. It is in the address for a
    reason; leaving it behind meant a rollback would never re-read the fold it
    skipped.
  - snapshot+restore collapse to POST and PUT on /v1/risk/state/model: one
    address for one kind of thing, the same collapse GET and PUT on
    /v1/risk/policy already made. openapi/floor.json loses one PATH (the risk
    product keeps all 31 operations).
  - the value bound is sized on the widest shape the grid declares and MEASURED
    at full occupancy (2,214,100 bytes), because a fitted sample understates a
    busy organisation's tree by an order of magnitude.
  - open() no longer reads the state believing the read plants a tenant's trees.
    Measured against the pinned engine: it does not.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-08-04 07:24:43 -07:00
..