Repository navigation
feat(governance): harden sensitive routing and clarify the demo console - #11
Merged
Merged
Conversation
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.
Sensitive prompts could escape detection in compact/partial or structured forms, and the blocked-cloud example retained its model pin after switching to Internal. This change expands bounded local inspection, refuses incomplete inspection before egress, and makes example-injected pins reset when the workload changes. The same synthetic SSN prompt can now be served locally while an explicit cloud attempt is refused.
The console now shows a three-box Sender → Covenant → Destination scheme from the current server preview or the selected run's evidence, including presentation mode. Stale previews hide their old destination. Local inference with external search, sanitized egress, cache hits and failed attempts remain distinct. Overview panels align; result details no longer repeat the diagram.
This PR also includes the previously requested, uncommitted console improvements: scoped examples, application/team usage, model discovery, modal configuration editors, pagination, budget clarity, launcher state preservation, and the narrow structured-record sanitized-egress policy (ADRs 0016–0018). They are kept together because the final UI and governance contracts depend on them.
Dependency / merge order: merge #10 first, then retarget this PR to
mainif GitHub does not do so automatically. Current base isreview/console-foundation; nothing has been merged by this task.Validation:
docs/verification/.git diff --checkand credential-pattern scan clean.Limit: this is heuristic pattern inspection, not comprehensive DLP. Unlabelled identities, arbitrary encoding/paraphrases and unsupported national identifiers may be missed; standalone nine-digit values are conservatively flagged. No-match is not proof of safe public data. Sanitized external processing supports only its explicit structured schema and never PHI. Linux and NativeAOT publishing were not exercised in this verification.