Implement KG-WP-0002 posture pilot scaffold

This commit is contained in:
codex 2026-07-24 00:24:53 +02:00
parent 6cee3503da
commit 3c549d9b78
22 changed files with 1418 additions and 25 deletions

View file

@ -119,9 +119,9 @@ curl -s -X PATCH "http://127.0.0.1:8000/tasks/<task_id>" \
## Repo-Specific Notes
This repo is currently **docs-first**. There is no application runtime, package
manifest, or test suite yet. Do not invent build/test commands that do not
exist; add them only when the corresponding implementation lands.
This repo is no longer docs-only. It now has a **small Python 3.12 scaffold**
for contract modeling and posture evaluation, but it is still **not** a
long-running control-plane service.
## Working Set
@ -131,25 +131,39 @@ Start with these files:
cat INTENT.md
cat SCOPE.md
sed -n '1,260p' specs/NetKingdomImmuneArchitecture.md
sed -n '1,220p' history/InitialExploration.md
sed -n '1,260p' specs/ImmuneContracts.md
sed -n '1,260p' docs/AdjacentSystemBoundary.md
sed -n '1,260p' docs/pilots/QontoAssistantPosturePilot.md
find src tests -maxdepth 3 -type f | sort
ls workplans/
```
## Verification
Current verification is structural, not runtime:
Use the repo-local scaffold commands:
```bash
# Check markdown/frontmatter edits and workplan formatting
# Preferred, if make + pip are available
make install-dev
# Test and lint the scaffold
make test
make lint
# Demo the current pilot path
make run-demo
# Direct shell fallback used in minimal environments
python3 -m pytest -q
PYTHONPATH=src python3 -m kings_guard.main --pilot qonto-assistant
# Check markdown/frontmatter edits too
git diff --check
# Sync workplan/task state into State Hub after workplan changes
cd /home/worsch/state-hub && ./.venv/bin/statehub fix-consistency --repo kings-guard
```
When this repo gains executable code, extend this section with the real
install/test/lint/run commands in the same change.
---
## Workplan Convention (ADR-001)