Unified Audit Trail, Service Log, and Operator Console Architecture
Resolving Verdict Snapshot v3 Pointers
When an operator opens a governed transaction in the CaberUserConsole, the Express Backend For Frontend (BFF) joins the OpenSearch event metadata (csi_agg_events / csi_audit_unified) with the content addressed Verdict Snapshot v3 blob in GSS.
- Pointer Extraction: The console reads
audit.edge_verdict_snapshot_state,audit.edge_verdict_snapshot_ref(for single chunk snapshots), oraudit.edge_verdict_snapshot_chunksplusaudit.edge_verdict_snapshot_sha256(for multi chunk snapshots) from the OpenSearch event document. - Cryptographic Verification: After streaming the snapshot from GSS via
caber_storage, the BFF verifies that the payload digest matchesaudit.edge_verdict_snapshot_sha256. - Source Coordinate Overlay: The console renders the
redaction_decisionsarray from the v3 snapshot directly over the source payload. Because everyRedactionDecisionanchors itssource_spans(SourceSpan { start, end }) tocoordinate_space: "source", the UI can simultaneously highlight:- Enforced Redactions (
mode: "enforced"): Byte spans that were replaced on the wire, displaying the winningpolicy,driver_nmers, replacement string, and identity minimizedreason. - Simulated Observe Decisions (
mode: "would_have"): Byte spans from policies or hosts running inobservemode (redactEnabled = falseorredactStrategy: "disabled"), allowing compliance teams to preview exact blast radius before switching a policy toenforce.
- Enforced Redactions (
3. Operator Console (CaberUserConsole v3.2.0) Workspaces
3.1 Console Route Map and Functional Proof Surfaces
The compiled operator guide (release-docs-generator) maps each CaberUserConsole route to a concrete functional verification surface:
| Console Route | Workspace View | Functional Proof & Telemetry Surface |
|---|---|---|
/admin/home | Executive Governance Overview | Displays fleet wide governed request volume, active enforce vs observe policy posture, redaction counts, and top contributing CORI sources. |
/admin/audit | Audit V2 Four Zone Workspace | Four zone inspection layout: (Zone 1) Time & Verdict Filter Bar, (Zone 2) Paginated Event Stream (csi_agg_events), (Zone 3) Action Trace Waterfall (trace.trace_id), and (Zone 4) Inline Payload & Verdict Snapshot v3 Diff Inspector. |
/admin/audit?traceId=<id> | Trace Detail Slide In | Shows freshness, provenance, and policy together on each retrieval step: a stale version flagged by its source and withheld from the agent only when the Stale metapolicy enforces, the source path behind every result linked to the Duplicate Tracker, and the determining policy with its deny or redact verdict. Adding &governance=open opens the governance decision panel on load. |
/admin/overlapping | Duplicate Data Tracker & Side by Side Diff | Visualizes cross repository duplicate clusters, 99% capped overlap edges between documents, convex policy hulls (enforce vs observe conflict zones), and side by side chunk comparison between fresh canonical documents (version_sequence == 0) and stale replicas. |
/admin/accessAuth | Principal & Credential Authorization Matrix | Displays resolved iss_sub principals, SCIM directory groups (csi_identity_map), caber.email four step fallback hits, and masked cred_hmac keys. |
/admin/dataFlow | Data Lineage Sankey Diagram | Interactive Sankey flow mapping byte volume and chunk propagation from origin CORI storage buckets through RAG retrievers, MCP servers, and outbound API hosts. |
/admin/discovery | Closed API & Shadow AI Inventory | Live catalog of ApiMapMinter discoveries across the five closed resource types (http-api, mcp, object-store, bash, script) with first called and last called timestamps. |
/admin/config/policies | Contract v3 Policy Studio | Authoring, priority ordering, and observe_all dry run simulation for system, framework, data_use, and object_auth_metapolicy Rego bundles, contrasted against coarse over blocking (100% document deny) and regex under blocking failure modes. |
/admin/contextGraph | Interactive Neo4j Context Graph Explorer | Force directed neighborhood explorer for :Data, :Region, :Sentence, :LNKD, :Principal, and :API nodes, highlighting LNKD-{xor}-{count} equivalence classes and "Junk" boilerplate hubs. |
/admin/auditAudit Trace Detail: Freshness, Provenance and Policy on One Retrieval StepAssertion 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.

/admin/overlappingDuplicate Data Tracker & Side-by-Side Freshness Cluster InspectorAssertion 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.

/admin/config/policiesContract v3 Policy Studio & Verdict Snapshot v3 Diff InspectorAssertion 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.

/admin/contextGraphNeo4j Context Graph & Ontological Provenance ExplorerAssertion 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).

3.3 Operator Dashboard REST APIs
The Caber Operator Console and administrative automation interact with the coordinator through dedicated REST endpoints:
GET /v1/config/apimap/{host}: Retrieves the active route rule, protocol handler mode, and discovery metadata for a specific host.POST /v1/config/apimap/promote: Promotes discovered or edited route rules live, atomically incrementing the configuration generation headerX-Caber-Config-Version.GET /v1/config/protocol-catalog: Returns the complete catalog of preconfigured protocol profiles defined inGLOBAL.protocolCatalog.GET /v1/audit/traces: Returns paginated governance traces acrosscsi_agg_events.GET /v1/audit/traces/{trace_id}: Retrieves complete multi hop execution graphs, action waterfalls, and Verdict Snapshot v3 references for a specific trace ID.
4. OpenSearch Audit and Service Log Query Reference
Querying Enforced and Observed Redactions (csi_agg_events)
GET /csi_agg_events/_search
{
"size": 25,
"sort": [{ "event.time": { "order": "desc" } }],
"query": {
"bool": {
"must": [
{ "terms": { "audit.governance_verdict": ["deny", "transform", "clarify"] } }
],
"filter": [
{ "range": { "event.time": { "gte": "now-24h" } } }
]
}
},
"_source": [
"event.id",
"event.time",
"trace.trace_id",
"user.name",
"user.iss",
"user.sub",
"api.host.name",
"api.path",
"api.resource_type",
"audit.was_redacted",
"audit.governance_verdict",
"audit.edge_verdict_snapshot_state",
"audit.edge_verdict_snapshot_ref"
]
}Querying Operator Service Log Errors and Recoveries (csi_service_log)
GET /csi_service_log/_search
{
"size": 50,
"sort": [{ "timestamp": { "order": "desc" } }],
"query": {
"bool": {
"should": [
{ "terms": { "category": ["error", "alert"] } },
{ "wildcard": { "event": "*_recovered" } }
],
"minimum_should_match": 1
}
}
}


