Skip to content

RNG-001: Ephemeral Environments with Clean State Guarantees

This Reference preserves the recorded requirement contract. The front matter states its lifecycle status; this editorial notice does not change that status. An ACTIVE contract is not a historical implementation or qualification result. The statement, rationale, identifiers, and traceability below keep their recorded meaning. The original file is available at source revision 6d35d245f11a.

Statement

The platform shall support ephemeral environments that guarantee clean state between runs, tearing down and recreating containers to eliminate state contamination from prior exercises.

Rationale

Persistent containers accumulate state (files, processes, credentials, logs) that contaminate subsequent runs. Clean-state guarantees are prerequisite for reliable batch execution and benchmarking.

Traceability

  • DOCUMENTS → GITHUB_ISSUE #424 (RNG-001: Ephemeral Environments with Clean State Guarantees)
  • IMPLEMENTS → CODE_FILE src/aptl/core/lab.py (clean_boot_lab lifecycle mode)
  • IMPLEMENTS → CODE_FILE src/aptl/cli/lab.py (aptl lab start --clean CLI surface)
  • IMPLEMENTS → CODE_FILE src/aptl/validation/_live_gate_probes.py (live gate consumes clean_boot_lab)
  • TESTS → TEST tests/test_lab.py (TestCleanBootLab)
  • TESTS → TEST tests/test_cli.py (start --clean CLI tests)
  • TESTS → TEST tests/techvault/test_techvault_live_gate.py (live-gate boot tests (clean_boot_lab))
  • IMPLEMENTS → GITHUB_ISSUE 424 (RNG-001: Ephemeral Environments with Clean State Guarantees)
  • DOCUMENTS → DOCUMENTATION docs/reference/experiment-runs.md (Clean State Between Runs reference)