Integrate founding explorations and bootstrap operational radar

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a09c77-b1a9-7eb3-b501-6cb24b458c97
This commit is contained in:
tegwick 2026-09-13 22:42:09 +02:00
parent 775f93b920
commit d0e6438609
57 changed files with 4723 additions and 2 deletions

20
tools/demo.py Normal file
View file

@ -0,0 +1,20 @@
"""Isolated, synthetic workflow demonstration."""
import json
from pathlib import Path
import sys
import tempfile
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from intelligence_radar.__main__ import draft, ledger, record
fixture = json.loads((Path(__file__).resolve().parents[1] / 'examples/observation.json').read_text())
with tempfile.TemporaryDirectory(prefix='intelligence-radar-demo-') as directory:
root = Path(directory)
ident = record(root, fixture)
assert record(root, fixture) == ident
assert len(ledger(root)) == 1
for period in ('2026-09-13', '2026-W37'):
path = draft(root, period)
assert ident in path.read_text()
print(path.read_text())
print('Demo passed; temporary synthetic ledger removed.')