[{"data":1,"prerenderedAt":490},["ShallowReactive",2],{"doc-seo-\u002Fdocs\u002Fplatform\u002Flimits-and-logging":3,"content-query-MGbdURLlrh":6},{"title":4,"description":5},"Budgets, Limits & Telemetry","Transparent response envelopes, verification tiers, static-analysis boundaries, and local JSONL logging.",{"_path":7,"_dir":8,"_draft":9,"_partial":9,"_locale":10,"title":4,"description":5,"badge":11,"body":12,"_type":484,"_id":485,"_source":486,"_file":487,"_stem":488,"_extension":489},"\u002Fdocs\u002Fplatform\u002Flimits-and-logging","platform",false,"","Platform",{"type":13,"children":14,"toc":477},"root",[15,44,51,56,218,224,323,336,373,410,415,471],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29,31,36,38,42],{"type":21,"value":22},"text","Every Strata tool returns a consistent response structure so AI agents know not just ",{"type":16,"tag":24,"props":25,"children":26},"em",{},[27],{"type":21,"value":28},"what",{"type":21,"value":30}," was found, but ",{"type":16,"tag":24,"props":32,"children":33},{},[34],{"type":21,"value":35},"how",{"type":21,"value":37}," it was verified and ",{"type":16,"tag":24,"props":39,"children":40},{},[41],{"type":21,"value":28},{"type":21,"value":43}," might have been skipped.",{"type":16,"tag":45,"props":46,"children":48},"h2",{"id":47},"verification-tiers-omissions",[49],{"type":21,"value":50},"Verification Tiers & Omissions",{"type":16,"tag":17,"props":52,"children":53},{},[54],{"type":21,"value":55},"Each tool response reports:",{"type":16,"tag":57,"props":58,"children":59},"ul",{},[60,77,127,173],{"type":16,"tag":61,"props":62,"children":63},"li",{},[64,75],{"type":16,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":16,"tag":69,"props":70,"children":72},"code",{"className":71},[],[73],{"type":21,"value":74},"scope",{"type":21,"value":76},": The workspace root, package, or file that was analyzed.",{"type":16,"tag":61,"props":78,"children":79},{},[80,89,91],{"type":16,"tag":65,"props":81,"children":82},{},[83],{"type":16,"tag":69,"props":84,"children":86},{"className":85},[],[87],{"type":21,"value":88},"verification",{"type":21,"value":90},":\n",{"type":16,"tag":57,"props":92,"children":93},{},[94,105,116],{"type":16,"tag":61,"props":95,"children":96},{},[97,103],{"type":16,"tag":69,"props":98,"children":100},{"className":99},[],[101],{"type":21,"value":102},"semantic",{"type":21,"value":104}," — backed by both the SQLite index and TypeScript's Language Service \u002F TypeChecker.",{"type":16,"tag":61,"props":106,"children":107},{},[108,114],{"type":16,"tag":69,"props":109,"children":111},{"className":110},[],[112],{"type":21,"value":113},"graph",{"type":21,"value":115}," — backed by the SQLite index without running TypeScript type expansion.",{"type":16,"tag":61,"props":117,"children":118},{},[119,125],{"type":16,"tag":69,"props":120,"children":122},{"className":121},[],[123],{"type":21,"value":124},"syntax-fallback",{"type":21,"value":126}," — syntax-level fallback used when TypeScript type resolution could not complete.",{"type":16,"tag":61,"props":128,"children":129},{},[130,139,141,147,149,155,157,163,165,171],{"type":16,"tag":65,"props":131,"children":132},{},[133],{"type":16,"tag":69,"props":134,"children":136},{"className":135},[],[137],{"type":21,"value":138},"omissions",{"type":21,"value":140},": Places static analysis cannot resolve automatically (such as ",{"type":16,"tag":69,"props":142,"children":144},{"className":143},[],[145],{"type":21,"value":146},"DYNAMIC_SPREAD",{"type":21,"value":148}," for ",{"type":16,"tag":69,"props":150,"children":152},{"className":151},[],[153],{"type":21,"value":154},"v-bind=\"obj\"",{"type":21,"value":156}," or ",{"type":16,"tag":69,"props":158,"children":160},{"className":159},[],[161],{"type":21,"value":162},"{...props}",{"type":21,"value":164},"), returned with exact file\u002Fline ",{"type":16,"tag":69,"props":166,"children":168},{"className":167},[],[169],{"type":21,"value":170},"sourceRef",{"type":21,"value":172}," handles for manual review.",{"type":16,"tag":61,"props":174,"children":175},{},[176,185,187,193,195,201,202,208,210,216],{"type":16,"tag":65,"props":177,"children":178},{},[179],{"type":16,"tag":69,"props":180,"children":182},{"className":181},[],[183],{"type":21,"value":184},"diagnostics",{"type":21,"value":186},": Warnings such as ",{"type":16,"tag":69,"props":188,"children":190},{"className":189},[],[191],{"type":21,"value":192},"CONTRACT_TYPES_UNRESOLVED",{"type":21,"value":194},", ",{"type":16,"tag":69,"props":196,"children":198},{"className":197},[],[199],{"type":21,"value":200},"DYNAMIC_HTTP_METHOD",{"type":21,"value":194},{"type":16,"tag":69,"props":203,"children":205},{"className":204},[],[206],{"type":21,"value":207},"COMPONENT_TREE_TRUNCATED",{"type":21,"value":209},", or ",{"type":16,"tag":69,"props":211,"children":213},{"className":212},[],[214],{"type":21,"value":215},"SLICE_TRUNCATED",{"type":21,"value":217},".",{"type":16,"tag":45,"props":219,"children":221},{"id":220},"response-budgets-pagination",[222],{"type":21,"value":223},"Response Budgets & Pagination",{"type":16,"tag":57,"props":225,"children":226},{},[227,290],{"type":16,"tag":61,"props":228,"children":229},{},[230,243,245,251,253,259,261,267,268,274,275,281,282,288],{"type":16,"tag":65,"props":231,"children":232},{},[233,235,241],{"type":21,"value":234},"Default response budget (",{"type":16,"tag":69,"props":236,"children":238},{"className":237},[],[239],{"type":21,"value":240},"max_bytes: 16384",{"type":21,"value":242},")",{"type":21,"value":244},": Prevents a single tool call from flooding the agent's context window. If a response is too large, Strata returns ",{"type":16,"tag":69,"props":246,"children":248},{"className":247},[],[249],{"type":21,"value":250},"BUDGET_RESPONSE_TOO_LARGE",{"type":21,"value":252}," with a suggested ",{"type":16,"tag":69,"props":254,"children":256},{"className":255},[],[257],{"type":21,"value":258},"retryMaxBytes",{"type":21,"value":260}," and narrowing hints (",{"type":16,"tag":69,"props":262,"children":264},{"className":263},[],[265],{"type":21,"value":266},"limit",{"type":21,"value":194},{"type":16,"tag":69,"props":269,"children":271},{"className":270},[],[272],{"type":21,"value":273},"sections",{"type":21,"value":194},{"type":16,"tag":69,"props":276,"children":278},{"className":277},[],[279],{"type":21,"value":280},"package",{"type":21,"value":209},{"type":16,"tag":69,"props":283,"children":285},{"className":284},[],[286],{"type":21,"value":287},"max_lines",{"type":21,"value":289},").",{"type":16,"tag":61,"props":291,"children":292},{},[293,305,307,313,315,321],{"type":16,"tag":65,"props":294,"children":295},{},[296,298,304],{"type":21,"value":297},"Text mode by default (",{"type":16,"tag":69,"props":299,"children":301},{"className":300},[],[302],{"type":21,"value":303},"format: \"text\"",{"type":21,"value":242},{"type":21,"value":306},": Compact, readable output that omits duplicate ",{"type":16,"tag":69,"props":308,"children":310},{"className":309},[],[311],{"type":21,"value":312},"structuredContent",{"type":21,"value":314}," in MCP stdio responses to save tokens. Pass ",{"type":16,"tag":69,"props":316,"children":318},{"className":317},[],[319],{"type":21,"value":320},"format: \"json\"",{"type":21,"value":322}," when structured JSON is needed.",{"type":16,"tag":45,"props":324,"children":326},{"id":325},"local-tool-telemetry-strata-stats",[327,329,335],{"type":21,"value":328},"Local Tool Telemetry (",{"type":16,"tag":69,"props":330,"children":332},{"className":331},[],[333],{"type":21,"value":334},"strata stats",{"type":21,"value":242},{"type":16,"tag":17,"props":337,"children":338},{},[339,341,347,349,355,357,363,365,371],{"type":21,"value":340},"When ",{"type":16,"tag":69,"props":342,"children":344},{"className":343},[],[345],{"type":21,"value":346},".strata\u002F",{"type":21,"value":348}," exists in a workspace, Strata records one JSON Lines entry per MCP tool call to ",{"type":16,"tag":69,"props":350,"children":352},{"className":351},[],[353],{"type":21,"value":354},".strata\u002Fstrata.log",{"type":21,"value":356}," (never sent externally, rotated at ",{"type":16,"tag":69,"props":358,"children":360},{"className":359},[],[361],{"type":21,"value":362},"2 MiB",{"type":21,"value":364}," with one ",{"type":16,"tag":69,"props":366,"children":368},{"className":367},[],[369],{"type":21,"value":370},".1",{"type":21,"value":372}," backup):",{"type":16,"tag":57,"props":374,"children":375},{},[376,397],{"type":16,"tag":61,"props":377,"children":378},{},[379,381,387,389,395],{"type":21,"value":380},"Tracks timestamp, tool name, mode, status, execution duration (",{"type":16,"tag":69,"props":382,"children":384},{"className":383},[],[385],{"type":21,"value":386},"duration_ms",{"type":21,"value":388},"), output bytes, estimated tokens, and ",{"type":16,"tag":69,"props":390,"children":392},{"className":391},[],[393],{"type":21,"value":394},"bloat_alert",{"type":21,"value":396}," when a response exceeds 16 KiB.",{"type":16,"tag":61,"props":398,"children":399},{},[400,402,408],{"type":21,"value":401},"Sensitive strings like raw code\u002Fpatterns are summarized by byte count rather than logged verbatim; output previews are disabled by default (",{"type":16,"tag":69,"props":403,"children":405},{"className":404},[],[406],{"type":21,"value":407},"STRATA_LOG_PREVIEW=1",{"type":21,"value":409}," to opt in).",{"type":16,"tag":17,"props":411,"children":412},{},[413],{"type":21,"value":414},"Inspect local telemetry anytime with:",{"type":16,"tag":416,"props":417,"children":421},"pre",{"className":418,"code":419,"language":420,"meta":10,"style":10},"language-bash shiki shiki-themes github-light github-dark","strata stats .\nstrata stats . --json\n","bash",[422],{"type":16,"tag":69,"props":423,"children":424},{"__ignoreMap":10},[425,448],{"type":16,"tag":426,"props":427,"children":430},"span",{"class":428,"line":429},"line",1,[431,437,443],{"type":16,"tag":426,"props":432,"children":434},{"style":433},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[435],{"type":21,"value":436},"strata",{"type":16,"tag":426,"props":438,"children":440},{"style":439},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[441],{"type":21,"value":442}," stats",{"type":16,"tag":426,"props":444,"children":445},{"style":439},[446],{"type":21,"value":447}," .\n",{"type":16,"tag":426,"props":449,"children":451},{"class":428,"line":450},2,[452,456,460,465],{"type":16,"tag":426,"props":453,"children":454},{"style":433},[455],{"type":21,"value":436},{"type":16,"tag":426,"props":457,"children":458},{"style":439},[459],{"type":21,"value":442},{"type":16,"tag":426,"props":461,"children":462},{"style":439},[463],{"type":21,"value":464}," .",{"type":16,"tag":426,"props":466,"children":468},{"style":467},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[469],{"type":21,"value":470}," --json\n",{"type":16,"tag":472,"props":473,"children":474},"style",{},[475],{"type":21,"value":476},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":10,"searchDepth":478,"depth":478,"links":479},3,[480,481,482],{"id":47,"depth":450,"text":50},{"id":220,"depth":450,"text":223},{"id":325,"depth":450,"text":483},"Local Tool Telemetry (strata stats)","markdown","content:docs:platform:limits-and-logging.md","content","docs\u002Fplatform\u002Flimits-and-logging.md","docs\u002Fplatform\u002Flimits-and-logging","md",1795576105526]