Dynamic Execution Sources, Model Discovery, Multi-Account & Security #116
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#116
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?
New development program on
develop(NOT a hotfix, NOT release remediation; no v0.1.0 pressure). Base SHA:98dd25ad7858dad3162e30391140b2d7ffe15459(canonical Forgejodevelop, 2026-09-24; supersedes the pre-merge expectationab59c42e…— the owner merged develop→main as PR #115 immediately before program start anddevelopnow points at that merge commit).Mission
Scarcity Router currently requires too much knowledge of physical model names and execution details. A Codex resource needs manual configuration equivalent to
gpt-5.6-sol, which ages badly: a provider can addgpt-6-luna/sol/astraand the user should not edit Scarcity Router configuration merely because a new generation appeared.Desired product model: the user configures access to an execution SOURCE once; Scarcity Router discovers what that source can execute, safely classifies the discovered inventory, selects the least-scarce sufficiently capable exact model, and records the exact physical model actually used.
Program architecture direction (child A owns the amendment):
Absolute model rule
ALL program work (implementation, orchestration, architecture analysis, independent review, remediation) uses ONLY
GLM-5.3-Flash(thinking = MAX). No workflow or subagent on non-Flash GLM-5.3. A separate Daybreak security review is an ADDITIONAL gate, not a replacement.Confirmed live evidence (2026-09-24)
Real controlled Codex session,
codex-cli 0.155.0-alpha.16.3: official login OK;account/read {}returnsaccount.type=chatgpt;model/list {}advertisesgpt-6-luna,gpt-6-sol,gpt-6-astra(efforts low→ultra) plusgpt-5.5,gpt-5.6-luna/sol/terra,gpt-daybreak-blue-latest. The current implementation omitsparamsforaccount/readand the firstmodel/listpage →JSON-RPC -32600on 0.155 — the evidenced explanation for "Codex snapshot health = unknown" despite a logged-in controlled home. Confirmed protocol drift; child B remediates first.Strategic requirements — improve ALL four
Absolute invariants preserved
gpt-6-sol/highnever silently becomesgpt-6.1-sol,gpt-6-astraorgpt-5.6-sol.Children
Branching / output
One program branch
program/dynamic-execution-sourcesfrom canonicaldevelop; final output is ONE reviewed PR intodevelop, left open for owner merge. No merge tomain, no release/tag, no PyPI.Required final artifacts
GLM-5.3-Flash/MAX independent review (APPROVE/CHANGES_REQUESTED, UX mandatory); Daybreak security review or honest
SECURITY_REVIEW_UNAVAILABLE; live acceptance through the product path (discovery + one real end-to-end turn); top-10 slowest tests with explanations; explicit release-posture statement ending inDYNAMIC_EXECUTION_SOURCES_READY_FOR_OWNER_MERGEorDYNAMIC_EXECUTION_SOURCES_PAUSED.Program status — implementation complete, in verification:
model-tracks.json(luna/sol/astra floors, restricted daybreak) + structural classifier.{}params repair with discriminating -32600 coverage (the fake runtime now mirrors the real strictness).sourcesconfig domain (schema v2), SourceRegistry adoption (DISCOVERED→CLASSIFIED→ROUTABLE, retirement after 3 authenticated misses), derived exact resources, track-floor catalog entries, GPT-6 Luna/Sol/Astra catalog reconciliation (D-033 gate exercised),ultraeffort.codex:<source_id>), per-source controlled homes, worker protocol v2 (inventories in state reports; v1 peers unaffected),--codex-source+ officialcodex-login.security_critical→ Daybreak-review governance contract withSECURITY_REVIEW_UNAVAILABLE.make check+package-check+ guardrails in progress; SR_TEST_TIMING top-10 being collected.D-053 records the full architecture, alternatives and the two explicit contract reconciliations (D-049 ownership at source granularity; M01 observation identity excluding registration-owned quota pools).
Program closeout — Dynamic Execution Sources
D-053 implemented and merged. All children #117–#123 are closed; implementation PR #124 was merged into
developas merge commita4370f0from the reviewed remediation head9789c67(base wasdevelop@cebd1d6).Delivered: ExecutionSource configuration (schema v2), worker-run discovery reported as a bounded ModelInventory (worker protocol v2), conservative track-floor adoption via
model-tracks.json, per-advertised-effort derived exact resources, multi-account source instances on one worker with strict home/credential/pool isolation, the Codex 0.155paramsrepair, the SSH-safe device-auth login, the Sources/UX surfaces, the durable UX review gate, the Daybreak restricted-track handling, and the durablesecurity_critical→ Daybreak-review governance contract.Security remediation: the Daybreak review ran through the real controlled source, found 8 blocker classes, and the owner-authorized remediation pass closed all eight with discriminating regressions (blockers 1–5 in the earlier round; 6–8 plus containment hardening in the final pass). Full repository gates passed at exactly
9789c67:make check(2,044 tests), basedpyright 0/0/0,make package-check,make guardrails,git diff --check— all green.Security-review record (owner-approved exception): the final narrow
gpt-daybreak-blue-latestverification did NOT produce a clean PASS — it was interrupted by the already-characterized WSLg/bubblewrap reviewer-environment failure. The owner explicitly waived that incomplete verification after reviewing the accumulated evidence. It is NOT recorded as a Daybreak PASS.Boundary:
mainwas never touched. No release, tag, or deployment was performed. The unrelated D-054 WIP in the local checkout was left untouched.Closing this umbrella as complete.