Platform
Budgets, Limits & Telemetry
Transparent response envelopes, verification tiers, static-analysis boundaries, and local JSONL logging.
Every Strata tool returns a consistent response structure so AI agents know not just what was found, but how it was verified and what might have been skipped.
Verification Tiers & Omissions
Each tool response reports:
scope: The workspace root, package, or file that was analyzed.verification:semantic— backed by both the SQLite index and TypeScript's Language Service / TypeChecker.graph— backed by the SQLite index without running TypeScript type expansion.syntax-fallback— syntax-level fallback used when TypeScript type resolution could not complete.
omissions: Places static analysis cannot resolve automatically (such asDYNAMIC_SPREADforv-bind="obj"or{...props}), returned with exact file/linesourceRefhandles for manual review.diagnostics: Warnings such asCONTRACT_TYPES_UNRESOLVED,DYNAMIC_HTTP_METHOD,COMPONENT_TREE_TRUNCATED, orSLICE_TRUNCATED.
Response Budgets & Pagination
- Default response budget (
max_bytes: 16384): Prevents a single tool call from flooding the agent's context window. If a response is too large, Strata returnsBUDGET_RESPONSE_TOO_LARGEwith a suggestedretryMaxBytesand narrowing hints (limit,sections,package, ormax_lines). - Text mode by default (
format: "text"): Compact, readable output that omits duplicatestructuredContentin MCP stdio responses to save tokens. Passformat: "json"when structured JSON is needed.
Local Tool Telemetry (strata stats)
When .strata/ exists in a workspace, Strata records one JSON Lines entry per MCP tool call to .strata/strata.log (never sent externally, rotated at 2 MiB with one .1 backup):
- Tracks timestamp, tool name, mode, status, execution duration (
duration_ms), output bytes, estimated tokens, andbloat_alertwhen a response exceeds 16 KiB. - Sensitive strings like raw code/patterns are summarized by byte count rather than logged verbatim; output previews are disabled by default (
STRATA_LOG_PREVIEW=1to opt in).
Inspect local telemetry anytime with:
strata stats .
strata stats . --json