Skip to content

feat: analyzer{name,version} schema envelope #29

Description

@rahlk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions