Repository navigation
feat: make the console operational with governed inference and editable configuration - #7
Merged
Merged
Conversation
…e, fallback/trace/cache, budgets (ADR-0011..0014) T01: ADRs, v2 API contract, migration notes, shared configuration model (Covenant.Core/Configuration.cs), and stale-doc pointers. Clarifies the 'not a gateway' directive: governed routing/fallback/attribution are in scope; provider breadth is not.
…code, never two results T10 (part): removes ci-docs.yml, whose shared check name could report twice for mixed changes. Docs/deploy-only diffs pass in seconds; any code change runs the full build, tests and the 0.80 coverage gate.
- fail-closed for applications missing after the one-time legacy import - UTF-8 byte bound (not chars/4) for reservations; overruns settled in full and flagged - ledger accrues by scope + timestamp, so budget id/period/cap edits never reset usage - no AllowSensitiveCloud: PII/PHI cloud targets are never eligible - live activation-audit failure: fail-closed halt + boot recovery; activation journal defines history (orphans excluded); compile before pointer swap; total validation; boundary bound to startup allow-list; disabled import placeholder; SDK retries/redirects off
…e v2, simulator (T02/T03 checkpoint) Repository + snapshots + validation + impact + legacy import/seeds, application/profile identity, baseline-escalation classification, policy precedence/eligibility, config and simulator admin APIs, audit v3 event fields. Includes the reviewer-verified Task<IResult> lambda typing (CS0825). Known open review items are fixed in follow-up commits.
…trace, safe markdown (T07 checkpoint) Tests in ConsoleLogicTests still reference removed v1 helpers; fixed in the follow-up.
…ozen snapshots, journal lineage, torn-tail repair - out-of-range enums / null objects → validation errors (200 valid=false, 422), never 500 - ambiguous bare model override refused; connection/model required - RuntimeSnapshot deep-copies every collection - unknown connections never eligible; legacy local placeholder imported as DISABLED - AllowSensitiveCloud removed: PII/PHI cloud target is a validation error - Local boundary bound to startup-approved endpoints - application missing after legacy import → 403 at auth - console identity cannot be set from /v1 - activation journal defines history; orphans excluded and never reused; compile before durable write - torn journal tail quarantined + journal rewritten before any append (reviewer reproducer added) - provider clients: no redirects, SDK retries off, connection timeout enforced - UI: v2 test assertions, config contract round-trip test, AllowSensitiveCloud removed
… live trace, approved fallback, cache isolation, archive/export (T04/T05/T06 checkpoint)
… archive + evidence export (T08 checkpoint)
…e, settlement, cache keys, team, early id, paging, ledger bootstrap/replay, health, bounds B1 incomplete streams fail (no fallback, never cached, partial kept); provider finish reason relayed; completed EMPTY streams are a 200 SSE success (no false 403) on both dialects; B2 'mixed' basis; B3 finite overall deadline; B4 finally-based exactly-once settlement; B5 length-prefixed cache identity incl. original params + every candidate bound, served provenance; B6 active app team on /v1; B7 submissions endpoint for early request id; B8 stable cursors + 410 on rotation; B9 atomic ledger bootstrap with marker; B10 replay validation; B11 runtime connection health; B12 requested vs effective output bounds; B13 NativeAOT blocker documented (not suppressed). Also qualifies Covenant.Governance.LedgerReplay.Validate (CS0104 with Host.LedgerReplay).
…missions, policy create/split, presentation focus, health, bounds, paging) + test-only name fixes Applies the reviewer's two test compile fixes (Covenant.Host.LedgerReplay qualification; using Covenant.Adapters in ReviewRound2Tests).
…0; final classification facts; 'Evidence recorded' wording; prose to details (UI round 3)
…explicit hybrid seed prices, v2 runbook - hybrid seed never assumes a cloud price: Pricing:<model>:InPer1M/OutPer1M required (basis/date kept); regressions: custom model without prices refused, supplied prices retained, local-only needs none - launcher: own port (5210) and state dir per profile, Config:Seed, no app key in the console flow, FRESH=1 renames old state (never deletes), never touches other instances - runbook: preflight + A/A'/B/B'/C/D/F/G/H/pause/auth walkthrough with expected trace and cost/evidence
…ns vs claims, limitations
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.
Problem and result
The console exposed mostly read-only configuration, required a separate application key to run requests, and made it difficult to see why a request was routed, refused or charged. This change makes the console an operational workflow: connect once, configure approved models and workload profiles, preview and apply policies/budgets, run as an authorized test application, and inspect the actual trace and evidence.
For example, an explicitly granted Public workload can use an approved cloud route; detection can escalate synthetic sensitive content to PII and constrain it to approved local destinations. Pausing a route skips that target; pausing a policy refuses matching traffic. Neither action silently relaxes policy.
Changes
testcheck for both documentation-only and code changes.Verification
Independently executed on macOS arm64 against source checkpoint
9e71d66; the final commit changes only the launcher/documentation and was separately exercised:SkipConsolePublish=true: 780 passed.See acceptance record, migration notes, and demo runbook. Local verification logs/screenshots are excluded from Git; the acceptance record distinguishes executed checks from limitations. GitHub CI must pass separately.
Limits and rollout
This is one integrated PR because UI/backend contracts and subsequent fixes depend on each other; the complete branch, rather than intermediate checkpoints, is the verified merge candidate.