2026-07-23 22:55:42 +02:00
|
|
|
# SCOPE
|
|
|
|
|
|
|
|
|
|
> Lightweight boundary for agents and contributors.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-08-28 21:47:05 +02:00
|
|
|
## Layer
|
|
|
|
|
|
|
|
|
|
**Staff** — interactive, non-deterministic; adaptive defence, observation,
|
|
|
|
|
containment. Binding rule: kings-guard never touches Tooling directly; it acts
|
|
|
|
|
only through Engine APIs. See `INTENT.md` and
|
Declare layer machine-readably (§11); adopt v0.6 corrections
The standard moved v0.4 -> v0.6. All four findings from our v0.4 review
were adopted in v0.5, and v0.6 went further on two of them.
§11 now requires a machine-readable declaration — prose cannot
distinguish a declaration from a transcribed review. We had none.
Added layer.yaml (form adapted from ops-warden's reference
implementation), scripts/check_layer_conformance.py, and
tests/test_layer_conformance.py.
The check makes our central claim mechanical rather than asserted: no
direct Tooling client in src/. The test exercises the negative case on a
synthetic tree, so it fails if the checker goes blind. pyyaml is added as
a DEV dependency only — `dependencies = []` is load-bearing for the §5
claim and stays empty.
Adopted from v0.6:
- containment is no longer ours (§9.2). Actuation is an Engine concept,
unowned and held at zero; kings-guard proposes containment and never
performs it. The register row is now a dependency, not our gap.
- observation is scoped to Staff-reachable sources, with identity and
secret observation pending — our finding 1, adopted near-verbatim.
- access-engine DECLINED the authentication-evidence gap; owner is now
the identity layer plus audit-core, reproposed and unassented.
- §11 blocked-clean recorded, with the rule that it must not rank below
conforming — our finding 2.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 10:20:39 +02:00
|
|
|
`net-kingdom/canon/standards/security-layer-model_v0.6.md`.
|
2026-08-28 21:47:05 +02:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2026-07-23 22:55:42 +02:00
|
|
|
## One-liner
|
|
|
|
|
|
|
|
|
|
Adaptive security assessment and bounded-response layer for multi-tenant cloud
|
|
|
|
|
platforms.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Core Idea
|
|
|
|
|
|
|
|
|
|
`kings-guard` turns declared healthy intent plus observed runtime behavior into
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
posture judgments, typed security signals, and bounded response **requests**. It
|
|
|
|
|
consumes evidence without replacing any system's primary authority, and it
|
|
|
|
|
actuates nothing: containment is rendered by an Engine and enforced by a PEP
|
|
|
|
|
(statute §9.2).
|
|
|
|
|
|
|
|
|
|
The one-line test for anything proposed here: **does it judge and propose, or
|
|
|
|
|
does it decide and act?** The first is in scope. The second is another layer's.
|
2026-07-23 22:55:42 +02:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## In Scope
|
|
|
|
|
|
|
|
|
|
- Canonical terminology and contracts for security genome, phenotype,
|
|
|
|
|
observation, signal, effector, tolerance, inflammation, and immune memory.
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
- **Evidence classification** — marking each consumed stream load-bearing or
|
|
|
|
|
attributive (§9.6), since the obligations differ.
|
|
|
|
|
- **The emission-cadence declaration draft** (§17). kings-guard is its only
|
|
|
|
|
consumer and drafts it; Taxonomy owns it. Includes the reconciliation or
|
|
|
|
|
heartbeat form required for low-volume load-bearing classes, where rate
|
|
|
|
|
monitoring cannot work.
|
|
|
|
|
- **Stream-completeness judgment** — treating silence as a signal, and carrying
|
|
|
|
|
the resulting doubt in the posture output rather than reporting confidence in
|
|
|
|
|
a stream that may be incomplete.
|
2026-07-23 22:55:42 +02:00
|
|
|
- Reference architecture and boundary documents for adaptive defense in
|
|
|
|
|
multi-tenant and agent-active environments.
|
|
|
|
|
- Minimal posture-evaluation loop design: ingest observations, compare against
|
|
|
|
|
intended healthy state, and emit typed posture/signal results.
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
- Integration seams to adjacent security systems, taken **through the owning
|
|
|
|
|
engine**: `access-engine` (the decision point, currently named `flex-auth`),
|
|
|
|
|
`secrets-engine`, `user-engine`, `audit-core`, and the Railiance runtime
|
|
|
|
|
layers. `key-cape` and OpenBao are Tooling and are never contacted directly.
|
2026-07-23 22:55:42 +02:00
|
|
|
- Non-secret evidence, workplans, and repo-operational metadata.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Out of Scope
|
|
|
|
|
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
- **Actuation of any kind.** Reduce authority, require step-up, isolate a
|
|
|
|
|
workload — these are authority-changing operations rendered by an Engine and
|
|
|
|
|
enforced by a PEP. kings-guard proposes them and never performs them, even
|
|
|
|
|
when no engine surface exists to receive the proposal.
|
|
|
|
|
- **Holding a standing credential** (§3.4 rule 1).
|
|
|
|
|
- **Becoming a state plane for another layer**, immune memory included
|
|
|
|
|
(§3.4 rule 3). Immune memory informs kings-guard's judgment and may be
|
|
|
|
|
published as evidence; nothing may depend on it at runtime.
|
2026-07-23 22:55:42 +02:00
|
|
|
- Identity issuance, login, MFA, or token minting.
|
2026-08-28 21:47:05 +02:00
|
|
|
- Any direct client for a Tooling-layer system (OpenBao, key-cape components,
|
|
|
|
|
a database, a cluster) — every such need routes through the owning engine.
|
|
|
|
|
- Rendering or caching an authorization decision; `access-engine` is the
|
|
|
|
|
estate's only decision point.
|
|
|
|
|
- "Control plane" as a self-description — that vocabulary belongs to the
|
|
|
|
|
Engine layer.
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
- Claiming that an event's absence from an archive proves it did not happen, or
|
|
|
|
|
that a quiet stream is a healthy one (§9.6).
|
2026-07-23 22:55:42 +02:00
|
|
|
- Authorization policy administration or final resource allow/deny decisions.
|
|
|
|
|
- Secret custody, lease issuance, or raw secret-value delivery.
|
|
|
|
|
- Infrastructure provisioning, workload deployment, or cluster/platform
|
|
|
|
|
operations.
|
|
|
|
|
- Generic SIEM ownership, ticket tracking, or live work coordination beyond
|
|
|
|
|
this repo's own workplans.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Current State
|
|
|
|
|
|
2026-07-24 00:24:53 +02:00
|
|
|
- Canon now includes `specs/ImmuneContracts.md`,
|
|
|
|
|
`docs/AdjacentSystemBoundary.md`, and
|
|
|
|
|
`docs/pilots/QontoAssistantPosturePilot.md`.
|
|
|
|
|
- A minimal Python reference scaffold exists under `src/kings_guard/` with
|
|
|
|
|
fixture-driven tests under `tests/`.
|
|
|
|
|
- The implementation currently evaluates normalized observations and emits
|
2026-08-28 21:47:05 +02:00
|
|
|
posture/signal results for one bounded pilot lane; it is not an enforcement
|
|
|
|
|
service and will not become one.
|
2026-09-02 00:11:57 +02:00
|
|
|
- Evidence class, stream-completeness evaluation, origin-linked proposals, and
|
|
|
|
|
the emission-cadence Taxonomy draft landed in `KG-WP-0003`.
|
Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003
The standard is accepted at v0.7 with a working companion. v0.7 wrote the
§3.4 agent-principal rules that v0.6 announced and never wrote — our
finding — and credits kings-guard for it. Our other two findings landed
too: the actuation row is no longer attributed to us, and §17 records
kings-guard as drafter of the emission-cadence declaration.
INTENT.md now carries the declaration in frontmatter (layer: Staff,
conformance_state: blocked-clean) as the companion asks, plus prose in
our own voice. Adopted: the four agent-principal rules; the evidence
doctrine and our obligations under it; containment reframed as proposal
throughout. Direction of Evolution stage 3 rewritten — it described
integrating with effectors to actuate, which §9.2 forbids — and stage 5
now carries the constraint that federated memory may not become a state
plane.
SCOPE.md gains evidence classification, the cadence draft, and
stream-completeness judgment as in-scope; actuation, standing
credentials, and becoming a state plane as explicitly out.
history/2026-08-29-layer-model-v0.7-scope-intent-review.md assesses the
adapted documents against the implementation. The finding: the documents
are now correct and the code has not caught up. Nine gaps, G1-G8 carried
by KG-WP-0003, G9 remaining as KG-IN-0002.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UEtvmYUBP2fDtirJGWn5MW
Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 4014379@bnt-lap001
Assistant-Session: 4af9e20f-1768-4afc-951b-b507784e382b
2026-08-29 14:42:34 +02:00
|
|
|
- `layer.yaml`, `scripts/check_layer_conformance.py` and
|
2026-09-02 00:11:57 +02:00
|
|
|
`tests/test_layer_conformance.py` make the no-Tooling-client claim and the
|
|
|
|
|
no-standing-credential claim executable; the companion cites them estate-wide
|
|
|
|
|
as the reference for a repository with no Tooling contacts at all.
|
|
|
|
|
- Live observation of `qonto-assistant` uses the source's own AuditLogger emit
|
|
|
|
|
path. The hand-built fixture is retained as a regression case. Stream
|
|
|
|
|
completeness for the load-bearing deny class stays unknown until the source
|
|
|
|
|
publishes a cadence declaration and heartbeats.
|
2026-07-23 22:55:42 +02:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Getting Oriented
|
|
|
|
|
|
|
|
|
|
- Start with: `INTENT.md`
|
|
|
|
|
- Architecture draft: `specs/NetKingdomImmuneArchitecture.md`
|
|
|
|
|
- Exploration notes: `history/InitialExploration.md`
|
|
|
|
|
- Agent instructions: `AGENTS.md`
|
|
|
|
|
- Workplans: `workplans/`
|