Guildmaster Archive

A StrataBI Platform Module

Powered by Shaleio

Tier: Premium MX · module id guildmaster_archive · type background_service (functions with no screen in StrataBI) · requires StrataBI, StrataForge · ships with StrataForge

Note
Ships with StrataForge, which is in release-candidate testing.

The knowledge Guildmaster works from as the Archivist — StrataBI's contract, guides and schemas, the StrataForge and product documentation, and the module templates — searched in your account by one Lambda. No model, no embeddings, no vector store, no network: nothing leaves the account.

The Archive serves both of Guildmaster's tiers: the Archivist depends on it, and the Artisan consults it first for StrataBI's own contract before it looks anything up outside.

What it holds

The module packages a corpus of about 680 sections (235 KB), in five collections:

CollectionContents
stratabithe module guide, design guide, LLM contract, dashboard digest, themes
schemasthe dashboard and module JSON schemas, one section per property or definition
docsthe product documentation (these pages)
strataforgeStrataForge and Guildmaster documentation
templatesevery module template rendered (app, cache, opensearch, stream): handler, tests, OpenTofu, manifest

How it searches

BM25 over each section's text, with the title and headings weighted, and identifiers kept whole as well as split (card.badge, module_type, aws_lambda_function): exact names matter in this material, and lexical search finds them where embeddings blur them. The same query always gives the same results, and every result names the file and section it came from. Loading the corpus takes about 0.2 s on a cold start; a search, about a millisecond.

StrataForge's gateway calls it for Guildmaster (archive_search, archive_read), records an audit entry per call (sizes, not text) and caps what comes back. The function's role has CloudWatch Logs only; search text is logged only with log_queries = true.

From the terminal in a StrataForge workspace:

bash
strataforge archive search card.badge slow tile
strataforge archive search --in templates kinesis consumer
strataforge archive read strataforge/data.md#slow-tiles
strataforge archive info

Install

bash
stratactl install guildmaster_archive

StrataForge finds it by name (archive_function = "auto", the default). It is a background_service: StrataBI lists it but never renders it or offers it to tiles. The function, <name_prefix>-guildmaster_archive-search, is invoked directly; roles in other accounts can be allowed with invoker_role_arns.

Each release's corpus is identified by a content fingerprint, shown by strataforge archive info.

Adding your own documents

Installations can add their own approved material when they build the Archive — internal standards, runbooks, a mirrored copy of a provider's documentation. Each --extra adds one folder of .md, .markdown, .txt or .schema.json files as a collection:

bash
python build/build_archive.py --root <sources> \
  --extra /srv/standards=local \
  --extra /srv/mirror/aws-provider/website/docs/r=provider-aws

Then deploy the rebuilt module through your pipeline. Third-party documentation keeps its licence (the AWS provider's docs, for example, are MPL-2.0): include its notice with your build.