STRΛTΛ19
Tools

strata19.ensure_ready

Everyday tool

What it does

One-call status: is the code index present, is the specbook present, and if either is missing, the exact next tool to call. Reads the filesystem only — always free. Pass buildIndex: true to start the explicit code-index build in the background (the only way to build it while automatic builds are off; it does not wait). When a first-run index build is under way (or has finished), the response names its stages — walk, index, detectors, graph, specbook skeleton — with their real counts and end state. It also reports spendCaps: the daily and monthly model-token caps and what each period has used. The response also carries ready and a blockers list, so readiness is a field to read, not prose to interpret.

When to use it

Use when: "is this repo set up" · "is the index built"

Also use when: right after strata19.get_spec_context returns empty — confirms "no specbook yet" vs "nothing matched"; or when you want to know what the first index build has done so far

When not to use it

the answer is already known — strata19.get_spec_context surfaces the same note inline

Availability

TierEveryday
LifecycleLive
Taught bystrata19-review-readiness