Skip to content

DEP-007: Experiment Resource Budgets and Enforcement

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

APTL shall enforce configurable preflight and runtime budgets for campaign duration, per-trial timeout, concurrency, retries, host resources, archive growth, and standardized participant usage. The scheduler shall stop admitting new trials and, where policy requires, terminate active work through the existing safe control path before a hard limit is exceeded, recording the decision and terminal state. Monetary caps may be enforced only when usage and a pinned price source are available. APTL shall not implement cloud-provider billing estimation or account management.

Rationale

WITHDRAWN 2026-10-05: This budget scope is larger than the serial runner needs. #459 keeps the typed timeout, cleanup and storage limits. #753 checks resources before a run. Retries and concurrency are not planned. See GitHub issue #469. --- Original rationale: A single-user instrument still needs bounded unattended execution. Generic enforceable resource limits are reliable and provider-neutral; cloud cost prediction is deployment finance and cannot be made scientifically or operationally credible inside APTL.

Traceability

  • DOCUMENTS → GITHUB_ISSUE #469 (DEP-007: Experiment resource budgets and enforcement)