Skip to content

Governance Console & Unified Audit ​

Every subdocument characterization match, freshness cluster assignment, metapolicy decision, and cross chain principal trace converges into CaberUserConsole. The console provides security engineers, governance operators, and platform administrators with a unified web control plane for visual policy authoring, live telemetry inspection, API and tool discovery, provenance graph exploration, and system health diagnostics.

Dedicated Caber User Console Guide

For comprehensive page by page operator guides, interactive subview walkthroughs, and light and dark mode screenshots of every screen in the console, see the dedicated Caber User Console top level section:

  • Console Overview & Navigation: Deployment selector (/), preview agreement modal, topbar, sidebar navigation, and the contextual Ask AI Assistant drawer.
  • Dashboards & Observability: Home overview (/admin/home), Object Clusters & Versions (/admin/overlapping), Ingest Performance (/admin/scanning), Platform Status (/admin/platform), and Context Graph Explorer (/admin/contextGraph).
  • Session Audit & Forensics: Multi turn conversation grouping (/admin/audit), Trace Detail Balloon view, inline Governance Decision evidence, surgical redaction highlights, Execution Waterfall, and Causal Provenance Graph.
  • API & Tool Interception: End to end workflow from passive and wire discovery (/admin/discovery) and inline payload layout confirmation (LayoutConfirmPanel) to ApiMap route rules (/admin/config/api-mappings).
  • Policy & Source Configuration: Policy Studio and Wasm bundle activation (/admin/config/policies), SDK fleet bindings (/admin/config/sdk-deployments), Identity Sources (/admin/config/identity-sources), Object Sources (/admin/config/object-sources), and AI config validation (/admin/config/review).
  • Console Engineering & Extension: Internal engineering architecture, Next.js BFF routes, semantic color tokens, and three gate style and contrast lint checks.
CaberUserConsole Full Stack Architecture
Figure 1: CaberUserConsole React 19 Frontend, Next.js BFF Layer, and Backend Data Stores
## What the Governance Console Provides and How It Fits In

While caber_core and pycaber(auto) operate in band inside application processes and gateways, human operators use the out of band console command center to:

  1. Inspect Unified Audit Trails (/admin/audit): Correlate LLM prompts, tool executions, WRL Chunker fragment hits, On Behalf Of (OBO) principal delegation chains, and metapolicy verdicts in one timeline.
  2. Discover and Intercept APIs & Tools (/admin/discovery and /admin/config/api-mappings): Identify shadow HTTP APIs, MCP tool servers, vector databases, and object stores from live wire traffic, confirm JSONPath semantic roles (ITEMS, TEXT, ID, SCORE, INPUT, OUTPUT, ERROR), and promote endpoints into governed ApiMap rules.
  3. Explore Data Lineage & Freshness Clusters (/admin/overlapping and /admin/contextGraph): Visualize IDF document version DAGs (Original Candidate, Caber Used, Latest Version), policy boundary hulls, side by side n-mer diffs, and Neo4j provenance graphs.
  4. Author Policies and Manage Connectors (/admin/config/*): Build, compile, and activate Wasm governance bundles in Policy Studio and manage SDK deployments, Identity_Sources, and Object_Sources.

Functional Capabilities by Console Workspace ​

1. Executive Home, Scanning & Platform Telemetry (/admin/home, /admin/scanning, /admin/platform) ​

  • Displays live governance KPI cards (Interactions, Blocked / Redacted, Context Freshness, Median Latency, OBO Delegations, Active Policies), verdict timelines, latency percentile distributions (p50, p95, p99), and recent surgical redactions.
  • Provides dedicated observability workspaces for Ingest Performance (/admin/scanning) and Platform Status & Logs (/admin/platform). See Dashboards & Observability for full details.
CONSOLE FUNCTIONAL PROOF/admin/homeExecutive Overview & Four Core Governance Questions Dashboard

Assertion Verified: Proves that the Executive Overview dashboard synthesizes all four governance questions—data duplication, runtime policy verdicts, AI provenance traces, and platform health—into a single real-time operational command center.

Executive KPI Strip (Sources, Chunks, Clusters, Verdicts)Duplicate Cluster & Policy Feed PreviewsPlatform Infrastructure Health Summary
Caber Console /admin/home displaying executive KPI cards, duplicate cluster preview, live enforcement feed, and infrastructure health (Light mode)
Caber Console Executive Overview (/admin/home) summarizing corpus duplication, active policy enforcement, recent session traces, and service health.

2. Session Audit & Forensic Trace Inspector (/admin/audit) ​

  • Conversation Grouping & Filters: Groups multi turn agent interactions into collapsible conversation rows, with time range presets, free text search, and secondary filters for user, API host, redaction, data edges, inference, model, operation, and tool calls. Row flags mark redacted content, linked data edges, and OBO delegation chains.
  • Trace Detail View (Trace, Waterfall, and Graph Tabs): Shows freshness, provenance, and policy together on each retrieval step (which results were current, where each came from, and which policy decided what the agent received), alongside every prompt, MCP retrieval call, surgical driver and collateral redaction span, W3C execution waterfall bar, and Cytoscape causal provenance node. See Session Audit & Forensics for the complete guide.
CONSOLE FUNCTIONAL PROOF/admin/auditAudit Trace Detail: Freshness, Provenance and Policy on One Retrieval Step

Assertion Verified: Proves that the console shows freshness, provenance and policy together on a single retrieval step: the evidence strip counts fresh, stale and source results, a stale chip names the source file that is out of date, a provenance chip links every source of the step to the Duplicate Tracker, and the governance panel names the determining policy, its deny verdict and which metapolicies acted.

Stale result named by its sourceEvery source linked through the provenance chipDetermining policy and deny verdictFresh, Stale and Sources counts on the step
Caber Console trace detail at /admin/audit with the governance panel open on one retrieval step, whose evidence strip reads Fresh 14, Stale 1 and Sources 15 beside the determining policy and its deny verdict, with a stale chip naming its source file and a provenance chip linking all 15 sources (Light mode)
Caber Console trace detail opened from /admin/audit with the governance panel expanded, showing on one retrieval step how many results were current or stale, which source was stale, where the results came from, and which policy decided what the agent received.

3. Object Clusters, Version DAGs & Context Graph Explorer (/admin/overlapping and /admin/contextGraph) ​

  • Object Clusters & Versions (/admin/overlapping): Renders the Inverse Document Frequency (IDF) version lineage DAG for every multi version document family, highlighting Caber Used vs Latest Version nodes, multi policy convex hulls, and side by side shared n-mer document comparisons (OverlapComparisonPanel).
  • Context Graph Explorer (/admin/contextGraph): Interactive Neo4j graph workbench with Cypher query presets, label and relationship filters, and a sliding node inspector. See Dashboards & Observability for full details.
CONSOLE FUNCTIONAL PROOF/admin/overlappingDuplicate Data Tracker & Side-by-Side Freshness Cluster Inspector

Assertion Verified: Proves that Caber detects 85% to 99% enterprise content duplication down to 40-byte WRL sub-sentence phrases (97% to 98.7% coverage), separates canonical fresh sources (version_sequence == 0) from stale replicas, and enforces origin trade-secret policies even when text is copied into unlabeled channels.

85%–99% Enterprise Duplication Tracked97%–98.7% WRL Sub-Sentence Coverage (40B min)99%-Capped Overlap Edges & Policy HullsFresh (seq=0) vs Stale Replica Resolution
Caber Console /admin/overlapping showing 85% to 99% enterprise duplicate clusters, 99% capped overlap edges, and side-by-side fresh vs stale source comparison (Light mode)
Caber Console Duplicate Data Tracker (/admin/overlapping) comparing a canonical fresh source against an unlabeled stale replica across shared 40-byte WRL spans.
CONSOLE FUNCTIONAL PROOF/admin/contextGraphNeo4j Context Graph & Ontological Provenance Explorer

Assertion Verified: Proves that identical sentence bytes in two different documents carry distinct meaning and governance verdicts depending on their ontological neighborhood (:Region NER rollup, LNKD-{xor}-{count} equivalence class, and CORI provenance).

Content is Finite; Context is InfiniteMorgan Company Ambiguity DisambiguatedLNKD-{xor}-{count} Equivalence ClassesDecision E7 :Region NER Rollup
Caber Console /admin/contextGraph showing identical sentence bytes governed differently based on Investment Banking vs Public SEC Filing provenance and ontology (Light mode)
Caber Console Context Graph Explorer (/admin/contextGraph) proving how ontology and provenance disambiguate identical sentence content across Morgan's company divisions.

4. API Discovery & Interception Studio (/admin/discovery and /admin/config/api-mappings) ​

  • Passive & Wire Resource Discovery (/admin/discovery): Automatically catalogs outbound HTTP APIs, MCP servers, object stores, databases, and scripts observed across the deployment.
  • Confirm Intercept Layout (LayoutConfirmPanel) & Route Rules: Maps observed JSONPath payload fields to semantic extraction roles (ITEMS, TEXT, ID, SCORE, INPUT, OUTPUT, ERROR) and configures per host route_rules in /admin/config/api-mappings. See API & Tool Interception for the step by step workflow.
CONSOLE FUNCTIONAL PROOF/admin/discoveryConfirm Discovered Payload Layout & Field Role Binding Modal

Assertion Verified: Proves that operators can review and confirm auto-detected payload field layouts (prompt text, response content, tool arguments, and OBO principal headers/claims) before activating inline interception.

Interactive JSONPath Role VerificationPrompt, Response & Identity Extraction BindingHuman-Verified Schema Promotion
Caber Console /admin/discovery Layout Confirmation modal allowing operators to verify or override JSONPath bindings for prompt, response, and principal identity fields (Light mode)
Layout Confirmation modal on /admin/discovery verifying JSONPath extraction bindings for a discovered endpoint.

5. Policy Studio, SDK Fleet & Source Configuration (/admin/config/*) ​

  • Policy Studio (/admin/config/policies): Visual condition tree editor and compiler for data_use, framework, object_auth_metapolicy, combine_metapolicy, and adjudication_metapolicy rules compiled into hot reloaded Wasm bundles.
  • SDK Deployments, Identity & Object Sources, and AI Validation (/admin/config/sdk-deployments, /admin/config/identity-sources, /admin/config/object-sources, /admin/config/review): Manages SDK service bindings, directory and bucket connectors, and AI assisted configuration validation. See Policy & Source Configuration.
CONSOLE FUNCTIONAL PROOF/admin/config/policiesContract v3 Policy Studio & Verdict Snapshot v3 Diff Inspector

Assertion Verified: Proves that Contract v3 Rego/Wasm policies and multisource metapolicies surgically redact only the unauthorized byte spans ([start, end) in source coordinate space) while preserving 94% of safe surrounding context in the response.

Contract v3 Wasm Rego Evaluation94% Safe Surrounding Context PreservedEnforce vs Observe (would_have) Simulation+100µs Dual-Event Wire Verification
Caber Console /admin/config/policies showing Contract v3 Rego/Wasm metapolicy rules alongside Verdict Snapshot v3 inline span redaction (Light mode)
Caber Console Policy Studio (/admin/config/policies) pairing Contract v3 metapolicy rules with side-by-side Verdict Snapshot v3 span redaction proof.

Backend for Frontend (BFF) Architecture ​

CaberUserConsole uses a dual layer Next.js architecture:

  • Frontend Application (src/pages/admin/* and src/components/admin/*): Built with React 19, Next.js 16, Tailwind CSS v4 semantic design tokens, next-themes dark and light mode polarity, Zustand stores, Cytoscape.js (cytoscape-elk), and Chart.js.
  • Next.js BFF API Layer (src/pages/api/*): Authenticates operator requests, resolves active deployment context, and proxies queries across the Caber Control Plane, Neo4j (neo4j:7687), and MySQL operational stores.

6. Key Architecture Decisions & Design Rationale ​

  • ADR 1: Next.js BFF Architecture vs Direct Browser to Database Connections: Allowing the browser to query control plane databases and Neo4j directly exposes credentials and bypasses authorization. The Next.js Backend for Frontend (BFF) layer under src/pages/api/* handles session verification, deployment routing, and payload normalization.
  • ADR 2: Progressive Disclosure Dashboard Layout: Security dashboards often overwhelm operators with dense metrics. CaberUserConsole organizes navigation into focused Dashboard and Configuration workspaces, pairing high level KPI cards with expandable operational drawers and slide in trace inspectors.
  • ADR 3: Integrated Discovery to Interception Pipeline: Rather than requiring operators to write JSONPath extraction rules blind, /admin/discovery captures structural schema fingerprints from live traffic so operators can confirm semantic roles (LayoutConfirmPanel) and promote endpoints directly into /admin/config/api-mappings.