Repository navigation
ADR 0011
- Status: Accepted
- Date: 2026-08-01
- Deciders: LINUX + WIN planes (operator-directed)
- Relates to: LBA-REQ-018, ADR-0003 (coordination-bus wire format), ADR-0006 (run concentration + ollama),
experiments/provider-delegation/
The operator approved "use a provider like Copilot CLI, Codex, or Ollama on cleanrooms to delegate specific
uplift domains and documentation drafting." The benchmark actor already owns a coordination bus (ADR-0003
bus-msg@1 envelope over lbabus TCP/UDP), an ollama-drive HTTP contract, and an ollama-comparison
driveFn(prompt) seam, and it distributes capability across cleanroom actors (LBA-REQ-006). The open question
is where AI providers run: on the host pushing work down to cleanrooms, or inside the cleanroom actors with
the host observing gated outcomes.
Delegate uplift and documentation-drafting tasks to AI providers running inside cleanroom actors, gate the result deterministically, and announce the receipt over the existing coordination bus:
- A provider-agnostic adapter seam (
providerAdapters.mjs,drive(prompt) -> { provider, model, text, ms, ok }) frontsollama/copilot-cli/codex/ a deterministicmock, so no requirement is tied to one provider. - The delegation unit (
delegateUplift.mjs) validates anlba-uplift-task@v1spec, builds the prompt from theagents --roledomain brief, drives the provider, applies a deterministic acceptance gate, writes anlba-uplift-delegation-receipt@v1, and optionally announces it as an ADR-0003DONEframe. - A registry/router dispatches a
CLAIMonly to a live, capability-matched worker; a persistent worker pool bounds concurrency; each uplift domain (coverage-lift, evidence, risky-test, VIPM credential + routing) gates its result fail-closed. - The harness invents no new transport or protocol: it composes the ADR-0003 envelope, the
ollama-drivecontract, and theollama-comparisonseam.
- Uplift work runs where the licensed tooling and capability differentiation live (the cleanroom); the host only observes gated receipts over the bus, so no provider runs on the host and no run data crosses the bus beyond the receipt envelope.
- Provider-agnosticism keeps LBA-REQ-018 stable as providers change.
- The whole harness is deterministically self-testable offline through the mock adapter (no GPU / no network),
so it gates in
verify-local-gates.
- Run providers on the host and push results to cleanrooms. Rejected: the licensed LabVIEW/VIPM tooling and the cleanroom capability differentiation live in the cleanrooms; hosting providers centrally loses that.
-
Invent a dedicated provider-tasking protocol. Rejected: the ADR-0003 bus plus the
ollama-drivecontract already carry CLAIM/ACK/DONE and provider I/O; a new protocol would duplicate proven infrastructure.
Generated from docs/architecture/adr/ADR-0011-provider-delegation-cleanroom-uplift.md on develop. Edit the source in the repository, not this page.