Skip to content

LBA REQ 018

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-018: Provider-delegated cleanroom AI uplift

Status

Proven

Area

Distributed CI (AI-provider uplift over the coordination bus; ADR-0011)

Statement

The system shall delegate a validated uplift task to a capability-matched cleanroom AI provider over the coordination bus.

Rationale

Uplift and documentation-drafting work runs where the licensed tooling and capability differentiation live (cleanroom actors running Ollama / Copilot CLI / Codex), so the host observes each cleanroom's gated outcome over the existing lbabus transport rather than hosting providers centrally.

Acceptance Criteria

  • delegateUplift.mjs validates an lba-uplift-task@v1 spec, drives a provider through the provider-agnostic adapter seam (providerAdapters.mjs), applies a deterministic acceptance gate (pass and fail), and writes an lba-uplift-delegation-receipt@v1 announced as an ADR-0003 DONE frame.
  • The registry/router (registry.mjs) dispatches a CLAIM only to a live, capability-matched worker; the persistent worker pool bounds concurrency; the quality pre-gate short-circuits a weak / off-topic / refusal draft.
  • Each uplift domain gates fail-closed: coverage-lift (a proposed test gated on the measured line coverage of a target module), evidence (receipt gathering + summary accuracy), risky-test (external-tool gate), and VIPM credential + capability routing.
  • Gated: the ten provider-delegation/verify-*.mjs self-tests run in verify-local-gates, all deterministic and offline (mock adapter, no GPU / no network).

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

Keep the harness provider-agnostic (the adapter seam) and composed of existing infra (ADR-0003 bus + ollama-drive + ollama-comparison); do not introduce a new transport. Decision recorded in ADR-0011. Authored under the repo-standards-review singular-requirement directive (one shall).

TestID

T-018

CodeRef

experiments/provider-delegation/delegateUplift.mjs; experiments/provider-delegation/providerAdapters.mjs; experiments/provider-delegation/registry.mjs; experiments/provider-delegation/coordinator.mjs; experiments/provider-delegation/worker.mjs; experiments/provider-delegation/qualityGate.mjs; experiments/provider-delegation/verify-provider-delegation.mjs; experiments/provider-delegation/verify-registry.mjs; experiments/provider-delegation/verify-claim-tasking.mjs; experiments/provider-delegation/verify-worker-pool.mjs; experiments/provider-delegation/verify-quality-gate.mjs; experiments/provider-delegation/verify-vipm-routing.mjs; experiments/provider-delegation/verify-vipm-gate.mjs; experiments/provider-delegation/verify-coverage-lift.mjs; experiments/provider-delegation/verify-evidence.mjs; experiments/provider-delegation/verify-risky-test.mjs; docs/architecture/adr/ADR-0011-provider-delegation-cleanroom-uplift.md

RTM Status

Proven

Clone this wiki locally