Skip to content

feat(config): add review.enrichment analyzer per-lane toggles #2050

Description

@JSONbored

Add review.enrichment — a per-repo mapping of REES analyzer names to bool, letting operators enable/disable individual enrichment analyzers (static-analysis, coverage-delta, breaking-change, etc.) declaratively rather than a single opaque on/off. Absent ⇒ current default set (byte-identical). Decomposed from #1959/#1680; the config surface for the #1499 analyzers.

Deliverables

  • Add enrichmentAnalyzers: Record<string, boolean> to FocusManifestReviewConfig in src/signals/focus-manifest.ts, parsed as a mapping of known analyzer keys to booleans (warn+drop unknown keys)
  • Resolve the per-analyzer toggles at the enrichment wiring site (src/review/enrichment-wire.ts) so a disabled analyzer is skipped; unset ⇒ existing default set
  • Wire reviewConfigToJson round-trip + present + EMPTY literals
  • Unit tests: enable/disable per analyzer, unknown-key warning, empty=defaults byte-identical; branch coverage on the per-key arms
  • Document the analyzer keys + defaults in .gittensory.yml.example

References

  • src/review/enrichment-wire.ts
  • src/signals/focus-manifest.ts:558 (parseSettingsOverride mapping pattern)
  • part of #1959 / #1680 (epic #1953); config surface for #1499

Part of #1959.


size: M · gittensor:feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions