SSDF is a sovereign security data fabric. services/ contains independent
Python/uv collectors, resolvers, MCP tiers, entity/policy logic, health, public
metrics, and evaluations. infra/ contains ClickHouse, Vector, nginx, and
firewall definitions; scripts/ contains deployment/operations helpers;
onboarding/ documents data sources. ClickHouse writes, firewall rules, MCP
auth, de-identification, audit chains, TLS, and deployment scripts are high risk.
- Install the golden workstation baseline and run
just setup. - Each
services/*directory is its own locked uv project. Run commands from the service directory or through the rootjustfile. - Use fixtures for unit work. Live ClickHouse, MCP, Proxmox, and device checks belong only in the explicitly confirmed integration target.
- Offline:
just fmt,just lint,just test, andjust guard. - Live lab:
just integrationwithCONFIRM_LAB_INTEGRATION=yes; review each service because entity, policy, eval, and audit tests may write lab data. - No browser E2E suite exists;
just e2erecords that exception. - Run
just securityandjust release-checkbefore handoff.
- Commit each service's
pyproject.tomlanduv.locktogether. Do not hand-edit locks, generated TLS, scorecards/results, caches, or database output. - Keep shared library source mappings explicit and reproducible.
- Never commit ClickHouse/MCP/device credentials, private TLS keys, pseudonym keys, raw configurations, audit data, or production telemetry.
- Default scripts and examples to validation, dry-run, plan, or read-only mode.
- Do not apply nftables, schemas, services, backups, TLS, or deployment changes without explicit approval, exact target, rollback steps, and verification.
Report files changed, service checks/results, skipped live checks, schema/data impact, rollback considerations, and remaining risk.