Repository navigation
v0.2.0 — trust tiers become real isolation
Heddle v0.2.0 closes the three pillars declared for the v0.2 milestone: sandboxed execution, audit and supply-chain hardening, and the last of the LOOM→Heddle rename cleanup. 237 tests, up from 137 at v0.1.0.
Container sandboxing (Pillar 1)
Trust tiers now bound blast radius, not just behavior. Any config can opt in with runtime.sandbox: docker:
- Per-config containers with read-only root,
--cap-drop=ALL, a pids limit, and CPU/memory caps - Scoped writable volume inside the container; T1 (observer) configs get none by default
- Runtime image pinned by digest, not tag
- T4 (privileged) configs cannot opt out of sandboxing
- Watchdog timeout — kills surface as structured audit events
Details in docs/sandboxing.md and ADR-004.
Audit & supply-chain hardening (Pillar 2)
- Anomaly detection — typed anomaly events for first-seen tool calls, rate-limit breaches, and repeated credential denials, written into the same hash-chained audit log
- Audit query CLI —
heddle audit show(filter by config, tool, time range, event type) andheddle audit verify(walks the hash chain and reports the exact break point) - Dependency pinning — exact-version pins with a
pip-auditgate - Registry integrity — per-row HMAC over the SQLite registry;
heddle registry verifydetects tampering, and writes go through a signing broker
Rename cleanup (Pillar 3)
Entry points relocated into src/heddle/, the ADR backlog paid down (docs/decisions/), and remaining loom-era naming scrubbed from docs, docstrings, and example configs.
Public releases ship as squashed commits; the v0.1.0 → v0.2.0 diff is the complete delta. Threat model: docs/threat-model.md. Security controls reference: docs/security-controls.md (15 of 16 implemented; network egress enforcement lands in v0.3).