StrataIndex

A StrataBI Platform Module

Powered by Shaleio

Tier: Premium MX · module id strataindex · type multi_page_app (an app StrataBI renders from its own pages) · requires StrataBI · recommended with StrataForge, StrataChat and StrataLake

Note
In release-candidate testing: StrataIndex has run in Shaleio's own AWS test account since 2026-11-29, as a release candidate, and its sharing of approved knowledge has run between two of our AWS accounts. It is not yet available to order. Each section says what has run there and what has been tested only against local stand-ins. See In development for what else we are working on.

StrataIndex is an ontology framework for your data. It holds your organization's approved terms and definitions: what a business term means, which datasets and columns represent it, how things relate, how a metric is calculated and under which rules, where an application's data comes from and what depends on a dataset. It gives people and AI agents knowledge about data, never the rows.

It is an ordinary StrataBI module: one DynamoDB table and three Lambda functions in your own account, installed or removed without changing StrataBI, StrataChat or StrataForge.

It covers what stewards have imported and approved, and nothing else. "No results" means "not indexed here", never "does not exist". Every answer names the release it came from and how complete that release claims to be.

What you get

Open Apps → StrataIndex. Four tabs:

TabPurpose
Knowledge & LineageFind a business term, a name or an id. Read a record with its relationships, rules and documents. Draw what feeds it (upstream), what it feeds (downstream) or what a change would touch (impact), to the depth you choose. List the ontology you are authorized to see. None of this needs an AI.
Metrics & RulesPaste a structured query plan and see, rule by rule, whether it passes. It checks the plan, not SQL.
Review & PublishImport a bundle as a proposal, see what it would change, approve or reject it, publish a release, roll back.
AccessGrant access scopes and permissions to StrataBI roles and users; export the active release as a bundle.

An action runs only when you press its run button. States show as pills, and tables fit their cards.

What it holds

RecordWhat it is
EntityA business concept (Well, Cost centre), with its properties and aliases.
AssetA physical thing: a dataset, column, pipeline, function, application, dashboard or tile.
RelationshipA typed edge between two records: meaning, mapping, containment, lineage, dependency, derivation or governance.
MetricAn approved calculation: formula, unit, grain, allowed dimensions, sources and rules.
ConstraintA typed rule that a query plan can be checked against.
Document referenceA pointer to an approved business document.
EvidenceWhere a fact came from.

Ids are stable and typed (entity:…, asset:…, metric:…). They are compared exactly and never derived from labels, so a label or an alias can change without breaking anything that refers to the id.

Every fact is labelled by how it is known: observed (seen in metadata), declared (a steward said so), verified (a physical check ran) or inferred (a suggestion nobody approved, which is therefore not in the graph). The checks against data that would mark a join mapping verified are not built yet; such facts show as not checked.

The life of a definition

text
import bundle ──► proposal ──approve──► approved ──publish──► in the active release
                     │
                     └──reject──► rejected (kept for audit, never in the graph)
  1. Import. Paste a JSON bundle. It is checked against the active release: schema, duplicate ids, dangling references, the relationship vocabulary, record size, and whether you may write into the access scopes it names. Every problem is listed, and nothing is stored if there is one. An import approves nothing, whatever status its records claim.
  2. Review. Open a proposal to see what it would add, change or deprecate, then approve or reject it with a reason. The decision, the reviewer, the time and the reason are kept. A proposal Guildmaster drafted says so, and shows every record it wrote.
  3. Publish. A new release is built from the active one plus every approved proposal, each stored item is verified against the canonical records, and only then are readers switched to it. Readers always see one complete release. If someone else published in the meantime, nothing changes and you are told. What was approved is what is published: approval records a checksum of the proposal, and a proposal that changed after it was approved is not published. It goes back for review.
  4. Roll back. Name a release that was published before, and give a reason. Access is still decided by today's grants: rolling back never restores a revoked scope.

Each step needs its own permission. Discover the installed applications proposes the deployment's applications, their pages and the functions that feed them from StrataBI's module registry, as a proposal reviewed like any other. It lists what it could not index: a tile whose tables are named only in SQL text stops at the function.

Ask Guildmaster

With StrataIndex installed, StrataForge finds its read function by name and offers Guildmaster ten read-only tools and one that drafts, in StrataForge and in StrataChat. The tool definitions and their guidance come from StrataIndex itself.

Guildmaster proposes; a person publishes. Asked to record a definition, Guildmaster drafts a proposal with index_propose, in your name and only if you hold propose. A function of its own stores the draft and can do nothing else; the read function still cannot write. Reviewing, publishing, rolling back and granting stay with people, on the module's pages: an agent is refused every one of them. Answers carry links that open StrataIndex beside the chat: a record on Knowledge & Lineage, a drafted proposal on Review & Publish.

The tools ship in the release candidate, and their links open the right page in the test account. A run with a model there has not been recorded yet.

You askWhat happens
"What does lifting cost mean here?"Finds the approved definition. If the term fits several records, you are shown the candidates and asked which.
"Where does the Quarterly Cost Dashboard get its data?"An upstream lineage diagram, with a short explanation.
"What depends on this column?"Confirmed dependents, and potential ones listed apart.
"How should I calculate operating cost per barrel?"The approved formula, grain, sources, rules and join keys.
"Build me a quarterly cost dashboard."Uses the approved metric and checks the plan against its rules before building the usual way.
"Can I remove this column?"An impact answer. It lists known dependents; it never says a change is safe.

Diagrams are drawn by StrataIndex, not by the model. The model is told how many nodes and edges there are and given a short summary, so what you see cannot be redrawn or embellished. The diagram appears as a card in the conversation; Open full diagram shows the whole of it in StrataBI, which checks again that you may see it. Diagrams are kept for a day.

text
UPSTREAM OF: App: Quarterly Cost Dashboard        an indented item feeds the item it hangs from
App: Quarterly Cost Dashboard
    |
    +<-- Lambda: cost_analysis
             |
             +<-- Athena: gold.operating_costs

Release: rel-… | Coverage: partial
ToolAnswers
index_searchRecords matching a name, a word or a locator; candidates when a term is ambiguous.
index_getOne record, with its relationships, rules, metrics, mappings, documents or evidence on request.
index_relationshipsA record's typed relationships, in either direction.
index_traceUpstream or downstream lineage, as a diagram.
index_find_pathHow two records connect. Never a claim that a path is a valid join.
index_impactWhat a change would touch: confirmed dependents apart from potential ones.
index_get_metricA metric's approved definition, sources, rules and join mappings.
index_validate_planWhether a structured query plan passes the rules: pass, fail or unknown.
index_get_contextReferences to approved documents. References only: it does not retrieve their text.
index_exportThe whole ontology you may see, rendered in the background within your administrator's limits.
index_proposeDrafts a proposal in your name, for a person to review and publish. It approves and publishes nothing.

Every tool but index_propose is read-only, and that one only drafts. Importing, reviewing, publishing and granting are done by people, on the module's pages; they are not tools, and the function that performs them refuses any call that is not a person's tile run.

Use it in a dashboard

The read function also answers a tile, so a dashboard or an app can show a definition or a lineage diagram beside the data:

json
{"id": "index_trace", "title": "Where this comes from",
 "exec": {"type": "lambda", "module_id": "strataindex", "lambda_index": 0, "sync": true,
          "timeout_seconds": 30, "result_kind": "artifact", "result_format": "md",
          "result_name": "result.md"},
 "block": {"type": "markdown", "config": {}}}

The tile id chooses the view: index_trace (inputs index_record_id, index_direction, index_depth), index_search (index_query, index_kind), index_record (index_record_id) or index_overview.

Access

Two kinds of grant, each made to StrataBI roles, users or both:

Records, relationships, evidence and counts outside your scopes are left out without a trace: something you may not see looks exactly like something that does not exist. An agent sees what its person may see and can do nothing but read. A grant applies from the next request.

Sharing approved knowledge across accounts

Optional, and off unless the deployment turns it on (index_publication). An installation that owns some knowledge can publish a signed, sanitized projection of its approved records for a named audience. Another installation, an executive or reporting account for example, checks it completely and takes it through its own review into a release that holds its own knowledge beside each producer's. Imported records keep their producer's name in their id (entity:@finance-prod:…), so two programs' identically named tables stay two records. A publication runs on a lease: it disappears from every answer once its producer's withdrawal arrives or the lease runs out.

It carries knowledge only. No data moves, and knowing about a dataset is not access to it.

Note
Run between two of Shaleio's AWS accounts, with signing by AWS KMS: tampered, replayed and out-of-order deliveries were refused, nothing outside the audience's scopes travelled, and withdrawal and lease expiry took effect at once. Not yet run there: the scheduled automation, key rotation and revocation, and a second way of placing the transfer bucket. It is part of the release candidate.

Install

StrataIndex installs like any other module. The release candidates in Shaleio's test accounts were installed and updated this way:

bash
stratactl install strataindex
stratactl uninstall strataindex

admin_actors is the setting that matters on day one: the StrataBI user ids of the people who administer StrataIndex. They hold every permission, see every access scope and hand out the finer grants. With the list empty nobody can import or publish. If StrataBI's roles are on, add strataindex to the roles that should open the module. StrataForge needs nothing changed.

Then, in StrataBI: StrataIndex → Review & Publish, import a bundle, approve it, publish.

Settings

SettingDefaultMeaning
admin_actorsnone (required)Who administers StrataIndex.
read_requires_grantfalsetrue: reading needs an explicit read grant.
allow_self_reviewtruefalse: a proposal must be approved by someone other than its author. A draft from Guildmaster is in your name, so the same rule applies to it.
allow_unverified_readfalsetrue only where StrataBI has no sign-in at all.
export_enabled, export_max_records, export_max_edgeson; 2,000; 5,000The limits of the full-ontology listing.
query_deadline_seconds8How long one read tool may run before it answers with what it has.
application_discoverytrueLet a steward propose applications from StrataBI's module registry.
index_publicationoffSharing approved knowledge across accounts (see above).
deletion_protection, point_in_time_recoverytrueThe table's protections.

AWS services

Everything below runs in your AWS account. It is created by the install unless noted.

ServiceUsed forRequired
Amazon DynamoDBOne table: records, relationships, lookups, releases, proposals, grants and audit.Yes
AWS Lambdaapi: the read tools and read tiles; it cannot write the table. admin: import, review, publish, roll back, grants; tiles only, never a model. drafts: stores Guildmaster's drafts as proposals, and nothing else.Yes
Amazon S3Diagram artifacts in StrataBI's temporary area, expiring within a day.Yes
AWS IAMOne scoped role per function.Yes
Amazon CloudWatch LogsRuntime logs: one line per read (never the arguments or record contents) and one per decision.Yes
Amazon S3, AWS KMS, Amazon EventBridge Scheduler, Amazon SNSSharing across accounts only: a transfer prefix in a bucket you own, a signing key you own, an optional schedule and notices.No

It also uses pieces of your existing StrataBI install: the system S3 bucket, the module registry and the user-roles table (read only), to resolve a caller's StrataBI roles.

There is no graph database, no vector store and no always-on worker.

How it works

Limits worth knowing

StrataLake · StrataForge · Guildmaster · StrataChat · Modules