- Status: Approved
- Date: 2026-06-09
As a system administrator or security-conscious developer, I want all tasks to run in a structured, isolated filesystem vault so that inputs, temporary files, outputs, and deletion attempts are separated and audited.
- Vault Structure: Creates a per-task directory tree at
~/.ahma/tasks/<utc-date>-<slug>-<hex>/containing:inputs/— copies of input filesworkdir/— kernel sandbox scope rootoutputs/— task results/artifactstrash/— two-phase deletion staging areaaudit.jsonl— append-only event logegress.allowlist— outbound network domain allowlist
- Vault Lifecycle: Exposes APIs to create, list, and verify vaults.
- Two-Phase Delete: Deletions move files to
trash/before physical deletion, preventing accidental data loss by AI. - Egress Proxy Support: Supplies the outbound network proxy config from
egress.allowlist.
- Audit Security:
audit.jsonlmust be append-only with synchronous writes to prevent tampering. - File Isolation: Work directory (
workdir/) must remain isolated at the kernel level.
- Implementing the network proxy daemon (handled by workspace egress scheduling).