Connect processing to shared PromptKit backend capacity

This commit is contained in:
2026-09-24 02:18:31 +00:00
parent a4a72168d5
commit 4812032c9e
26 changed files with 406 additions and 1816 deletions

View File

@@ -382,7 +382,20 @@ full runner behavior is Stage 8.
## Stage 8: Connect the Runner and Remove the Old Scheduling Hierarchy
**Status:** Pending. **Depends on:** Stages 2 and 4–7.
**Status:** Complete (2026-09-24). CLI processing now supplies both role clients
from one PromptKit engine; removed global/role schedulers, scheduler contracts,
the old utilization instrumentation, and retired concurrency settings. Runner
ordering, cancellation, partial failure handling, and domain checks remain.
Updated architecture and runtime guidance. `go build -o /tmp/audita-stage8-build
./cmd/audita` passed; focused diagnostics, module, proposal, validator, runner,
and LLM suites passed; `go test -race ./internal/framework/llm` passed. Local
HTTP tests covered shared backend capacity, independent backend identities,
zero-wait rejection, queued deadline cancellation, and later capacity reuse.
A real CLI-to-local-HTTP run completed with one proposal and two validation
calls and wrote the corrected transcript. The legacy CLI test file still uses
retired configuration and report contracts; assembled CLI tests remain for
Stages 10–12. `git diff --check` passed.
**Depends on:** Stages 2 and 4–7.
**Owns:** CLI process assembly, `internal/framework/runner`, old scheduler contracts,
and runner/CLI integration tests.