STRΛTΛ19
Tools

strata19.get_spec_context

Requires a human surface tool

What it does

The local Code map (generated from code: describes what exists): requirement text for a topic, with acceptance criteria. Unmeasured: this is what the spec SAYS, not what the code proves. Every chunk carries its authority (origin/authority/reviewState/implementable): implement only what a person's decision stands behind (implementable: true), and treat document chunks as draft prose, not decided intent. Credential-shaped strings are redacted ([REDACTED:…]) before text is served. Also answers the reverse question: pass path (and optionally symbol) to get the specs that file/symbol serves — directly linked, plus the specs whose obligations depend on it. From markdown, criteria are only EARS/Given-When-Then/ID-numbered/shall-must lines and plain bullets under ordinary headings; user stories, goals, steps, table rows and open questions (unresolved tag or trailing "?") are items. A multi-word query must match ALL its words (any order; filler words ignored, echoed in queryTerms). Check diagnostics and scan (which source answered, how much markdown was NOT read) before concluding "no written requirement": scope (specs default, docs, repo) widens the read; source:"markdown" reads documents even when claims exist. An over-size chunk is cut with a marker (oversize). A read never calls a model unless autoGenerate:true. A truncated answer carries page.nextCursor: pass it back as cursor (or offset) until absent for EVERY match, or keysOnly:true for keys and titles. Criteria are recognised as EARS statements in the language of STRATA19_SPEC_LOCALE (en, de, fr, es); earsNote says what was not recognised.

When to use it

Use when: "is there a written requirement for this anywhere" · "what's the spec for" · "is this supposed to" · "which requirements cover src/auth/users.ts" (pass path)

Also use when: before implementing any feature; before changing a file, to see the requirements resting on it

When not to use it

the question is where code LIVES, not how it should behave; or you want the whole Code map browsed rather than one topic — use strata19.spec_workspace; and never implement against a chunk whose implementable is false without a person promoting it (strata19.spec_manage action propose)

Availability

TierRequires a human surface
LifecycleLive
Taught bystrata19-check-convergence, strata19-project-library, strata19-write-specs