Expand description
A8 — Hardware Deontic F(φ) Interrupts & Phase Leasing.
Immediate seL4-style capability revocation upon prohibition breach, plus phase-based capability allow-listing. Inspired by seL4’s capability model: capabilities are explicitly granted per phase, and any breach triggers an immediate interrupt that revokes all capabilities and halts the agent.
§Design
- Phase: A named execution phase with an associated capability allow-list. Capabilities are leased for the duration of the phase.
- PhaseLeaser: Manages phase transitions, granting and revoking capabilities as phases change.
- DeonticInterrupt: Triggered when a prohibition is breached. Immediately revokes all capabilities and halts execution.
- InterruptHandler: Processes interrupts, recording the breach and notifying the governance layer.
§Integration
- Uses A6 (
dag) for execution state tracking. - Uses the existing
deontic_logicmodule for prohibition definitions. - Designed for seL4-style immediate revocation (no deferred cleanup).
Structs§
- Agent
Sandbox - An agent sandbox provides isolated execution with deontic interrupt capability. Each agent gets its own phase leaser.
- Deontic
Interrupt - A deontic interrupt event.
- Phase
- An execution phase with an associated capability allow-list.
- Phase
Leaser - The phase leaser manages phase transitions and capability grants. Capabilities are leased for the duration of a phase and automatically revoked when the phase ends or an interrupt occurs.
Enums§
- Interrupt
Type - The type of deontic interrupt.
- Lease
Error - Errors from the phase leaser.
Constants§
- MAX_
CAPS_ PER_ PHASE - Maximum capabilities per phase.
- MAX_
INTERRUPT_ HISTORY - Bounded interrupt history reserved during cold leaser construction.
- MAX_
PHASES - Maximum phases per pipeline.
- MAX_
SANDBOX_ AGENTS - Maximum agents in the sandbox.