RUL-038 — Test runs never create containers; container creation is exercised only by explicit rehearsals

Ruling

Mohamed, 2026-10-19, after asking "why are you creating containers during test run?", verbatim: "do not test container creation in test runds".

Decision record: ADR-0111 (docs/adr/0111-test-runs-never-create-containers-container-creation-is-exercised-only-by-explicit-rehearsals.md).

Evidence

Measured 2026-10-19:

Enforcement

Mechanism (RUL-014)

Judgment-only at recording time. Owed (ADR-0111): a static policy gate in the codetools and orchestrata test runs that fails any module under the test tree that calls an instance-creating API. When the gates land, this section names their commits and the Enforcement line moves to gate.

Verification

Amendment (2026-10-19/20) — the test phase is SELECTED, COUNTED and CAPPED

Same-day extension of this ruling by Mohamed, recorded post-hoc from the transcript (Claude session 3a241b76, wt-COMPONENTS, lines 2659/2678 — recovered 2026-10-20 by the coordinator session; the adopted code cited "RUL-038 (Mohamed, 2026-10-19): the test phase is SELECTED, COUNTED and CAPPED" before this page carried the text):

Mechanism (landed — repo commit 4a470482c, wt-COMPONENTS branch components)

Enforcement (amendment)

Mechanical: the cap/refusal/stamp code above + its tests (146 passed, 0 deselected, coordinator re-run) + test-review.py T5 (no os.environ mutation — the gate block that exposed the fabricated-key defect). The original ruling's container-creation gate remains owed per the Mechanism section above; this amendment does not discharge it.

Verification (amendment)