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
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:
| Tab | Purpose |
|---|---|
| Knowledge & Lineage | Find 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 & Rules | Paste a structured query plan and see, rule by rule, whether it passes. It checks the plan, not SQL. |
| Review & Publish | Import a bundle as a proposal, see what it would change, approve or reject it, publish a release, roll back. |
| Access | Grant 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
| Record | What it is |
|---|---|
| Entity | A business concept (Well, Cost centre), with its properties and aliases. |
| Asset | A physical thing: a dataset, column, pipeline, function, application, dashboard or tile. |
| Relationship | A typed edge between two records: meaning, mapping, containment, lineage, dependency, derivation or governance. |
| Metric | An approved calculation: formula, unit, grain, allowed dimensions, sources and rules. |
| Constraint | A typed rule that a query plan can be checked against. |
| Document reference | A pointer to an approved business document. |
| Evidence | Where 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
import bundle ──► proposal ──approve──► approved ──publish──► in the active release
│
└──reject──► rejected (kept for audit, never in the graph)- 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.
- 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.
- 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.
- 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 ask | What 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.
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| Tool | Answers |
|---|---|
index_search | Records matching a name, a word or a locator; candidates when a term is ambiguous. |
index_get | One record, with its relationships, rules, metrics, mappings, documents or evidence on request. |
index_relationships | A record's typed relationships, in either direction. |
index_trace | Upstream or downstream lineage, as a diagram. |
index_find_path | How two records connect. Never a claim that a path is a valid join. |
index_impact | What a change would touch: confirmed dependents apart from potential ones. |
index_get_metric | A metric's approved definition, sources, rules and join mappings. |
index_validate_plan | Whether a structured query plan passes the rules: pass, fail or unknown. |
index_get_context | References to approved documents. References only: it does not retrieve their text. |
index_export | The whole ontology you may see, rendered in the background within your administrator's limits. |
index_propose | Drafts 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:
{"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:
- Access scope: which records. Every record names one scope.
scope:openis visible to every reader and takes no grant. Any other scope is visible to administrators only until it is granted. A relationship is visible only with both of its ends. - Permission: which actions:
read,propose,review,publish,rollback,admin, and two more where sharing across accounts is on (publish_export,import). Holding one never implies another, except that the administrators named at install hold all of them.
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.
Install
StrataIndex installs like any other module. The release candidates in Shaleio's test accounts were installed and updated this way:
stratactl install strataindex
stratactl uninstall strataindexadmin_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
| Setting | Default | Meaning |
|---|---|---|
admin_actors | none (required) | Who administers StrataIndex. |
read_requires_grant | false | true: reading needs an explicit read grant. |
allow_self_review | true | false: 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_read | false | true only where StrataBI has no sign-in at all. |
export_enabled, export_max_records, export_max_edges | on; 2,000; 5,000 | The limits of the full-ontology listing. |
query_deadline_seconds | 8 | How long one read tool may run before it answers with what it has. |
application_discovery | true | Let a steward propose applications from StrataBI's module registry. |
index_publication | off | Sharing approved knowledge across accounts (see above). |
deletion_protection, point_in_time_recovery | true | The table's protections. |
AWS services
Everything below runs in your AWS account. It is created by the install unless noted.
| Service | Used for | Required |
|---|---|---|
| Amazon DynamoDB | One table: records, relationships, lookups, releases, proposals, grants and audit. | Yes |
| AWS Lambda | api: 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 S3 | Diagram artifacts in StrataBI's temporary area, expiring within a day. | Yes |
| AWS IAM | One scoped role per function. | Yes |
| Amazon CloudWatch Logs | Runtime logs: one line per read (never the arguments or record contents) and one per decision. | Yes |
| Amazon S3, AWS KMS, Amazon EventBridge Scheduler, Amazon SNS | Sharing 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
- Storage. One on-demand, encrypted table with no secondary index. Every read is a lookup by key or a query on a known partition; nothing scans the knowledge table.
- Releases. Publishing writes a full, immutable copy under a new id, reads everything back, recomputes every derived row from the canonical records and compares them, then switches readers in one transaction. A damaged release cannot become active.
- Lineage. A bounded walk outward from one record, checking each edge against its canonical record and against your access before going further. The cost of a question follows the size of the answer, not the size of the release.
- Rules. Nine typed kinds of rule, evaluated against a structured plan. A result is
pass,fail,unknownornot_supported, and the verdict is neverpasswhile a required rule went undecided.
Limits worth knowing
- A walk stops at depth 8, 40 nodes, 80 edges or 60 edges per node, and says which.
- Search matches exact names, exact locators and exact words. There is no prefix, fuzzy or vector search.
- The validator checks a structured plan. It does not parse SQL, and a plan that passes does not make generated SQL validated.
- Definitions are imported as bundles. There is no per-record editor in the pages.
- No adapter reads existing data profiles or cache registries yet; application discovery from the module registry is the one that is built.
- Latency and capacity have not been measured against a real table.
Related
StrataLake · StrataForge · Guildmaster · StrataChat · Modules
Shaleio