Type: feat · Branch: feat/issue-29-analyzer-manifest · Part of epic #26
Problem
V2Application (src/schema/v2/model.ts:23-29) emits schema_version / language / max_level / k_limit but not the analyzer{name,version} manifest the spec lists among the top-level envelope siblings (schema-reference.md:29-30). Consumers/the SDK key on it.
Change
Add analyzer: { name: string; version: string } to V2Application; populate in src/schema/v2/emit.ts (~:369). name = "codeanalyzer-typescript"; version from the same source -v reads (src/utils/version).
Acceptance
analysis.json carries a well-formed analyzer{name,version} at every level.
- Confirm the SDK Pydantic model expects this shape (coordinate with the
reaching-defs cross-repo issue).
Files: src/schema/v2/model.ts, src/schema/v2/emit.ts, test/schema-v2.test.ts.
Type: feat · Branch:
feat/issue-29-analyzer-manifest· Part of epic #26Problem
V2Application(src/schema/v2/model.ts:23-29) emitsschema_version/language/max_level/k_limitbut not theanalyzer{name,version}manifest the spec lists among the top-level envelope siblings (schema-reference.md:29-30). Consumers/the SDK key on it.Change
Add
analyzer: { name: string; version: string }toV2Application; populate insrc/schema/v2/emit.ts(~:369).name = "codeanalyzer-typescript";versionfrom the same source-vreads (src/utils/version).Acceptance
analysis.jsoncarries a well-formedanalyzer{name,version}at every level.reaching-defscross-repo issue).Files:
src/schema/v2/model.ts,src/schema/v2/emit.ts,test/schema-v2.test.ts.