FaburAI documentation — written edition
JavaScript is disabled. All permitted documentation follows, including the demo's written walkthrough.
AI Catalog
Inspect the actors, tools, resources, and data relationships known to the deployment.
A shared inventory
AI Catalog represents different kinds of entities in one structure. A tool, its MCP server, and a related data resource can be inspected together instead of treated as unrelated lists.
“Model” here can mean that representation. It does not mean a single language model governs or replaces the whole environment.
Inventory depends on evidence
Discovery and supported enrichment populate metadata that a server exposes or the deployment can resolve. Runtime provenance can provide other context. Inspect the source and confidence of an entry rather than assuming every known entity was fully verified.
Next: Discovery explained, data granularity, or the glossary.
AI Actors
Discover, classify, and inspect the identities interacting with the AI estate — agents, models, applications, roles, and other observed callers.
"Actor" is not one database table — it is four: agents, model versions, applications, and identity roles, each with its own list route and its own shape, brought together under one catalog surface. Agents are the actively-behaving kind: a row carries a framework hint, an optional API key (fab_ak_-prefixed, SHA-256-hashed at rest, shown to the operator exactly once at generation time), and the list of IdP role names the gateway writes into the request context at key-resolution time so role-bound policies fire on agent traffic the same way they fire on a human call carrying a JWT.
Not every agent row is registered the same way. A curated agent is one an operator added by hand through "Register AI Actor." An observed agent is one the platform inferred from live traffic — an X-MCP-Agent-ID header, a telemetry reconciliation pass, or (once wired) an MCP initialize packet — and it stays in that unvetted state until an operator explicitly approves or blocks it. claimed_identity holds whatever the runtime asserted about itself and is never trusted on its own; verified_identity holds what has actually been checked. Deleting an observed or blocked agent also purges its underlying invocation rows so the reconciliation job can't re-materialize it on the next pass — curated and approved agents keep their invocation history because it stays audit-relevant.
Roles, models, and applications are simpler and carry no confidence lifecycle. A role is a normalized identity synced from an external source system, recording which system and which source-side role ID it came from. A model version is an immutable snapshot identified by a SHA-256 hash, optionally linked back to the MCP server that exposed it. An application is a runtime client identity carrying an SSO client ID and an owner email. All three are reachable from this surface and can be the subject of a policy exactly like an agent can.
An actor's detail page pulls its recent activity from the same place policy enforcement logs live: it looks up recent decisions for that subject, then derives which MCP servers and tools appear in those decisions to show what the actor has actually touched. It is a view over enforcement history, not a separate activity log kept by the catalog itself.
Features
Observed actors
- description
- Actors the platform inferred from runtime traffic rather than manual registration — created with confidence_state 'observed' and left unvetted until an operator reviews them.
Approved actors
- description
- An observed actor an operator has reviewed and promoted to 'approved'; from then on it is treated like a curated registration.
Blocked actors
- description
- An actor an operator has flagged as denied. Blocking is currently advisory in the catalog — the gateway does not yet reject calls from a blocked actor on its own.
Actor type
- description
- The kind of actor a row represents — agent, model, application, or role — inferred from the framework field and role assignments (an agent-shaped row with role names but no framework is treated as a role placeholder).
Discovery method
- description
- How an observed actor was found: an X-MCP-Agent-ID header on a live call, a telemetry reconciliation pass, or an MCP initialize packet. Manually registered actors record 'manual'.
Associated MCP servers
- description
- The MCP servers that appear in an actor's recent policy decisions, showing which parts of the mesh it has actually reached.
Associated tools and resources
- description
- The tools and resources an actor's recent decisions reference, showing what it has actually invoked or accessed rather than what it is merely permitted to.
Runtime activity
- description
- The actor's recent enforcement decisions — allow, deny, warn, or audit outcomes, each with the rules that matched — pulled from the same log the policy engine writes to.
Interfaces
data-plane serves /gcdm-agents
data-plane serves /agent/:id
data-plane serves /roles
data-plane serves /roles/:id
data-plane serves /models
data-plane serves /models/:id
data-plane serves /models/new
data-plane serves /applications
data-plane serves /applications-catalog
AI Actors — Recent Changes
The 1 most recent commits touching AI Actors, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
AI Actors — Interface
User interface surfaces for AI Actors in the data-plane.
Interfaces
/agent/:id
/applications
- component
- Applications
/applications-catalog
- component
- ApplicationsCatalog
/gcdm-agents
- navigation label
- AI Actors
- navigation group
- AI Catalog
- component
- GcdmAgents
/models
- component
- Models
/models/:id
- component
- ModelDetail
/models/new
- component
- ModelNew
/roles
- component
- RolesCatalog
/roles/:id
- component
- RoleDetail
Data Assets
Inspect data structures and assets reachable through AI-connected systems.
Data Assets is a three-level hierarchy — dataset, table, column — populated by a data-enrichment pass that runs after a data-shaped MCP server (Postgres, Snowflake, and similar) is discovered. Enrichment creates one dataset per server, named "<server name> Data" by convention, with catalog set to the server's own name — a poor-man's discriminator used because there is not yet a direct foreign key from dataset to server, only this name match. schema_name defaults to public when the source system doesn't distinguish schemas.
Table discovery lists the server's tables and creates a row for each one; column discovery is conditional on the server exposing a describe_table tool — if it doesn't, its tables are cataloged with zero columns rather than failing outright. Both passes are idempotent: existing tables and columns are looked up by name before anything is created, so a five-minute re-discovery cycle doesn't insert duplicate rows on every pass. Where a table's name matches an existing resource on the same server, its resource_id gets stamped or backfilled so the two records stay linked.
Sensitivity tagging happens only at the column level, from the column name alone — no sample-value inspection, no LLM. It is deliberately conservative: a column named email or phone gets tagged, but something like user_id is left untagged because it is usually a surrogate key, and a database CHECK constraint limits the tag set to PII, PHI, GDPR, SOX, and HIPAA. Suffixes that indicate derived metadata rather than the sensitive value itself — _count, _status, _verified, and similar — are excluded even when the base name would otherwise match, and an operator can always refine a column's tags by hand afterward. Tables and datasets never get this automatic tagging; only columns do.
/data-queries goes a step further than browsing this metadata — it lets an operator actually run a SQL query against a connected data source, with query suggestions, saved queries, run history, execution stats, and chart visualization of the result set. It is bound to this capability because it is the surface that inspects the SQL actually reaching data assets, not because it browses the same dataset/table/ column rows the rest of this page does.
Features
Databases
- description
- A discovered top-level data source, one per connected data-shaped MCP server, named '<server name> Data' and keyed to that server by name so repeated discovery reuses the same row instead of duplicating it.
Schemas
- description
- The schema_name recorded on a dataset, defaulting to 'public' when the source system doesn't distinguish schemas; used together with table name to resolve a table back to its resource.
Tables
- description
- A table discovered under a dataset via the server's table-listing capability, linked to its corresponding resource row through resource_id when discovery can match the two by name.
Columns
- description
- A column discovered by calling a server's describe_table tool for each table — only populated when the server exposes that tool — carrying a data type and, where inferred, sensitivity tags.
Sensitivity classifications
- description
- PII, PHI, GDPR, SOX, or HIPAA tags inferred from a column's name by conservative, unambiguous keyword matching — never from sample values — and refinable by hand. Only columns get this automatic tagging; tables and datasets don't.
Interfaces
data-plane serves /data-assets
data-plane serves /data-queries
Data Assets — Recent Changes
The 1 most recent commits touching Data Assets, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
Data Assets — Interface
User interface surfaces for Data Assets in the data-plane.
Interfaces
/data-assets
- navigation label
- Data Assets
- navigation group
- AI Catalog
- component
- DataAssets
/data-queries
- component
- DataQueries
Prompt Templates
Inspect prompt templates discovered or registered through MCP environments.
A prompt template is a governed unit of prompt text: name, template_content, an arguments_schema describing the named placeholders it accepts, a version/version_hash pair, and the same risk_tags/compliance_tags/lifecycle_state shape used on tools. It belongs to exactly one MCP server.
Discovery does call prompts/list against an MCP HTTP server and pulls back each prompt's name, description, and argument list — but today that result is only used to compute a hash of the server's prompt set for drift detection and to count how many prompts a server exposes; it is not written into the prompt-template catalog as rows. In practice this means the list on this page reflects only templates registered directly through the create API, not ones a discovery pass has found automatically, even though the page's own empty state currently tells an operator to "run MCP discovery to populate."
The catalog card for a template shows its version, lifecycle state, the first twelve characters of its version hash, when it was last updated, and a 120-character preview of the template body — enough to identify a template without opening it. Search matches on name, description, and version. Risk and compliance tags exist on the underlying record but aren't currently surfaced on the card or used for filtering the way they are for tools.
Interfaces
data-plane serves /prompts-catalog
Prompt Templates — Recent Changes
The 1 most recent commits touching Prompt Templates, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
Prompt Templates — Interface
User interface surfaces for Prompt Templates in the data-plane.
Interfaces
/prompts-catalog
- navigation label
- Prompt Templates
- navigation group
- AI Catalog
- component
- PromptsCatalog
Catalog Relationships
Preserve the structured relationships connecting actors, servers, tools, resources, prompts, and data assets.
Every connection the catalog knows about — a server exposing a tool, a server exposing a resource, a dataset containing a table, a table containing a column — is recorded as one row: a source type and ID, a destination type and ID, and a relationship kind. In practice only two kinds get written today: one specifically for a server exposing a tool, and one general-purpose kind reused for every other containment link — server to resource, server to dataset, dataset to table, table to column. Writing a connection is idempotent: the exact (source, destination, kind) triple is checked for existence first, so a discovery pass that runs every few minutes doesn't pile up duplicate connections on every cycle.
These connections are what let the catalog answer questions no single entity table can answer alone — which tables live under which MCP server, which columns belong to which table. The lookups behind "all tables for this server" and "all columns for this server" work by walking server-to-dataset-to-table-to-column through these connections rather than by a stored, denormalized reference on the table or column row itself.
Deleting an MCP server cascades through this structure rather than leaving it dangling: every connection referencing the server or anything reachable from it — its datasets, tables, columns — is removed alongside the rows themselves, followed by a cleanup pass that drops any connection left pointing at a dataset, table, or column that no longer exists.
This capability is the record of the connections, not their visualization — AI Graph, under AI Control, is what renders the same structure as an explorable diagram and layers policy protection state on top of it.
Catalog Relationships — Recent Changes
The 1 most recent commits touching Catalog Relationships, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
Resources
Inspect resources exposed through MCP servers.
A resource is anything an MCP server exposes as a referenceable target rather than a callable operation: a name, an optional uri, an open-ended resource_type, and classification_tags. The type is a free string set by the server or by discovery, not a fixed enum — the catalog UI recognizes and colors a handful of values it has seen in practice (github_repo, postgres_table, dataset, bucket, generic) and falls back to a generic stripe for anything else a server reports. Where a tool is the operation, a resource is what that operation — or a policy — actually targets.
Discovery records a connection from the MCP server to the resource the moment it finds one, the same mechanism used to link a server to a tool: resource and tool rows are siblings hanging directly off their server, not off each other. metadata_schema (JSONB) describes the shape of the resource's own metadata, separate from a tool's input/output schema, and version_hash plus lifecycle_state (draft, active, deprecated, archived) track a resource's evolution the same way they do for a tool.
Where a resource represents structured data — a Postgres table, a dataset — a separate data-enrichment pass (feeding the Data Assets capability) creates a parallel dataset-table-column chain and, where it can match by name, links a table back to its resource through resource_id. That link is what lets a table's column drawer open straight through to the resource that exposes it; in places that link hasn't been backfilled yet, the catalog UI still falls back to matching table and resource names directly, so a table and its resource aren't guaranteed to be the same record unless that link has actually been made.
classification_tags are free-form and set manually or by whatever the discovery connector supplies — unlike a data asset's column-level sensitivity tags, nothing in the resource path infers them automatically from a resource's name. They're what the resources catalog searches and filters against, alongside resource type and whether a resource currently has a policy attached.
Interfaces
data-plane serves /resources-catalog-gcdm
data-plane serves /resources-catalog
- note
- legacy alias route
Resources — Recent Changes
The 1 most recent commits touching Resources, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
Resources — Interface
User interface surfaces for Resources in the data-plane.
Interfaces
/resources-catalog
- component
- ResourcesCatalogGcdm
/resources-catalog-gcdm
- navigation label
- Resources
- navigation group
- AI Catalog
- component
- ResourcesCatalogGcdm
Tools
Inspect callable operations exposed by MCP servers.
A tool is one callable operation on an MCP server: a name, an input and output JSON Schema, and a side_effect_type of read, write, delete, or admin. Discovery sets that side-effect type automatically by scanning the tool's name and description for keywords — "delete", "remove", "drop" mark it delete; "create", "write", "update", "push", "merge", and similar mark it write; everything else defaults to read. It is a heuristic, not a static analysis of what the tool's code actually does, so it can be wrong for a tool whose name doesn't match its behavior — the catalog lets an operator see and correct it.
Every tool belongs to exactly one MCP server (mcp_server_id) and that ownership is what the catalog's server filter and per-server grouping are built on. A tool optionally carries a target_extractor — a small JSON spec, authored from the tool's detail card, that tells the gateway how to derive a resource URI from the tool's invocation arguments at call time. One mode reads a URI template populated from named arguments ({owner}/{repo} from an owner/repo pair); the other parses table names out of a SQL string argument. Without an extractor, a call is only governed at the tool level; with one, the gateway can also evaluate resource- and column-level policy against whatever the extractor resolves. The tool detail card includes a test runner that lets an operator try an extractor against sample arguments before saving it.
Risk tags and compliance tags are free-form labels attached to a tool at creation or discovery time and are what the catalog's search and filtering keys off alongside side-effect type. Policy coverage on a tool's card is not a catalog fact stored on the row — it's computed by looking up which published policies are attached to that specific tool ID, and whether any of them carry a deny effect.
A tool's lifecycle_state (draft, active, deprecated, archived) and version_hash track its evolution independent of governance state — a tool can be actively enforced against while still in draft, and a deprecated tool keeps whatever policies were bound to it until someone removes them.
Features
Tool inventory
- description
- Every tool discovered from or registered on a connected MCP server, filterable by owning server, side-effect type, and whether it currently has a policy attached.
Tool schemas
- description
- The tool's input and output JSON Schema as reported by the server, plus its optional target_extractor spec for deriving a resource URI from invocation arguments — editable and test-runnable from the tool detail card.
Read/write classification
- description
- The read, write, delete, or admin side-effect type discovery inferred from the tool's name and description by keyword match, correctable by an operator when the inference is wrong.
Sensitivity
- description
- Risk and compliance tags attached to a tool, used for search and filtering alongside its side-effect type.
Server ownership
- description
- The single MCP server that exposes this tool. Every tool belongs to exactly one server, and the catalog's server filter and grouping are built on that link.
Policy coverage
- description
- Whether any published policy is attached to this specific tool, and whether one of them denies — computed by looking up policy bindings against the tool's ID, not stored on the tool row.
Runtime usage
- description
- How the tool has actually been invoked, surfaced from recorded invocation and enforcement-decision history rather than from the tool's static definition.
Interfaces
data-plane serves /tools-catalog
Tools — Recent Changes
The 1 most recent commits touching Tools, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
Tools — Interface
User interface surfaces for Tools in the data-plane.
Interfaces
/tools-catalog
- navigation label
- Tools
- navigation group
- AI Catalog
- component
- ToolsCatalog
AI Cockpit
Review available runtime activity, governance outcomes, and reported consumption.
See the activity you have evidence for
AI Cockpit summarizes available invocation activity and policy outcomes. Consumption views depend on the usage information supplied or captured by the deployment. A missing token count is not evidence that a call used no tokens.
Read observations in context
Patterns such as repeated calls or retry loops deserve investigation. A rule with no hits might be unused, scoped incorrectly, or applied outside the observed period. Activity summaries do not replace the original decision and upstream evidence.
Next: Read a decision, investigate one invocation, or verify telemetry health.
Activity Feed
Review chronological runtime and governance events.
Activity Feed is the raw, reverse-chronological log of individual invocations, paginated (50 per page by default, up to 500, via limit/offset) rather than aggregated — where every other Cockpit tab shows a rollup, this one shows the actual events behind it. Each row joins an invocation to its decision-log outcome, resolved actor name, and resolved MCP server name.
Displayed columns are timestamp, actor, server, tool, a color-coded decision badge (allow/deny/warn), and the name of the first rule that matched. The underlying query also carries call duration and token counts on every row, but the current table does not render those two columns — they are available in the API response, not yet surfaced in the UI.
The only filter exposed in the UI is decision (All / Allow / Deny / Warn), meant for drilling straight into denied calls. The API accepts three more filters server-side — actor, MCP server ID, and tool — but nothing in the current page wires those controls up, so they are only reachable by hand-constructing the request's query string.
Activity Feed — Recent Changes
The 1 most recent commits touching Activity Feed, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
Actor Activity
Inspect runtime behavior by AI Actor.
Actor Activity is a per-subject rollup: one row per distinct caller (subject_id_hash) that has invoked anything through governed infrastructure in the selected window (1h, 6h, 24h, 7d, or 30d — a shared selector used across most Cockpit tabs). It answers "who is calling what" at the individual-actor level, as opposed to the server- or tool-centric views elsewhere in Cockpit.
Identity resolves through the agent catalog: a subject with a matching gcdm_agents row gets its registered name and confidence_state; a subject with no catalog entry is still listed, not dropped — labeled observed-<hash prefix> with a confidence state of observed. This is the mechanism by which unregistered or "shadow AI" callers stay visible instead of disappearing from the dashboard.
Each row reports invocation count, deny count and deny rate, the actor's single most-called tool in the window (picked by a window-scoped ranking, not just the latest), summed input and output tokens, and last-seen timestamp. The table is capped at 200 rows, ordered by invocation volume — the busiest actors surface first.
Actor Activity — Recent Changes
The 1 most recent commits touching Actor Activity, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
MCP Server Activity
Inspect runtime usage, callers, policy activity, and health by MCP server.
MCP Server Activity rolls up traffic per governed MCP server for the selected window. Unlike Actor Activity, the row set is anchored on the MCP server catalog itself rather than on observed traffic — every registered server gets a row, including ones with zero invocations in the window, not just servers that happened to receive calls.
distinct_callers counts unique subject_id_hash values that hit the server, regardless of whether those callers are registered agents. It is the same shadow-AI signal used in Actor Activity, but scoped per server — a server with high traffic and a high distinct- caller count relative to its known agent population is calling attention to itself as a possibly under-governed entry point. The policy-mode badge shown per server is read out of the server's spec JSONB blob, since policy mode has no dedicated column on the MCP server table.
Each row also reports invocation count, deny count, summed input and output tokens, and last-active timestamp, sorted by invocation volume and then alphabetically by name.
MCP Server Activity — Recent Changes
The 1 most recent commits touching MCP Server Activity, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
Cockpit Overview
Summarize runtime activity and governance health.
Cockpit Overview is the landing tab of AI Cockpit — a fixed, 24-hour snapshot of everything moving through governed AI traffic, built entirely from aggregate queries over gcdm_invocations. Unlike every other Cockpit tab, it has no window selector: the backing query always defaults to the last 24 hours, and the page auto-refreshes every 15 seconds rather than on demand.
Four KPI cards lead the page: total invocations, active AI actors (distinct agents seen), active MCP servers, and denied calls. Below them, a line chart buckets invocations and denies by hour so a spike or a drop in traffic is visible at a glance without leaving the tab.
Three "Top 5" lists follow — MCP servers, tools, and AI actors, each ranked by invocation count over the same 24-hour window. Names resolve through the catalog (MCP server and agent tables) where known; the tools list is sourced from spec.jsonrpc_method on the invocation record, a simplification that currently only reflects the edge-sidecar telemetry shape. Actors without a catalog entry are still listed, labeled observed-<hash prefix> rather than dropped — the same shadow-AI-visibility pattern used throughout Cockpit.
A final panel splits invocation counts by collection source: calls routed through the FaburAI gateway versus calls observed by a Policy Enforcer sidecar deployed alongside a customer's own proxy. It exists as a migration parity check — as edge-sidecar deployment rolls out, gateway-collected volume should trend toward zero while edge_sidecar's climbs, and this panel is how that transition gets verified rather than assumed.
Interfaces
data-plane serves /cockpit
data-plane serves /observability
Cockpit Overview — API Reference
HTTP endpoints served by the data-plane for this capability (20 endpoints). 2 response schemas could not be derived from source and are recorded as unknown.
Endpoints
GET /api/cockpit/activity
- description
- ── AC-15 Activity Feed ────────────────────────────────────────────────
- response type
- *ActivityFeedResponse
GET /api/cockpit/actors
- description
- ── AC-11 Actors ───────────────────────────────────────────────────────
- response type
- *ActorListResponse
GET /api/cockpit/finops/by-actor
- response type
- *FinopsByResponse
GET /api/cockpit/finops/by-application
- response type
- *FinopsByResponse
GET /api/cockpit/finops/by-mcp-server
- response type
- *FinopsByResponse
GET /api/cockpit/finops/by-model
- response type
- *FinopsByResponse
GET /api/cockpit/finops/rate-cards
- description
- ── AC-18 Rate Cards ───────────────────────────────────────────────────
POST /api/cockpit/finops/rate-cards
- response type
- *RateCard
DELETE /api/cockpit/finops/rate-cards/{id}
GET /api/cockpit/finops/recommendations
- description
- ── AC-22 Recommendations ──────────────────────────────────────────────
- response type
- *RecommendationsResponse
POST /api/cockpit/finops/recommendations/analyze
POST /api/cockpit/finops/recommendations/{id}/dismiss
GET /api/cockpit/finops/summary
- description
- ── AC-19 FinOps ───────────────────────────────────────────────────────
- response type
- *FinopsSummary
GET /api/cockpit/finops/token-trend
- response type
- *TokenTrendResponse
GET /api/cockpit/mcp-servers
GET /api/cockpit/overview
- description
- ── Overview ───────────────────────────────────────────────────────────
- response type
- *Overview
GET /api/cockpit/policy-activity
- description
- ── AC-14 Policy Activity ──────────────────────────────────────────────
- response type
- *PolicyActivityResponse
GET /api/cockpit/resources
GET /api/cockpit/solicitations
- description
- listSolicitations is the HTTP handler mounted at
/api/cockpit/solicitations. Query params (all optional):
window=24h|7d|30d — rolling window
hours=<int> — direct hours override
type=elicit_request|... — solicitation_type filter
sensitivity=CREDENTIAL,PII — comma-separated tag intersection
decision=deny|allow|observe — enforcer verdict filter
limit=50 offset=0
- response type
- *SolicitationsPage
GET /api/cockpit/tools
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Cockpit Overview — Recent Changes
The 1 most recent commits touching Cockpit Overview, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
Cockpit Overview — Interface
User interface surfaces for Cockpit Overview in the data-plane.
Interfaces
/cockpit
- navigation label
- Overview
- navigation group
- AI Cockpit
- component
- CockpitV2Page
/observability
- component
- Observability
Policy Activity
Review policy execution, frequently triggered rules, inactive rules, and governance outcomes.
Policy Activity reads decision outcomes rather than raw invocations — its source is gcdm_decision_logs, the record of what Policy Evaluation actually decided for each call, not the calls themselves. It is the operational counterpart to Policy Management: that capability is where rules are authored, this is where their real effect in the window gets checked.
The summary counts total evaluations split by effect — allow, deny, warn, audit — plus a separate implicit_deny count: denies where the decision log's matched_rules array is empty, meaning no authored rule actually matched and the call was denied by default. That number is a governance-gap signal distinct from ordinary rule-driven denies.
Top firing rules unnests every matched rule across all decision logs in the window and ranks the ten that fired most often, along with how many distinct subjects each one affected — the rules doing the most real work. Inactive rules is the opposite list: published rules that never matched a single call in the window, surfaced as plain badges so an operator can spot policies that may be misconfigured, unreachable, or simply not yet relevant to observed traffic.
Policy Activity — Recent Changes
The 1 most recent commits touching Policy Activity, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
Recommendations
Surface runtime efficiency and usage recommendations derived from observed activity.
Recommendations is a rule-based pattern detector, not a model — three fixed SQL-aggregate checks run against the last 24 hours of invocation and decision-log data in a single pass. A background scheduler runs the pass every 24 hours (with an initial run 60 seconds after boot so a freshly deployed instance has findings within a minute), and an "Analyze now" button on the tab triggers the same pass on demand. Each run clears out all non-dismissed recommendations first and re-inserts whatever it currently finds, so the list always reflects the latest pass rather than accumulating stale findings; dismissed recommendations are left alone.
The three detectors are: redundant calls, where an (agent, tool) pair has made more than 50 calls in 24 hours and over 70% of them share identical arguments (via an args_hash on the invocation) — severity scales with how redundant the calls are, and the finding estimates wasted tokens from the gap between total and unique- argument calls; retry loop, where an (agent, tool) pair has racked up more than 10 denied calls in 24 hours, a strong signal the agent's error handling blindly retries on deny instead of stopping; and high session density, where an agent's average calls-per-hour is more than 3x the median across all other agents in the window (with a floor of 20 calls/hour to avoid flagging low-traffic noise) — a possible reasoning loop or inefficient tool-use pattern.
Each recommendation card shows a severity-colored left border (red for high, amber for medium, slate for low), the finding and suggested fix as plain text generated directly by the detecting query, and — for redundant-call findings — an estimated token-waste figure. Dismissing a card records an operator-supplied reason and removes it from the active list until a future pass re-detects the same pattern.
Features
Redundant call detection
- description
- Flags an agent/tool pair with more than 50 calls in 24h where over 70% share identical arguments, and estimates the tokens wasted on the redundant share.
Retry-loop detection
- description
- Flags an agent/tool pair with more than 10 denied calls in 24h — a sign the agent retries after a deny instead of handling the rejection.
High session-density detection
- description
- Flags an agent whose average calls-per-hour is more than 3x the median across all other agents in the window, a possible reasoning loop or inefficient tool-use pattern.
Dismiss recommendations
- description
- Marks a recommendation dismissed with an operator-supplied reason; it drops out of the active list until a future analysis pass re-detects the same pattern.
Recommendations — Recent Changes
The 1 most recent commits touching Recommendations, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
Tool and Resource Activity
Inspect usage and policy coverage across tools and resources.
Tool and Resource Activity is two tables on one tab: Tools, grouped by (tool name, MCP server) from the tool_name recorded on each invocation, and Resources, anchored on the resource catalog. Both exist to answer the same question from opposite directions — is everything actually receiving traffic covered by a published policy.
The Tools table reports invocation count, deny count and deny rate, distinct callers, and a policy_count — the number of published policy bindings attached directly to that tool. When a tool has live invocations but zero attached policy bindings, has_policy_gap goes true and the UI marks it with a warning icon next to the tool name: traffic flowing through a tool nothing is explicitly governing.
The Resources table is catalog-anchored rather than traffic-anchored, so every registered resource appears even if nothing has touched it. It carries the same policy-gap flag and count, but not a working access count yet — the underlying query does not currently link resource access back to individual invocations, so usage volume per resource isn't available here even though the column exists in the response shape; only the catalog listing and policy coverage are real today.
Tool and Resource Activity — Recent Changes
The 1 most recent commits touching Tool and Resource Activity, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/cockpit/backend/finops.go, data-plane/modules/cockpit/backend/handler.go, data-plane/modules/cockpit/backend/recommender.go, data-plane/modules/cockpit/backend/sections.go, data-plane/modules/cockpit/backend/service.go, data-plane/modules/cockpit/backend/solicitations.go, data-plane/modules/cockpit/backend/solicitations_test.go, data-plane/modules/cockpit/ui/cockpit-overview.tsx, data-plane/modules/cockpit/ui/cockpit-v2.tsx
AI Connect
Register and inspect the MCP connections your AI applications use.
Connection is the first boundary
AI Connect manages MCP endpoints and the supported ways applications reach them. The endpoint exposes tools; the systems behind it hold the data or perform the work.
Start with connecting a server. Verify transport, upstream credentials, runtime reachability, and discovery. Inspect the catalog before assuming a saved connection is usable.
Choose the route and mode
An application must use the intended gateway or local enforcement integration for governance to apply there. Registration alone does not redirect traffic. Observe and simulate can permit ordinary calls with deny verdicts; enforce applies policy denial in the gateway policy-mode path.
Next: Follow a request, connect an application, or discovery.
AI Actor Registration and Identity Binding
Define or resolve the identity of agents, applications, models, roles, and other callers that enter the MCP mesh.
An AI Actor's identity can enter the catalog two ways: an operator registers it up front (confidence_state: curated), or the platform notices it from traffic and materializes it on its own (confidence_state: observed). This capability covers both paths and the role-based side of identity — it is marked partial because the observed-actor half stops at visibility today: nothing downstream actually enforces the approve/block decision yet.
Role sync pulls role definitions from the tenant's identity provider — only Auth0 is implemented; Cognito, Okta, and Entra are registered as drivers but return "not implemented" if called — on a 15-minute background timer plus a manual sync button, and upserts them keyed by (source, source_id) so a role's UUID (and any policy bindings that reference it) survives a rename. Role Mappings then defines the rule that turns an incoming claim — an OIDC group, an Azure AD claim, a SAML attribute — into one of those synced roles, by exact match or another configured strategy, and can be tested against a sample claim set before saving.
Observed actors come from a different path entirely: a reconciler scans the last 24 hours of invocations every 60 seconds for subject identities that show up in traffic but have no matching row in the actor catalog, and only for invocations whose subject type is agent or service — a human calling an MCP directly under their own identity is never turned into an actor row. A new observed actor gets a synthesized name from its identity hash and starts stabilized: false; an operator can Approve it (moves it to approved) or Block it (moves it to blocked, and blocked actors are excluded from all future reconciliation passes so they don't reappear). As the code comments on this flow say plainly: the approve/block state is advisory until a later phase wires it into enforcement — blocking an observed actor today changes its label, not what it can do.
Interfaces
data-plane serves /role/:id
data-plane serves /role-mappings
AI Actor Registration and Identity Binding — Recent Changes
The 1 most recent commits touching AI Actor Registration and Identity Binding, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/actordiscovery/backend/reconciler.go, data-plane/modules/identity/backend/auth0_driver.go, data-plane/modules/identity/backend/provider.go, data-plane/modules/identity/backend/service.go, data-plane/modules/identity/backend/store.go
AI Actor Registration and Identity Binding — Interface
User interface surfaces for AI Actor Registration and Identity Binding in the data-plane.
Interfaces
/role-mappings
- component
- RoleMappings
/role/:id
Connection Security
Protect MCP connection credentials and authenticate communication with external services.
Connection Security has no page of its own — it is the pair of mechanisms that MCP Server Connection and Discovery both depend on to keep credentials safe and to know whether a server is actually up. There are two distinct backends underneath it.
Credential encryption wraps every credential value the connect wizard collects before it is written to a Kubernetes Secret: AES-256-GCM with a single DP-level key from FABURAI_DP_SECRETS_KEY, one value at a time (not the whole Secret as one blob), so the Secret's per-key shape stays what the vendor's pod expects. Each ciphertext carries a 4-byte fbe1 marker so the read path can tell an already-encrypted value from legacy plaintext without decrypting it first, which makes re-encryption idempotent — writing the same value twice never double-wraps it. If no key is configured the DP falls back to writing values verbatim (a dev-mode path, not a production default); a legacy plaintext value encountered on read is passed through with a warning log rather than failed, so a partially-migrated Secret keeps working while it's flagged for re-encryption. When a Secret already exists, an update decrypts every existing key, merges in the new ones, and re-encrypts the whole set — so a Secret that mixes operator-set plaintext and wizard-set ciphertext collapses to all-ciphertext on the next write rather than staying mixed indefinitely.
Endpoint reachability is a continuous background probe, distinct from the one-time TCP dial MCP Server Connection runs while a user is filling out the connect form. Every 60 seconds it sends an MCP initialize request to every registered server with an endpoint (skipping synthetic demo-fixture rows), attaching a bearer token from the server's spec if one is set, and records the result — healthy on a 2xx response, unhealthy otherwise, with the latency and any error message — back onto the server's status and into its activity feed. This is what feeds the health dot shown on MCP Server Mesh.
Authentication for outbound calls to external, OAuth-authenticated MCP endpoints is handled by a shared token cache: for the one vendor currently wired (AWS), it mints a Bearer via the AWS Sign-In service's CreateOAuth2TokenWithIAM call from IAM keys pulled out of the synced Secret, and caches the result until it's close to expiry. A server can declare auth_type as api_key, oauth, oidc, or mtls, but only api_key and oauth are actually exercised by the outbound proxy path today — a server configured with oidc or mtls is accepted at registration but the proxy that forwards external calls rejects it at call time.
Features
Credential encryption
- description
- AES-256-GCM encryption of each stored credential value with a single DP-level key, marked so already-encrypted values are never double-wrapped. Falls back to storing values verbatim only when no key is configured.
Kubernetes Secret integration
- description
- Reading and writing the Kubernetes Secret a vendor's MCP pod mounts credentials from — created if absent, merged and re-encrypted as a whole if it already exists, so hand-set operator keys survive a wizard update.
OAuth token handling
- description
- Minting and caching short-lived Bearer tokens for OAuth-authenticated external MCP endpoints — today, AWS's managed MCP via IAM-key-based Sign-In token exchange — so the raw IAM credential is never sent to the upstream server directly.
Vendor credential configuration
- description
- Per-vendor mapping from the connect wizard's uppercase env-style credential keys to the exact key names and casing a vendor's pod manifest expects, so the same wizard produces a Secret each vendor's pod can actually read.
Connection authentication
- description
- The auth_type recorded on a server — api_key, oauth, oidc, or mtls. Only api_key and oauth are handled by the outbound call path today; oidc and mtls can be selected at registration but are rejected when a call is actually proxied.
Endpoint reachability
- description
- A recurring health probe that sends an MCP initialize request to every registered server every 60 seconds and records healthy/unhealthy, latency, and any error, distinct from the one-time TCP dial run during connection setup.
Connection Security — Recent Changes
The 1 most recent commits touching Connection Security, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/healthprobe/backend/service.go, data-plane/modules/healthprobe/backend/service_test.go, data-plane/modules/secrets/backend/secrets.go, data-plane/modules/secrets/backend/secrets_test.go
Discovery
Discover and refresh the tools, resources, prompts, and data exposed through MCP servers.
Discovery is the background process that turns a registered endpoint into a populated catalog. A discovery run picks a connector — the generic MCP connector for anything reachable over HTTP/stdio, or a vendor-specific connector (GitHub today) as a fallback — resolves an auth token (from the OAuth token cache for auth_type: oauth servers, or from the matching Kubernetes Secret key for everything else, with a legacy spec.auth_token fallback), and calls the endpoint to list its tools, resources, and prompts. Results are ingested into the catalog as active rows, and an AI Graph edge (exposes_tool / exposes_resource) is created from the server to each one. If a tool's input schema looks like it takes a table/column argument, the ingest step also runs a seeding pass that infers a declarative arg-to-resource extractor and, for SQL-shaped tools, kicks off data enrichment to discover the underlying tables and columns asynchronously — including a name-based sensitivity tagger that flags likely PII, PHI, GDPR, SOX, or HIPAA columns for a human to confirm or correct.
Discovery runs both automatically and on demand. A scheduler ticks every 60 seconds and triggers a run for any server whose configured interval has elapsed (default 5 minutes, overridable per server, with auto-discovery itself toggleable off); a manual trigger is available per server. Every run is recorded with a status (running / completed / failed) and counts of tools, resources, and prompts found, browsable at /mcp-server-inventory and drillable per server at /mcp-server-logs.
Each completed run also produces a snapshot — a hash of the server's current tools and resources — which is compared against the previous snapshot to detect drift. When the hash changes, an activity entry is recorded and the change is surfaced at /mcp-drift: a diff between the current and previous tools/resources/prompts/capabilities hashes for a selected server, so an operator can see that an upstream MCP endpoint added, removed, or changed a tool since it was last discovered.
Features
Automated discovery
- description
- A scheduler checks every registered server once a minute and triggers a discovery run for any whose configured interval (default 5 minutes) has elapsed, unless auto-discovery is disabled on that server.
Manual refresh
- description
- An operator-triggered discovery run for one server, run immediately rather than waiting for the scheduler — used after registering new tools upstream.
Discovery status
- description
- The outcome of each discovery run — running, completed, or failed, with an error message on failure and counts of tools, resources, and prompts found on success.
Discovery logs
- description
- A per-server, filterable log of discovery activity (severity, logger name, message, correlation id) at /mcp-server-logs.
Inventory inspection
- description
- A table of every registered server's protocol version, transport type, auth type, and capability hash at /mcp-server-inventory.
Drift identification
- description
- Detects when a server's tools, resources, prompts, or capabilities changed since the last discovery run by comparing SHA-256 hashes of successive snapshots, and shows the before/after at /mcp-drift.
Interfaces
data-plane serves /mcp-servers
data-plane serves /mcp-server-inventory
data-plane serves /mcp-server-logs
data-plane serves /mcp-drift
Discovery — API Reference
HTTP endpoints served by the data-plane for this capability (2 endpoints).
Endpoints
GET /api/dp/v1/discovery/status
- response type
- []DiscoveryRun
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/discovery/trigger/{mcpServerId}
- response type
- *DiscoveryResult
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Discovery — Recent Changes
The 1 most recent commits touching Discovery, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/discovery/backend/connector.go, data-plane/modules/discovery/backend/data_enrichment.go, data-plane/modules/discovery/backend/data_enrichment_test.go, data-plane/modules/discovery/backend/extractor_defaults.go, data-plane/modules/discovery/backend/extractor_defaults_test.go, data-plane/modules/discovery/backend/github_connector.go, data-plane/modules/discovery/backend/github_real_connector.go, data-plane/modules/discovery/backend/handler.go, data-plane/modules/discovery/backend/mcp_connector.go, data-plane/modules/discovery/backend/mcp_http_connector.go, data-plane/modules/discovery/backend/mcp_protocol.go, data-plane/modules/discovery/backend/mcp_stdio_connector.go, data-plane/modules/discovery/backend/mcpspec.go, data-plane/modules/discovery/backend/mcpspec_test.go, data-plane/modules/discovery/backend/models.go, data-plane/modules/discovery/backend/scheduler.go, data-plane/modules/discovery/backend/scheduler_test.go, data-plane/modules/discovery/backend/sensitivity.go, data-plane/modules/discovery/backend/sensitivity_test.go, data-plane/modules/discovery/backend/service.go, data-plane/modules/discovery/ui/components/connector-details.tsx, data-plane/modules/discovery/ui/components/connector-table.tsx, data-plane/modules/discovery/ui/components/health-chart.tsx, data-plane/modules/discovery/ui/mcp-drift.tsx, data-plane/modules/discovery/ui/mcp-server-inventory.tsx, data-plane/modules/discovery/ui/mcp-server-logs.tsx, data-plane/modules/discovery/ui/mcp-servers.tsx
Discovery — Interface
User interface surfaces for Discovery in the data-plane.
Interfaces
/mcp-drift
- component
- McpDrift
/mcp-server-inventory
- component
- McpServerInventory
/mcp-server-logs
- component
- McpServerLogs
/mcp-servers
- component
- McpServers
MCP Server Connection
Register and configure MCP servers and their credentials.
MCP Server Connection is the wizard that creates or edits the servers that MCP Server Mesh then lists — registration, not inventory. It runs as a full page at /mcp-connect/new and /mcp-connect/:id/edit (an earlier version lived in a modal; the modal is still used for the quick-edit affordance from the Mesh table). The base flow the product promises is "60 seconds, three fields" — server type, name, endpoint — with transport, auth type, and policy mode tucked behind a collapsed Advanced section that defaults to sensible values (HTTP, API key, auto-discover on, observe mode).
Selecting a vendor tile (GitHub, Postgres, AWS, Snowflake, Iceberg, or Custom) prefills the endpoint and, for AWS/Snowflake/Iceberg, reveals a structured credentials block instead of the legacy single opaque token. These vendor tiles are UX shortcuts for typing a known endpoint and credential shape — FaburAI does not ship vendor-specific MCP adapters; Custom accepts any MCP-compliant endpoint the same way the other tiles do under the hood. As the user types an endpoint, the form debounces 600ms and calls a reachability probe that does a plain TCP dial against the host and port — it confirms the URL resolves and is reachable, not that anything MCP-shaped is listening on the other end. An unreachable result is a warning, not a block: the connector can still be saved, and discovery retries once the endpoint comes up. New connections are capped at one MCP server for trial tenants; paid tenants have no cap enforced at this layer.
Structured credentials submitted through a vendor tile are persisted to the server's row and, when a Kubernetes client is available, synced best-effort into a K8s Secret that the vendor's MCP pod reads from — creating it if absent, merging new keys into it if it exists so operator-set keys the wizard doesn't manage survive. Values are AES-256-GCM encrypted before they reach the Secret whenever the DP has an encryption key configured; a missing key or missing cluster access is logged and skipped rather than failing the save, so the database row is always the source of truth even if the Secret sync lags or never runs. In edit mode, leaving a credential field blank means "keep the stored value," not "clear it" — only non-empty fields are sent.
Features
Connect new server
- description
- A vendor-tile picker (GitHub, Postgres, AWS, Snowflake, Iceberg, or Custom) that prefills endpoint and credential-field hints, on top of a bare form of server type, name, and endpoint for anything else.
Edit connection
- description
- Update an existing server's name, endpoint, transport, auth type, or credentials from /mcp-connect/:id/edit or the Mesh table's inline edit action; blank credential fields keep the stored value rather than clearing it.
Endpoint configuration
- description
- The server's URI, transport type (HTTP, WebSocket, or stdio), and — for stdio — the subprocess launch command.
Reachability validation
- description
- A debounced pre-submit check that TCP-dials the endpoint's host and port. It confirms the address is dialable, not that the endpoint speaks MCP; an unreachable result is a warning and does not block saving.
Credential handling
- description
- Either a single opaque auth token (legacy path, most vendor tiles) or a structured set of named credential fields (AWS, Snowflake, Iceberg) collected in the wizard and stored server-side.
Secret synchronization
- description
- Best-effort sync of structured credentials into a Kubernetes Secret the vendor's MCP pod reads from, encrypted at rest when a DP encryption key is configured. Skipped with a log line when no cluster is reachable; never blocks the save.
Interfaces
data-plane serves /mcp-connect/new
data-plane serves /mcp-connect/:id/edit
MCP Server Connection — Recent Changes
The 1 most recent commits touching MCP Server Connection, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
MCP Server Connection — Interface
User interface surfaces for MCP Server Connection in the data-plane.
Interfaces
/mcp-connect/:id/edit
/mcp-connect/new
- component
- McpConnectNewPage
MCP Server Mesh
View and manage the registered MCP server estate.
MCP Server Mesh is the inventory surface for every MCP server a tenant has registered — as opposed to MCP Server Connection, which is the form that adds or edits one. The root page (/) lists every server as a row: a type badge, name, endpoint, a live tools/resources count pulled by grouping the catalog's tool and resource rows by mcp_server_id, a policy-mode pill (observe, simulate, or enforce), a health dot, and the last discovery sync time. Search and status/type filters narrow the table client-side; there is no server-side pagination today.
Each server's row links to /servers/:id, a dedicated detail page with a graph tab (the server's tools and resources rendered as a filtered slice of the AI Graph), a catalog tab (its tools, resources, tables, and prompts), a policies tab (every published policy attached to the server itself or to one of its tools/resources, bucketed by target), an actors tab (which AI Actors have called through this server), and a decisions tab (the same enforcement-log table used by the standalone Decisions Log, pre-filtered to this server). A "Discover Now" button on the detail page triggers an out-of-cycle discovery pass rather than waiting for the scheduler's next tick.
"Governance state" is read off the server, not computed by this capability: policy mode (observe / simulate / enforce) and health status are both fields on the underlying gcdm_mcp_servers row, written by the policy and health-probe subsystems respectively — the Mesh page just displays them alongside the count of currently-enforcing servers in the page header.
Features
Server inventory
- description
- The full list of registered MCP servers, with type badge, endpoint, live tools/resources counts, policy mode, health, and last sync time. Searchable by name, endpoint, or type; filterable by status and type.
Server metadata
- description
- The stored attributes of a server row: vendor, environment, endpoint URI, transport type, auth type, protocol version, and its declared MCP capabilities.
Server status
- description
- The health dot shown per server (healthy, degraded, unreachable, or unknown), sourced from the periodic health probe rather than computed on this page.
Server detail
- description
- The per-server page at /servers/:id: summary cards (tool/resource counts, read vs. write split, native-view availability, last sync), then tabs for graph, catalog, policies, actors, and decisions.
Associated tools and resources
- description
- The Catalog tab on a server's detail page — its discovered tools, resources, tables, and prompt templates, scoped to that one server.
Actors interacting with a server
- description
- The Actors tab on a server's detail page, listing which AI Actors have invoked tools or resources on this server.
Governance state
- description
- A server's policy mode (observe, simulate, or enforce) and health status, both stored on the server row and surfaced as pills/dots in the inventory table and detail header.
Interfaces
data-plane serves /
data-plane serves /servers/:id
MCP Server Mesh — API Reference
HTTP endpoints served by the data-plane for this capability (52 endpoints). 1 response schemas could not be derived from source and are recorded as unknown.
Endpoints
GET /api/dp/v1/catalog/agent-versions
- response type
- ListResponse[AgentVersion]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/agent-versions
- response type
- *AgentVersion
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/agents
- response type
- ListResponse[Agent]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/agents
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/catalog/agents/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/agents/{id}
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
PATCH /api/dp/v1/catalog/agents/{id}
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/agents/{id}/api-key
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/agents/{id}/approve
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/agents/{id}/block
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
PUT /api/dp/v1/catalog/agents/{id}/roles
- description
- updateAgentRoles replaces an agent's role assignment list. Body is a JSON
array of role names: ["developer", "release-bot"]. Empty array clears all
assignments. Role names should match what the IdP exposes; UI is
responsible for picking from /api/identity/roles to avoid typos.
- response type
- *Agent
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/applications
- response type
- ListResponse[Application]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/applications
- response type
- *Application
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/catalog/applications/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/applications/{id}
- response type
- *Application
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/columns
- response type
- ListResponse[Column]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/columns
- response type
- *Column
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/datasets
- response type
- ListResponse[Dataset]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/datasets
- response type
- *Dataset
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/datasets/{id}
- response type
- *Dataset
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/mcp-server-snapshots
- response type
- ListResponse[McpServerSnapshot]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/mcp-server-snapshots
- response type
- *McpServerSnapshot
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/mcp-servers
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/mcp-servers
- response type
- *McpServer
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/mcp-servers/protocol-version-counts
- description
- protocolVersionCounts — P0-SPEC-2026-S4. The order list is
duplicated here (rather than imported from discovery) to keep the
catalog module boundary clean — importing discovery from catalog
would introduce a cycle (discovery already imports catalog). This
list is a stable UI contract; both this handler and
discovery.AllKnownSpecs must be updated together when adding a new
spec version. The 000029 migration's CHECK constraint is the third
place — the migration is the source of truth for storage, the
mcpspec.go file is source of truth for behavior, and this handler
is source of truth for display order.
- response type
- ListResponse[ProtocolVersionCount]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/catalog/mcp-servers/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/mcp-servers/{id}
- response type
- *McpServer
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/mcp-servers/{id}/activity
- response type
- []Activity
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/model-versions
- response type
- ListResponse[ModelVersion]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/model-versions
- response type
- *ModelVersion
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/model-versions/{id}
- response type
- *ModelVersion
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/prompt-templates
- response type
- ListResponse[PromptTemplate]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/prompt-templates
- response type
- *PromptTemplate
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/prompt-templates/{id}
- response type
- *PromptTemplate
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/resources
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/resources
- response type
- *Resource
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/resources/{id}
- response type
- *Resource
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/role-mappings
- response type
- ListResponse[RoleMapping]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/role-mappings
- response type
- *RoleMapping
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/catalog/role-mappings/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/roles
- response type
- ListResponse[Role]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/roles
- response type
- *Role
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/roles/{id}
- response type
- *Role
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/source-repos
- response type
- ListResponse[SourceRepo]
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/source-repos
- response type
- *SourceRepo
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/tables
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/tables
- response type
- *Table
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/tables/{id}
- response type
- *Table
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/tools
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/catalog/tools
- response type
- *Tool
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/catalog/tools/{id}
- response type
- *Tool
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
PATCH /api/dp/v1/catalog/tools/{id}/extractor
- description
- updateToolExtractor handles PATCH /tools/{id}/extractor — the focused
per-tool extractor edit triggered from the tool detail card. The body
shape is just `{"target_extractor": <jsonb>}`. Setting it to {} clears
the extractor (gateway falls back to tool-level governance only for
invocations of this tool).
- response type
- *Tool
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
MCP Server Mesh — Recent Changes
The 1 most recent commits touching MCP Server Mesh, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/catalog/backend/handler.go, data-plane/modules/catalog/backend/list_cache_directives.go, data-plane/modules/catalog/backend/list_cache_directives_test.go, data-plane/modules/catalog/backend/models.go, data-plane/modules/catalog/backend/picker_search.go, data-plane/modules/catalog/backend/protocol_version_counts_test.go, data-plane/modules/catalog/backend/service.go, data-plane/modules/catalog/backend/solicitations.go, data-plane/modules/catalog/backend/solicitations_test.go, data-plane/modules/catalog/backend/store.go, data-plane/modules/catalog/ui/applications-catalog.tsx, data-plane/modules/catalog/ui/applications.tsx, data-plane/modules/catalog/ui/billing.tsx, data-plane/modules/catalog/ui/components/version-management.tsx, data-plane/modules/catalog/ui/dashboard.tsx, data-plane/modules/catalog/ui/data-assets.tsx, data-plane/modules/catalog/ui/data-queries.tsx, data-plane/modules/catalog/ui/gcdm-agents.tsx, data-plane/modules/catalog/ui/mcp-connect-edit.tsx, data-plane/modules/catalog/ui/mcp-connect-new.tsx, data-plane/modules/catalog/ui/model-detail.tsx, data-plane/modules/catalog/ui/model-new.tsx, data-plane/modules/catalog/ui/models.tsx, data-plane/modules/catalog/ui/prompts-catalog.tsx, data-plane/modules/catalog/ui/resources-catalog-gcdm.tsx, data-plane/modules/catalog/ui/role-detail.tsx, data-plane/modules/catalog/ui/role-mappings.tsx, data-plane/modules/catalog/ui/roles-catalog.tsx, data-plane/modules/catalog/ui/tools-catalog.tsx
MCP Server Mesh — Interface
User interface surfaces for MCP Server Mesh in the data-plane.
Interfaces
/
- navigation label
- MCP Server Mesh
- navigation group
- AI Connect
- component
- TrialRootRedirect
/servers/:id
SDK and Execution API
Integrate applications and agents with FaburAI through the execution API and starter templates.
The /sdk page lays out an intended integration shape: register an agent, request policy-mediated execution for a tool call, receive a signed token, execute against the MCP, and get an audit trail — with tabs for a registration form, an execution-request form, TypeScript / Python / Java code samples for a @faburai/sdk package, and an API reference listing endpoints like POST /agents/register, POST /execution/request, and GET /audit/traces.
As implemented today, none of it is live. Registering an agent or requesting an execution token on this page reads from and writes to a fixed, in-browser mock dataset — five pre-defined sample agents and four pre-defined sample executions — rather than calling a real endpoint; the "token" returned is assembled client-side, not signed by anything. None of the endpoints the API Reference tab documents exist in the Data Plane's routing, and no @faburai/sdk package is published anywhere in this repository — the code samples show what an integration could look like, not something installable and runnable against a FaburAI tenant today.
/templates is a separate, static gallery of vendor connection templates (Salesforce Agentforce, Snowflake, AWS, SAP, and others), each with a description and a short list of configuration hints. It is disconnected from the real per-vendor templates used by the MCP Server Connection wizard: its endpoints are illustrative placeholders (e.g. sap.enterprise.com/api), and its "Use Template" button simply navigates back to the MCP Server Mesh page rather than pre-filling the connect form.
Interfaces
data-plane serves /sdk
data-plane serves /templates
SDK and Execution API — Recent Changes
The 1 most recent commits touching SDK and Execution API, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/connectors/ui/components/template-cards.tsx, data-plane/modules/connectors/ui/mcp-proxy.tsx, data-plane/modules/connectors/ui/sdk.tsx, data-plane/modules/connectors/ui/templates.tsx
SDK and Execution API — Interface
User interface surfaces for SDK and Execution API in the data-plane.
Interfaces
/sdk
- component
- Sdk
/templates
- component
- Templates
AI Control
Author scoped rules, inspect policy decisions, and understand the mode that applies them.
Start with a specific request
AI Control brings policy authoring, evaluation, and decision inspection together. A useful policy names the caller and operation it governs and the target it applies to.
For one target, the highest-priority matching rule wins; a deny wins a tie at that priority. For calls touching supported additional data targets, a relevant additional-target deny can block the whole call.
Test verdict and execution
Observe, simulate, and enforce describe operating modes. A check evaluates without forwarding. An ordinary invocation may execute in observe or simulate even with a deny verdict.
Next: Policy decisions explained, create a scoped rule, or inspect a decision.
AI Graph
Visualize and explore the interrelationships among AI Actors, MCP servers, tools, resources, data assets, and policies.
AI Graph is the governed view of how everything in the mesh connects — actors, MCP servers, tools, resources, data assets, and the policies protecting them.
The backend model is a directed edge: a (src_type, src_id) → (dst_type, dst_id, edge_type) row, written idempotently so re-running discovery doesn't duplicate the graph. Building the graph for display collects every distinct node referenced by an edge, then resolves a human-readable name for each from the matching catalog table — MCP server, tool, resource, model version, agent, application, dataset, table, column, prompt template, or role — so the page never shows a bare UUID.
The page itself has four tabs. By MCP and By Role are flat card lists; By Actor groups agents into confidence bands — observed, approved, curated, blocked — with observed shown first since those are the actors still waiting on operator review. The fourth tab, AI Estate, is the unified graph: every governance path laid out across five columns (Identity → MCP Server → Capability → Data Asset → Column), with each hop colored by the real policy decision that applies there — deny, conditional, allow, or unprotected — derived from actual policy bindings on the subject and target, not a static label.
Clicking a node in the unified graph isolates every path running through it and dims the rest; tables and columns stay collapsed by default and only appear on click (or automatically when a parent has ten or fewer children), so a large MCP's fan-out doesn't overwhelm the canvas. Every node opens a detail panel with its full hop-by-hop chain.
That detail panel is also where the graph turns into action: a Create Policy button scoped to whatever was clicked — MCP-wide, one tool, one table, one column, one role, or one agent — deep-links straight into the Policy Builder pre-filled with that scope. When a path reaches a sensitivity-tagged node over a hop with no policy at all, a dedicated "Protect …" callout surfaces automatically, so the highest-risk gap on a path is the one an operator is nudged toward first.
Features
Entity relationship visualization
- description
- Renders every recorded relationship among actors, MCP servers, tools, resources, and data assets as a graph, with each node's name resolved from the catalog instead of shown as a raw ID.
Path exploration
- description
- Traces the complete chain from a subject through an MCP server to the tools, tables, and columns it can reach, laid out left to right so a whole access path reads as one line; deeper levels expand on click rather than rendering all at once.
Actor-centric views
- description
- Groups AI Actors by confidence state — observed, approved, curated, blocked — with newly observed actors surfaced first since they still need operator review.
Role-centric views
- description
- Lists synced IdP roles alongside a standing All Users tile representing policies with no subject restriction, so role-scoped and unrestricted governance are both visible in one place.
MCP-centric views
- description
- Lists MCP servers as cards showing health, tool and resource counts, and policy mode, each linking through to that server's own detail page.
Policy protection state
- description
- Colors each hop in a path by the policy decision that actually applies there — deny, conditional, allow, or unprotected — computed from real policy bindings on the subject and target, not a static label.
Contextual policy creation
- description
- A Create Policy button on the path detail panel, scoped to whatever node was clicked — MCP-wide, a single tool, table, column, role, or agent — that deep-links into the Policy Builder pre-filled with that scope.
Interfaces
data-plane serves /ai-graph
data-plane serves /lineage
- note
- internal legacy alias route
AI Graph — API Reference
HTTP endpoints served by the data-plane for this capability (5 endpoints). 1 response schemas could not be derived from source and are recorded as unknown.
Endpoints
GET /api/dp/v1/ai-graph/edges
- response type
- []EdgeDeployment
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/ai-graph/edges
- response type
- *EdgeDeployment
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/ai-graph/edges/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/ai-graph/graph
- response type
- *GraphResponse
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/ai-graph/node/{type}/{id}
- response type
- []LineageEdge
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
AI Graph — Recent Changes
The 1 most recent commits touching AI Graph, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/aigraph/backend/handler.go, data-plane/modules/aigraph/backend/models.go, data-plane/modules/aigraph/backend/service.go, data-plane/modules/aigraph/backend/store.go, data-plane/modules/lineage/ui/components/lineage-detail-drawer.tsx, data-plane/modules/lineage/ui/components/lineage-graph-enhanced.tsx, data-plane/modules/lineage/ui/components/lineage-graph.tsx, data-plane/modules/lineage/ui/components/nodes/agent-node.tsx, data-plane/modules/lineage/ui/components/nodes/application-node.tsx, data-plane/modules/lineage/ui/components/nodes/base-node.tsx, data-plane/modules/lineage/ui/components/nodes/mcp-server-node.tsx, data-plane/modules/lineage/ui/components/nodes/model-node.tsx, data-plane/modules/lineage/ui/components/nodes/origin-system-node.tsx, data-plane/modules/lineage/ui/components/nodes/prompt-node.tsx, data-plane/modules/lineage/ui/components/nodes/resource-node.tsx, data-plane/modules/lineage/ui/components/nodes/role-node.tsx, data-plane/modules/lineage/ui/components/nodes/tool-node.tsx, data-plane/modules/lineage/ui/lineage.tsx
AI Graph — Interface
User interface surfaces for AI Graph in the data-plane.
Interfaces
/ai-graph
- navigation label
- AI Graph
- navigation group
- AI Control
- component
- Lineage
/lineage
- component
- Lineage
Decision Explanation
Explain why a decision occurred, including which policies triggered, which policy won, and which policies did not apply.
Decision Explanation answers "why did this happen" for one decision: which policies fired, which of those won, and — the harder question — which published policies could have fired on this call but didn't. It renders as a drawer inside the Decisions Log rather than its own page, backed by GET /api/dp/v1/decisions/{id}/explain, which lives in the gateway package rather than in the telemetry module itself.
The winner and any triggered-but-lower-priority rules come straight from the decision's own matched_rules data — the enforcer tags each match with an outcome (winner or triggered_lost) at evaluation time. Decision rows written before that tagging existed carry no outcome tag at all; those are treated as winners for backward compatibility rather than surfaced as an unexplained gap.
Not-triggered policies are computed on demand rather than stored — persisting them for every decision would make a 50-plus-rule bundle's worth of rows dominate storage. The lookup scans every published rule bound to the call's MCP server, or to any tool, resource, table, or column beneath it, and subtracts whatever already triggered. Each leftover rule gets a coarse, attach-type-derived reason — "call didn't invoke this tool," "subject didn't match this rule's selector" — rather than a full re-run of the evaluator against that rule.
The verdict reason string itself prefers the enforcer's own explanation, recorded on the invocation at decision time, falling back to the decision's separately recorded effective context only when the primary field is empty.
Features
Winning policy
- description
- The single matched rule whose priority won the decision, tagged 'winner' by the enforcer at evaluation time.
Triggered but lower-priority policies
- description
- Rules that also matched the call but were outranked by the winner — tagged 'triggered_lost' — shown so an operator can see what almost decided the call.
Policies not triggered
- description
- Every published rule bound to the call's MCP server, or to a tool, resource, table, or column beneath it, that did not match — computed on demand from the current rule set with a coarse reason for each, rather than stored per decision.
Verdict reason
- description
- The decision's explanation string, taken from the enforcer's own reasoning when present, otherwise from the decision's recorded effective context.
Decision Explanation — Recent Changes
The 1 most recent commits touching Decision Explanation, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/telemetry/backend/agent_graph.go, data-plane/modules/telemetry/backend/chain.go, data-plane/modules/telemetry/backend/handler.go, data-plane/modules/telemetry/backend/models.go, data-plane/modules/telemetry/backend/service.go, data-plane/modules/telemetry/backend/store.go, data-plane/modules/telemetry/ui/enforcement-logs.tsx, data-plane/modules/telemetry/ui/governance.tsx, data-plane/modules/telemetry/ui/identity-chain.tsx, data-plane/modules/telemetry/ui/observability.tsx
Decisions
Review policy decisions produced by governed AI activity.
Decisions is the log of every policy verdict governed AI activity has produced — one browsable, filterable record per invocation, sourced from the telemetry module rather than the policy module (which only computes the verdict; this is where it's recorded and reviewed).
A row joins a decision to its invocation: subject, target tool or action, MCP server, the decision itself, the rules that matched, and a timestamp. The log can be filtered by subject, and the same read path backs a tenant's aggregate allow/deny counts.
Two follow-on actions live on each row. Replay deep-links the row's subject, subject type, action, and MCP server into Gateway Test as URL parameters, so the exact same call can be re-run live and re-checked against whatever the policy set looks like now. Identity Chain opens a single invocation as a six-step view — Human, IAM Role(s), Agent, MCP Server, Tool Call, and Resources/Outcome — built from one aggregating read that joins the invocation to its agent, server, matched-rule targets, and edge mode, resolving table/column names and sensitivity flags for whatever the call actually touched. Steps 1–2 (human, IAM role) come from the customer's own identity provider; steps 3–6 are what FaburAI governs, and the page visually distinguishes the two.
A decision resolves to allow, deny, or oblige — recorded on the decision row itself — with the log's own aggregate stats currently surfacing allow and deny counts.
Features
Decisions Log
- description
- Lists every recorded policy decision — one row per invocation, joined to its subject, target tool, MCP server, and matched rules — filterable by subject.
Allow and deny outcomes
- description
- Each decision resolves to allow, deny, or oblige; the log's aggregate stats currently surface allow and deny counts for a tenant.
Replay
- description
- Deep-links a past decision's subject, subject type, action, and MCP server into Gateway Test so the same call can be re-run live against the current policy set.
Identity chain
- description
- Opens a single invocation as a six-step chain — Human, IAM Role(s), Agent, MCP Server, Tool Call, and Resources/Outcome — joining the invocation to its agent, server, and matched-rule targets in one read.
Interfaces
data-plane serves /enforcement-logs
data-plane serves /enforcement-logs/:traceId/replay
data-plane serves /identity-chain/:invocationId
Decisions — API Reference
HTTP endpoints served by the data-plane for this capability (6 endpoints).
Endpoints
GET /api/dp/v1/telemetry/agents/{id}/observed-graph
- description
- getAgentObservedGraph — Slice 196. Returns the observed-graph payload
for one AI Client. Accepts ?window=7d|30d and ?name=<agent_name> (used
as a fallback subject_id_hash matcher).
- response type
- *AgentObservedGraph
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/telemetry/decisions
- response type
- []DecisionLog
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/telemetry/invocations
- response type
- []Invocation
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/telemetry/invocations/{id}/chain
- response type
- *IdentityChain
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/telemetry/mcp-servers/{id}/observed-clients
- description
- getMcpObservedClients — Slice 197. Lists the AI Clients that have been
observed calling this MCP server. ?window=7d|30d.
- response type
- *McpObservedClients
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/telemetry/stats
- response type
- *EnforcementStats
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Decisions — Recent Changes
The 1 most recent commits touching Decisions, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/telemetry/backend/agent_graph.go, data-plane/modules/telemetry/backend/chain.go, data-plane/modules/telemetry/backend/handler.go, data-plane/modules/telemetry/backend/models.go, data-plane/modules/telemetry/backend/service.go, data-plane/modules/telemetry/backend/store.go, data-plane/modules/telemetry/ui/enforcement-logs.tsx, data-plane/modules/telemetry/ui/governance.tsx, data-plane/modules/telemetry/ui/identity-chain.tsx, data-plane/modules/telemetry/ui/observability.tsx
Decisions — Interface
User interface surfaces for Decisions in the data-plane.
Interfaces
/enforcement-logs
- navigation label
- Decisions Log
- navigation group
- AI Control
- component
- EnforcementLogs
/enforcement-logs/:traceId/replay
- component
- PolicyTraceReplay
/identity-chain/:invocationId
- component
- IdentityChainPage
Enforcement
Apply governance decisions to AI and MCP activity.
Enforcement is where a governance decision actually gets applied to real traffic — as opposed to Decisions, which reviews what already happened, or Policy Evaluation, which only computes the verdict. It runs on two paths that share the same evaluator: the central MCP Gateway, for traffic that flows through the Data Plane directly, and a sidecar Enforcer that evaluates a compiled policy bundle locally at the edge for traffic fronted by a customer's own proxy.
On the central path, every invocation resolves the target MCP server's policy mode (observe, simulate, or enforce — observe by default), short-circuits a blocked actor before any rule runs, evaluates policy for the tool or resource target plus every resource or column a tool call's arguments resolve to, and finally applies the mode: observe and simulate both always let the call through and only log what would have happened, enforce is the only mode that actually blocks.
On the sidecar path, every published and approved rule compiles into a single Rego module — a policy bundle — served from the Data Plane. An Enforcer container, wired into a customer's existing proxy (an Envoy ext_authz filter, or the NGINX/Istio/Kong equivalent), pulls that bundle and evaluates it against each request locally, reporting telemetry back to the Data Plane. This is what lets enforcement keep working for MCPs fronted by infrastructure the customer already runs, without every request round-tripping to the central gateway.
Whichever path decided a call, every non-dry-run invocation is written back as an invocation and decision log record — subject, target, token counts, matched rules — the same data that feeds Decisions, Decision Explanation, and the live feed on Governance Live.
Of the two routed pages here, Governance Live is a real, working onboarding view: a rolling feed of the last several enforcement-log rows, refreshed every five seconds, shown once a tenant's first policy is live. The broader Governance page's compliance-report, risk-score, and anomaly-finding panels query endpoints that, as of this writing, either return an empty stub or have no backend route at all — only its underlying enforcement/decision data is real; those specific panels are UI without a working backend behind them yet.
Features
Sidecar enforcement
- description
- A separate Enforcer container, deployed alongside a customer's own proxy (Envoy, NGINX, Istio, or Kong) via an ext_authz-style filter, that evaluates policy locally against a pulled bundle instead of calling back to the central gateway for every request.
Policy bundles
- description
- The published and approved rule set compiled into a single Rego module that a sidecar Enforcer pulls and evaluates locally; bindings on the same rule are AND'd together in the compiled output.
Invocation interception
- description
- The MCP Gateway evaluates policy for every tool or resource invocation before it reaches the real MCP server, including every resource or column a tool call's arguments resolve to, and blocks or allows accordingly.
Telemetry emission
- description
- Every non-dry-run call is written back as an invocation and decision log record, whichever path — central gateway or sidecar Enforcer — decided it, feeding the Decisions Log and Identity Chain.
Enforcement modes
- description
- An MCP server's policy mode — observe, simulate, or enforce — controls whether a verdict actually blocks a call; observe and simulate always allow through and only log what would have happened, enforce is the only mode that blocks.
Interfaces
data-plane serves /governance
data-plane serves /governance-live
Enforcement — Recent Changes
The 1 most recent commits touching Enforcement, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/mcpgateway/backend/arg_targets.go, data-plane/modules/mcpgateway/backend/arg_targets_test.go, data-plane/modules/mcpgateway/backend/handler.go, data-plane/modules/mcpgateway/backend/models.go, data-plane/modules/mcpgateway/backend/provenance.go, data-plane/modules/mcpgateway/backend/proxy.go, data-plane/modules/mcpgateway/backend/resolve_export.go, data-plane/modules/mcpgateway/backend/service.go, data-plane/modules/mcpgateway/backend/sql_parser.go, data-plane/modules/mcpgateway/backend/sql_parser_test.go, data-plane/modules/mcpgateway/backend/tokens.go, data-plane/modules/mcpgateway/backend/tokens_test.go, data-plane/modules/mcpgateway/ui/gateway-test.tsx, data-plane/modules/telemetry/backend/agent_graph.go, data-plane/modules/telemetry/backend/chain.go, data-plane/modules/telemetry/backend/handler.go, data-plane/modules/telemetry/backend/models.go, data-plane/modules/telemetry/backend/service.go, data-plane/modules/telemetry/backend/store.go, data-plane/modules/telemetry/ui/enforcement-logs.tsx, data-plane/modules/telemetry/ui/governance.tsx, data-plane/modules/telemetry/ui/identity-chain.tsx, data-plane/modules/telemetry/ui/observability.tsx
Enforcement — Interface
User interface surfaces for Enforcement in the data-plane.
Interfaces
/governance
- component
- Governance
/governance-live
- component
- GovernanceLivePage
Gateway Test
Simulate an AI Actor attempting an action and inspect the expected governance outcome.
Gateway Test lets someone pick a subject — an agent, human, or service — and a target tool or resource from the live catalog, then preview the governance outcome before it happens for real. It is scoped to one invocation at a time, which is what distinguishes it from Policy Impact Simulation's blast-radius view across many targets.
Both buttons on the page drive the identical code path real traffic uses: Gateway.Invoke and Gateway.Check are the same process() function with one flag flipped. Check (dry run) calls the /gateway/check endpoint, which evaluates policy for the chosen subject and target and returns the decision without recording any telemetry or calling the real MCP server. Invoke (record) calls /gateway/invoke, which runs the identical evaluation but, if allowed, proxies the call to the real MCP endpoint (or reports a simulated result if the server has none configured) and writes an invocation and decision log row exactly like production traffic does.
Inside that evaluation: the MCP server's policy mode (observe, simulate, or enforce) is looked up, a blocked actor is denied before any rule runs, the target tool or resource is resolved for context, and — for a tool call with arguments — every resource or column the arguments resolve to is evaluated too, with the most restrictive result winning.
The result panel shows Allow or Deny, the evaluator's plain-language explanation, the matched rules with their effect, and — for an actual Invoke — the recorded invocation ID. The last eight runs on a given browser persist in a "Recent Tests" strip, and the Decisions Log's Replay button deep-links back into this page pre-filled with a past call's subject, subject type, action, and MCP server so it can be re-run against the current policy set.
Interfaces
data-plane serves /gateway-test
Gateway Test — API Reference
HTTP endpoints served by the data-plane for this capability (2 endpoints).
Endpoints
POST /api/dp/v1/gateway/check
- response type
- *InvokeResponse
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/gateway/invoke
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Gateway Test — Recent Changes
The 1 most recent commits touching Gateway Test, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/mcpgateway/backend/arg_targets.go, data-plane/modules/mcpgateway/backend/arg_targets_test.go, data-plane/modules/mcpgateway/backend/handler.go, data-plane/modules/mcpgateway/backend/models.go, data-plane/modules/mcpgateway/backend/provenance.go, data-plane/modules/mcpgateway/backend/proxy.go, data-plane/modules/mcpgateway/backend/resolve_export.go, data-plane/modules/mcpgateway/backend/service.go, data-plane/modules/mcpgateway/backend/sql_parser.go, data-plane/modules/mcpgateway/backend/sql_parser_test.go, data-plane/modules/mcpgateway/backend/tokens.go, data-plane/modules/mcpgateway/backend/tokens_test.go, data-plane/modules/mcpgateway/ui/gateway-test.tsx
Gateway Test — Interface
User interface surfaces for Gateway Test in the data-plane.
Interfaces
/gateway-test
- navigation label
- Gateway Test
- navigation group
- AI Control
Policy Evaluation
Evaluate applicable policies and determine the outcome of an AI invocation.
Policy Evaluation is the real-time decision path a live call actually goes through — as opposed to Policy Management, which is authoring. Its core is a pure function, Evaluate(rules, request), that takes a candidate rule set and a request and returns a decision with no database access of its own; the module keeps it that way specifically so the decision logic is directly testable apart from rule lookup.
Before that function ever runs, the service narrows down which rules even apply. Rules bound to the call's exact target (and, hierarchically, to its parent — a tool inherits its MCP server's rules) are loaded and deduplicated, then filtered by subject: a rule with no agent or role binding applies to everyone, one scoped to specific roles or an agent only fires for a match — except a role-scoped deny still fires when the caller's roles couldn't be resolved at all, because missing identity must never grant access. A second filter checks target bindings with AND-across-types, OR-within-type semantics: a rule bound to both an MCP server and a resource only fires when a call touches both.
What's left is sorted by priority, descending, then filtered per rule by action, subject selector, resource selector, and conditions. The resource selector is a small DSL — side-effect type, an exact or regex tool name, resource type, or a literal-value fallback against any other context key — with every key present required to match. Conditions add time-of-day windows, environment tags, sensitivity tags, actor confidence state, and rate-limit / token-budget ceilings whose current counts the gateway pre-computes before evaluation runs. Among whatever rules match, only the ones sharing the single highest priority decide the outcome; a tie between different effects resolves deny > warn > audit > allow, and zero matches means implicit deny.
A single tool call can resolve to more than one target — a SQL query touching several tables runs the evaluator once per inferred resource or column and combines the results, with any deny winning. A target with literally no rules attached is treated as "no opinion" rather than an implicit deny, so one ungoverned table doesn't block a call the tool-level policy already allowed.
The same rule set also compiles into a portable form: published and approved rules render into a Rego module — a policy "bundle" — that a sidecar Enforcer can evaluate locally at the edge, independent of this central path, which is what backs policy bundle evaluation below.
Features
Priority-based evaluation
- description
- Sorts every rule bound to the call's target by priority, highest first; whichever rules share the single highest priority among the matches decide the outcome.
Allow, deny, warn, and audit effects
- description
- A matching rule resolves to allow, deny, warn, or audit; when the top-priority matches disagree, the tie resolves deny, then warn, then audit, then allow.
Subject matching
- description
- A rule with no subject binding applies to everyone; one scoped to roles or a specific agent only fires on a match, except a role-scoped deny still fires when the caller's roles could not be resolved at all.
Target matching
- description
- Matches the resource selector's side-effect type, an exact or regex tool name, or resource type against the call's context, with a literal-value fallback for any other selector key; every key present must match.
Conditions
- description
- Extra filters a matched rule must also satisfy — time-of-day window, environment tag, sensitivity tag, or the caller's actor confidence state — evaluated against the call's context.
Rate-limit and token-budget conditions
- description
- Fires once a pre-computed call count or token sum for the current window reaches the configured ceiling, so a matching deny, warn, or audit rule only takes effect after the ceiling is crossed.
Policy bundle evaluation
- description
- The same published rule set compiles to a Rego module a sidecar Enforcer evaluates locally, so a decision can be made at the edge without a round trip to this central evaluator.
Policy Evaluation — Recent Changes
The 1 most recent commits touching Policy Evaluation, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/policy/backend/conditions_ratelimit_test.go, data-plane/modules/policy/backend/drafter.go, data-plane/modules/policy/backend/drafter_openai.go, data-plane/modules/policy/backend/evaluator.go, data-plane/modules/policy/backend/evaluator_test.go, data-plane/modules/policy/backend/handler.go, data-plane/modules/policy/backend/models.go, data-plane/modules/policy/backend/rego_compiler.go, data-plane/modules/policy/backend/rego_compiler_solicitation_test.go, data-plane/modules/policy/backend/service.go, data-plane/modules/policy/backend/store.go, data-plane/modules/policy/ui/policies.tsx, data-plane/modules/policy/ui/policy-builder.tsx, data-plane/modules/policy/ui/policy-simulation.tsx, data-plane/modules/policy/ui/policy-trace-replay.tsx, data-plane/modules/policy/ui/policy-visualize.tsx
Policy Management
Create, manage, inspect, and publish governance policies.
Policy Management is where governance rules are authored and administered — as opposed to Policy Evaluation, which is the path a live AI call actually goes through. A rule created here does not affect any traffic until it is explicitly published.
A rule is built from five parts: an effect (allow, deny, warn, or audit), a subject selector (who it applies to — by role or specific identity, or everyone if left empty), a resource selector (what it applies to — matched by side-effect type, an exact or regex tool name, or resource type), a set of conditions (time-of-day windows, environment tags, actor confidence state, sensitivity tags, or rate-limit and token-budget ceilings), and a priority. When more than one rule matches the same call, the highest-priority rule wins; a tie between rules with different effects resolves to deny.
Attachments bind a rule to specific things in your catalog — an MCP server, a tool, a resource, a table or column, a dataset, a model, an agent — rather than leaving it to match by selector alone. Bindings of the same type are OR'd together (bound to two resources, the rule fires on either); bindings across different types are AND'd (bound to both a server and a resource, it only fires when a call touches both).
Every rule moves through five lifecycle states — draft, review, approved, published, archived — but only rules in the published state are considered when a real call is evaluated. Earlier states stay visible in the catalog and can be edited freely without touching what is actually enforced.
Writing a rule by hand is one path; natural-language drafting is the other. Describe the intent in plain language and a model resolves it against your actual catalog — servers, tools, resources, tables, columns — into a structured draft: effect, targets, subjects, conditions, and a plain-language rationale. It pre-fills the policy builder for review; nothing it drafts is published without that review.
Features
Policy Catalog
- description
- Every rule that has been authored, at any lifecycle stage from draft through archived, in one browsable list independent of what is currently enforced.
Natural-language policy drafting
- description
- Describe an intent in plain language; a model resolves it against your actual catalog into a structured draft — effect, targets, subjects, conditions, and its own rationale — for you to review in the builder before anything is created.
Policy creation and editing
- description
- Create or edit a rule's effect, action, selectors, conditions, and priority directly, without going through the drafting assistant.
Effects
- description
- What a matching rule does: allow, deny, warn, or audit. When rules with different effects tie on priority, deny wins.
Subjects
- description
- Who a rule applies to, matched by role or specific identity; an empty selector matches every subject.
Targets
- description
- What a rule's resource selector matches against — side-effect type, an exact or regex tool name, or resource type — with a fallback that compares any other key against the request context.
Conditions
- description
- Extra filters a rule must also satisfy: time-of-day windows, environment tags, actor confidence state, sensitivity tags, or rate-limit and token-budget ceilings.
Priorities
- description
- Determines which rule wins when more than one matches the same call. Highest priority wins; ties between different effects resolve to deny.
Lifecycle
- description
- Five states — draft, review, approved, published, archived — but only published rules affect real evaluation. The others stay visible and editable without touching live enforcement.
Attachments
- description
- Binds a rule to specific catalog entities — an MCP server, tool, resource, table, column, dataset, model, or agent — rather than relying on selectors alone. Same-type bindings OR together; different-type bindings AND together.
Policy visualization
- description
- A diagram of one rule: its subjects on one side, the MCP servers in the middle, and the tools or resources it targets on the other, with edges colored by effect — red deny, green allow, amber warn, blue audit.
Interfaces
data-plane serves /policy-catalog
- note
- Browse every authored rule, at any lifecycle stage.
data-plane serves /policies
data-plane serves /policy-builder
- note
- Create or edit a rule by hand or from a natural-language draft.
data-plane serves /policy-quickstart
- note
- legacy alias route
data-plane serves /policies/:id/visualize
- note
- Diagram one rule's subjects, servers, and targets, colored by effect.
Policy Management — API Reference
HTTP endpoints served by the data-plane for this capability (13 endpoints).
Endpoints
POST /api/dp/v1/nlp/query
- response type
- Response
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/policy/bindings
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/policy/bindings
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/policy/bindings/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/policy/create-and-publish
- description
- createAndPublish creates a policy rule, binds it to targets, and publishes it — all in one call.
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/policy/effective/{entityType}/{entityId}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/policy/evaluate
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/policy/rules
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/policy/rules
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
DELETE /api/dp/v1/policy/rules/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/policy/rules/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
PATCH /api/dp/v1/policy/rules/{id}
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/policy/rules/{id}/lifecycle
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Policy Management — Recent Changes
The 1 most recent commits touching Policy Management, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/nlp/backend/handler.go, data-plane/modules/nlp/backend/service.go, data-plane/modules/policy/backend/conditions_ratelimit_test.go, data-plane/modules/policy/backend/drafter.go, data-plane/modules/policy/backend/drafter_openai.go, data-plane/modules/policy/backend/evaluator.go, data-plane/modules/policy/backend/evaluator_test.go, data-plane/modules/policy/backend/handler.go, data-plane/modules/policy/backend/models.go, data-plane/modules/policy/backend/rego_compiler.go, data-plane/modules/policy/backend/rego_compiler_solicitation_test.go, data-plane/modules/policy/backend/service.go, data-plane/modules/policy/backend/store.go, data-plane/modules/policy/ui/policies.tsx, data-plane/modules/policy/ui/policy-builder.tsx, data-plane/modules/policy/ui/policy-simulation.tsx, data-plane/modules/policy/ui/policy-trace-replay.tsx, data-plane/modules/policy/ui/policy-visualize.tsx
Policy Management — Interface
User interface surfaces for Policy Management in the data-plane.
Interfaces
/policies
- component
- Policies
/policies/:id/visualize
/policy-builder
- component
- PolicyBuilder
/policy-catalog
- navigation label
- Policy Catalog
- navigation group
- AI Control
- component
- Policies
/policy-quickstart
- component
- PolicyBuilder
Policy Impact Simulation
Assess the effect a policy change would have across the governed estate before publishing it.
Policy Impact Simulation is meant to answer "what happens across my whole estate if I publish this rule" — the blast-radius question — which is a different job from Gateway Test's single-invocation check. The page renders a What-If form (principal type and ID, action, resource type and ID, environment) plus four view modes over the result: Full AI Graph, Blast Radius (only nodes that would not be allowed), Role-Centric, and Resource-Centric, with the graph colored per node by simulated decision and an impact summary showing blast radius percentage and allow/deny/conditional/unaffected counts.
Running a simulation posts the What-If parameters to the policy's simulate endpoint and expects back a result containing the graph nodes and edges plus a per-node decision, matched rule, and reason. As of this writing that endpoint has no registered handler anywhere in the Data Plane's router — the only server-side policy routes are the CRUD set under /api/policies and the real-time /evaluate path described under Policy Evaluation. The simulation UI is built and wired to call it, but a run against a real tenant will not currently return a populated result.
The view modes are real client-side logic, ready to operate on whatever a populated result contains: Blast Radius filters down to nodes whose decision isn't ALLOW; Role-Centric walks from role nodes through the applications and models they reach; Resource-Centric starts from tables, datasets, and resources and pulls in whatever connects to them.
Interfaces
data-plane serves /policies/:id/simulate
Policy Impact Simulation — Recent Changes
The 1 most recent commits touching Policy Impact Simulation, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/policy/backend/conditions_ratelimit_test.go, data-plane/modules/policy/backend/drafter.go, data-plane/modules/policy/backend/drafter_openai.go, data-plane/modules/policy/backend/evaluator.go, data-plane/modules/policy/backend/evaluator_test.go, data-plane/modules/policy/backend/handler.go, data-plane/modules/policy/backend/models.go, data-plane/modules/policy/backend/rego_compiler.go, data-plane/modules/policy/backend/rego_compiler_solicitation_test.go, data-plane/modules/policy/backend/service.go, data-plane/modules/policy/backend/store.go, data-plane/modules/policy/ui/policies.tsx, data-plane/modules/policy/ui/policy-builder.tsx, data-plane/modules/policy/ui/policy-simulation.tsx, data-plane/modules/policy/ui/policy-trace-replay.tsx, data-plane/modules/policy/ui/policy-visualize.tsx
Policy Impact Simulation — Interface
User interface surfaces for Policy Impact Simulation in the data-plane.
Interfaces
/policies/:id/simulate
- component
- PolicySimulation
Proxies
Integrate governance with the proxy and sidecar infrastructure through which AI traffic is controlled.
Proxies is the governed proxy and sidecar infrastructure that fronts real MCP traffic. The page spans two distinct implementations: the Data Plane's own edge deployments, provisioned into a customer's cluster, and a separate outbound proxy for MCP vendors the Data Plane calls on the customer's behalf. Internally the first is still called "edges" (the implementation module and one primary route are literally /edges); the taxonomy renames it to "Proxies" for anything customer-facing.
An edge deployment row describes one proxy — Envoy, NGINX, Istio, Kong, or FaburAI-managed — that can front many MCP servers by path routing rather than being pinned to one. Sizing comes from three presets (small, medium, large — each with a concrete replica count, CPU/memory request, and an approximate requests-per-second target) or a custom replica count. Creating a deployment kicks off a provisioner that renders the Kubernetes manifests for the chosen adapter — an Enforcer Deployment plus the proxy-specific wiring, such as an Envoy ext_authz filter's ConfigMap snippet — and stores them on the row.
That render step is real; applying it is not yet. As the provisioner's own code comments put it, "the render half is real, the apply half is still simulated" — nothing calls the Kubernetes API to create the rendered resources. Today an operator copies the rendered YAML off the row and applies it with kubectl themselves; the row is marked running after a short fixed delay regardless.
The second implementation, mcpproxy, is narrower and unrelated to edge provisioning: it's the Data Plane's own outbound proxy for MCP vendors that require the Data Plane to mint and hold an OAuth bearer on the customer's behalf — AWS today, via IAM-based token minting, and Workato via a static token. It caches minted tokens for an hour, tracks each client's upstream MCP session by a session-key header, evaluates policy the same way the central gateway does before forwarding, retries once on a 401 after forcing a token refresh, and only forwards to an explicit host allowlist as defense-in-depth on top of the catalog row that names the endpoint.
Interfaces
data-plane serves /edges
data-plane serves /mcp-proxy
Proxies — API Reference
HTTP endpoints served by the data-plane for this capability (1 endpoints).
Endpoints
POST /api/dp/v1/mcp-proxy/{mcp_server_id}
- mount condition
- mcpProxy != nil
- middleware
- dpmiddleware.DemoReadOnly
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Proxies — Recent Changes
The 1 most recent commits touching Proxies, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/edges/backend/adapters/adapter.go, data-plane/modules/edges/backend/adapters/envoy.go, data-plane/modules/edges/backend/adapters/faburai_managed.go, data-plane/modules/edges/backend/adapters/istio.go, data-plane/modules/edges/backend/adapters/kong.go, data-plane/modules/edges/backend/adapters/nginx.go, data-plane/modules/edges/backend/models.go, data-plane/modules/edges/backend/provisioner.go, data-plane/modules/edges/backend/service.go, data-plane/modules/edges/backend/store.go, data-plane/modules/edges/ui/edges-page.tsx, data-plane/modules/edges/ui/onboard-proxy-wizard.tsx, data-plane/modules/mcpproxy/backend/proxy.go, data-plane/modules/mcpproxy/backend/session.go, data-plane/modules/mcpproxy/backend/token_cache.go
Proxies — Interface
User interface surfaces for Proxies in the data-plane.
Interfaces
/edges
- navigation label
- Proxies
- navigation group
- AI Control
- component
- EdgesPage
/mcp-proxy
- component
- McpProxy
Workflows
Compose and inspect multi-step governed AI workflows.
Workflows is designed to let an operator compose a named, multi-step sequence of MCP tool calls: each step targets a specific server and action, with input and output mappings between steps, an optional per-step condition, and dependencies on other steps. A workflow as a whole has an execution mode (sequential or parallel) and a failure-handling policy — stop on error, continue on error, or retry up to a configured maximum.
That's the shape the builder UI collects, and the UI itself is real and substantial — a workflow list page, a create dialog with simple and advanced modes, and a dedicated step builder. But nothing typed into it is currently saved or run: the two backend routes the frontend calls to list and create workflows, GET/POST /api/workflows and GET /api/workflows/stats, are hardcoded in the Data Plane router to return an empty list and zero counts on every call. There is no persistence for a created workflow and no execution engine behind the "run" action — a submitted workflow has nowhere to go.
Status is partial for exactly that reason: the UI for composing and configuring a workflow is implemented, but the capability it names — actually running a governed multi-step workflow — is not, and nothing here should be read as describing working end-to-end behavior yet.
Interfaces
data-plane serves /workflows
data-plane serves /workflows/builder/:id
Workflows — Recent Changes
The 1 most recent commits touching Workflows, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- data-plane/modules/workflow/ui/bpa-workflows.tsx, data-plane/modules/workflow/ui/workflow-builder.tsx, data-plane/modules/workflow/ui/workflows.tsx
Workflows — Interface
User interface surfaces for Workflows in the data-plane.
Interfaces
/workflows
- component
- Workflows
/workflows/builder/:id
- component
- WorkflowBuilder
AI Catalog: understand what is known
Inspect the actors, tools, resources, and data relationships known to the deployment.
A shared inventory
AI Catalog represents different kinds of entities in one structure. A tool, its MCP server, and a related data resource can be inspected together instead of treated as unrelated lists.
“Model” here can mean that representation. It does not mean a single language model governs or replaces the whole environment.
Inventory depends on evidence
Discovery and supported enrichment populate metadata that a server exposes or the deployment can resolve. Runtime provenance can provide other context. Inspect the source and confidence of an entry rather than assuming every known entity was fully verified.
Next: Discovery explained, data granularity, or the glossary.
AI Cockpit: inspect recorded activity
Review available runtime activity, governance outcomes, and reported consumption.
See the activity you have evidence for
AI Cockpit summarizes available invocation activity and policy outcomes. Consumption views depend on the usage information supplied or captured by the deployment. A missing token count is not evidence that a call used no tokens.
Read observations in context
Patterns such as repeated calls or retry loops deserve investigation. A rule with no hits might be unused, scoped incorrectly, or applied outside the observed period. Activity summaries do not replace the original decision and upstream evidence.
Next: Read a decision, investigate one invocation, or verify telemetry health.
AI Connect: make tools reachable
Register and inspect the MCP connections your AI applications use.
Connection is the first boundary
AI Connect manages MCP endpoints and the supported ways applications reach them. The endpoint exposes tools; the systems behind it hold the data or perform the work.
Start with connecting a server. Verify transport, upstream credentials, runtime reachability, and discovery. Inspect the catalog before assuming a saved connection is usable.
Choose the route and mode
An application must use the intended gateway or local enforcement integration for governance to apply there. Registration alone does not redirect traffic. Observe and simulate can permit ordinary calls with deny verdicts; enforce applies policy denial in the gateway policy-mode path.
Next: Follow a request, connect an application, or discovery.
AI Control: define and explain access
Author scoped rules, inspect policy decisions, and understand the mode that applies them.
Start with a specific request
AI Control brings policy authoring, evaluation, and decision inspection together. A useful policy names the caller and operation it governs and the target it applies to.
For one target, the highest-priority matching rule wins; a deny wins a tie at that priority. For calls touching supported additional data targets, a relevant additional-target deny can block the whole call.
Test verdict and execution
Observe, simulate, and enforce describe operating modes. A check evaluates without forwarding. An ordinary invocation may execute in observe or simulate even with a deny verdict.
Next: Policy decisions explained, create a scoped rule, or inspect a decision.
Platform Administration: run the environment
Understand deployment ownership, identity, health, and change management.
The Control Plane handles platform administration and deployment coordination. The Data Plane provides catalog, policy, gateway, and telemetry services in the governed environment. Local enforcers can consume published bundles at their integration points.
Identify who operates each component, the identity requirements, request route, persistent stores, and artifact delivery process. Versioned deployment assets are a starting point for an installation review, not proof of readiness in every environment.
Next: Deployment models, operator path, or installation preparation.
AI Actor
An agent, model, application, role, or other identity that interacts with AI-connected systems.
AI Graph Relationship
A structured connection among actors, servers, tools, resources, data assets, and policies.
Decision
The outcome of evaluating applicable policy for an AI invocation.
MCP Server
A server that exposes tools, resources, prompts, or data using the Model Context Protocol.
Policy
A governance rule defining which actors may perform which actions against which targets and under which conditions.
Resource
A non-callable information asset exposed by an MCP server.
Tool
A callable operation exposed by an MCP server.
Run your first real governed call
Discover the sample echo tool, invoke it, change a scoped rule, and verify that the next call is blocked.
What you will prove
This exercise uses the repository's Flask starter MCP server and its echo tool. You will see real discovery, a forwarded tool result, a published policy denial, and readable invocation evidence. No AI model, database query, or external provider credential is involved.
The browser demo uses fictional data tables to explain the broader workflow. This live exercise deliberately starts with a simpler tool. It does not verify table or column extraction.
Before you start
- Use a writable, non-production Data Plane with catalog, policy, discovery, gateway, and telemetry services enabled.
- Have permission to create and remove sample actors, MCP connections, bindings, and rules.
- Run the bundled Flask starter MCP server at an endpoint reachable from the Data Plane. In the workbench learning Compose stack, that endpoint is
http://starter-mcp:8080. - Have Python 3 and a checkout containing
scripts/docs-exercise.py. - In an authenticated deployment, provide the required administrative bearer token through
FABURAI_ADMIN_TOKEN. Obtain it through your installation's approved login flow.
The shared public demo is read-only. This exercise cannot run there. The browser simulation needs none of these prerequisites.
Run the exercise on workbench
The existing workbench learning environment is at http://192.168.1.74:9090. From the Product checkout, run:
python3 scripts/docs-exercise.py --base-url http://192.168.1.74:9090 --endpoint http://starter-mcp:8080
For another private sandbox, replace both URLs. The first URL is reachable from the computer running the script; the second is reachable from the Data Plane. They are not interchangeable.
The script makes real writes using uniquely named docs-exercise-* records. It never edits an existing connection or actor. The generated actor API key stays in process memory and is never printed or saved.
Read the steps as they happen
- Register a fresh sample MCP connection in enforce mode and trigger real discovery.
- Find the discovered
echo tool and create a sample actor and temporary actor key. - Publish an allow rule scoped to that actor and tool, then create the tool binding.
- Invoke
echo through /api/dp/v1/gateway/invoke. Confirm the returned text came from the upstream server. - Change this exercise rule's effect to deny and repeat the same invocation.
- Confirm
allowed: false, decision: deny, and readable invocation chains for both outcomes. - Remove the sample binding, rule, actor, and connection in cleanup.
Expected result
real discovery found echo
allowed invoke returned the real upstream echo result
published deny blocked the same tool call
invocation chains were readable for both outcomes
Removed this run's sample binding, rule, actor and connection.
The report includes invocation IDs so you can correlate evidence in Decisions Log and telemetry. Normal audit history remains after cleanup. If a step fails, the script exits with an error instead of presenting simulated success.
If it fails
A 403 often means missing write permission or a read-only tenant. An endpoint or discovery failure means the Data Plane could not complete the MCP handshake or enumerate tools. An allow step with no real echo result is not success. A deny step that still allows work requires checking mode, rule state, and scope.
If cleanup fails, the script names only its sample object IDs for follow-up removal. Troubleshoot the first call before retrying.
Verification boundary
This exercise was run on the private workbench learning Data Plane on October 3, 2026. That sandbox uses its existing earlier product snapshot with a Connect compatibility patch. The documentation reference is generated separately from the rebuild branch. Re-run the exercise for the product version and identity configuration you intend to use.
Next: Understand the policy decision or connect your application.
Connect an application to the gateway
Submit a supported request with the correct caller identity and inspect the response before treating it as success.
Outcome and prerequisites
This guide describes the central gateway integration. You need a writable configured Data Plane, a discovered server and tool ID, an appropriate published policy, and the supported actor or user credential. For local enforcement, start with the request map and the enforcement reference.
The caller credential identifies the actor or user. A separate upstream MCP credential may be required by the server.
Construct the request
The gateway invocation endpoint is /api/dp/v1/gateway/invoke. A minimal tool request has this shape; replace the IDs with entries from your catalog:
{
"mcpServerId": "YOUR_SERVER_ID",
"toolId": "YOUR_TOOL_ID",
"action": "invoke",
"arguments": {"message": "Hello from the tutorial"}
}
Use Authorization: Bearer <actor-key-or-user-token> according to your deployment's identity configuration. The delegated-user path additionally uses X-User-Token. The upstream pass-through credential uses X-MCP-Token when appropriate. Do not substitute model/application provenance headers for authentication.
Check before invoking
A request to /api/dp/v1/gateway/check evaluates policy without forwarding the tool operation. It is useful for inspecting a candidate request. The ordinary invoke endpoint can execute work in observe and simulate mode.
Handle the full outcome
Read decision, allowed, and policyMode together. If a call is permitted, inspect result for the actual upstream outcome. Find invocationId and the associated evidence for a real invocation.
A caller should present policy denial, invalid identity, and upstream failure as separate outcomes. Avoid retrying a policy-denied operation without a reason to expect a different decision.
Run the starter exercise before integrating a business-critical tool. The script creates a scoped actor key, checks a real result, checks a real deny, and cleans up its records.
Next: Identity explained, inspect a decision, or gateway API reference.
Connect an MCP server
Register a reachable endpoint, verify discovery, and inspect the catalog before configuring blocking.
Outcome and prerequisites
You will register an existing MCP endpoint and verify the tools it exposes. Use a writable environment, permission to manage connections, the correct transport, and whatever upstream credential the server requires.
The endpoint must be reachable from the Data Plane or relevant connector runtime. localhost on your laptop usually does not name a server reachable from a container on another machine.
Register and discover
- Open AI Connect → MCP Server Mesh and start a connection.
- Choose the appropriate type or Custom. Confirm the endpoint and transport instead of assuming a template proves compatibility.
- Supply authentication required by the upstream endpoint. Keep secrets out of names, URLs, screenshots, and docs.
- Select the operating mode deliberately. Observe and simulate can permit denied ordinary invocations; enforce applies policy denial.
- Save the connection and trigger or inspect discovery.
- Open AI Catalog and confirm the expected tools and resources, their schemas, and any supported data enrichment.
A saved record is not proof of discovery. A successful tool list is not proof that every underlying table or column is known.
Starter server for private learning
The workbench learning stack exposes http://starter-mcp:8080 inside its container network. It offers echo, get_time, and get_greeting, without external credentials. Use the working tutorial for a repeatable exercise and cleanup.
Expected result and cleanup
The catalog contains the expected tool names for your connection. Discovery status reports success. Confirm a governed call separately before relying on policy.
For a disposable test connection, remove only the records you created after the exercise. For a shared connection, coordinate changes with its owner.
Next: Connect an application or fix discovery.
Create and verify a scoped access rule
Begin with a known actor and target, publish deliberately, and test both the work you permit and the work you restrict.
Outcome and prerequisites
You will define a rule with an explicit subject, action, target, effect, and priority. You need policy-management permission and a known catalog target. Start with synthetic requests in a writable sandbox.
Keep the first rule small
- Identify the actor or role and the operation you are governing.
- Select the intended tool or resource. A target binding and request selectors must fit the actual request.
- Choose an effect and priority. Review overlapping rules; a higher-priority allow can override a lower-priority deny for the same target.
- Follow the deployment's policy authoring, review, and publication workflow.
- Use Gateway Test or the check endpoint to inspect matched rules and expected decisions.
- Run both permitted and restricted requests in an appropriate test environment. Confirm mode and recorded evidence.
Expected results
Useful work remains permitted. The restricted request matches the intended rule and is blocked in enforce mode. The decision explains the relevant scope and rule, rather than merely showing that some denial occurred.
For tool-plus-data calls, inspect additional resource or column targets. An additional-target deny can block a tool that was allowed at its own evaluation stage.
Common mistakes
A rule in draft is not the same as a published rule. A rule bound to the wrong target may never match. Observe and simulate modes may retain a deny verdict while permitting execution. A missing primary allow rule can produce implicit deny unrelated to the restriction you intended to test.
Cleanup
For an exercise, remove its bindings and rule after recording the result. Do not remove a shared rule to make a demo pass. The starter script scopes and cleans up its own records.
Next: Policy decisions, policy troubleshooting, or policy API reference.
Investigate one decision
Use the invocation and decision evidence to explain the caller, target, rule, mode, and outcome.
Start with a correlation
Use the invocation ID from a real gateway response, or locate the relevant entry in Decisions Log using the time and caller. You need access to the deployment's telemetry and decision views.
Read in this order
- Confirm the actor or user and effective role context.
- Confirm the MCP server, tool, action, and supported inferred data targets.
- Read the matched rules, priorities, and explanation.
- Compare the policy verdict with
allowed and the server mode at that time. - Inspect the upstream result when the call proceeded.
- Follow the available invocation chain and related evidence.
The telemetry chain endpoint is /api/dp/v1/telemetry/invocations/{id}/chain. The generated decision API reference describes the selected snapshot's related routes.
Expected result
You can explain why this particular request was permitted or blocked, and distinguish that from whether upstream execution succeeded. Keep the original decision context when comparing it with a test against current policy.
If evidence is missing
A policy check may not create ordinary invocation history. For actual invocations, confirm recording succeeded and that you are querying the correct tenant and Data Plane. Collect sanitized IDs and times; avoid copying payloads or tokens unnecessarily.
Next: Read decision fields or evidence troubleshooting.
Use AI Graph
Explore the relationships between known actors, servers, tools, and data assets.
Use the graph to find context
Select a relevant entity and inspect its known relationships. A path from an actor through a server and tool to a resource helps identify policy scope. Graph coverage depends on the catalog and observed metadata available to this deployment.
Inspect before acting
Read labels, policy context, and details rather than relying only on node color. If you open a target in Policy Builder, review the scope and verify both a permitted and restricted request before relying on the rule.
Next: Discovery and catalog, data granularity, or scoped policy guide.
Use Decisions Log
Find a specific request and separate its verdict, execution, and evidence.
Read the record in context
Locate the caller, tool, target, matched rules, mode, and outcome. A denied verdict with permitted execution can be expected in observe or simulate mode.
Correlate instead of assuming
Use the invocation ID when available to find related evidence. A check is different from an invocation; successful execution and successful recording are separate results. A new test against current policy does not change the historical record.
Next: Investigate one decision or missing evidence.
Use MCP Server Mesh
Register a connection, verify discovery, and choose its mode deliberately.
Connect with the right endpoint
In AI Connect, register the MCP endpoint your runtime can reach. Confirm its transport and upstream authentication. A template supplies starting values; it does not prove reachability or compatibility.
Verify the result
Inspect discovery status and the expected tools in AI Catalog. Data schema visibility depends on the server and supported enrichment. Observe and simulate can permit ordinary denied calls; enforce applies the policy-mode denial.
Next: Connect a server or fix discovery.
Use Policy Builder
Give a rule explicit scope, review overlapping priorities, and test its behavior.
Scope first
Choose the caller, action, target, effect, and priority. Follow the configured review and publication workflow. Confirm target bindings and selectors fit the actual request.
Test both outcomes
Within a target evaluation, priority wins before effect; a deny wins a tie at the highest priority. Inspect additional resource or column decisions separately. Test a permitted request as well as the request you want to restrict.
Next: Create a scoped rule or policy decisions.
Understand local enforcement
A local enforcer consumes published policy at a configured integration point.
Distinguish the two request paths
A local enforcer evaluates a downloaded policy bundle in your environment. The central Data Plane gateway is a separate request path that evaluates and forwards calls itself.
Verify the deployed integration
Confirm the component that receives the request, its bundle source and update behavior, the application's actual route, and the telemetry destination. A generated deployment preview is not evidence that the component is running or receiving traffic.
Next: The request map or deployment preparation.
Walk through the FaburAI console
Follow a spotlight guide through the actual product UI with browser-local sample connections, requests, policy, and evidence.
Written walkthrough
A guided tour inside the product UI
You will use FaburAI’s actual sidebar, MCP Server Mesh, connection form, tool catalog, policy wizard, Gateway Test, and Decisions Log. The guide dims the surrounding interface and lights up the control to use next.
The product components are real; the connections, data, policy publication, tool results, and decision evidence in this tour are fictional. All actions stay in browser memory. No backend, model, database, account, or credential is required.
Start with Begin Tour in the console above. Use Open Full-size Tour for more room, or Read Written Walkthrough to follow the same journey in text. The offline download contains the same browser tour. The in-product documentation reader retains the written walkthrough.
Follow one support request
- Start in AI Connect → MCP Server Mesh. Click the highlighted New Connection control.
- Use the Custom / other endpoint template, sample name and fictional endpoint. The guide provides each value; you can enter it or use Use Sample Value. Select Enforce, then save.
- Run sample discovery, then open AI Catalog → Tools. Inspect
run_query, the operation that can reach the two fictional datasets. - Open Gateway Test. The sample actor and tool are preselected using the product’s existing context parameters. Invoke the provided tickets request and read its synthetic allowed result.
- Open AI Control → Policy Catalog and create a denial. The tour seeds the payroll table and sample actor using the product’s supported context parameters. Inspect effect, priority, scope, subject, and review, then publish the sample policy.
- Return to Gateway Test and invoke the provided payroll request. The same query tool is permitted, but the sample payroll table restriction blocks this call in Enforce mode.
- Open Decisions Log, select the denied sample row, and read the actual explanation drawer with its bundled matched-rule evidence.
- Finish, use Back to revisit a step, or choose Restart Tour to reset the browser sample.
Back reconstructs the earlier browser sample by replaying the same product controls behind a temporary veil. It makes no live changes. Restart clears sample connections, policy, history, and in-memory reading state.
What the tour covers
The spotlight guide permits only the next relevant control and its own navigation buttons. Other product areas remain visible to orient you, but they are outside this tour’s path. This is a focused show-and-tell, not an unrestricted product sandbox.
The sample supports two predefined query arguments. It does not parse arbitrary SQL, verify identity, discover a real database, recognize live columns, or apply masking. Payroll is governed as a whole fictional table. Read data granularity for the supported target-recognition boundary.
The tour is separate from the product’s live policy-simulation and Gateway Test features. In the actual product, Invoke (record) can execute work. Here, an isolated adapter and a network-blocking content policy restrict it to bundled sample responses.
Move to a real environment
Run the working tutorial to exercise real discovery, forwarding, denial, and recorded evidence with the sample echo tool. Or follow the request map to understand where each component acts.
AI Catalog — Known Issues
1 entities in AI Catalog currently carry unresolved review findings.
Under Review
Data Assets
- blocking
- no
- entity
- ai-catalog.data-assets
- reasons
- taxonomy-entry-awaiting-review: /data-queries (494 lines) was unbound in v1.0 and is bound here because it inspects the SQL reaching data assets. Confirm, or split it into its own capability if query inspection is a distinct user job.
AI Cockpit — Known Issues
1 entities in AI Cockpit currently carry unresolved review findings.
Under Review
Cockpit Overview
- blocking
- no
- entity
- ai-cockpit.overview
- reasons
- taxonomy-entry-awaiting-review: /observability (495 lines, telemetry module) was unbound in v1.0 and is bound here as a runtime-observability surface. It predates the Cockpit V2 page and may be superseded by it — confirm whether it should be documented, or marked deprecated in favour of /cockpit.
AI Connect — Known Issues
5 entities in AI Connect currently carry unresolved review findings.
Under Review
AI Actor Registration and Identity Binding
- blocking
- no
- entity
- ai-connect.actor-registration
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
AI Actor Registration and Identity Binding — Recent Changes
- blocking
- no
- entity
- ai-connect.actor-registration.changes
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
AI Actor Registration and Identity Binding — Interface
- blocking
- no
- entity
- ai-connect.actor-registration.interface
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Connection Security
- blocking
- no
- entity
- ai-connect.connection-security
- reasons
- taxonomy-entry-awaiting-review: data-plane/modules/healthprobe was bound here from implementation evidence. v1.0 lists "Endpoint reachability" as a feature of this capability and healthprobe is the module that implements it, but v1.0 never named the module. Confirm the binding.
SDK and Execution API
- blocking
- no
- entity
- ai-connect.sdk
- reasons
- taxonomy-entry-awaiting-review: ADDED — not present in Taxonomy v1.0. /sdk (655 lines) and /templates are implemented and routed but bound to no capability. Placed under AI Connect because the SDK is how a caller enters the connectivity boundary. Confirm the product area; AI Control is defensible if the SDK is framed as a governance integration rather than a connection one.
AI Control — Known Issues
6 entities in AI Control currently carry unresolved review findings.
Under Review
Decision Explanation
- blocking
- no
- entity
- ai-control.decision-explanation
- reasons
- taxonomy-entry-awaiting-review: Has no route of its own — it renders as a drawer inside the Decisions Log — so evidence is the telemetry module plus the /api/dp/v1/decisions/{id}/explain endpoint, which lives in the gateway package rather than a module. Confirm the module binding.
Enforcement
- blocking
- no
- entity
- ai-control.enforcement
- reasons
- taxonomy-entry-awaiting-review: /governance (972 lines) and /governance-live were unbound in v1.0 and are bound here because they present enforcement and governance activity. Confirm, or move them to AI Cockpit if they read as runtime observability rather than enforcement.
Policy Impact Simulation
- blocking
- no
- entity
- ai-control.policy-simulation
- reasons
- taxonomy-entry-awaiting-review: ADDED — not present in Taxonomy v1.0. /policies/:id/simulate (689 lines) is implemented and routed but was unbound. Kept separate from Gateway Test because the user jobs differ: Gateway Test simulates one invocation, this assesses the blast radius of a policy change. Confirm the split.
Workflows
- blocking
- no
- entity
- ai-control.workflows
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior, taxonomy-entry-awaiting-review: ADDED — not present in Taxonomy v1.0. The UI is substantial (1,253 lines) and routed, but the backing endpoints /api/workflows and /api/workflows/stats return empty stubs, so status is `partial` and only implemented behavior may publish. Confirm the status, or set `hidden` if this surface should not be documented at all yet.
Workflows — Recent Changes
- blocking
- no
- entity
- ai-control.workflows.changes
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Workflows — Interface
- blocking
- no
- entity
- ai-control.workflows.interface
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Platform Administration & Deployment — Known Issues
8 entities in Platform Administration & Deployment currently carry unresolved review findings.
Under Review
Cluster Management
- blocking
- no
- entity
- platform-administration.clusters
- reasons
- taxonomy-entry-awaiting-review: CORRECTED — Taxonomy v1.0 §8.3 also claimed cp:/clusters. That route is not registered: control-plane/app/ui/src/App.tsx imports ClustersPage but never routes it, while sidebar.tsx:69 links to /clusters. The claim was dropped here so the taxonomy does not assert a route the product does not serve. The dead sidebar link is a separate code fix.
Platform Configuration
- blocking
- no
- entity
- platform-administration.configuration
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior, taxonomy-entry-awaiting-review: The Control Plane UI labels this surface "coming soon". Status is `partial`. The module binding is provisional — the page has no dedicated backend module.
Platform Configuration — Recent Changes
- blocking
- no
- entity
- platform-administration.configuration.changes
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Platform Configuration — Interface
- blocking
- no
- entity
- platform-administration.configuration.interface
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Documentation
- blocking
- no
- entity
- platform-administration.documentation
- reasons
- taxonomy-entry-awaiting-review: ADDED — the Control Plane documentation browser did not exist when Taxonomy v1.1 was drafted. Confirm the placement; it could equally sit under a new "Deploy & Operate" grouping if one is introduced later.
Identity and Access Administration
- blocking
- no
- entity
- platform-administration.identity-access
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior, taxonomy-entry-awaiting-review: The Control Plane UI labels this surface "coming soon". Status is `partial`, so only implemented behavior may publish and documentation must not imply the rest.
Identity and Access Administration — Recent Changes
- blocking
- no
- entity
- platform-administration.identity-access.changes
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Identity and Access Administration — Interface
- blocking
- no
- entity
- platform-administration.identity-access.interface
- reasons
- partial-capability: bound capability is partially implemented; documentation must not imply unimplemented behavior
Tool, table, and column access
A tool is an operation. A table or column is data that operation may reach.
Why “column-level”?
A database table groups related records. A column is a named field in those records: customer name, ticket status, or salary. Data owners often care about a specific sensitive field, even when the rest of a table is useful.
An MCP query tool may reach many tables. Granting access to that tool answers “may this operation be invoked?” It does not by itself answer “may this caller read salary?”
FaburAI supports target bindings including tools, resources, and columns. Tool and data checks can both matter. “Column-level, not tool-level” makes that relationship sound exclusive; govern tools and the data they reach is clearer.
Recognition matters
The gateway extracts supported data targets from tool arguments and resolves them against catalog entries. The current source includes PostgreSQL SQL parsing, catalog column resolution, wildcard handling, and declarative tool target extractors.
This is not universal parsing of every database dialect or arbitrary tool. Ambiguous or unparseable PostgreSQL requests have conservative expansion paths in the source. Inspect and test your exact argument shape and catalog mappings.
Denial is not masking
In the gateway path, a relevant resource or column deny can block the whole tool call in enforce mode. Do not interpret that as automatically removing one field, rewriting SQL, masking values, or returning a filtered result.
The browser demo restricts a whole sample payroll resource. The live starter tutorial tests a tool-level denial. Neither is a runtime verification of column enforcement against your database.
Test a data policy before relying on it
Use synthetic data. Confirm that permitted requests still work, explicit sensitive-column requests are blocked, wildcard requests behave as intended, and supported joins and aliases resolve correctly. Inspect the decision's inferred targets and matched rules. Apply database permissions as well as the gateway policy.
Next: How policy decisions work or govern a scoped target.
Read a decision without guessing
Separate the policy verdict, execution permission, upstream result, and evidence that was recorded.
Ask four questions
- What did policy decide?
- Did the configured mode permit execution?
- Did the upstream tool succeed?
- Was the corresponding invocation evidence recorded?
A single green badge cannot reliably answer all four.
The fields work together
Three outcomes that look similar
Policy denied and blocked: deny verdict, allowed: false, enforce mode. Investigate the matched rule and target.
Policy denied but permitted by mode: deny verdict, allowed: true, observe or simulate mode. The ordinary invocation can still reach the tool.
Policy allowed but upstream failed: the access decision passed, but connectivity, upstream credentials, or the tool operation failed. Changing the allow policy does not repair those failures.
History describes that moment
A stored decision explains the request and policy context recorded at its time. Testing against today's policy is a new evaluation; it does not rewrite what happened previously.
When audit evidence is missing, distinguish a dry-run check from a real invocation, then inspect telemetry health. The absence of a record does not establish that a call was denied or never happened.
Next: Investigate one decision or try sample history in the demo.
Choose the deployment boundary
Understand who runs each component and where requests, policies, and recorded data belong.
Start with ownership
Deployment names such as SaaS, private cloud, on-premises, and air-gapped describe operating boundaries. Ask who runs the Control Plane, who runs each Data Plane, where enforcement happens, and how images and updates arrive.
The reference corpus lists deployment assets in the selected source snapshot. A Kubernetes manifest or profile is evidence of an asset, not proof that every installation is ready for production.
What the planes do
The Control Plane handles platform administration and deployment coordination. The Data Plane hosts the catalog, policy, gateway, and telemetry services used by the governed environment. Local enforcers can evaluate published bundles at their integration points.
The private workbench learning stack runs a Data Plane, database, and starter MCP server. It is an intentionally small learning environment, not a complete production architecture.
Questions to settle before installation
Offline documentation
The same corpus supports public, embedded, and offline projections with visibility filtering. Read the bundled documentation for the deployed version. Authored pages and runtime examples still need verification in your chosen environment.
Next: Deploy and operate or deployment reference.
What does discovery tell you?
Discovery builds an inventory from what a reachable server exposes and what supported enrichment can resolve.
Start with the MCP endpoint
FaburAI contacts a registered MCP endpoint and inspects the metadata it exposes. Tools describe operations. Resources describe addressable data. Prompt templates describe reusable prompt inputs when the server offers them.
A connection can exist before discovery succeeds. Look at run status and the discovered catalog rather than treating a saved form as proof of connectivity.
What “data systems” means
A database, repository, object store, or business service behind an MCP server is a data system. It is where the underlying information lives. HTTP, SSE, and stdio describe communication transports; they are not data systems.
FaburAI discovery → MCP server → exposed metadata
→ supported enrichment → catalog assets
The server's tools and access permissions determine what is visible. Some integrations expose or enrich schema information such as datasets, tables, and columns. Others expose only tools or higher-level resources.
One catalog model
A catalog model is the common structure used to describe different entities and relationships. It is not necessarily an AI language model. An AI model can itself be one entity in that structure, alongside actors, applications, tools, and resources.
“One model for the whole estate” means one representation for that inventory. It does not mean FaburAI replaces every AI model with a single provider model.
If a column does not appear, check whether the server exposes schema metadata, whether enrichment is configured, and whether its credentials can inspect the source. Do not infer column coverage from a successful tools/list alone.
Discovery inventory and observed runtime activity answer different questions: what is known to exist, and what has actually been used.
Next: Connect a server, data granularity, or discovery troubleshooting.
Plain-language glossary
Translate the product vocabulary into the thing you are looking at or trying to do.
The words you will meet
Keep these distinctions close
A server is not its database. A catalog model is not necessarily a language model. A policy decision is not proof of upstream success. A browser demo is not live enforcement.
Next: What FaburAI does or follow a request.
Whose identity is being used?
Separate the person, AI actor, product session, and credential used to reach an MCP server.
Four identities can appear in one workflow
Casey signs in to the FaburAI console to configure a connection. The Support Assistant calls a tool. The tool reaches a database using a server credential. These are related identities, but they do not grant the same access.
The gateway authentication paths
The current gateway supports a user bearer token, an actor API key, or an actor key with a delegated user token. The installation must enable user-token verification for user and delegated-user paths.
For delegation, the verified user's roles take precedence over the actor's assigned roles. The actor remains the recorded subject. Do not assume an assistant inherits unrestricted access because it has a more privileged service role.
Caller-supplied model and application metadata describe the request's provenance. They are not a substitute for authenticated identity.
Do I need credentials for a GitHub MCP server?
You need the credential required by that endpoint. An authenticated remote MCP service may require a personal access token or its supported authorization flow. The token's scopes and repository permissions determine what the upstream service can do.
Your FaburAI login does not automatically authenticate the upstream server. Avoid putting tokens in endpoint URLs or documentation examples. Follow the endpoint's current authentication instructions, and keep credentials in the deployment's supported secret mechanism.
The bundled starter echo server used by the working tutorial requires no external provider credential. The browser demo requires no credential of any kind.
Before diagnosing a denial
Confirm the resolved actor or user, the effective roles, the intended tool, and the mode. An invalid user token, an upstream 401, and a policy deny belong to different parts of the path.
Next: Connect an application or configure deployment identity.
How does a policy decision work?
Match the caller and target, resolve rule priority, then apply the connection mode.
A policy answers a concrete access question
For example: “May the support assistant invoke this query tool against the payroll resource?” The useful pieces are the caller, action, target, conditions, effect, and priority.
A binding attaches a rule to a catalog entity, such as a tool or resource. A selector narrows which requests match. A rule's lifecycle state also matters: a draft should not be treated as a published access rule.
Priority comes before effect
In the current Data Plane evaluator, the highest-priority matching rule determines the decision for a target. If rules at that highest priority disagree, deny wins. If no rule matches the primary target, evaluation returns an implicit deny.
“Deny always overrides allow” is too broad for this evaluator. Deliberately inspect priority when reviewing policy.
A call can touch more than one target
The gateway may evaluate the tool and supported resources or columns inferred from its arguments. A deny at a relevant additional target can block the whole call even when the tool itself was allowed. An additional target with no matching rules is treated differently from a primary-target implicit deny.
That is why allowing a query tool does not necessarily authorize every table it can query. Target recognition depends on catalog entries, argument extraction, and the request shape. Data granularity explains the boundary.
Decision and execution are different
These modes do not turn an actual invocation into a dry run. A /gateway/check request checks policy without calling the upstream tool. A /gateway/invoke request may execute work in observe or simulate mode. Actor-blocking and other validation paths have their own behavior; use the returned fields and relevant reference.
Inspect the evidence
Read decision, allowed, policyMode, matchedRules, explanation, and invocationId together. A denied verdict with allowed: true can be consistent with observe mode. An allowed verdict with an upstream error is a different problem from policy denial.
Next: Compare outcomes in the browser demo, run a real allow/deny exercise, or investigate a decision.
Where does a request go?
Separate policy management from the component that evaluates and forwards a particular call.
Two paths to understand
A policy is a rule about access. An enforcement point is the component that applies that rule when a request arrives. Keeping these separate makes the architecture easier to read.
FaburAI's source includes a central Data Plane gateway and a local policy enforcer. Do not assume that every integration follows the same request path.
Central gateway path
AI application + caller credential
|
v
FaburAI Data Plane gateway
| Resolve actor, tool, and supported data targets
| Evaluate applicable policy
| Apply observe / simulate / enforce mode
|
+-- Blocked: return the decision
|
+-- Permitted: forward to the MCP server
|
v
Database / repository / service
The gateway is in this request path. A permitted policy decision allows forwarding; it does not guarantee that the MCP server will succeed. The upstream server still checks its own credentials and permissions.
The gateway attempts to record telemetry for actual invocations. Check for an invocation ID and the corresponding record rather than assuming that every response proves an audit row was stored.
Local-enforcer path
FaburAI policy management
|
v
Published policy bundle --> Local enforcer in your environment
^
|
Application request
The local enforcer evaluates a downloaded bundle. A policy-management service does not have to receive each request for that evaluation. Your deployment and integration determine how an allowed request reaches the tool and how telemetry is sent back.
This explains the phrase “publish policy; your environment enforces it.” It describes the distributed enforcement design, not a universal claim that every FaburAI component is outside all traffic.
Which component owns which job?
Before integrating
Identify your actual endpoint, enforcing component, identity configuration, server mode, and telemetry destination. A registration in the catalog alone does not reroute an application that still calls an MCP server directly.
Next: Understand policy decisions, or connect an application.
What does FaburAI do?
Know which tools your AI applications can reach, decide what they may do, and inspect the resulting decisions.
Start with a familiar problem
Your support application uses an AI assistant to answer customer questions. The assistant can ask a database tool for ticket information. That is useful—until the same tool can also reach payroll data.
You need to know what is reachable, decide which requests are permitted, and explain what happened when a request was blocked. FaburAI brings those jobs together around Model Context Protocol (MCP) connections.
MCP gives an AI application a standard way to discover and call tools. The MCP server exposes those tools. The database, repository, or service behind that server does the actual business work.
Four product areas, four practical jobs
AI estate means the collection of AI applications, actors, servers, tools, and data assets you manage. Mesh describes their connected relationships. You can learn the workflow without memorizing either term.
Follow one request
The support application proposes a tool call. In the central gateway path, the FaburAI Data Plane resolves the caller and target, evaluates applicable policy, applies the server's operating mode, and forwards a permitted call to the MCP server. It also attempts to record invocation and decision evidence.
A separate local-enforcer path uses a published policy bundle in the application's environment. The enforcing component and request route depend on the deployment. Start with the request map before choosing an integration.
What the first example teaches
The interactive demo uses fictional tickets and payroll tables to show a connection, discovery, a permitted request, a restriction, and a decision. Its actions are simulated in your browser.
The working tutorial uses a real sample MCP server and an echo tool. It proves discovery, forwarding, denial, and recorded evidence without requiring an AI model or external account. It does not prove table or column governance.
Choose your next step
Verify health from process to request
A responding web page is the first check. A governed call is the useful end-to-end check.
Work from the outside inward
Existing private workbench stack
From its sandbox directory, inspect status and recent product logs:
docker compose --env-file .env ps
docker compose --env-file .env logs --tail=100 data-plane
The stack's health probes use /readyz for the Data Plane and /healthz for the starter server. Inspect startup and migration errors even when the process is running. Do not paste logs containing secrets into shared channels.
Check the actual path
Run the working tutorial to verify its sample discovery, forwarded result, enforced denial, and invocation evidence. A check endpoint alone does not prove upstream execution or recording.
For local-enforcer deployments, verify bundle delivery and the application's actual route through that enforcer. A healthy central gateway is not evidence for a separate local path.
Next: First-call troubleshooting or upgrade and recovery.
Configure the identity boundary
Verify who can administer the deployment and how applications authenticate their requests.
Three separate boundaries
Console access controls administration. Gateway identity identifies the user or actor submitting a call. Upstream authentication controls what the MCP server and its data system will permit.
A working console login does not prove that a user token will be accepted by the gateway, or that the upstream server can read a repository.
Confirm the installation's settings
Use the Data Plane configuration reference. Confirm issuer, audience, role mapping, required-auth behavior, and the approved login flow for the selected release.
When user-token verification is not configured, the user and delegated-user gateway paths are unavailable. Do not “fix” that by trusting identity supplied in the JSON body.
Verify with distinct callers
Test an authorized console administrator, an application actor with its own key, and a supported delegated user where configured. Confirm the resolved roles and expected denial for an inappropriate caller.
Treat model, application, and workflow metadata as provenance. Verify identity independently. Rotate a compromised credential using the product's supported workflow and coordinate dependent clients.
Learning environment boundary
The existing workbench sandbox disables required console OIDC authentication for private learning. That describes this sandbox, not a production recommendation. Its temporary tutorial actor key is created only for the exercise and removed with its actor.
Next: Identity explained or connect an application.
Deploy and operate FaburAI
Start with the deployment boundary, then configure identity, verify health, and plan changes.
Pick the job you need to do
Learning versus operating
The private workbench sandbox is for exploring the product with synthetic data. It does not establish production readiness, retention guarantees, or compatibility for every deployment profile.
Use the deployment models explanation and generated deployment reference to locate the assets for your intended environment. Version and review those assets before applying them.
Keep ownership explicit
Name an owner for the deployment, MCP endpoints, identity configuration, policy publication, telemetry stores, and recovery. Each can fail independently; documentation should help you identify the responsible boundary.
Next: Prepare an installation.
Prepare an installation
Gather the versioned assets and required configuration before starting product services.
Identify the deployment you are installing
Read the deployment model, then select its versioned manifests or Compose definition. The repository's general Compose file starts infrastructure dependencies; it is not by itself a complete product installation.
The current reference includes profile-specific resources. Their presence records source assets, not a verification of all providers or installation environments.
Preparation checklist
- Select the product release and its matching documentation corpus.
- Confirm platform capacity, network routes, persistent stores, and required services.
- Configure Data Plane database access, session/secret keys, and identity requirements through the supported deployment mechanism.
- Decide whether a Control Plane and local enforcer are part of this installation.
- Confirm how the Data Plane reaches MCP endpoints and how applications reach the enforcement point.
- Define backup, restore, logging, and ownership before using non-synthetic data.
Use Data Plane configuration and Control Plane configuration for names and defaults. A documented default is not a recommendation to expose a development service publicly.
Existing workbench learning stack
The learning stack already runs a Data Plane, Postgres, and a starter MCP server. Its Compose file is in /home/hansari/fabur_ai/scratch-pad/faburai-workbench-sandbox. Check its README and local configuration before starting it:
docker compose --env-file .env ps
docker compose --env-file .env up -d
Run these commands from that sandbox directory. Preserve its .env outside version control. Its compatibility patch and earlier product snapshot are recorded in the sandbox README.
Installation acceptance
Confirm process health, storage connectivity, identity behavior, MCP discovery, a real permitted call, a real enforced denial, and readable audit evidence. The starter exercise covers the last four for its narrow learning scenario.
Next: Configure identity and verify health.
Upgrade and recover deliberately
Preserve the deployed version, data, and recovery evidence before changing services.
Know what can change
Images, database schema, deployment configuration, policy bundles, and documentation can move independently. Record the exact version and source snapshot you are replacing.
This guide is an operator checklist. It does not assert that the product supplies automatic backup, configurable retention, or one-command rollback.
Before an upgrade
- Inspect the live checkout and deployment configuration; resolve unexplained changes.
- Create a consistent backup of the actual persistent stores and preserve its restore instructions.
- Retain the previous image/version and the matching configuration and documentation artifact.
- Review schema migrations and whether an old image can run against the migrated database.
- Build and validate the candidate before replacing healthy services.
After the change
Check readiness, migrations, identity, discovery, a permitted call, an enforced denial, and recorded evidence. Use synthetic data for verification. Compare the deployed documentation version with the running product.
If a check fails, identify the affected layer. Restore the known compatible application and data state according to the tested recovery procedure. Reverting only an image may be insufficient after a schema change.
Existing learning stack
Its named database volume survives an ordinary docker compose down. Removing volumes erases persisted learning state. Use the sandbox README's backup and update instructions; the docs rebuild preview is a separate static service.
Next: Health checks or release information.
Platform Administration & Deployment
Understand deployment ownership, identity, health, and change management.
The Control Plane handles platform administration and deployment coordination. The Data Plane provides catalog, policy, gateway, and telemetry services in the governed environment. Local enforcers can consume published bundles at their integration points.
Identify who operates each component, the identity requirements, request route, persistent stores, and artifact delivery process. Versioned deployment assets are a starting point for an installation review, not proof of readiness in every environment.
Next: Deployment models, operator path, or installation preparation.
Billing and Credits
Review credit balances, consumption, and billing for a FaburAI tenant.
FaburAI's billing model is credit-based and metered per governance event, not per seat or per API call. Every governed request is recorded as a usage event with a stable meter code (for example runtime.policy_evaluation.standard or runtime.policy_evaluation.complex), and the launch price book — versioned as launch-2026-08 — translates those events into credits using a per-meter conversion rate.
Event capture happens on the data plane in data-plane/modules/metering, which implements the Local Usage Journal: an append-only, idempotent record of billable activity that is deliberately kept separate from gcdm_invocations and gcdm_decision_logs (those exist for governance and audit; metering has its own lifecycle so a billing outage can never lose an audit row, and vice versa). The Journal writes into gcdm_usage_events, and a per-hour Usage Aggregator rolls those events into gcdm_usage_rollups bucketed by meter and hour — that rollup table is what the Metering & Billing tab in AI Cockpit reads. There is also a manual POST /api/dp/v1/metering/rollup for on-demand aggregation, mostly used in test and demo settings where you don't want to wait for the hourly tick.
Rating — the translation from quantities into credits owed — lives in the control plane, in control-plane/modules/billing. This split is intentional: the data plane's estimate is what you see in-product for a locally-connected tenant, but the control plane's price book is the authority on what's actually billable. The launch catalog has 10 live meters covering runtime governance (policy evaluations), asset counts (active MCP servers, actors, data sources, policies), and jobs (discovery scans, drift checks), plus three reserved meters (approval workflow, AI assist, gateway dry-run) that rate to zero today so early customers see them accounted for even if we haven't turned them on yet.
Every rated row carries the price-book version it was rated under, so introducing per-tenant contracted price books later — with different rates, effective dates, or waivers — will never silently re-rate history. All money math is NUMERIC(24,6) for exact decimal precision, and the dedupe path uses the invocation ID as the idempotency key so a retried batch never double-counts.
The cross-tenant staff console at the control plane's /usage route lets Platform Operations see rollups across the fleet; tenant-side users see their own consumption in the AI Cockpit's Metering & Billing tab. On trial tenants the tab is hidden (there is no billable meter under a trial) — that gating lives in the Cockpit UI layer, per decision D-5.6.
Features
Local Usage Journal
- description
- Append-only per-event log on the data plane (gcdm_usage_events) with idempotency keys, deliberately separate from audit tables so a billing outage never loses an audit row.
Usage Aggregator
- description
- Hourly rollup of raw usage events into gcdm_usage_rollups bucketed by meter and hour; also exposed as a manual POST /api/dp/v1/metering/rollup for on-demand aggregation.
Meter catalog
- description
- 10 live meters covering runtime governance, asset counts, and jobs, plus 3 reserved meters that rate to zero pending activation.
Launch price book
- description
- Versioned per-meter conversion rates (launch-2026-08) recorded on every rated row, so introducing per-tenant contracted price books later never silently re-rates history.
Control plane rating engine
- description
- The control plane's billing module is the authority on what is billable; the data plane's estimate is shown in-product for Cockpit users but the control plane's price book wins for invoicing.
Trial tier gate
- description
- The Metering & Billing tab is hidden for trial tenants — there is no billable meter under a trial, per decision D-5.6.
Interfaces
data-plane serves /billing
- note
- AI Cockpit → Metering & Billing tab; reads gcdm_usage_rollups aggregated hourly from gcdm_usage_events
Billing and Credits — Recent Changes
The 2 most recent commits touching Billing and Credits, newest first.
Recent Commits
2026-09-21 Fix control-plane pricebook drift for job.estate_scan and reserved meters
- commit
- 12fd3b9613e2
- date
- 2026-09-21
- files
- control-plane/modules/billing/backend/pricebook.go, control-plane/modules/billing/backend/pricebook_test.go
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- control-plane/modules/billing/backend/models.go, control-plane/modules/billing/backend/pricebook.go, control-plane/modules/billing/backend/store.go, control-plane/modules/billing/ui/usage-page.tsx
Billing and Credits — Interface
User interface surfaces for Billing and Credits in the data-plane.
Interfaces
/billing
- component
- Billing
Control Plane
Central management, provisioning, tenant, fleet, and deployment coordination plane.
The Control Plane is the one FaburAI service that knows about every tenant. Its router (control-plane/app/backend/gateway/router.go) mounts a single API group at /api/control-plane, and everything under it is either a public lookup used by tenant-facing SPAs at startup, or gated behind a staff-only middleware group — tenants, the per-tenant IdP credentials handler, fleet, and registry are all staff routes, meaning day-to-day tenant and cluster administration is a FaburAI-operator activity, not something a customer does through this plane. Tenant-scoped routes (cluster listing, tenant Kubernetes cluster registration) sit outside that gate and rely on the handlers themselves to filter by tenant ID.
Its backend modules split cleanly along that job: tenants owns tenant records and their settings; provisioning and clusters create and manage the actual Data Plane deployments a tenant runs on, including the multi-cluster fan-out used when applying configuration changes; fleet and registry track the Kubernetes clusters available to the platform (system-owned or tenant-owned) and basic key/value configuration; secrets provides the encryption service the tenants module uses to store IdP credentials at rest; billing tracks credit and consumption; and docs has no backend of its own — it mounts the shared docsserve package to serve the Control Plane's own copy of the documentation corpus.
Two plain, unauthenticated endpoints exist specifically for Data Planes to talk back to the Control Plane: POST /api/cp/v1/register, which a Data Plane calls on boot, and POST /api/cp/v1/heartbeat, which it calls periodically to report health — the handler tries to match the reporting cluster by cluster ID, then by Kubernetes namespace, then by tenant ID, so a heartbeat still lands even if the caller only knows one of those identifiers. The Control Plane also exposes its documentation corpus to Data Planes over /api/cp/v1/docs-relay, so a Data Plane without its own reachable corpus can proxy documentation reads through the Control Plane instead of carrying a second copy.
In short, the Control Plane is the multi-tenant control surface: it is where tenants, their clusters, and the Data Planes running in those clusters are created, tracked, and administered, while the governance work itself — policies, catalog, enforcement — happens entirely inside each tenant's own Data Plane.
Control Plane — API Reference
HTTP endpoints served by the control-plane for this capability (13 endpoints). 9 response schemas could not be derived from source and are recorded as unknown.
Endpoints
GET /api/auth/me
- description
- GetMe returns the current persona.
- response type
- map[string]any
- middleware
- PersonaMiddleware(...)
GET /api/auth/personas
- description
- GetPersonas returns the list of available personas.
- middleware
- PersonaMiddleware(...)
POST /api/auth/switch
- description
- SwitchPersona sets the persona cookie.
- middleware
- PersonaMiddleware(...)
GET /api/control-plane/impersonation/{grantId}
- middleware
- PersonaMiddleware(...), AuthMiddleware(...)
POST /api/control-plane/impersonation/{grantId}/extend
- middleware
- PersonaMiddleware(...), AuthMiddleware(...)
POST /api/control-plane/impersonation/{grantId}/revoke
- middleware
- PersonaMiddleware(...), AuthMiddleware(...)
POST /api/control-plane/tenants/{tenantId}/impersonate
- middleware
- PersonaMiddleware(...), AuthMiddleware(...)
GET /api/control-plane/tenants/{tenantId}/impersonation
- middleware
- PersonaMiddleware(...), AuthMiddleware(...)
GET /api/control-plane/tenants/{tenantId}/impersonation/active
- description
- getActive is the DP-facing read: "is a grant active right now for this
tenant?" DPs poll this and, if a grant is active, render the in-tenant
banner naming the staff email + expiry + reason. No secrets returned.
- middleware
- PersonaMiddleware(...)
POST /api/cp/v1/heartbeat
- middleware
- PersonaMiddleware(...)
POST /api/cp/v1/register
- middleware
- PersonaMiddleware(...)
GET /healthz
- middleware
- PersonaMiddleware(...)
GET /readyz
- middleware
- PersonaMiddleware(...)
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 58
- runtime only
- 0
Control Plane — Recent Changes
The 5 most recent commits touching Control Plane, newest first.
Recent Commits
2026-10-03 Verify onboarding and package versioned docs previews with rollback
- commit
- e625cd918db1
- date
- 2026-10-03
- files
- control-plane/app/backend/gateway/routes.census.json
2026-10-03 Build reader-first docs and browser-only product walkthrough
- commit
- ae0ff1868f0a
- date
- 2026-10-03
- files
- control-plane/modules/docs/ui/docs-page.tsx
2026-09-21 Fix control-plane pricebook drift for job.estate_scan and reserved meters
- commit
- 12fd3b9613e2
- date
- 2026-09-21
- files
- control-plane/modules/billing/backend/pricebook.go, control-plane/modules/billing/backend/pricebook_test.go
2026-09-15 D-9.13: CP-brokered auth for DP + D-9.10/9.11 multi-pool CP + D-9.12 impersonation
- commit
- 0d82184ae4a5
- date
- 2026-09-15
- files
- control-plane/app/backend/cmd/main.go, control-plane/app/backend/config/config.go, control-plane/app/backend/gateway/dp_login.go, control-plane/app/backend/gateway/oidc.go, control-plane/app/backend/gateway/router.go, control-plane/app/backend/gateway/tenant_oidc.go, control-plane/app/ui/src/components/tenant-admin-layout.tsx, control-plane/migrations/000009_superadmin_impersonation.down.sql, control-plane/migrations/000009_superadmin_impersonation.up.sql, control-plane/modules/superadmin/backend/expiry_ticker.go, control-plane/modules/superadmin/backend/handler.go, control-plane/modules/superadmin/backend/models.go, control-plane/modules/superadmin/backend/store.go, control-plane/modules/superadmin/backend/store_test.go
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- control-plane/Dockerfile, control-plane/Makefile, control-plane/app/backend/cmd/main.go, control-plane/app/backend/config/config.go, control-plane/app/backend/gateway/auth.go, control-plane/app/backend/gateway/clerk.go, control-plane/app/backend/gateway/docs_test.go, control-plane/app/backend/gateway/oidc.go, control-plane/app/backend/gateway/persona.go, control-plane/app/backend/gateway/route_census_test.go, control-plane/app/backend/gateway/router.go, control-plane/app/backend/gateway/routes.census.json, control-plane/app/ui/index.html, control-plane/app/ui/package.json, control-plane/app/ui/postcss.config.js, control-plane/app/ui/public/apple-touch-icon.png, control-plane/app/ui/public/favicon-16.png, control-plane/app/ui/public/favicon-32.png, control-plane/app/ui/public/favicon.ico, control-plane/app/ui/src/App.tsx, control-plane/app/ui/src/components/idp-credentials-card.tsx, control-plane/app/ui/src/components/layout.tsx, control-plane/app/ui/src/components/persona-switcher.tsx, control-plane/app/ui/src/components/sidebar.tsx, control-plane/app/ui/src/components/tenant-admin-layout.tsx, control-plane/app/ui/src/components/tenant-admin-pages.tsx, control-plane/app/ui/src/index.css, control-plane/app/ui/src/main.tsx, control-plane/app/ui/tailwind.config.ts, control-plane/app/ui/tsconfig.json, control-plane/app/ui/vite.config.ts, control-plane/go.mod, control-plane/go.sum, control-plane/migrations/000001_create_control_plane.down.sql, control-plane/migrations/000001_create_control_plane.up.sql, control-plane/migrations/000002_add_cluster_connection.down.sql, control-plane/migrations/000002_add_cluster_connection.up.sql, control-plane/migrations/000003_cluster_registry_and_config.down.sql, control-plane/migrations/000003_cluster_registry_and_config.up.sql, control-plane/migrations/000004_tenant_idp_config.down.sql, control-plane/migrations/000004_tenant_idp_config.up.sql, control-plane/migrations/000005_tenant_idp_credentials.down.sql, control-plane/migrations/000005_tenant_idp_credentials.up.sql, control-plane/migrations/000006_tenant_account_kind_and_trials.down.sql, control-plane/migrations/000006_tenant_account_kind_and_trials.up.sql, control-plane/migrations/000007_onboarding_state_v2.down.sql, control-plane/migrations/000007_onboarding_state_v2.up.sql, control-plane/migrations/000008_usage_events.down.sql, control-plane/migrations/000008_usage_events.up.sql, control-plane/modules/billing/backend/models.go, control-plane/modules/billing/backend/pricebook.go, control-plane/modules/billing/backend/store.go, control-plane/modules/billing/ui/usage-page.tsx, control-plane/modules/clusters/backend/credentials.go, control-plane/modules/clusters/backend/handler.go, control-plane/modules/clusters/backend/models.go, control-plane/modules/clusters/backend/remote_client.go, control-plane/modules/clusters/backend/store.go, control-plane/modules/clusters/ui/clusters-page.tsx, control-plane/modules/docs/ui/docs-page.tsx, control-plane/modules/fleet/backend/handler.go, control-plane/modules/fleet/backend/models.go, control-plane/modules/fleet/backend/store.go, control-plane/modules/fleet/ui/fleet-health-page.tsx, control-plane/modules/provisioning/backend/onprem.go, control-plane/modules/provisioning/backend/profiles.go, control-plane/modules/provisioning/backend/provisioner.go, control-plane/modules/provisioning/backend/saas.go, control-plane/modules/registry/backend/handler.go, control-plane/modules/registry/backend/models.go, control-plane/modules/registry/backend/store.go, control-plane/modules/registry/ui/registry-page.tsx, control-plane/modules/secrets/backend/secrets.go, control-plane/modules/tenants/backend/admin_provision_handler.go, control-plane/modules/tenants/backend/credentials_handler.go, control-plane/modules/tenants/backend/handler.go, control-plane/modules/tenants/backend/models.go, control-plane/modules/tenants/backend/store.go, control-plane/modules/tenants/backend/tier_middleware.go, control-plane/modules/tenants/backend/trial_cron.go, control-plane/modules/tenants/backend/trial_provisioner.go, control-plane/modules/tenants/backend/trial_provisioner_real.go, control-plane/modules/tenants/backend/trial_provisioner_seed.go, control-plane/modules/tenants/ui/tenants-page.tsx, control-plane/modules/tenants/ui/trials-page.tsx, control-plane/scripts/entrypoint.sh
Control Plane — Configuration Reference
Environment variables that configure the control-plane (30 settings).
Configuration
FABURAI_CP_PORT
- description
- Server
- default
- 8080
- type
- int
- required
- no
- field
- Port
FABURAI_CP_HOST
- default
- 0.0.0.0
- type
- string
- required
- no
- field
- Host
FABURAI_CP_ENV_NAME
- default
- development
- type
- string
- required
- no
- field
- EnvName
FABURAI_CP_DATABASE_URL
- description
- Database
- type
- string
- required
- yes
- field
- DatabaseURL
FABURAI_CP_JWT_SECRET
- description
- Auth
- default
- dev-secret-change-me
- type
- string
- required
- no
- holds credential
- yes
- field
- JWTSecret
FABURAI_CP_JWT_ISSUER
- default
- faburai-cp
- type
- string
- required
- no
- field
- JWTIssuer
FABURAI_CP_JWT_EXPIRY_MIN
- default
- 5
- type
- int
- required
- no
- field
- JWTExpiryMin
FABURAI_CP_STATIC_DIR
- description
- Frontend
- default
- app/ui/dist
- type
- string
- required
- no
- field
- StaticDir
FABURAI_CP_DOCS_CORPUS_DIR
- description
- DocsCorpusDir is the Canonical Documentation Corpus baked into the image at build time. Empty or missing means embedded documentation is simply not mounted — the plane boots fine without it, which keeps the corpus a build artifact rather than a runtime dependency.
- default
- docs-corpus
- type
- string
- required
- no
- field
- DocsCorpusDir
FABURAI_CP_LOG_LEVEL
- description
- Logging
- default
- info
- type
- string
- required
- no
- field
- LogLevel
FABURAI_CP_LOG_FORMAT
- default
- json
- type
- string
- required
- no
- field
- LogFormat
FABURAI_CP_EXTERNAL_ENDPOINT
- description
- External address — how DPs reach this CP (for heartbeats/registration) For local dev with kind: http://172.18.0.1:8082 (host gateway IP + CP port)
- type
- string
- required
- no
- field
- ExternalEndpoint
FABURAI_CP_AUTH_PROVIDER
- description
- AuthProvider selects which OIDC issuer shape the CP expects. "auth0" → uses OIDCIssuerDomain (prepends https://, trailing slash); sends ?audience= and ?organization= params. "cognito" → uses CognitoIssuer directly as the issuer URL (https://cognito-idp.<region>.amazonaws.com/<pool-id>); skips audience+organization (Cognito rejects both); uses CognitoHostedUI for the login + logout redirects. Empty = defaults to "auth0" so existing deploys keep working. Set explicitly to "cognito" to point CP at the faburai-staff pool per D-9.9 + D-9.10.
- type
- string
- required
- no
- field
- AuthProvider
FABURAI_CP_OIDC_ISSUER_DOMAIN
- description
- Auth0 / OIDC Domain like dev-m1ccjy5auy7h7h8e.us.auth0.com (no scheme, no trailing slash)
- type
- string
- required
- no
- field
- OIDCIssuerDomain
FABURAI_CP_OIDC_CLIENT_ID
- type
- string
- required
- no
- field
- OIDCClientID
FABURAI_CP_OIDC_CLIENT_SECRET
- type
- string
- required
- no
- holds credential
- yes
- field
- OIDCClientSecret
FABURAI_CP_OIDC_AUDIENCE
- default
- https://api.faburai.com
- type
- string
- required
- no
- field
- OIDCAudience
FABURAI_CP_COGNITO_ISSUER
- description
- Cognito — populated when AuthProvider=cognito. Client ID + secret reuse OIDCClientID/OIDCClientSecret above; keeping them under the same names means CallbackHandler, cookie code, and every handler downstream stay provider-agnostic.
- type
- string
- required
- no
- field
- CognitoIssuer
FABURAI_CP_COGNITO_HOSTED_UI
- description
- https://<domain>.auth.<region>.amazoncognito.com
- type
- string
- required
- no
- field
- CognitoHostedUI
FABURAI_CP_OIDC_SUPERADMIN_ORG_ID
- description
- OIDCSuperAdminOrgID gates Super Admin via IdP org membership. (D-9.8) Kept alongside role-based check as belt-and-braces — either one grants Super Admin. Legacy env name OIDC_STAFF_ORG_ID still read for backwards compat.
- type
- string
- required
- no
- field
- OIDCSuperAdminOrgID
FABURAI_CP_OIDC_STAFF_ORG_ID
- description
- deprecated alias, drop after all envs migrated
- type
- string
- required
- no
- field
- OIDCStaffOrgID
FABURAI_CP_OIDC_ROLES_CLAIM
- description
- OIDCRolesClaim is the JWT claim path that carries FaburAI role strings. Same convention as DP: Auth0 Actions and Cognito Pre-Token Generation Lambdas both stamp it. Empty = don't try to read roles (org check alone gates Super Admin).
- default
- https://faburai.com/roles
- type
- string
- required
- no
- field
- OIDCRolesClaim
FABURAI_CP_OIDC_DEFAULT_ORG_ID
- description
- pre-selected if no ?org= in URL
- type
- string
- required
- no
- field
- OIDCDefaultOrgID
FABURAI_CP_OIDC_REQUIRE_AUTH
- description
- Defaults true: any deploy with OIDC configured locks down /api/* by default. Set FABURAI_CP_OIDC_REQUIRE_AUTH=false explicitly for local dev without Auth0.
- default
- true
- type
- bool
- required
- no
- field
- OIDCRequireAuth
FABURAI_CP_SESSION_KEY
- description
- Cookie signing key — 32+ random bytes, base64
- default
- dev-session-key-change-me-32bytes
- type
- string
- required
- no
- holds credential
- yes
- field
- SessionKey
FABURAI_CP_SECRETS_KEY
- description
- Per-tenant credential encryption — AES-GCM. 32 bytes, base64 encoded. REQUIRED when any tenant has IdP credentials configured. Without this, the secrets module fails fast at startup so we never silently store plaintext. Generate via: openssl rand -base64 32
- type
- string
- required
- no
- holds credential
- yes
- field
- SecretsKey
FABURAI_CP_CLERK_JWKS_URL
- description
- Clerk — used by the trial-signup endpoint (POST /trials/signup) which authenticates a public web visitor without Auth0. If unset, the signup route is not mounted and the trial SPA falls back to staff-mediated provisioning.
- type
- string
- required
- no
- field
- ClerkJWKSURL
FABURAI_CP_CLERK_ISSUER
- type
- string
- required
- no
- field
- ClerkIssuer
FABURAI_CP_CLERK_SECRET_KEY
- type
- string
- required
- no
- holds credential
- yes
- field
- ClerkSecretKey
FABURAI_CP_TRIAL_DP_BASE_URL
- description
- TrialDPBaseURL is the base of the shared trial DP (e.g. https://trial-stage-dp.faburai.com). The signup handler appends /t/<slug> and returns it as Trial.TenantDPUrl. Empty disables the computed URL — the SPA stays on the provisioning screen.
- type
- string
- required
- no
- field
- TrialDPBaseURL
Data Plane
Tenant-local product plane hosting catalog, control, enforcement, telemetry, AI Graph, and Cockpit functionality.
Where the Control Plane knows about every tenant, a Data Plane knows about exactly one. It runs inside that tenant's own cluster (or namespace, in the shared SaaS path) and is where the actual work of governing AI activity happens — the Control Plane only creates, tracks, and administers Data Planes; it never sees the tenant's tools, policies, or invocation traffic directly.
Its router (data-plane/app/backend/gateway/router.go) mounts the current API under /api/dp/v1, alongside a large set of legacy /api/* compatibility routes the existing React frontend still calls. The module list under data-plane/modules/ reads as the product's full governance pipeline: catalog holds the inventory of MCP servers, tools, resources, and AI Actors; discovery and actordiscovery find and register that inventory automatically; policy authors and evaluates governance rules and compiles them to the Rego bundle the enforcement path consumes; mcpgateway and mcpproxy are the actual traffic paths a governed MCP call goes through; aigraph builds the AI Graph relationship map between actors, tools, and data; telemetry and cockpit turn invocation and decision events into the observability and FinOps surfaces; identity and secrets handle the Data Plane's own auth and at-rest credential encryption for connectors; and edges and connectors manage the MCP connections themselves. nlp is small and specific: it backs the natural-language policy-drafting box, using the same OpenAI key as the policy drafter and falling back to heuristic matching with no key configured.
A Data Plane is also where policy decisions are actually made. The /api/dp/v1/policy-bundle endpoint compiles a tenant's authored policies into a Rego bundle plus resolution maps (tool, table, and column IDs), which a Policy Enforcer — running as a sidecar at the customer's network edge, outside this Go process entirely — pulls and evaluates locally. That split matters operationally: enforcement decisions keep working even if the Data Plane itself is briefly unreachable, because the compiled bundle and the Rego evaluation live with the Enforcer, not the DP. What the Enforcer sends back is telemetry, not a request for a decision — /api/dp/v1/telemetry/batch accepts batched invocation and decision events from any edge Enforcer and writes them into the same gcdm_invocations / gcdm_decision_logs tables that in-cluster gateway calls use, so Cockpit and the Decisions log render both sources identically.
Like the Control Plane, a Data Plane can serve its own baked-in documentation corpus, but it prefers to proxy reads to the Control Plane's copy when one is reachable (/docs), falling back to its own only in standalone deployments — one canonical corpus, projected from wherever is nearest.
Data Plane — API Reference
HTTP endpoints served by the data-plane for this capability (121 endpoints). 57 response schemas could not be derived from source and are recorded as unknown.
Endpoints
GET /api/activity
POST /api/actor-discovery/reconcile
GET /api/actor-discovery/status
- response type
- ReconcileStatus
GET /api/applications
GET /api/applications/stats
GET /api/auth/me
GET /api/auth/user
GET /api/connectors
POST /api/connectors
- response type
- *McpServer
DELETE /api/connectors/{id}
GET /api/connectors/{id}
PATCH /api/connectors/{id}
GET /api/connectors/{id}/activity
- response type
- []Activity
POST /api/connectors/{id}/discover
POST /api/connectors/{id}/discover-models
GET /api/connectors/{id}/github/repos
POST /api/connectors/{id}/repos
- response type
- *Resource
DELETE /api/connectors/{id}/repos/{resourceId}
POST /api/connectors/{id}/sync
GET /api/credit-accounts
GET /api/credit-usage
GET /api/credit-usage/stats
GET /api/dashboard/activity
GET /api/dashboard/metrics
GET /api/dashboard/stats
POST /api/demo/session/logout
- description
- Logout clears the demo cookie and — best-effort — emits a session.logout
event so the growth timeline shows the visitor left. Always returns 200
so the client-side logout flow can just fire-and-navigate.
- mount condition
- oidcMW != nil
- middleware
- dpmiddleware.DemoReadOnly
GET /api/demo/session/me
- description
- Me returns {email} when the demo cookie is present and verifies, or 401
with {"error":"no_session"} otherwise. The SPA polls this on mount to
decide whether to show the welcome modal.
- mount condition
- oidcMW != nil
- middleware
- dpmiddleware.DemoReadOnly
POST /api/demo/session/start
- mount condition
- oidcMW != nil
- middleware
- dpmiddleware.DemoReadOnly
GET /api/dp/identity
POST /api/dp/v1/connector-probe
GET /api/dp/v1/decisions/{id}/explain
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/discovery-summary
GET /api/dp/v1/edge-deployment-sizes
GET /api/dp/v1/edge-deployments
POST /api/dp/v1/edge-deployments
- response type
- *EdgeDeployment
POST /api/dp/v1/edge-deployments/preview
DELETE /api/dp/v1/edge-deployments/{id}
GET /api/dp/v1/edge-deployments/{id}
- response type
- *EdgeDeployment
PATCH /api/dp/v1/edge-deployments/{id}
- response type
- *EdgeDeployment
GET /api/dp/v1/edge-proxy-catalog
- response type
- []CatalogEntry
GET /api/dp/v1/estate/counts
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/estate/findings
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/findings
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/estate/findings/{id}
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/findings/{id}/block
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/findings/{id}/ignore
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/findings/{id}/promote
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/findings/{id}/unignore
- response type
- *Finding
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/estate/scans
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/scans/cloud
- response type
- *ScanResult
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/estate/scans/github
- response type
- *ScanResult
- mount condition
- estateSvc != nil
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/growth/contacts
- response type
- []Contact
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/growth/contacts
- response type
- *Contact
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/growth/contacts/{id}
- response type
- *Contact
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/growth/events
- response type
- []Event
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/growth/events
- response type
- *Event
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/metering/activity
- response type
- []UsageRollup
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/metering/meters
- response type
- []MeterDetailRow
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/metering/privacy-manifest
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/metering/rollup
- description
- rollup triggers the Usage Aggregator on demand. Production runs this on
an hourly ticker (scheduler.go); exposed here so a demo or the CLI gets
an immediate, correct number rather than waiting for the next tick.
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/metering/seed
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/metering/summary
- response type
- *UsageSummary
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/agents
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/columns
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/mcp-servers
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/resources
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/roles
- response type
- *PickerPage
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/tables
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/picker/tools
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/policy-bundle
POST /api/dp/v1/policy/draft-from-nl
- response type
- *PolicyDraft
POST /api/dp/v1/resolve-targets
- response type
- map[string]any
POST /api/dp/v1/seed/demo
- response type
- *SeedResult
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/support/ask
- description
- POST /ask
- response type
- *AskResponse
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/dp/v1/support/outcomes/stats
- description
- GET /outcomes/stats
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
PATCH /api/dp/v1/support/outcomes/{id}/helpful
- description
- PATCH /outcomes/{id}/helpful
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/telemetry/batch
GET /api/dp/v1/tenant-info
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
POST /api/dp/v1/tenant-info/onboarding
- middleware
- dpmiddleware.DemoReadOnly, AuthMiddleware(...)
GET /api/enforcement/logs
- response type
- []DecisionLog
GET /api/enforcement/stats
- response type
- *EnforcementStats
GET /api/gcdm/agents
- response type
- []Agent
POST /api/gcdm/agents/{id}/api-key
POST /api/gcdm/agents/{id}/approve
- response type
- *Agent
POST /api/gcdm/agents/{id}/block
- response type
- *Agent
GET /api/gcdm/applications
- response type
- []Application
GET /api/gcdm/columns
- response type
- []Column
GET /api/gcdm/datasets
- response type
- []Dataset
GET /api/gcdm/mcp-servers
- response type
- *McpServerListResponse
GET /api/gcdm/models
- response type
- []ModelVersion
GET /api/gcdm/prompt-templates
- response type
- []PromptTemplate
GET /api/gcdm/resources
GET /api/gcdm/roles
- response type
- []SyncedRole
GET /api/gcdm/source-repos
- response type
- []SourceRepo
GET /api/gcdm/tables
- response type
- []Table
GET /api/gcdm/tools
GET /api/governance/events
GET /api/identity/roles
POST /api/identity/sync-roles
GET /api/lineage/access-paths/{id}
GET /api/lineage/connected-entities/{id}
GET /api/lineage/edges
GET /api/lineage/node-details/{id}
GET /api/lineage/node-details/{type}/{id}
GET /api/lineage/node-policies/{id}
GET /api/lineage/nodes
POST /api/mcp/invoke
- response type
- *InvokeResponse
GET /api/models
- response type
- []ModelVersion
GET /api/observability/configs
GET /api/policies
- response type
- []PolicyRule
POST /api/policies
- response type
- *PolicyRule
DELETE /api/policies/{id}
GET /api/policies/{id}
- response type
- *PolicyRule
PATCH /api/policies/{id}
- response type
- *PolicyRule
GET /api/policy-bindings
- response type
- []PolicyBinding
POST /api/policy/evaluate
- response type
- *EvaluateResult
POST /api/seed-demo
- response type
- *SeedResult
GET /api/workflows
GET /api/workflows/stats
GET /healthz
- middleware
- dpmiddleware.DemoReadOnly
GET /readyz
- middleware
- dpmiddleware.DemoReadOnly
Verification
Route extraction agrees with the runtime chi.Walk census for this plane.
- matched
- 207
- runtime only
- 0
Data Plane — Recent Changes
The 15 most recent commits touching Data Plane, newest first.
Recent Commits
2026-10-28 docs-tour: point guide cues toward the measured active control
- commit
- c60ee7595c11
- date
- 2026-10-28
- files
- data-plane/app/ui/src/docs-tour/hint-direction.ts, data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: apply approved guidance across the full console walkthrough
- commit
- 3392dfc5fc7e
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/cue.ts, data-plane/app/ui/src/docs-tour/progression.ts, data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: guide opening steps with spotlight cues without pointer arrows
- commit
- bb87a3779441
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/cue.ts, data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: preview white-only pulses around opening product actions
- commit
- 6c48d150e37d
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css
2026-10-27 docs-tour: keep the feathered surface steady beneath a purple-only pulse
- commit
- e78742eff636
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css
2026-10-27 docs-tour: feather spotlight surfaces consistently across opening steps
- commit
- ef125f5ff777
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: prototype light target surfaces and a single primary action
- commit
- b63eb22c5113
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: restore a visible pulse rhythm and strengthen guide controls
- commit
- c4a5805436b5
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: remove spotlight seams and fade control halos into the backdrop
- commit
- c08af5da36e7
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: unify review cues with a purple-to-white outward pulse
- commit
- 7b0585fa703c
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/cue.ts, data-plane/app/ui/src/docs-tour/tour.css
2026-10-27 docs-tour: strengthen radiating cues and align the opening review pointer
- commit
- 49856e2b2b87
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 docs-tour: prototype a centred welcome and close action cues for steps 1-4
- commit
- db02452ad51f
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/cue.ts, data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 fix(docs-tour): retain keyboard activation on the spotlighted option
- commit
- 623783793a24
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-27 fix(docs-tour): distinguish product actions from guide navigation
- commit
- 9249be529919
- date
- 2026-10-27
- files
- data-plane/app/ui/src/docs-tour/cue.ts, data-plane/app/ui/src/docs-tour/tour.css, data-plane/app/ui/src/docs-tour/tour.tsx
2026-10-20 fix(docs): preserve the React effect cleanup contract in the tour
- commit
- 2cf8e3b5b520
- date
- 2026-10-20
- files
- data-plane/app/ui/src/docs-tour/tour.tsx
Data Plane — Configuration Reference
Environment variables that configure the data-plane (61 settings).
Configuration
FABURAI_DP_PORT
- description
- Server
- default
- 8080
- type
- int
- required
- no
- field
- Port
FABURAI_DP_HOST
- default
- 0.0.0.0
- type
- string
- required
- no
- field
- Host
FABURAI_DP_ENV_NAME
- default
- development
- type
- string
- required
- no
- field
- EnvName
FABURAI_DP_DATABASE_URL
- description
- Database
- type
- string
- required
- yes
- field
- DatabaseURL
FABURAI_DP_JWT_SECRET
- description
- Auth
- default
- dev-secret-change-me
- type
- string
- required
- no
- holds credential
- yes
- field
- JWTSecret
FABURAI_DP_JWT_ISSUER
- default
- faburai-dp
- type
- string
- required
- no
- field
- JWTIssuer
FABURAI_DP_JWT_EXPIRY_MIN
- default
- 5
- type
- int
- required
- no
- field
- JWTExpiryMin
FABURAI_DP_EVENT_BUS_TYPE
- description
- Event Bus
- default
- inmemory
- type
- string
- required
- no
- field
- EventBusType
FABURAI_DP_NATS_URL
- default
- nats://localhost:4222
- type
- string
- required
- no
- field
- NATSUrl
FABURAI_DP_MEMGRAPH_URL
- description
- Memgraph (optional in Phase 0)
- type
- string
- required
- no
- field
- MemgraphURL
FABURAI_DP_STATIC_DIR
- description
- Frontend
- default
- app/ui/dist
- type
- string
- required
- no
- field
- StaticDir
FABURAI_DP_DOCS_CORPUS_DIR
- description
- DocsCorpusDir is the Canonical Documentation Corpus baked into the image at build time. Empty or missing means embedded documentation is simply not mounted — the plane boots fine without it, which keeps the corpus a build artifact rather than a runtime dependency.
- default
- docs-corpus
- type
- string
- required
- no
- field
- DocsCorpusDir
FABURAI_DP_LOG_LEVEL
- description
- Logging
- default
- info
- type
- string
- required
- no
- field
- LogLevel
FABURAI_DP_LOG_FORMAT
- default
- json
- type
- string
- required
- no
- field
- LogFormat
FABURAI_DP_CP_ENDPOINT
- description
- Control Plane connection
- type
- string
- required
- no
- field
- CPEndpoint
FABURAI_DP_TENANT_ID
- type
- string
- required
- no
- field
- TenantID
FABURAI_DP_TENANT_NAME
- description
- friendly name shown in UI header
- type
- string
- required
- no
- field
- TenantName
FABURAI_DP_CLUSTER_ID
- type
- string
- required
- no
- field
- ClusterID
FABURAI_DP_CLUSTER_NAME
- description
- friendly name shown in UI header
- type
- string
- required
- no
- field
- ClusterName
FABURAI_DP_REGISTRATION_TOKEN
- type
- string
- required
- no
- holds credential
- yes
- field
- RegistrationToken
FABURAI_DP_ACCOUNT_KIND
- description
- AccountKind is paid|trial|internal, set by the CP provisioner at deploy time. The DP UI reads this to gate features (slice T-1) and render the "Trial: X days remaining" topbar chip (slice T-2). Defaults to "paid" so existing DPs without this env var keep working exactly as before. See D-4.12 (universal-first reshape).
- default
- paid
- type
- string
- required
- no
- field
- AccountKind
FABURAI_DP_ONBOARDING_STATE
- description
- OnboardingState drives the universal onboarding banner (slice U-1). not_started → mcp_done → graph_seen → completed. CP provisioner sets "not_started" for fresh trial tenants; existing tenants get "completed" at boot. The DP re-fetches via /tenant-info as it advances, so this env var only seeds the first read.
- default
- completed
- type
- string
- required
- no
- field
- OnboardingState
FABURAI_DP_TIER
- description
- Tier is orthogonal to AccountKind — it says whether THIS DP is running as the public "demo" showcase (demo.faburai.com), a trial workspace, or a paid deployment. Read by: - middleware.DemoReadOnly (reads FABURAI_DP_TIER directly today; this field mirrors it so /tenant-info can expose it to the SPA) - the demo-tier email-gate flow (welcome modal + demo session cookie) Values: "demo" | "trial" | "paid" | "" (paid/legacy default).
- type
- string
- required
- no
- field
- Tier
FABURAI_DP_EXTERNAL_ENDPOINT
- description
- External URL — how end users reach this DP (used as OIDC redirect base)
- type
- string
- required
- no
- field
- ExternalEndpoint
FABURAI_DP_AUTH_PROVIDER
- description
- AuthProvider selects the OIDC backend for the browser-session flow. "auth0" → uses OIDCIssuerDomain/ClientID (existing paid-tenant path) "cognito" → uses CognitoIssuer/ClientID/HostedUI (trial-tenant path) "" → same as "auth0" for backward compat with older DPs Only one is active per DP. Paid tenants keep Auth0 until BYOIdP lands; trial-stage flips to Cognito via [[project_cognito_migration]].
- type
- string
- required
- no
- field
- AuthProvider
FABURAI_DP_COGNITO_ISSUER
- description
- Cognito (OIDC) — trial tenants only. Coordinates come from [[reference_cognito_trials]]. The DP redirects users to the Hosted UI domain for login, then handles the OAuth code callback like any OIDC flow. Slug lives in `custom:tenant_slug` ID-token claim.
- type
- string
- required
- no
- field
- CognitoIssuer
FABURAI_DP_COGNITO_CLIENT_ID
- type
- string
- required
- no
- field
- CognitoClientID
FABURAI_DP_COGNITO_CLIENT_SECRET
- type
- string
- required
- no
- holds credential
- yes
- field
- CognitoClientSecret
FABURAI_DP_COGNITO_HOSTED_UI
- description
- https://<domain>.auth.<region>.amazoncognito.com
- type
- string
- required
- no
- field
- CognitoHostedUI
FABURAI_DP_TRIAL_ONBOARDING_PATH
- description
- Trial-mode routing paths (used by the shared trial-stage landing DP). Defaults match what nginx + the SPA expect; only override in tests or if the route structure changes.
- default
- /onboarding
- type
- string
- required
- no
- field
- TrialOnboardingPath
FABURAI_DP_TRIAL_TENANT_PATH_PREFIX
- description
- per-trial URL prefix (nginx routes /t/<slug>/)
- default
- /t/
- type
- string
- required
- no
- field
- TrialTenantPathPrefix
FABURAI_DP_AUTH_MODE
- description
- D-9.13 broker-mode auth (CP acts as this DP's auth authority). AuthMode = "broker" activates two new handlers: /auth/broker-login → 302 to CP's /auth/dp-login with (tenant, dp, nonce) /auth/dp-handoff → verifies CP's HMAC handoff token, mints DP session AuthMode = "" (default) or anything else keeps the existing OIDC path. TenantSlug names this DP's tenant (must equal the CP-side dp_public_url's tenant slug). BrokerCPURL is the CP base URL to redirect to. HandoffSecretB64 is the shared HMAC key (same value as CP's tenant idp_metadata.dp_handoff_secret_b64). See docs/DP_CP_AUTH_BROKER.md.
- type
- string
- required
- no
- field
- AuthMode
FABURAI_DP_TENANT_SLUG
- type
- string
- required
- no
- field
- TenantSlug
FABURAI_DP_BROKER_CP_URL
- type
- string
- required
- no
- field
- BrokerCPURL
FABURAI_DP_BROKER_HANDOFF_SECRET_B64
- type
- string
- required
- no
- holds credential
- yes
- field
- BrokerHandoffSecretB64
FABURAI_DP_CP_ADMIN_BASE_URL
- description
- CP admin API — where the landing DP calls to provision a trial namespace on first login (CG-4). Empty disables JIT provisioning and the /onboarding page reports the trial is offline.
- type
- string
- required
- no
- field
- CPAdminBaseURL
FABURAI_DP_CP_ADMIN_SHARED_TOKEN
- description
- pre-shared secret CP validates (staff-auth for now)
- type
- string
- required
- no
- holds credential
- yes
- field
- CPAdminSharedToken
FABURAI_DP_OIDC_ISSUER_DOMAIN
- description
- OIDC (Auth0)
- type
- string
- required
- no
- field
- OIDCIssuerDomain
FABURAI_DP_OIDC_CLIENT_ID
- type
- string
- required
- no
- field
- OIDCClientID
FABURAI_DP_OIDC_CLIENT_SECRET
- type
- string
- required
- no
- holds credential
- yes
- field
- OIDCClientSecret
FABURAI_DP_OIDC_AUDIENCE
- default
- https://api.faburai.com
- type
- string
- required
- no
- field
- OIDCAudience
FABURAI_DP_OIDC_TENANT_ORG_ID
- description
- Auth0 Organization for this tenant
- type
- string
- required
- no
- field
- OIDCTenantOrgID
FABURAI_DP_OIDC_REQUIRE_AUTH
- description
- Defaults true: any deploy with OIDC configured locks down /api/* by default. Set FABURAI_DP_OIDC_REQUIRE_AUTH=false explicitly for local dev without Auth0.
- default
- true
- type
- bool
- required
- no
- field
- OIDCRequireAuth
FABURAI_DP_OIDC_ROLES_CLAIM
- description
- Custom JWT claim where IdP roles live. Auth0 convention is a fully- qualified URL like https://faburai.com/roles. Empty → /userinfo fallback.
- default
- https://faburai.com/roles
- type
- string
- required
- no
- field
- OIDCRolesClaim
FABURAI_DP_SESSION_KEY
- default
- dev-session-key-change-me-32bytes
- type
- string
- required
- no
- holds credential
- yes
- field
- SessionKey
FABURAI_DP_CLERK_JWKS_URL
- description
- Clerk — secondary IdP used by the trial-signup SPA on trial-stage.faburai.com. When ClerkJWKSURL + ClerkIssuer are set, the DP will: 1. Accept Bearer <clerk_jwt> on /api/* (Mode 4 in RequireAPIAuth) 2. Mount /auth/clerk-handoff?token=<jwt> which validates the JWT and sets the same `faburai_dp_session` cookie an Auth0 login would set, so the SPA can hand a freshly-signed-up user to the DP with no second login. Empty disables both — existing Auth0-only deployments keep working unchanged.
- type
- string
- required
- no
- field
- ClerkJWKSURL
FABURAI_DP_CLERK_ISSUER
- description
- e.g. https://renewed-tetra-49.clerk.accounts.dev
- type
- string
- required
- no
- field
- ClerkIssuer
FABURAI_DP_CLERK_SECRET_KEY
- description
- sk_test_... — fallback for email lookup
- type
- string
- required
- no
- holds credential
- yes
- field
- ClerkSecretKey
FABURAI_DP_TRIAL_SIGNUP_URL
- description
- TrialSignupURL is where /auth/login redirects when AccountKind=trial. Defaults to https://trial-stage.faburai.com if unset.
- type
- string
- required
- no
- field
- TrialSignupURL
FABURAI_DP_POLICY_LLM_PROVIDER
- description
- Policy NLP — natural-language policy drafting via an LLM. Provider selects which backend implements the Drafter interface; default is "openai" because GPT-4o-mini is ~6× cheaper than Haiku for this task with no quality difference. Set "anthropic" to use Claude instead. Empty key for the chosen provider disables the endpoint (returns 503).
- default
- openai
- type
- string
- required
- no
- field
- PolicyLLMProvider
FABURAI_DP_OPENAI_API_KEY
- type
- string
- required
- no
- holds credential
- yes
- field
- OpenAIAPIKey
FABURAI_DP_OPENAI_MODEL
- default
- gpt-4o-mini
- type
- string
- required
- no
- field
- OpenAIModel
FABURAI_DP_ANTHROPIC_API_KEY
- type
- string
- required
- no
- holds credential
- yes
- field
- AnthropicAPIKey
FABURAI_DP_ANTHROPIC_MODEL
- default
- claude-haiku-4-5-20251001
- type
- string
- required
- no
- field
- AnthropicModel
FABURAI_DP_SUPPORT_LLM_ENDPOINT
- description
- Support Guide — customer-hosted OpenAI-compatible inference for the embedded assistant (Venkat PRD v0.2). All three fields default empty; when unset the service falls back to (OpenAIAPIKey, OpenAIModel) so the DP already has an LLM without extra env plumbing. Empty on both paths ⇒ heuristic-only mode (still functional, just no LLM answers).
- type
- string
- required
- no
- field
- SupportLLMEndpoint
FABURAI_DP_SUPPORT_LLM_MODEL
- type
- string
- required
- no
- field
- SupportLLMModel
FABURAI_DP_SUPPORT_LLM_TOKEN
- type
- string
- required
- no
- holds credential
- yes
- field
- SupportLLMToken
FABURAI_DP_IDP_PROVIDER
- description
- IdP — identity provider used to sync roles into gcdm_roles. Type tells the DP which driver to use; the credential fields are only used by the driver matching IdpProviderType. CP provisioner injects these per-tenant.
- type
- string
- required
- no
- field
- IdpProviderType
FABURAI_DP_AUTH0_DOMAIN
- type
- string
- required
- no
- field
- Auth0Domain
FABURAI_DP_AUTH0_M2M_CLIENT_ID
- type
- string
- required
- no
- field
- Auth0M2MClientID
FABURAI_DP_AUTH0_M2M_CLIENT_SECRET
- type
- string
- required
- no
- holds credential
- yes
- field
- Auth0M2MClientSecret
Deployment Models
Deploy FaburAI across supported operating models.
FaburAI is two independently deployable planes — a Control Plane and a Data Plane — and deployments/ holds the raw building blocks for running them: no Helm chart, no operator, just plain Kubernetes manifests plus a Docker Compose file for local dependencies. Each plane gets its own Namespace, its own single-replica Deployment (labeled faburai.io/plane: control or the Data Plane equivalent), its own Service, and its own dedicated Postgres — cp-postgres with a 2Gi PVC for the Control Plane, a matching dp-postgres for the Data Plane. Nothing is shared between the two at the infrastructure level; they only talk to each other over HTTP (FABURAI_DP_CP_ENDPOINT).
What actually varies across "SaaS," "PaaS," "private cloud," "on-premises," and "air-gapped" is not the manifests — the same Deployment/Service/Namespace shapes apply everywhere — but who operates them and how many Data Planes exist. In the SaaS model, FaburAI runs one Control Plane and provisions a Data Plane namespace per tenant on FaburAI's own infrastructure (this is the path control-plane/modules/provisioning and the cluster fan-out logic in control-plane/modules/clusters are built for). In a private-cloud, an on-premises, or an air-gapped install, the customer applies these same manifests inside their own cluster and runs both planes themselves — the Control Plane's Cluster Registry and the tenant credential-apply flow exist specifically so an operator can register and manage Kubernetes clusters that are not FaburAI's own.
Configuration is entirely environment-variable driven: DATABASE_URL for each plane's own Postgres, FABURAI_CP_EXTERNAL_ENDPOINT / FABURAI_DP_EXTERNAL_ENDPOINT for the public URL each plane answers on, Auth0/OIDC issuer, client ID, and audience for authentication, and a FABURAI_DP_SECRETS_KEY (sourced from a Kubernetes Secret, not inlined) for the Data Plane's own connector-credential encryption. This is what makes the same manifests usable across models — a private install swaps in its own Postgres endpoint, its own Auth0 tenant, and its own external hostnames without any change to the deployment shape itself.
deployments/ also carries a handful of demo-only manifests (aws-demo, snowflake-demo, hr-demo, iceberg-demo) for standing up sample MCP servers to govern, and an edge-demo Docker Compose stack that runs the Policy Enforcer, an Envoy front door, and a placeholder MCP server together to demonstrate distributed enforcement at the network edge — useful for evaluating the product, not part of a production deployment model itself.
Features
SaaS
- description
- FaburAI operates one Control Plane and provisions a Data Plane namespace per tenant on FaburAI's own infrastructure.
PaaS
- description
- FaburAI-managed Control and Data Planes run inside infrastructure the customer controls, using the same Kubernetes manifests as any other model.
Private cloud
- description
- The customer applies the Control Plane and Data Plane manifests inside their own cloud account and operates both planes themselves.
On-premises
- description
- The customer runs both planes on infrastructure inside their own data center, with the same manifests and environment-variable configuration used elsewhere.
Air-gapped
- description
- Both planes run with no outbound network access; the documentation corpus and all dependencies are baked into the plane images at build time rather than fetched at runtime.
Deployment Models — Recent Changes
The 1 most recent commits touching Deployment Models, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- deployments/cognito/README.md, deployments/cognito/hosted-ui-logo.png, deployments/cognito/hosted-ui-theme.css, deployments/cognito/managed-login-form-logo-dark.svg, deployments/cognito/managed-login-form-logo-light.svg, deployments/cognito/managed-login-settings.json, deployments/docker-compose.yml, deployments/edge-demo/README.md, deployments/edge-demo/docker-compose.yml, deployments/edge-demo/envoy.yaml, deployments/edge-demo/mrtr-response-filter.lua, deployments/k8s/aws-demo/aws-mcp.yaml, deployments/k8s/cp/cp-deployment.yaml, deployments/k8s/cp/namespace.yaml, deployments/k8s/cp/postgres.yaml, deployments/k8s/demo/cp-deployment.yaml, deployments/k8s/demo/dp-deployment.yaml, deployments/k8s/demo/ingress.yaml, deployments/k8s/demo/mock-mcps.yaml, deployments/k8s/demo/namespace.yaml, deployments/k8s/demo/postgres.yaml, deployments/k8s/demo/seed-mcps.sql, deployments/k8s/dp/dp-deployment.yaml, deployments/k8s/dp/namespace.yaml, deployments/k8s/dp/postgres.yaml, deployments/k8s/flask-starter-demo/flask-starter-mcp.yaml, deployments/k8s/hr-demo/hr-postgres-mcp.yaml, deployments/k8s/hr-demo/hr-postgres.yaml, deployments/k8s/iceberg-demo/iceberg-rest-mcp.yaml, deployments/k8s/snowflake-demo/snowflake-mcp.yaml, deployments/kind-config.yaml
Deployment Profile — aws-demo
Kubernetes resources that make up the aws-demo deployment profile (2 resources).
Resources
Service aws-mcp
- kind
- Service
- name
- aws-mcp
- file
- deployments/k8s/aws-demo/aws-mcp.yaml
Deployment aws-mcp
- kind
- Deployment
- name
- aws-mcp
- images
- aws-mcp:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/aws-demo/aws-mcp.yaml
Deployment Profile — cp
Kubernetes resources that make up the cp deployment profile (6 resources).
Resources
Service faburai-cp
- kind
- Service
- name
- faburai-cp
- namespace
- faburai-cp
- file
- deployments/k8s/cp/cp-deployment.yaml
Deployment faburai-cp
- kind
- Deployment
- name
- faburai-cp
- namespace
- faburai-cp
- images
- faburai-cp:v1.5.0-arm64
- ports
- 8080
- file
- deployments/k8s/cp/cp-deployment.yaml
Namespace faburai-cp
- kind
- Namespace
- name
- faburai-cp
- file
- deployments/k8s/cp/namespace.yaml
Service cp-postgres
- kind
- Service
- name
- cp-postgres
- namespace
- faburai-cp
- file
- deployments/k8s/cp/postgres.yaml
Deployment cp-postgres
- kind
- Deployment
- name
- cp-postgres
- namespace
- faburai-cp
- images
- postgres:16-alpine
- file
- deployments/k8s/cp/postgres.yaml
PersistentVolumeClaim cp-postgres-data
- kind
- PersistentVolumeClaim
- name
- cp-postgres-data
- namespace
- faburai-cp
- file
- deployments/k8s/cp/postgres.yaml
Deployment Profile — demo
Kubernetes resources that make up the demo deployment profile (18 resources).
Resources
Service faburai-cp
- kind
- Service
- name
- faburai-cp
- namespace
- faburai-demo
- file
- deployments/k8s/demo/cp-deployment.yaml
Deployment faburai-cp
- kind
- Deployment
- name
- faburai-cp
- namespace
- faburai-demo
- images
- faburai-cp:v1.20.12-arm64
- ports
- 8080
- file
- deployments/k8s/demo/cp-deployment.yaml
Service faburai-dp
- kind
- Service
- name
- faburai-dp
- namespace
- faburai-demo
- file
- deployments/k8s/demo/dp-deployment.yaml
Deployment faburai-dp
- kind
- Deployment
- name
- faburai-dp
- namespace
- faburai-demo
- images
- faburai-dp-demo:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/demo/dp-deployment.yaml
Ingress faburai-demo
- kind
- Ingress
- name
- faburai-demo
- namespace
- faburai-demo
- file
- deployments/k8s/demo/ingress.yaml
Service mock-aws-mcp
- kind
- Service
- name
- mock-aws-mcp
- namespace
- faburai-demo
- file
- deployments/k8s/demo/mock-mcps.yaml
Deployment mock-aws-mcp
- kind
- Deployment
- name
- mock-aws-mcp
- namespace
- faburai-demo
- images
- mock-aws-mcp:v0.1.0-arm64
- file
- deployments/k8s/demo/mock-mcps.yaml
Service mock-github-mcp
- kind
- Service
- name
- mock-github-mcp
- namespace
- faburai-demo
- file
- deployments/k8s/demo/mock-mcps.yaml
Deployment mock-github-mcp
- kind
- Deployment
- name
- mock-github-mcp
- namespace
- faburai-demo
- images
- mock-github-mcp:v0.1.0-arm64
- file
- deployments/k8s/demo/mock-mcps.yaml
Service mock-notes-mcp
- kind
- Service
- name
- mock-notes-mcp
- namespace
- faburai-demo
- file
- deployments/k8s/demo/mock-mcps.yaml
Deployment mock-notes-mcp
- kind
- Deployment
- name
- mock-notes-mcp
- namespace
- faburai-demo
- images
- mock-notes-mcp:v0.1.0-arm64
- file
- deployments/k8s/demo/mock-mcps.yaml
Namespace faburai-demo
- kind
- Namespace
- name
- faburai-demo
- file
- deployments/k8s/demo/namespace.yaml
Deployment cp-postgres
- kind
- Deployment
- name
- cp-postgres
- namespace
- faburai-demo
- images
- postgres:16-alpine
- file
- deployments/k8s/demo/postgres.yaml
Service cp-postgres
- kind
- Service
- name
- cp-postgres
- namespace
- faburai-demo
- file
- deployments/k8s/demo/postgres.yaml
PersistentVolumeClaim cp-postgres-data
- kind
- PersistentVolumeClaim
- name
- cp-postgres-data
- namespace
- faburai-demo
- file
- deployments/k8s/demo/postgres.yaml
Deployment dp-postgres
- kind
- Deployment
- name
- dp-postgres
- namespace
- faburai-demo
- images
- postgres:16-alpine
- file
- deployments/k8s/demo/postgres.yaml
Service dp-postgres
- kind
- Service
- name
- dp-postgres
- namespace
- faburai-demo
- file
- deployments/k8s/demo/postgres.yaml
PersistentVolumeClaim dp-postgres-data
- kind
- PersistentVolumeClaim
- name
- dp-postgres-data
- namespace
- faburai-demo
- file
- deployments/k8s/demo/postgres.yaml
Deployment Profile — deployments
Kubernetes resources that make up the deployments deployment profile (1 resources).
Resources
Cluster
- kind
- Cluster
- file
- deployments/kind-config.yaml
Deployment Profile — dp
Kubernetes resources that make up the dp deployment profile (6 resources).
Resources
Service faburai-dp
- kind
- Service
- name
- faburai-dp
- namespace
- faburai-dp
- file
- deployments/k8s/dp/dp-deployment.yaml
Deployment faburai-dp
- kind
- Deployment
- name
- faburai-dp
- namespace
- faburai-dp
- images
- faburai-dp:v1.10.0-arm64
- ports
- 8080
- file
- deployments/k8s/dp/dp-deployment.yaml
Namespace faburai-dp
- kind
- Namespace
- name
- faburai-dp
- file
- deployments/k8s/dp/namespace.yaml
Service dp-postgres
- kind
- Service
- name
- dp-postgres
- namespace
- faburai-dp
- file
- deployments/k8s/dp/postgres.yaml
Deployment dp-postgres
- kind
- Deployment
- name
- dp-postgres
- namespace
- faburai-dp
- images
- postgres:16-alpine
- file
- deployments/k8s/dp/postgres.yaml
PersistentVolumeClaim dp-postgres-data
- kind
- PersistentVolumeClaim
- name
- dp-postgres-data
- namespace
- faburai-dp
- file
- deployments/k8s/dp/postgres.yaml
Deployment Profile — flask-starter-demo
Kubernetes resources that make up the flask-starter-demo deployment profile (2 resources).
Resources
Service flask-starter-mcp
- kind
- Service
- name
- flask-starter-mcp
- file
- deployments/k8s/flask-starter-demo/flask-starter-mcp.yaml
Deployment flask-starter-mcp
- kind
- Deployment
- name
- flask-starter-mcp
- images
- flask-starter-mcp:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/flask-starter-demo/flask-starter-mcp.yaml
Deployment Profile — hr-demo
Kubernetes resources that make up the hr-demo deployment profile (6 resources).
Resources
Service hr-postgres-mcp
- kind
- Service
- name
- hr-postgres-mcp
- file
- deployments/k8s/hr-demo/hr-postgres-mcp.yaml
Deployment hr-postgres-mcp
- kind
- Deployment
- name
- hr-postgres-mcp
- images
- hr-postgres-mcp:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/hr-demo/hr-postgres-mcp.yaml
Service hr-postgres
- kind
- Service
- name
- hr-postgres
- file
- deployments/k8s/hr-demo/hr-postgres.yaml
Deployment hr-postgres
- kind
- Deployment
- name
- hr-postgres
- images
- postgres:16-alpine
- file
- deployments/k8s/hr-demo/hr-postgres.yaml
PersistentVolumeClaim hr-postgres-data
- kind
- PersistentVolumeClaim
- name
- hr-postgres-data
- file
- deployments/k8s/hr-demo/hr-postgres.yaml
ConfigMap hr-postgres-seed
- kind
- ConfigMap
- name
- hr-postgres-seed
- file
- deployments/k8s/hr-demo/hr-postgres.yaml
Deployment Profile — iceberg-demo
Kubernetes resources that make up the iceberg-demo deployment profile (3 resources).
Resources
Service iceberg-rest-mcp
- kind
- Service
- name
- iceberg-rest-mcp
- file
- deployments/k8s/iceberg-demo/iceberg-rest-mcp.yaml
Secret iceberg-rest-mcp
- kind
- Secret
- name
- iceberg-rest-mcp
- file
- deployments/k8s/iceberg-demo/iceberg-rest-mcp.yaml
Deployment iceberg-rest-mcp
- kind
- Deployment
- name
- iceberg-rest-mcp
- images
- iceberg-rest-mcp:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/iceberg-demo/iceberg-rest-mcp.yaml
Deployment Profile — snowflake-demo
Kubernetes resources that make up the snowflake-demo deployment profile (2 resources).
Resources
Service snowflake-mcp
- kind
- Service
- name
- snowflake-mcp
- file
- deployments/k8s/snowflake-demo/snowflake-mcp.yaml
Deployment snowflake-mcp
- kind
- Deployment
- name
- snowflake-mcp
- images
- snowflake-mcp:v0.1.0-arm64
- ports
- 8080
- file
- deployments/k8s/snowflake-demo/snowflake-mcp.yaml
Documentation
Browse the Canonical Documentation Corpus baked into a running deployment. In an air-gapped or private-cloud install this is the documentation home: it is present as soon as the Control Plane is running and frozen at exactly the version deployed.
This is the in-product documentation browser at /docs in the Control Plane — a read-only viewer over the Canonical Documentation Corpus, the same generated corpus that also feeds docs.faburai.com. There is no backend module of its own; the page (control-plane/modules/docs/ui/docs-page.tsx) is a thin client over the shared docsserve package, mounted by the Control Plane router as an internal viewer with full visibility and no entitlement gate, since it is read by FaburAI staff running an install as much as by customers.
The corpus is baked into the Control Plane image at build time (docs/corpus/ copied into the Docker image), not fetched at runtime — which is exactly what makes it work with zero network access in an air-gapped install, and why it is frozen at exactly the deployed version until the next upgrade replaces it. A deployment built without a corpus directory is a valid configuration, not an error: the page detects the missing mount and shows "Documentation is not installed in this deployment" with a link to the hosted site instead of failing.
The browser gives a reader three ways in: a left-hand navigation tree built from the corpus's product areas and capabilities (via /api/cp/v1/docs/nav), free-text search across entity titles and summaries (/api/cp/v1/docs/search), and — for a capability landed on directly rather than browsed to — a "Reference" section on its page that surfaces its own sub-pages (API, interface, configuration, schema, change history) so a reader who arrived via search or a shared link isn't stuck without a path down into the detail. Each page renders the curated Markdown subset (headings, safe links, lists, fenced code, tables, and quotes) plus structured "facts" — typed, sourced claims like an API endpoint or a database column — with their own provenance where the corpus records it.
A Data Plane can also serve documentation, but by default it proxies reads to its Control Plane rather than carrying and maintaining a second copy — /api/cp/v1/docs-relay exists specifically for that, passing along the requesting tenant's account kind so the Data Plane's readers get the same visibility and entitlement projection they would get by reading the Control Plane directly. Only a standalone Data Plane, with no reachable Control Plane, falls back to serving its own baked-in corpus.
Features
Corpus navigation
- description
- A left-hand tree of product areas, capabilities, and each capability's reference sub-pages, built directly from the loaded documentation corpus.
Full-text search
- description
- Searches entity titles and summaries in the corpus and jumps straight to the matching page.
Reference sub-page surfacing
- description
- Shows a capability's API, interface, configuration, schema, and change-history sub-pages directly on its overview page, not only in the side navigation.
Interfaces
control-plane serves /docs
Documentation — Recent Changes
The 2 most recent commits touching Documentation, newest first.
Recent Commits
2026-10-03 Build reader-first docs and browser-only product walkthrough
- commit
- ae0ff1868f0a
- date
- 2026-10-03
- files
- control-plane/modules/docs/ui/docs-page.tsx
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- control-plane/modules/docs/ui/docs-page.tsx
Documentation — Interface
User interface surfaces for Documentation in the control-plane.
Interfaces
/docs
- navigation label
- Documentation
- navigation group
- Infrastructure
- component
- DocsPage
Installation and Upgrades
Install, configure, upgrade, validate, and roll back FaburAI deployments.
Where Deployment Models is about which topology to run, this capability is about the mechanics of getting a Control Plane or Data Plane running and keeping it current — the same deployments/ manifests, used differently.
A first install is applying the namespace, Postgres, and Deployment manifests for a plane (deployments/k8s/cp or deployments/k8s/dp) into a cluster, with configuration supplied entirely through environment variables on the container — database connection string, external endpoint, OIDC issuer/client/audience, and (for the Data Plane) a connector-credential encryption key sourced from a Kubernetes Secret rather than inlined in the manifest. deployments/kind-config.yaml and the top-level docker-compose.yml (Postgres, Memgraph, NATS) exist to make that same first-install flow reproducible on a laptop for development.
An upgrade is an image tag bump on the existing Deployment, not a separate procedure. Each plane's container entrypoint (control-plane/scripts/entrypoint.sh, data-plane/scripts/entrypoint.sh) runs every migrations/*.up.sql file against DATABASE_URL on every container start, in filename order, before starting the Go binary — so rolling to a new image version replays the full forward-migration history against whatever schema state the database is already in. Each plane carries its own migration set (control-plane/migrations, data-plane/migrations), versioned as numbered up/down SQL pairs. Notably, the entrypoint script continues past a failed migration statement rather than aborting the boot (|| true on each psql call) — a deliberate tolerance for a migration that has already been applied in a prior run, but also one an operator upgrading a deployment should be aware of: a migration failure will not stop the new version from starting.
Rollback, correspondingly, is a matter of pointing the Deployment back at the previous image tag; the corresponding .down.sql files exist per migration for a database-level rollback, but nothing in the entrypoint or the plane binaries runs them automatically — reverting schema changes is a manual step an operator runs against DATABASE_URL directly.
Both plane images bake in docs/corpus/ — the Canonical Documentation Corpus — at build time (see the control-plane/Dockerfile and its Data Plane counterpart), which is what lets air-gapped and private-cloud installs have working in-product documentation with no outbound network access from the moment the plane starts, frozen at exactly the version deployed until the next upgrade.
Installation and Upgrades — Recent Changes
The 1 most recent commits touching Installation and Upgrades, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- deployments/cognito/README.md, deployments/cognito/hosted-ui-logo.png, deployments/cognito/hosted-ui-theme.css, deployments/cognito/managed-login-form-logo-dark.svg, deployments/cognito/managed-login-form-logo-light.svg, deployments/cognito/managed-login-settings.json, deployments/docker-compose.yml, deployments/edge-demo/README.md, deployments/edge-demo/docker-compose.yml, deployments/edge-demo/envoy.yaml, deployments/edge-demo/mrtr-response-filter.lua, deployments/k8s/aws-demo/aws-mcp.yaml, deployments/k8s/cp/cp-deployment.yaml, deployments/k8s/cp/namespace.yaml, deployments/k8s/cp/postgres.yaml, deployments/k8s/demo/cp-deployment.yaml, deployments/k8s/demo/dp-deployment.yaml, deployments/k8s/demo/ingress.yaml, deployments/k8s/demo/mock-mcps.yaml, deployments/k8s/demo/namespace.yaml, deployments/k8s/demo/postgres.yaml, deployments/k8s/demo/seed-mcps.sql, deployments/k8s/dp/dp-deployment.yaml, deployments/k8s/dp/namespace.yaml, deployments/k8s/dp/postgres.yaml, deployments/k8s/flask-starter-demo/flask-starter-mcp.yaml, deployments/k8s/hr-demo/hr-postgres-mcp.yaml, deployments/k8s/hr-demo/hr-postgres.yaml, deployments/k8s/iceberg-demo/iceberg-rest-mcp.yaml, deployments/k8s/snowflake-demo/snowflake-mcp.yaml, deployments/kind-config.yaml
Usage Administration
Review usage across tenants and deployments.
Usage Administration is the cross-tenant fleet view — where Platform Operations answer questions like "which tenants ran the most policy evaluations in the last hour" or "which clusters emitted no telemetry today". The /usage route on the control plane serves this view. It reads the tenant roster (GET /tenants, GET /tenants/stats) live from the tenants module for the tenant count, active-tenant count, and subscription-tier distribution across the fleet.
For per-tenant consumption the control plane pulls rated usage from the billing module's rating engine and joins it to the tenant list. That path is now real end to end: data planes emit per-event rows into gcdm_usage_events via the Local Usage Journal (see the Billing and Credits capability), the hourly Usage Aggregator rolls them into gcdm_usage_rollups, and heartbeats to the control plane populate control_plane_usage_events with the rated credits under the launch price book (launch-2026-08). The /usage page groups those into total credits, per-meter breakdown, and per-tier distribution.
The per-tenant self-service view at /t/:slug/usage is the tenant-facing counterpart. It surfaces the same figures scoped to one tenant, with a link into the AI Cockpit Metering & Billing tab for the drill-down view.
Billing mode — PAYGO, Credits, or ULA — is now a real field on the tenant record (billing_mode on gcdm_tenants), populated at tenant creation and readable by the /usage page. Earlier builds always fell back to a hardcoded "PAYGO" default because the field didn't exist; that gap is closed as of the 2026-08 pricing rollout.
Staff have full visibility here; tenant-side users only see their own row. Nothing on this page ever shows another tenant's numbers to a tenant user — the API layer scopes every query by tenant ID, not by the frontend's rendering choices.
Features
Tenant and tier summary
- description
- Real counts of total and active tenants and their subscription-tier distribution, computed live from the tenant records Tenant Administration manages.
Fleet consumption view
- description
- Cross-tenant credit consumption rated against the launch-2026-08 price book, aggregated from per-hour rollups shipped by each data plane in the fleet.
Per-tenant self-service view
- description
- Tenant-scoped credit consumption at /t/:slug/usage, mirroring the fleet view for a single tenant with a link into the AI Cockpit Metering & Billing tab.
Billing mode column
- description
- PAYGO / Credits / ULA classification read from the billing_mode field on gcdm_tenants, populated at tenant creation.
Interfaces
control-plane serves /usage
- note
- cross-tenant fleet view of rated credit consumption from the launch-2026-08 price book
control-plane serves /t/:slug/usage
- note
- per-tenant self-service view — same figures scoped to one tenant
Usage Administration — Recent Changes
The 1 most recent commits touching Usage Administration, newest first.
Recent Commits
2026-09-11 Initial import: FaburAI product monorepo
- commit
- 6ab6e123da8f
- date
- 2026-09-11
- files
- control-plane/modules/tenants/backend/admin_provision_handler.go, control-plane/modules/tenants/backend/credentials_handler.go, control-plane/modules/tenants/backend/handler.go, control-plane/modules/tenants/backend/models.go, control-plane/modules/tenants/backend/store.go, control-plane/modules/tenants/backend/tier_middleware.go, control-plane/modules/tenants/backend/trial_cron.go, control-plane/modules/tenants/backend/trial_provisioner.go, control-plane/modules/tenants/backend/trial_provisioner_real.go, control-plane/modules/tenants/backend/trial_provisioner_seed.go, control-plane/modules/tenants/ui/tenants-page.tsx, control-plane/modules/tenants/ui/trials-page.tsx
Usage Administration — Interface
User interface surfaces for Usage Administration in the control-plane.
Interfaces
/t/:slug/usage
/usage
- navigation label
- Usage & Billing
- navigation group
- Account
- component
- UsagePage
Find a technical detail
Use generated reference for APIs, settings, interfaces, and source-specific deployment assets.
Browse by product area
Frequently needed details
How to read generated facts
Endpoint entries describe routes found in the selected source and census. Some routes are conditional on configured services. A listed route does not prove that it is mounted or permitted in your installation.
Configuration entries report names, types, and defaults derived from code. Schema entries describe tables and columns in the source snapshot. Unknown or under-review fields are not implementation guarantees.
Use explanations to understand a mechanism and guides to complete a task. Return here for the exact technical detail.
Stable links and machine readers
Existing /e/... knowledge IDs remain available. The site also publishes llms.txt, a search index, and a sitemap. These use the same visibility projection as the pages.
Next: Start here or release information.
Release and snapshot information
Identify the source these docs describe and distinguish commit history from verified release behavior.
Each page identifies the product version and links to its knowledge ID and reference snapshot. The generation date says when the docs were built; it is not an installation test date.
The rebuild preview is for team review. Its current reference is generated from the selected Product branch. The live workbench learning stack uses an earlier product snapshot and its recorded compatibility patch.
Changes by area
Open an area reference and choose its Change History page when one is available. Those generated histories retain source detail. A commit subject is not a complete release note or proof that an integration works in your deployment. Use the runtime checks and release process appropriate to the version you install.
Known learning-environment issue
The existing workbench sandbox records a Connect compatibility patch that supplies a required protocol-version value before discovery. Its README is the authority for that sandbox's image and patch state. Do not assume the patch is required or installed in another deployment.
Next: Upgrade and recover or working tutorial.
Connection saved, discovery failed
Check reachability, transport, credentials, and the metadata the server exposes.
Start with the discovery result
Record the connection ID, run time, status, and sanitized error. Confirm the endpoint from the Data Plane's network, not just from your browser.
Check the likely failure
Compare with a simple known server
Use the bundled starter MCP server in a writable learning environment. If its three tools are discovered, narrow the investigation to the external endpoint, credentials, transport, or metadata.
A template pre-fills fields; it does not guarantee current endpoint support or grant external access.
Expected recovery
Discovery completes and the catalog contains the expected entries for that server and credential. Verify a real governed invocation next; metadata discovery alone is not a runtime policy check.
Next: Connect a server or discovery reference.
A call has no matching evidence
Determine whether this was a check, an invocation, or a recording/retrieval failure.
Confirm what was sent
/gateway/check evaluates a request without forwarding the tool. It should not be confused with the ordinary invocation path. An ordinary invocation response may include an invocation ID when recording succeeds.
Trace the correlation
- Confirm tenant, Data Plane, time window, caller, and tool.
- Find the invocation ID in the original response when available.
- Query the corresponding chain or locate the entry in Decisions Log.
- Inspect telemetry errors and persistence health if a real invocation has no readable record.
- Compare the policy outcome with the upstream result independently of recording.
Keep the conclusion narrow
No record does not prove no execution. A policy verdict does not prove that telemetry storage succeeded. A successful HTTP response alone does not prove a successful upstream business operation.
When escalating, provide sanitized correlation IDs and timing, product version, mode, and relevant error. Avoid broad database exports or raw credentials.
Next: Investigate a decision or health checks.
My first call did not work
Start with the symptom, then check the part of the request path that owns it.
Choose the symptom you can actually see
The shared demo is read-only
A demo_read_only error means the environment rejected a state-changing operation. It is not proof that the external MCP endpoint is unreachable. A form can show the same error beside the endpoint because probing or saving requires a backend operation.
Use the browser-only demo without credentials. Use the working tutorial in a writable private sandbox.
“Server” can mean three different things
The documentation preview is a static website. The FaburAI Data Plane is the product service. The MCP server is the endpoint exposing tools. Confirm which one failed before changing ports or credentials.
On workbench, the docs preview uses 192.168.1.74:4318; the existing learning Data Plane uses 192.168.1.74:9090. An SSH tunnel maps a local port on your computer to one of those remote services. 127.0.0.1 always names the computer on which the browser runs.
Collect useful evidence
Record the time, product version, deployment, relevant server and tool IDs, operating mode, status code, and sanitized response. Include an invocation ID when one exists. Do not paste API keys, user tokens, upstream credentials, or unrestricted request data into a support ticket.
Check one layer at a time
First confirm network reachability. Then authenticate to the relevant service. Then inspect discovery. Finally inspect the policy decision and upstream result. Repeating the same denied call will not repair an endpoint or change a rule.
Next: Investigate a decision or deployment health.
The policy outcome surprised me
Inspect scope and priority first, then distinguish the verdict from operating-mode behavior.
Denied when you expected allow
Confirm the primary target has an applicable published allow. Then inspect any additional resource or column deny, the matched subject and roles, conditions, and priorities. An implicit deny with no matching rule is different from an explicit sensitive-resource restriction.
Allowed when you expected deny
Read decision, allowed, and policyMode. An ordinary call in observe or simulate mode may proceed despite a deny verdict. Confirm that the call went through the enforcing route rather than directly to the MCP endpoint.
Within one target evaluation, a higher-priority allow can beat a lower-priority deny. At equal highest priority, deny wins. Across relevant targets, an additional-target deny can block the combined call.
Rule never matches
Check lifecycle state, target binding, actor identity, roles, action, selectors, and extracted target IDs. Matching a column requires the gateway to recognize and resolve that column for the request shape.
Use a small comparison
Check one permitted request and one restricted request with the same caller. Inspect both explanations. Do not widen a broad production grant merely to make a test pass.
Next: Policy decisions explained, scoped rule guide, or the browser demo.