Observe, then act — with explicit permission
A missing operational event is not equivalent to a failed action. Vigilact records what the observer can demonstrate. It can then expose a separate mechanism for an operator to request an agent-owned diagnostic capability.
Run a deterministic, fully isolated example:
PYTHONPATH=src python examples/observe_and_act.py
The example:
- Proposes a deadline-bound
backup.completedcontract. - Advances a test clock beyond the deadline without delivering the evidence.
- Verifies that the observer emits
dev.vigilact.observation.not_observed. - Registers an opt-in agent command capability
backup.inspect. - Lets an authenticated operator enqueue a request.
- Shows the agent claiming and returning a simulated diagnostic result.
The server never executes arbitrary commands. Remote command APIs are disabled by default; the demo explicitly enables them only inside an isolated FastAPI test instance with disposable credentials and database.
This is the minimum meaningful difference between observing a missed ping and coordinating optional authorized diagnostics. It does not implement a production permissions system or automate remediation.
Related: Capabilities, Commands, and Identity and trust.