Adaptive immune security architecture for netkingdom
Find a file
tegwick 9daea96c43 Finish KG-WP-0003: stream completeness and live qonto observation
Classify evidence as load-bearing or attributive, draft the emission-cadence
declaration for Taxonomy, treat silence as a stream finding, keep completeness
separate from record richness, forbid immune memory as a state plane, and make
containment proposals reconstructable to their origin. Observe real
qonto-assistant audit events; deny-class completeness stays unknown until the
source publishes a heartbeat.

Assistant: grok
Assistant-Session: 01a05ef1-9e5a-70f2-b0ff-0b05d6b38ae9
2026-09-02 00:11:57 +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 Commentary: the posture/maturity boundary is recomputability (KG-IN-0003) 2026-08-29 17:44:24 +02:00
docs Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
history Align with Security Layer Model v0.7; review scope vs intent; open KG-WP-0003 2026-08-29 14:42:34 +02:00
intake Close absorbed qonto pilot intake 2026-07-24 00:34:52 +02:00
intakes Commentary: the posture/maturity boundary is recomputability (KG-IN-0003) 2026-08-29 17:44:24 +02:00
scripts Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
specs Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
src/kings_guard Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
tests Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
workplans Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-09-02 00:09:33 +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 Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
layer.yaml Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +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 Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
README.md Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
SCOPE.md Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00
WORK-RECORDS.md Finish KG-WP-0003: stream completeness and live qonto observation 2026-09-02 00:11:57 +02:00

kings-guard

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

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

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