Skip to content

feat(governance): harden sensitive routing and clarify the demo console - #11

Merged
command0r merged 1 commit into
review/console-foundationfrom
feat/governed-demo-hardening
Nov 2, 2026
Merged

command0r merged 1 commit into
review/console-foundationfrom
feat/governed-demo-hardening

Conversation

@command0r

Copy link
Copy Markdown
Owner

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 main if GitHub does not do so automatically. Current base is review/console-foundation; nothing has been merged by this task.

Validation:

  • Final Release build/test: 1,205 passed, zero failed/skipped.
  • Independent classifier probe: 23/23; published live sensitive-routing checks: 10/10.
  • Normal launcher self-contained publish on isolated 5212; user's running 5210 state left untouched.
  • Actual browser verified cloud refusal → switch Internal → same prompt served locally, stale preview handling, historical result isolation, three-box presentation at 1280×720 light/dark and 1920×1080 light, and equal-height Overview panels.
  • Earlier hybrid/cloud/search/cache/budget rehearsal and this focused run are documented with screenshots under docs/verification/.
  • git diff --check and 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.

@command0r
command0r merged commit f8972e4 into review/console-foundation Nov 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant