Adaptive immune security architecture for netkingdom
Find a file
tegwick 0fb7b8df4b Answer gate-house's v0.8 round and record the §11 declaration-form wait.
Three gate-house messages from 2026-09-05/06 and flex-auth's 2026-09-21
correction had gone unanswered for three weeks.

Assent to §9.5 at v0.8 (KG-DEC-2026-004), scoped to the boundary at
net-kingdom@66eeaba rather than to v0.8 as a whole, so an assent round
held open over §11 does not read as §9.5 unsettled. The criteria-grounding
clause gate-house added is assented and its reversal falsifier was
attacked against the two real candidates this repository holds — an
assertion-form §3.4 check and a readiness row grounded on another
repository's decision. It did not fire.

§12 step four: the normative sentence stands, kings-guard has still
observed nothing in production and KG-WP-0005-T03 waits on the runtime
owner. Its supporting sentence has drifted in our favour and is reported
against ourselves, with narrower wording proposed.

§11 declaration form: INTENT.md says Staff, layer.yaml says staff, and
§11 does not say which governs. Neither file is changed — gate-house holds
precedence and case sensitivity. Recorded as KG-IN-0007 with the position
in layer.yaml rather than left as a silence. KG-IN-0008 declines the
catalog reading that exempts published posture from the new §11
emission-guarantee check.

Commentary: docs/StatuteV08Review.md (KG-COM-0002), marked derived per the
rule v0.8 itself adds.

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
2026-09-21 02:10:39 +02:00
.repo-manager Repoint at Security Layer Model v0.4; assess and report to gate-house 2026-08-29 02:41:43 +02:00
decisions Answer gate-house's v0.8 round and record the §11 declaration-form wait. 2026-09-21 02:10:39 +02:00
docs Answer gate-house's v0.8 round and record the §11 declaration-form wait. 2026-09-21 02:10:39 +02:00
history Complete KG-WP-0004-T05 and finish the architecture vocabulary sweep 2026-09-02 10:06:53 +02:00
intake Close absorbed qonto pilot intake 2026-07-24 00:34:52 +02:00
intakes Answer gate-house's v0.8 round and record the §11 declaration-form wait. 2026-09-21 02:10:39 +02:00
scripts Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
specs Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
src/kings_guard Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
tests Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
workplans Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-09-02 08:11:20 +02:00
.gitignore Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
.repo-classification.yaml Register kings-guard with State Hub 2026-07-23 22:55:42 +02:00
AGENTS.md Assent to Staff placement; release control-plane vocabulary (KG-IN-0001) 2026-08-28 21:47:05 +02:00
INTENT.md Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
layer.yaml Answer gate-house's v0.8 round and record the §11 declaration-form wait. 2026-09-21 02:10:39 +02:00
LICENSE Adopt Target Revenue Source License V1C1 (org-wide preliminary rollout) 2026-07-30 00:28:01 +02:00
Makefile Declare layer machine-readably (§11); adopt v0.6 corrections 2026-08-29 10:20:39 +02:00
pyproject.toml Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
README.md Complete KG-WP-0004-T05 and finish the architecture vocabulary sweep 2026-09-02 10:06:53 +02:00
SCOPE.md Admit source evidence snapshots and harden stream completeness 2026-09-05 00:42:19 +02:00
WORK-RECORDS.md Complete KG-WP-0004-T05 and finish the architecture vocabulary sweep 2026-09-02 10:06:53 +02:00

kings-guard

Adaptive security contracts and posture-evaluation scaffold for NetKingdom's immune-architecture work.

Layer: Staff (NetKingdom Security Layer Model v0.7). kings-guard publishes posture and requests bounded response through engine APIs; it never touches Tooling directly and never renders an authorization decision. It proposes containment and does not perform it.

Current slice

This repository now contains four aligned pieces:

  • INTENT.md / SCOPE.md for the repo's stable boundary
  • specs/NetKingdomImmuneArchitecture.md for the reference architecture
  • specs/ImmuneContracts.md for the first canonical contract layer
  • src/kings_guard/ plus tests/ for a minimal posture loop scaffold

The current implementation is intentionally narrow. It does not enforce anything. It provides:

  • typed contracts for security genome, phenotype, observation, posture, signal, effector request, and immune memory entry;
  • evidence-class and stream-completeness fields, so silence is a finding and record richness is not mistaken for a complete stream;
  • a posture evaluator that judges one observation and, separately, the stream it came from;
  • a qonto-assistant pilot that still has a fixture regression case and can also consume real events from that service's own AuditLogger.

Repo layout

  • specs/NetKingdomImmuneArchitecture.md
  • specs/ImmuneContracts.md
  • docs/AdjacentSystemBoundary.md
  • docs/pilots/QontoAssistantPosturePilot.md
  • src/kings_guard/
  • tests/
  • workplans/

Dev commands

# preferred, if make + pip are available
make install-dev
make test
make lint
make run-demo

# direct shell fallback used in minimal environments
python3 -m pytest -q
PYTHONPATH=src python3 -m kings_guard.main --pilot qonto-assistant