An instance repository holds what every other project's checks and powers rest on: the identity registry (every principal, key and grant) and the policy floor, plus its own project layer. the-valley defines the schemas for all three. It ships no checks for them, so each instance writes its own or goes without. Seen 2026-10-28 on one instance: - A change to its registry, adding a read grant to `anyone`, required only the floor's prose check, because the registry's paths fell in no class. - The instance then wrote its own `identity-vet` flake check and a class requiring it. - Its `policy/instance` and `policy/project` are still covered by no class. A change to the floor every project builds on requires only the prose check. Batteries included: - the-valley ships the checks: a registry vet (`schema/identity.cue`, plus the compiler's own rules, such as genesis, boundaries and `anyone` holding no keys) and a policy vet for floor and project layers (`schema/verification.cue`, composing under the deriver as the integrator would). - The instance's place in the policy requires them by default for the registry's and the policy layers' paths, and for the inputs that pin the schemas. An instance declares nothing to get them, and can only add to them. - A check fails closed on a file it cannot read. A registry or floor that doesn't vet can't land. Done when a new instance, set up from the-valley's documented layout with no checks of its own, requires the registry vet for a registry change and the policy vet for a floor change, and refuses to land either when it doesn't vet. Related: oc-1379963 (the registry compiles when the instance repository lands a change). Source: 2026-10-28, the operator: "that feels like it should be batteries included for the-valley right? Like instances should be doing those kinds of checks by default."
No comments.