Replace legacy static model governance with evidenced execution resources #234
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#234
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
Implement the owner's 2026-10-28 architectural decision to remove repository-versioned static model governance and route authorized executable resources using actual evidence and local authority. Supersede the parts of D-082 and earlier decisions requiring bootstrap static catalog and rating-based routing, while preserving historical decisions and valid security and provenance protections.
Why and Baseline
selection_app.pyloadsmodel-catalog.jsonandmodel-policy.jsonfor selection, profiles and provenance;model_tracks.pyandexecution_sources.pyusemodel-tracks.jsonfor family-derived capability floors. Gateway, CLI, REST, MCP, packaging, persisted decisions and tests depend on these contracts. #176 delivered an explanation-only MI consumer with bootstrap preservation; it is closed and is not equivalent to this explicitly authorized removal. Open PR #233 addresses worker CA trust, not this work.Scope
Acceptance Criteria
uv sync --only-dev,make check,uv run basedpyright,git diff --check), package and installed lifecycle checks pass, including clean wheel/sdist installation without removed artifacts.pr-reviewersession using GPT-6.1 Sol high independently reviews the complete frozen PR for architecture, indirect static replacement, correctness, security, identity, authorization, migration, interfaces, tests and UX. Material findings are fixed and re-reviewed within the existing finite budget. Record actual session/model evidence without inferring runtime identity.developafter exact-currentness approval and all validation; verify integrated acceptance before closing this issue. No direct develop push, main promotion, release, deployment, live inference, or external-repository mutation.Constraints
This issue reflects the direct owner authorization of 2026-10-28. Implementation assignment is GPT-6.1 Terra medium; independent review is GPT-6.1 Sol high, with no silent model or effort substitution. Respect existing credentials, authorization and source boundaries. No new review launcher, reviewer environment or manual prompt relay. Preserve unrelated work. One issue, one branch, one PR.
Links
docs/architecture.md,docs/selection-policy.md,docs/security.md,docs/decisions.md,docs/llm-operating-policy.mdImplementation in progress on local
issue-234-evidenced-resources, based on2002d348a8d6d5f3d1b742a93ba3adf944d4b24e. D-084 records the owner supersession; the static artifacts and track loader are removed in the working tree. Runtime-source admission now requires exact administrator grants, preserves unknown model bounds and rejects legacy track grants pending explicit migration. Synthetic tests cover exact pins, authorization, local resource bounds, MI receipt binding, and source lifecycle. A wheel built from the pre-change develop revision was installed and replaced with the current wheel: synthetic legacy track policy and user state were retained, and old track adoption was refused. Full validation, remaining legacy test migration, PR, independent Sol High review and integration are still outstanding; no live provider execution has been asserted. Terra Medium is owner-requested; actual effort remains unverified.Implementation published as PR #235 at
5ae0afe6175965c3d8a89477d32dad2264054b27, base/merge-base2002d348a8d6d5f3d1b742a93ba3adf944d4b24e. Fullmake checkpassed (3,072 tests, 18 skipped; basedpyright 0/0); separate basedpyright, baseline-wheel installed upgrade, package check, Docker build/offline artifact smoke and whitespace checks passed. Source execution tests use synthetic worker/attestation, not live-provider proof. Independent Sol high review is pending; issue remains open.Integrated acceptance verified via PR #235. Forgejo merge commit
516c155963c3cd06cb9c3dd74323fe4ddaf1b6edis currentdevelop, with approved base2002d348a8d6d5f3d1b742a93ba3adf944d4b24eand reviewed HEADcd9a74fbd9ce378b59ccc5668aa3e07e16c27bd5as its two parents. The integrated tree0a46f16c8fcc7e4421c3e0515db6c4a347177903exactly equals the approved/validated HEAD tree; approved HEAD is an ancestor. Root tree contains none of the three removed artifacts.Review #5 independently APPROVE with no findings in native
pr-reviewersessionses_e7a1424b2ffep2G2PGXBweaq81; dispatch resolved GPT-6.1 Sol/openai/high, backend runtime identity independently unobserved.make checkpassed 3,090 tests (18 skipped), standalone basedpyright 0/0, baseline-code installed upgrade/package checks, Docker build and offline image smoke passed. A clean exact-head evidence checkout was used because an unrelated Agent Manager temporary file in the original checkout was preserved. Synthetic worker/source tests are not live-provider acceptance; context evidence remains explicitly administrator-attested. No main promotion, release or deployment.