The custodian's estate-wide sweep (2026-09-21), extending flex-auth's boundaries
review FLEX-WP-0030, found this repository declaring `layer: surface` against a
§3 vocabulary that does not enumerate it. flex-auth's validator admits only
{Staff, Engine, Tooling}, so this fails on the value rather than on casing or on
B1's precedence question. It was never raised here directly and it is not the
nine-repository defect: both our files say `surface`, in the same casing.
`surface` denotes the presentation-and-binding tier — the runtime a human
touches, where a decision rendered elsewhere is shown to a named person, that
person binds their identity to the act, and the evidence that the presentation
happened is produced. It was chosen by elimination on 2026-09-09 (f6376dd),
because GH-DEC-2026-012 R1 ruled us out of Engine and left the layer ours to
declare, and each remaining value is false of us: not Staff (deterministic by
construction, and holding state audit-core depends on at runtime, which §3.4
forbids Staff), not Tooling (we persist nothing another layer reads), not
Taxonomy (we are nothing but a runtime position). Faced with a false value that
satisfies a validator or the true word and a finding, the true word was written.
Position: `surface` names a real tier §3 does not enumerate. The sharpest form
is that a standing ruling plus a closed vocabulary leaves this repository no
conforming declaration available — the §9.1 defect applied to conformance that
§11 names against itself. But the ruling is gate-house's and we do not claim it
must go our way: if the vocabulary is ruled closed and a value named, both files
change the same day without argument. We ask only that such a ruling show how
§3's determinism cut reaches that value given GH-DEC-2026-012 R1, because the
next repository in this position will reason from it — and the tier a human
touches having no owner is exactly what produced approval-engine's unowned
inbox, key-cape's blocked client_id, and this repository.
Two observations offered: flex-auth's validator admits three values where §3
enumerates four, so railiance-master's `Taxonomy` fails the validator rather
than the standard and is separable without any ruling, leaving `surface` as the
only surveyed value outside §3 itself; and §3's row label is `Engines` while
declarations use `Engine`, which should be written out as declaration values if
the set is ruled closed.
The declared value is UNCHANGED on purpose. Changing it ahead of the ruling
would pre-empt gate-house and throw away the evidence of what was concluded.
layer.yaml, INTENT.md and AGENTS.md now say so in place, so the value is not
read as unexamined and no later agent silently "fixes" it. AGENTS.md's layer
section was also stale — it still said layer.yaml was unwritten.
28 layer conformance tests pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 63291@bnt-lap001
Assistant-Session: 8bd77868-ca68-4f49-bb1e-d539ecc0d703
237 lines
11 KiB
YAML
237 lines
11 KiB
YAML
# informed-decision — NetKingdom security layer declaration
|
|
#
|
|
# Framework: net-kingdom/canon/standards/security-layer-model_v0.7.md
|
|
# Companion: net-kingdom/SECURITY-COMPANION.md v0.2
|
|
# Voice: INTENT.md (this repository's own, per §11 "who must declare")
|
|
# Ruling: GH-DEC-2026-012 (gate-house@0a1d1d9) answered INFD-IN-0001
|
|
#
|
|
# Reference form: ops-warden's, adopted by audit-core and kings-guard, with
|
|
# kings-guard's adaptation for a repository with no Tooling contacts.
|
|
#
|
|
# GH-DEC-2026-012 R1 confirmed the SHAPE. The layer is declared here, in this
|
|
# repository's own voice, because a layer someone else states about you is not
|
|
# a declaration.
|
|
|
|
schema_version: "0.1"
|
|
framework: netkingdom-security-layer-model
|
|
standard_version: "0.7"
|
|
companion_version: "0.2"
|
|
repository: informed-decision
|
|
|
|
# §3 vocabulary — UNDER RULING, value deliberately unchanged (INFD-IN-0006).
|
|
#
|
|
# `surface` denotes the presentation-and-binding tier: the runtime a human
|
|
# touches, where a decision rendered elsewhere is shown to a named person, that
|
|
# person binds their identity to the act, and the evidence that the presentation
|
|
# happened is produced. It was chosen by elimination: GH-DEC-2026-012 R1 ruled
|
|
# this repository out of Engine and left the layer to it to declare, and each
|
|
# remaining §3 value is false of it — not Staff (deterministic by construction,
|
|
# and holding state audit-core depends on at runtime, which §3.4 forbids Staff),
|
|
# not Tooling (persists nothing another layer reads), not Taxonomy (nothing but
|
|
# a runtime position).
|
|
#
|
|
# §3 of security-layer-model_v0.8.md does not enumerate `surface`, and
|
|
# flex-auth's validator reads the vocabulary as closed. Surfaced 2026-09-21 by
|
|
# the custodian's estate-wide sweep extending FLEX-WP-0030; never raised against
|
|
# this repository before. This repository holds that `surface` names a real tier
|
|
# §3 does not enumerate, and will change both files the same day without
|
|
# argument if gate-house rules the vocabulary closed and names the value.
|
|
# Changing it ahead of the ruling would pre-empt gate-house and destroy the
|
|
# evidence of what this repository actually concluded.
|
|
#
|
|
# Request: docs/gate-house-decision-request-layer-vocabulary.md
|
|
layer: surface
|
|
role: pep-shaped
|
|
declared_by: INTENT.md
|
|
declared_at: "2026-09-09"
|
|
ruling: GH-DEC-2026-012
|
|
|
|
# §6.4 — informed-decision is PEP-shaped: it causes a protected side effect on
|
|
# the far side of a decision (recording an approver entry against an approval
|
|
# object). Companion §5 is owed and §6.4 applies in full.
|
|
#
|
|
# Built to v0.8 obligation 3, not v0.7, per GH-DEC-2026-011 — see pep-stance.yaml.
|
|
pep_stance: pep-stance.yaml
|
|
|
|
protected_action: "Approver entry recorded against an approval object (POST /v1/approvals/{id}/entries)"
|
|
decision_engine: access-engine
|
|
|
|
# §6 — no repository other than access-engine exposes an authorization decision.
|
|
# This surface renders a question and records a human's answer. A disposition is
|
|
# evidence of an act, never a verdict.
|
|
decision_surfaces_exposed: none
|
|
|
|
# §3.3 / GH-DEC-2026-012 R2 — YES to a presentation claim, and NO second catalog
|
|
# row: PEP and PIP are shapes a repository has; §4 records the layers it
|
|
# occupies. The permission carries three limits, and they are the substance of
|
|
# it rather than caveats on it.
|
|
presentation_claim:
|
|
emitted: true
|
|
carries: presentation-only
|
|
limits:
|
|
- id: L1-presentation-only
|
|
rule: >-
|
|
The claim carries presentation and nothing else. It MUST NOT carry,
|
|
restate, summarise or imply the decision, the verdict, or whether the
|
|
act was permitted. A consumer learns from it only what was SHOWN, never
|
|
what was DECIDED.
|
|
- id: L2-not-an-input
|
|
rule: >-
|
|
The claim MUST NOT be an input to the decision it presents for. A policy
|
|
reading view_hash to decide whether an act is permitted would let the
|
|
presenting surface contribute to its own authorization.
|
|
note: >-
|
|
Load-bearing, not a formality. GH-DEC-2026-012 accepted this
|
|
repository's argument that a renderer attesting its own rendering is not
|
|
the self-dealing that kept the approval object out of access-engine —
|
|
but only because this limit holds. Without it the two collapse into the
|
|
same failure.
|
|
- id: L3-independent-evidence-path
|
|
rule: >-
|
|
The evidence copy reaches audit-core INDEPENDENTLY of this repository.
|
|
The claim endpoint and the evidence path are different things and
|
|
neither substitutes for the other. The copy that is evidence MUST NOT be
|
|
reachable only through the party it is evidence about.
|
|
note: >-
|
|
The limit that matters most here: audit evidence is protected from the
|
|
actor being audited, and in this component the actor and the source are
|
|
the same. Architecture consequence, tracked in
|
|
docs/specs/ArchitectureBlueprint.md.
|
|
|
|
# §17 — the shared request-claim schema is still unowned. This repository
|
|
# publishes at its own boundary and yields to that schema when it exists.
|
|
# Position accepted by GH-DEC-2026-012 and matching approval-engine's in
|
|
# APPROVAL-IN-0001.
|
|
request_claim_schema:
|
|
status: unowned-upstream
|
|
local_shape: published-at-own-boundary
|
|
yields_to: taxonomy-request-claim-schema
|
|
|
|
# GH-DEC-2026-012 R3 — (b), with the authority rule written down.
|
|
binding_digest_relationship:
|
|
ruling: GH-DEC-2026-012
|
|
view_hash_authoritative_for: what-was-shown
|
|
binding_digest_authoritative_for: what-the-request-is
|
|
binding_digest_owner: approval-engine
|
|
substitutable: false
|
|
disagreement_is: >-
|
|
A finding against the presenting surface, never a fact about the request.
|
|
linkage: nesting
|
|
linkage_rule: >-
|
|
view_hash CARRIES approval-engine's binding.digest as a field. That digest
|
|
is referenced, never recomputed or restated from this repository's own
|
|
vocabulary, and the act-scope is no longer independently canonicalized here
|
|
— so the act has exactly one canonicalization, computed by the layer that
|
|
owns it.
|
|
# GH-DEC-2026-015 (INFD-IN-0004) re-ruled: nesting is PERMITTED for this pair,
|
|
# conditioned on approval-engine stating its presentation exclusion as
|
|
# NORMATIVE and TESTED rather than design intent.
|
|
#
|
|
# ACTIVATED 2026-09-10, after verifying the condition here rather than taking
|
|
# it on report: approval-engine/docs/approval-claim.md carries "Presentation
|
|
# exclusion — GH-DEC-2026-015 §4" in normative language, and
|
|
# tests/test_claim_contract.py::test_presentation_changes_cannot_change_the_approved_act
|
|
# pins the input set from BOTH sides — widening (presentation material leaves
|
|
# the digest unchanged) and narrowing (each of the five act fields changes it).
|
|
# The narrowing half matters: without it a digest over four fields, or over a
|
|
# constant, would pass the widening half perfectly. Run and confirmed passing.
|
|
reruled_by: GH-DEC-2026-015
|
|
nesting_permitted_when: >-
|
|
approval-engine states the presentation exclusion from binding.digest as
|
|
normative and tested.
|
|
nesting_permission_active: true
|
|
nesting_activated_at: "2026-09-10"
|
|
nesting_condition_evidence:
|
|
doc: approval-engine/docs/approval-claim.md#presentation-exclusion
|
|
test: tests/test_claim_contract.py::test_presentation_changes_cannot_change_the_approved_act
|
|
evidence_record: approval-engine/docs/evidence/2026-09-10-presentation-exclusion.json
|
|
# OPEN, raised with approval-engine rather than assumed. Their `principal` is
|
|
# the party ON WHOSE BEHALF the approval was issued; ours is the person being
|
|
# BOUND — the approver. Different roles, so this repository still commits its
|
|
# own principal in view_hash. Dropping it would remove *who was shown this*
|
|
# and gut the promise. If the two are the same field, ours drops too.
|
|
principal_role_overlap: open
|
|
# The cycle condition remains the thing to protect, and it is now protected by
|
|
# approval-engine's normative exclusion rather than by refusing nesting.
|
|
cycle_condition: >-
|
|
Mutual containment. view_hash carries binding.digest; binding.digest MUST
|
|
NOT cover presentation material, so containment stays one-directional and
|
|
the GH-DEC-2026-008 cycle cannot arise. If that exclusion is ever relaxed,
|
|
this linkage must be revisited before the widening ships — a fail-closed
|
|
consumer obeying a cyclic claim denies permanently.
|
|
|
|
# §5 applies to Staff. This is a browser-facing surface with no Tooling contact.
|
|
tooling_contacts: []
|
|
|
|
# §11 — record non-Tooling clients so the check is total.
|
|
non_tooling_clients: []
|
|
|
|
intended_non_tooling_clients:
|
|
- target: approval-engine
|
|
layer: engine
|
|
rationale: >-
|
|
GET /v1/approvals/{id} and /claim (approval:read) to render; POST
|
|
/v1/approvals/{id}/entries (approval:approve) to record a binding. Never
|
|
/consume. Requirements: approval-engine/docs/approver-surface-requirements.md.
|
|
- target: access-engine
|
|
layer: engine
|
|
rationale: >-
|
|
Decision consumed before rendering an approval to a person. A 200 from
|
|
approval-engine is not entitlement. This surface consumes a decision and
|
|
never renders one.
|
|
- target: key-cape
|
|
layer: engine
|
|
rationale: >-
|
|
Identity. Authorization-code + PKCE browser client. Identity is imported,
|
|
never invented here.
|
|
- target: audit-core
|
|
layer: engine
|
|
rationale: >-
|
|
Evidence destination for presentation records and dispositions. Must be an
|
|
independent path per limit L3-independent-evidence-path.
|
|
- target: state-hub
|
|
layer: not-catalogued
|
|
rationale: >-
|
|
Progress events. Outside §5 by the v0.5 scope rule. Recorded, not policed.
|
|
|
|
# §9.6 — presentation evidence is load-bearing: it is the only record of what a
|
|
# human was shown before binding. Atomicity and attestation cover accident and
|
|
# later tampering, never a compromised source.
|
|
evidence:
|
|
kind: load-bearing
|
|
residual: compromised-surface-presents-x-attests-y
|
|
residual_closed: false
|
|
custody: same-bound-as-every-other-source # §16 decided: no stronger archive
|
|
note: >-
|
|
GH-DEC-2026-012 states the residual is not closed in those words, and this
|
|
repository is not credited with closing it. Same disposition as
|
|
approval-engine's equivalent residual for adversarial omission at a
|
|
compromised source.
|
|
|
|
# INHERITED DECLARED GAP — GH-DEC-2026-010.
|
|
#
|
|
# Obligation 1 now requires a decision be ATTRIBUTABLE to access-engine. No
|
|
# consumer can satisfy that today: flex-auth's decision envelope is unsigned.
|
|
# This is a declared §13 gap tracked as FLEX-WP-0024, not a clean path this
|
|
# repository can walk.
|
|
#
|
|
# Stated here, and in SCOPE.md and ArchitectureBlueprint.md, because
|
|
# GH-DEC-2026-012 requires it be said in this repository's own documents rather
|
|
# than describing validation as complete.
|
|
inherited_gaps:
|
|
- id: GH-DEC-2026-010-attributability
|
|
obligation: 1
|
|
gap: >-
|
|
A decision consumed from access-engine cannot today be proven to have come
|
|
from access-engine — the envelope is unsigned.
|
|
tracked_by: FLEX-WP-0024
|
|
consequence_here: >-
|
|
This surface's record can show that a decision was obtained and what it
|
|
said. It cannot yet show it was access-engine that said it. Validation of
|
|
the decision path MUST NOT be described as complete while this is open.
|
|
status: open
|
|
|
|
declared_shapes:
|
|
"5.1": []
|
|
"5.2": []
|
|
"5.3": []
|