M09 follow-up: administrative recording of compatibility-matrix evidence cells #106
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/scarcity-router#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Allow an administrator to record OpenAI compatibility-matrix evidence cells (D-043) for configured backends through the M09 control surface, so that composed deployments can stream instead of failing closed.
Discovered by
M10 (#95) end-to-end acceptance:
tests/test_scenario_06_streaming_fails_closed_without_matrix_evidencepins the current honest behavior — aworker_bridged/composed resource whose backend has no recorded matrix cells rejects streaming withcompatibility_unknown(HTTP 400, provider never contacted). Fail-closed is correct per D-043 (UNKNOWNmust fail closed); the gap is that no administrative path exists to record the cells that would unlock it.Current state
scarcity_router/providers/openai_http_evidence.py); thegenericpreset records all-UNKNOWNwith the note "the administrator must supply dated evidence cells (M09) before these gates pass".Acceptance criteria
PASS/PARTIAL/UNSUPPORTED/UNKNOWN, dated evidence and tested version, through the control API/UI.References
docs/m10-acceptance.md(the recorded follow-up note).Reconciling this issue with the actual fix (PR #108, commit
9462c30onprogram/m06-m10-final-wave).Delivered:
default_cells_for(...)per configured server-direct preset resource (reusing the existing evidence tables; generic/un-evidenced presets remain all-UNKNOWN), and a newcodex_worker_evidencemodule carrying the reviewed M06 Stage-2 cell values (conservativePARTIAL/UNSUPPORTED, dated provenance,codex-cli 0.154.0-alpha.6.2/ schemasrust-v0.155.1) for each configured Codex worker resource, keyed to its physical model.control_api._rebuild_applicationpasses the built cells into the realGatewayApplication, rebuilt on every configuration change — the same lifecycle as adapter composition.compatibility_cells=()no longer occurs on any configured production path (the empty tuple remains only for the honest zero-configuration deployment).UNSUPPORTEDcell before dispatch;UNKNOWNfeatures remain fail-closed; configuration changes rebuild/remove cells correctly; no cross-resource cell leakage.Authority model (preserved): built-in adapter evidence is the default ceiling; nothing in configuration can elevate above it, and no unevidenced "full compatibility" toggle exists. Administrator-supplied dated-evidence elevation above built-in evidence remains a possible future enhancement (not needed for any currently evidenced adapter) — recorded here so the closure is honest about that boundary.
Both closure conditions are met: the composed server receives the evidence-backed matrix, and the E2E no longer injects synthetic cells. Discrimination re-proved against pre-fix HEAD
d5cdc17by the adversarial review.