A. Architecture: ExecutionSource + ModelInventory contracts #117
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#117
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?
Child A of #116 (Dynamic Execution Sources program).
Owns the smallest architecture amendment that introduces:
source_id: personal-openai,type: codex_subscription,label,worker,entitlement). The user configures the SOURCE; the source discovers physical models; physical models remain exact execution targets. Concepts are never collapsed.source_id, observation timestamp, runtime/provider provenance, availability/auth state. Bounded entries/pages, no credentials, no arbitrary provider payloads, no rawmodel/listserialization — only normalized fields Scarcity Router needs. Explicit about observation time and provenance.openai/luna,openai/sol,openai/astra): a stable product/capability family, NOT a physical execution identity. Routing policy may reason about the track; the selected target is still the exact physical model/effort.Deliverables: numbered decision entry in
docs/decisions.md(with alternatives + supersession language where a frozen contract is reconciled, never silently violated), architecture.md amendment, typed contracts with validation tests, recon of D-040…D-052 / worker protocol / server config / routing pins / quota-pool identity / Program Execution Mode rules recorded BEFORE implementation.Constraints: inspect all relevant decisions first; no code around frozen contracts without explicit reconciliation. Design narrow extension seams only where concrete requirements need them (Codex is the first implementation). No plugin marketplace, no generic discovery DSL, no controller framework, no event bus, no credential vault, no distributed registry, no arbitrary dynamic adapter loading.
Closeout — implemented in merged PR #124 (merge commit
a4370f0intodevelop, head9789c67; program #116 / D-053).Child A delivered: D-053 architecture decision (docs/decisions.md) + architecture.md amendment; the ExecutionSource configuration domain (schema v2, additive); the typed, bounded, credential-free ModelInventory wire contract (model_inventory.py, schema v1 — strict JSON, cardinality/length caps, closed auth vocabulary); the reviewed track registry (model-trests...
model-tracks.json: openai/luna, sol, astra floors; daybreak restricted) with the structural classifier (model_tracks.py); per-effort derived exact resources (<source_id>:<slug>:<effort>) with validated atomic adoption. Owner WIP note: unrelated D-054 effort-restriction edits in the local checkout are out of scope for this closeout.