Repository navigation
Shared budgeted model access for setup and POST checker agents - #676
Merged
Merged
Conversation
added 30 commits
October 23, 2026 02:21
…untime # Conflicts: # backend/app/modules/authorization/domain/action_groups.py # backend/app/modules/authorization/kernel.py # backend/tests/authorization/test_catalogue.py
…ecker-model-runtime # Conflicts: # .commitrail/changes/terminal-systems-project-checkers.md # docs/roadmap_status.md
…untime # Conflicts: # backend/alembic/env.py # backend/tests/conftest.py
added 20 commits
October 24, 2026 12:07
…untime # Conflicts: # deploy/hosted/preflight.py
…untime # Conflicts: # .ci/behavior-ownership/partition.v1.json # docs/roadmap_status.md # external_checkers/workstream-checker-service/src/main.rs
7 of 12 tasks
Abiorh001
marked this pull request as ready for review
October 24, 2026 16:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #492
Outcome
Adds one non-resetting project MODEL-USAGE account shared by guide setup and approved POST checker agents. Operator-published profiles pin provider, model, pricing and finite call/tool/token/byte limits; Operator budget versions reconcile prior external spend without resetting lifetime counters. Provider credentials remain only in the trusted relay. Setup retains its native Agents or OmniCore loop, while checker images receive invocation-local bounded model access.
Paid requests are durably reserved before dispatch, and request/response evidence is retained through protected ART custody. Known terminal results settle once. Lost or ambiguous responses retain their reservation and cannot be recreated; setup uses provider storage disabled, so a provider ID alone is explicitly not treated as recoverable response evidence. Budget, provider and relay failures remain infrastructure outcomes and do not spend a Submission revision.
Scope
0062_model_usagemigration after main's0061_project_catalogue_readand0060_audit_restore_pathCurrent controlled evidence
126a3a61fpassed end to end through real System Operator grant and model-profile publication; both scripted setup compilations completed/replayed without inference, with Alembic0062and owned PostgreSQL/MinIO cleanup confirmed0062_model_usage; measured public-schema digestd14a06c088aae0e8876bebb637a7b3fb0c19344f8cc4fdfd31aa2c1a473485930062_model_usagethrough stacked0064: 1/1 real PostgreSQL case passed at44a6a01d2, preserving all three lineages with the parentd14a…schema checked before migration; owned database and probed MinIO cleanup completed (this fixture uses local ART storage and is not a child-runtime claim)All provider checks are controlled and offline. No paid provider call, deployment, activation or merge was performed. The relay smoke does not qualify hosted deployment or composed gVisor execution.
Still pending before ready
This PR remains draft and requires human merge approval.