Exacly model

Requirement · active · spec/exacly/automation.yaml

REQ-025 Isolate candidate execution from operator authority

Candidate code cannot reach the authority used to approve, dispatch or complete its work through the selected runtime boundary.

Why it exists

  • REQ-025 Isolate candidate execution from operator authority Requirement main: verification passed
    • supports → PROC-004 Carry out approved verification work Process
      • uses_capability → CAP-004 Reconcile approved verification work Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-025 Isolate candidate execution from operator authority Requirement main: verification passed
    • implements ← APP-016 Local Bubblewrap command launcher Application
      • depends_on → INF-004 Local Bubblewrap execution runtime Infrastructure
      • reads → INFO-007 Isolated run bundles Information
        • stores ← INF-004 Local Bubblewrap execution runtime Infrastructure (above)
      • writes → INFO-007 Isolated run bundles Information (above)

main config 94cbae926e86

AssessmentReasonEvidenceAt
verification passed
tests
All 139 selected test cases passed2026-11-22T17:48:12Z

Findings

None.

Config

owner
exacly-maintainers
lifecycle
active
last_reviewed_at
2026-11-01
statement
Before running candidate-controlled code, enforce an execution boundary that denies access to the operator's ledger, authoritative state and policy originals, privileged credentials and control interfaces, while providing only explicitly permitted inputs and capabilities.
acceptance_criteria
  • Explicit candidate execution authorizes only the selected argument vector, reviewed backend and runtime policy, immutable input snapshots and new output destination; it grants no dispatch, verification, completion, release or deployment authority.
  • Candidate processes and their descendants cannot read or modify the operator's execution ledger, completion journal, authoritative state, policy originals or privileged credentials through filesystem, environment, process, performance-monitoring, kernel credential facilities or control interfaces.
  • Enforce separation through an independently enforced runtime boundary with a reviewed contract; same-user directory permissions, path checks, a separate checkout or a successful version probe alone do not establish isolation.
  • Verify the selected runtime's identity and permitted inputs against reviewed policy before execution; candidate-controlled configuration cannot add capabilities, replace required protections or expose operator runtime files and interfaces.
  • Approved criteria and permitted source inputs are supplied as explicit immutable path-to-bytes snapshots; input paths cannot escape that snapshot, and no implicit repository traversal or environment inheritance supplies additional inputs.
  • Verify the actual execution boundary before candidate code starts; a backend name or candidate self-report alone is insufficient, and an unavailable or failed boundary stops execution without falling back to the operator runtime.
  • Filesystem, network and subprocess capabilities are explicitly constrained by the selected backend's reviewed contract; inherited environment, unrelated descriptors, privileged mounts and runtime-management interfaces cannot bypass the boundary, and descendant processes remain confined.
  • Completion, timeout, output limits and supervisor termination stop candidate processes and descendants according to the backend contract; actual termination is verified before artifact collection, including after normal candidate exit. Per-run cleanup limits do not establish durable retry or concurrency budgets.
  • Collect bounded logs and artifacts without following candidate-controlled paths into operator resources or accepting unsafe file types; invalid setup or unsafe artifacts publish no successful bundle, and publishing a new private bundle never overwrites an existing destination.
  • Reports identify the selected backend, reviewed runtime and supplied snapshot identities and verified boundary facts separately from untrusted candidate exit status, logs and artifacts; content identity and successful execution do not authenticate evidence, prove output provenance or authorize completion.
  • Real integration tests for each supported backend attempt forbidden reads, writes, inherited-descriptor access, host process access, cross-boundary performance monitoring, kernel credential access and host network or socket access from candidate processes and descendants; they also verify immutable permitted inputs, safe output exchange, failed setup and descendant cleanup without substituting mocked or skipped runtime checks.
  • Each supported backend declares its required protections, trusted components and exclusions in a reviewed contract. The current local linux-bubblewrap-v1 backend must satisfy docs/candidate-isolation.md#linux-bubblewrap-v1-backend-contract in full; another backend needs its own reviewed contract and real verification before support can be claimed.
  • Trusted local completion of existing work does not require launching candidate code; this isolation requirement becomes mandatory before an executor runs candidate-controlled code, while durable dispatch and executor attempt supervision retain their own requirements.
verification_method
Real integration tests of the currently supported local Linux Bubblewrap backend for namespace and kernel-interface denials, descendants, input immutability, safe artifacts, failed setup and termination, plus policy, snapshot, publication, CLI and bounded fail-closed administrator setup tests; these establish no support for another backend.
observe
tests
cases
  • python/tests/test_execution_isolation.py::*
  • python/tests/test_isolation_contract.py::*
  • python/tests/test_isolation_cli.py::*
  • python/tests/test_isolation_syscalls.py::*
  • tests/test_evidence_workflow.py::test_ci_namespace_permission_is_scoped_to_system_bubblewrap_and_preserves_global_restrictions
  • tests/test_evidence_workflow.py::test_runtime_setup_propagates_admin_package_and_timeout_failures*