System Security &
Authority Model
01 // THE CENTRAL PRINCIPLE
// intended pipeline (design, not implemented)
agent intent → policy engine
→ risk/permission evaluation
→ user approval (where required)
→ deterministic privileged service
→ kernel operation → verification
→ audit → rollback/recovery
CONCEPT
Intelligence / authority separation
DETERMINISTIC SYSTEM SIDE
- + policy & permission evaluation
- + narrow privileged services
- + verification, audit, rollback
02 // TRUST BOUNDARIES
- BOUNDARY_01 CURRENT
Firmware/bootloader boundary
- BOUNDARY_02 CURRENT
Kernel trusted boundary
- BOUNDARY_03 CURRENT
Userspace boundary
- BOUNDARY_04 FUTURE
Privileged system-service boundary
- BOUNDARY_05 FUTURE
Untrusted application boundary
- BOUNDARY_06 FUTURE
AI/agent boundary
- BOUNDARY_07 FUTURE
External network boundary
03 // V0.1 IN PRACTICE
- UNSAFE MINIMIZED
- PAGE PERMISSIONS
- PANIC ON VIOLATION
- VM CONTAINMENT
- SECRET HYGIENE
04 // THREAT MODEL (V0.1 SCOPE)
| Risk | Vector | Mitigation |
|---|---|---|
| Host damage from OS testing | misconfigured VM (disk passthrough, raw device writes) | QEMU launches only project-generated images; no passthrough flags anywhere in scripts/harness; physical-hardware boot is out of scope |
| Kernel bug corrupting its own state silently | logic errors, bad unsafe | panic-on-invariant-violation; boot-stage markers; selftests; unsafe inventory |
| Malformed boot data | firmware/bootloader handoff anomalies | validate memory map/pointers before use; reject overlapping regions |
| Malformed initramfs | corrupt/hostile archive bytes | strict bounds-checked parsing with negative-case tests (planned with FS-001) |
| Supply-chain drift | dependencies with unexpected code | small pinned dependency set, Cargo.lock committed, rationale per kernel dependency |
| Secret leakage | tokens in commits/logs/CI | secret scan before pushes; env-var/platform secret stores only |
| Fake completion | claims without evidence | requirement matrix + machine-readable QEMU evidence; website generated from status/current.json |
Explicit non-threats for V0.1
05 // FUTURE CAPABILITY MODEL
CONCEPTsubject → capability → object → permitted operation → constraints → provenance