Skip to content

Policy & Source Configuration ​

The Configuration group in the Caber User Console sidebar provides visual editors, connection testers, and validation tools for managing the deployment's governance policies, SDK fleet, identity providers, object stores, and runtime environment settings.

Policy Studio & Wasm Activation (/admin/config/policies) ​

Navigating to Policies (/admin/config/policies) opens the Policy Studio (ConfigPolicies), where operators author, compile, and distribute WebAssembly (Wasm) governance bundles to connected Caber SDK and proxy instances.

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.

Active Wasm Bundle Banner & Revision Lifecycle ​

At the top of /admin/config/policies, the Active Bundle Status Bar displays:

  • Active Revision ID & Digest: Shows the currently enforced revision (rev-14) and its cryptographic digest (sha256:8f9c2a41b7e04d19c83a621094e3f5b2).
  • Compilation & Distribution Activity Feed: Lists recent compiled and activated events across the fleet (Wasm bundle compiled, Distributed to 3 active SDK instances).
  • Save & Activate Action: Validates the authored policy set against the governance contract vocabulary, compiles a new Wasm policy bundle, and pushes the revision to connected SDK instances.

Policy Category Tabs ​

Policy Studio organizes governance rules into five tabs aligned with Caber's hierarchical evaluation pipeline:

  1. Data Use Policies (data_use): Fine grained rules governing which principals or attributes may access specific document regions, GLiNER entity labels (PERSON, ORGANIZATION, ACCOUNT_NUMBER, ROYALTY_RATE), or classification tags.
  2. Framework Policies (framework): Pre built regulatory and entitlement source profiles (auth_source over acl, tag, and ner).
  3. Object Auth Metapolicies (object_auth_metapolicy): Rules governing how document level access control lists and repository permissions are interpreted.
  4. Combine Metapolicies (combine_metapolicy): Rules specifying how multiple version or source entitlements combine (union, intersect, first_wins, latest).
  5. Adjudication Metapolicies (adjudication_metapolicy): Guard parameters controlling surgical redaction thresholds, collateral span removal, and fallback dispositions.

Policy Detail Editor & Condition Builder ​

Clicking any policy row in /admin/config/policies (or clicking + New Policy) opens the Policy Detail Editor, where operators edit the rule's scope, conditions, and enforcement mode.

CONSOLE FUNCTIONAL PROOF/admin/config/policiesPolicy Studio Detail Editor — Contract v3 Rego Rules, Scope & Action Configuration

Assertion Verified: Proves that selecting any policy in /admin/config/policies opens the full Contract v3 policy editor where operators configure principal scopes, source provenance conditions, surgical redaction vs block actions, and Enforce vs Observe (`would_have`) simulation mode.

Contract v3 Condition & Metapolicy BuilderEnforce vs Observe (would_have) Mode ToggleSurgical Span Redaction vs Full Block Actions
Caber Console /admin/config/policies with a governance policy selected to show its Contract v3 conditions, Enforce vs Observe mode toggle, and Rego rule definition (Light mode)
Policy Studio Detail Editor on /admin/config/policies showing Contract v3 conditions, enforcement mode toggles, and Rego logic.
  • Policy Metadata: Configure the policy identifier, human readable name, description, and priority order.
  • Disposition & Enforcement Mode:
    • Disposition: allow, deny, or redact (triggers inline surgical redaction on matching spans).
    • Mode: enforced (actively applied to live traffic) or shadow (evaluated and logged in audit traces without modifying payloads).
  • Condition Tree Builder: Builds boolean expression trees (all, any, not) over vocabulary roots (principal.*, object.*, region.*, context.*) using typed operators (equals, in, contains, intersects) and attribute operand references.

SDK Deployments & Fleet Management (/admin/config/sdk-deployments) ​

Navigating to SDK Deployments (/admin/config/sdk-deployments) opens the fleet management workspace (ConfigSdkDeployments), organized into three operational tabs: Services, Instances, and API Keys.

CONSOLE FUNCTIONAL PROOF/admin/config/sdk-deploymentsSDK Deployments & Instrumented Services Fleet Manager

Assertion Verified: Proves that /admin/config/sdk-deployments tracks every running service instrumented with `pycaber(auto)` or the Resident Local Gateway, showing SDK versions, active ApiMap bindings, and live heartbeat status.

Live pycaber(auto) SDK Fleet InventoryPer-Service ApiMap & Policy BindingResident Gateway Mode & Heartbeat Status
Caber Console /admin/config/sdk-deployments showing connected pycaber(auto) SDK instances, service bindings, gateway modes, and heartbeat telemetry (Light mode)
Caber Console SDK Deployments page (/admin/config/sdk-deployments) monitoring instrumented agent services and gateway bindings.
  1. Services Tab:
    • Defines logical agent applications or proxy tiers (agentgov-mimic-service, finance-rag-assistant).
    • Service API Map Bindings: Binds each service to specific ApiMap keys (api.openai.com, mcp-server-back-door, qdrant.example.com) so instances authenticating under that service automatically receive the appropriate interception and semantic extraction rules.
  2. Instances Tab:
    • Lists every live SDK or proxy process connected to the control plane, showing instance ID, hostname, SDK version, active policy revision (rev-14), last heartbeat timestamp, and a sliding instance event log drawer.
  3. API Keys Tab:
    • Issues, rotates, and revokes scoped SDK authentication keys (caber_sk_...) bound to specific logical services.

Identity Sources Configuration (/admin/config/identity-sources) ​

Navigating to Identity Sources (/admin/config/identity-sources) configures the directory and identity providers (ConfigIdentitySources) that resolve human principals, group memberships, and On Behalf Of (OBO) token claims.

CONSOLE FUNCTIONAL PROOF/admin/config/identity-sourcesIdentity Sources Configuration — IdP, OIDC/JWT & Principal Directory Connectors

Assertion Verified: Proves that operators configure enterprise Identity Providers (`Identity_Sources` such as Okta, Entra ID, AWS IAM, and OIDC/JWT issuers) in /admin/config/identity-sources to resolve groups, roles, and On-Behalf-Of (OBO) principal chains.

Enterprise IdP & OIDC Issuer ConfigurationUser, Group & Role Graph SynchronizationOn-Behalf-Of (OBO) Token Verification Rules
Caber Console /admin/config/identity-sources showing configured Okta, Microsoft Entra ID, and OIDC identity providers with principal sync status (Light mode)
Caber Console Identity Sources configuration (/admin/config/identity-sources) managing enterprise IdP connectors and OBO token verification.
  • Provider Cards & Table: Displays configured identity sources (okta-enterprise-idp, corp-openldap) with their protocol type (oidc, ldap, scim, entra_id), issuer or server URL, principal claim mapping (sub, email, groups), and synchronization status.
  • Test Connection: Executes a live directory bind or OIDC discovery check via /api/config/test-connection to verify credentials and network reachability before saving.
  • + Add Identity Source: Opens a guided form to register a new identity provider and map its group and attribute claims into Caber's principal graph.

Object Sources Configuration (/admin/config/object-sources) ​

Navigating to Object Sources (/admin/config/object-sources) configures the document repositories and buckets (ConfigObjectSources) scanned by Caber's ingestion pipeline for n-mer characterization, version DAG construction, and ACL extraction.

CONSOLE FUNCTIONAL PROOF/admin/config/object-sourcesObject Sources Configuration — Monitored S3 Buckets, Repositories & Scan Schedules

Assertion Verified: Proves that /admin/config/object-sources governs which S3-compatible buckets and document repositories (`Object_Sources`) are scanned by the WRL characterization pipeline and what baseline provenance labels apply to each source.

Monitored Bucket & Prefix Rule ConfigurationSource Provenance & Baseline Policy BindingIncremental Scan & Re-Index Triggers
Caber Console /admin/config/object-sources showing configured S3/MinIO/VersityGW buckets, prefix filters, default sensitivity classifications, and scan triggers (Light mode)
Caber Console Object Sources configuration (/admin/config/object-sources) defining monitored storage buckets and source provenance tags.
  • Repository Settings: Each Object_Sources entry (minio-contracts, s3-sec-filings) specifies the storage connector type (s3, minio, gcs, sharepoint), endpoint URL (http://minio.example.com:9000), bucket name, path prefix filters, TLS toggle (use_ssl), and polling schedule.
  • ACL & Metadata Extraction: Configures how document ownership, organizational clearance tags, and modification timestamps are extracted during ingestion and written into the Neo4j context graph.
  • Test Connection: Verifies bucket read permissions and credential validity directly from the console.

Additional Infrastructure & Runtime Sections ​

In addition to the primary studios above, the configuration workspace includes three specialized infrastructure editors:

  • Environment (/admin/config/environment): Configures cloud provider credentials (AWS account ID, region, access keys) and deployment wide telemetry endpoints.
  • SQL Databases (/admin/config/sql-databases): Configures relational database connection pools (MySQL host, port, schema, and credentials) used for structured metadata and operational state.
  • Advanced Settings (/admin/config/advanced): Configures low level runtime parameters (RKCQF Rabin Karp Content Quality Firewall parameters such as hashMode: sha256, keyBits: 64, slotsPower: 20, and Neo4j Bolt URI and pool sizing).

Edit Configuration, AI Validation, & Diff Review (/admin/config/review) ​

Navigating to Edit Configuration (/admin/config/review) opens the unified configuration review and deployment workspace (ConfigReview), which stages all pending changes across ApiMap, Object_Sources, Identity_Sources, AWS, MySQL, Neo4j, and RKCQF.

CONSOLE FUNCTIONAL PROOF/admin/config/reviewConfiguration Review, Cross-Subsystem Validation & Staged Publish Diff

Assertion Verified: Proves that /admin/config/review validates cross-subsystem references (ensuring policies reference valid identity/object sources and SDK services reference valid ApiMaps) before operators commit configuration changes to the cluster.

Pre-Flight Cross-Subsystem Integrity ChecksStaged Configuration Diff InspectionAtomic Cluster Configuration Publication
Caber Console /admin/config/review showing pre-flight validation checks, cross-reference integrity status, and staged configuration diffs prior to publication (Light mode)
Caber Console Configuration Review & Validation page (/admin/config/review) verifying staged changes before cluster publication.
  1. Stage & Inspect Diff: Any edits made in the visual configuration studios or raw JSON editor appear in the Pending Changes Diff viewer, highlighting added, modified, and removed keys against the active configuration version (896c42529f).
  2. Run AI Configuration Validation (Validate Config): Clicking Validate sends the staged configuration to /api/config/validate, returning structured findings categorized by severity:
    • error: Critical misconfigurations that could prevent effective governance (for example, an ApiMap host set to function=observe without route_rules).
    • warning: Security or operational posture warnings (for example, an Object_Sources bucket connecting over plain HTTP with use_ssl: false).
    • info: Informational confirmation of active cryptographic and RKCQF sizing parameters.
  3. One Click Remediation & Ask AI: Each validation finding includes a concrete remediation suggestion (suggestion) and integrates with the slide over Ask AI Assistant drawer (AiAssistantPanel, documented under Contextual Ask AI Configuration Assistant Drawer in Console Overview) for interactive troubleshooting.
  4. Apply Configuration: Once validation checks pass, clicking Save & Apply commits the new configuration version to the control plane.