ADR-0032: Direct autoresearch pack launch reuses approved-scope lifecycle
Status: accepted | Date: 2026-08-26
References: ADR-0027
Context
Operators need to run an already-authored autoresearch pack on the hosted controller without paying for an LLM scope turn or asking an agent to reconstruct files that already exist. The controller already has a durable frozen-pack store and a mature scoped-to-approved-to-build-to-run lifecycle. ADR-0027 separately establishes a single downstream launch path for registered playbooks; the same duplication risk applies here.
Decision
Direct autoresearch launch will fetch and freeze the administrator-named repository, revision, and pack path, validate it before adoption, and enter the existing autoresearch state machine at the approved-scope boundary. The endpoint is an adapter into the existing lifecycle rather than a second runner.
Consequences
Direct launch avoids unnecessary model spend and preserves one implementation of build planning, pod admission, run tracking, and completion. The stored scope remains the immutable provenance link for the run. The initial adapter uses scenario-shaped issue provenance, which keeps the change small but may warrant a later generalized pack input kind if direct launches need distinct querying or policy.
Alternatives Considered
Enter at the approved-scope boundary and reuse the existing autoresearch lifecycle (accepted)
- Pros: Reuses frozen pack storage, build planning, pod dispatch, run tracking, completion, and ledger behavior, The launch POST is a clear human authorization for the exact fetched tarball
- Cons: Direct launches retain scenario-shaped provenance until input kinds are generalized
Create an independent direct-run state machine and dispatch path (rejected)
- Pros: Could model direct-launch provenance with bespoke tables and statuses
- Cons: Duplicates build, admission, dispatch, tracking, completion, and recovery logic
Register autoresearch packs as playbooks and use the playbook launch API (rejected)
- Pros: Uses the existing no-scope API surface
- Cons: Conflates iterative scored autoresearch with single-pass playbook semantics