Skip to content

feat(config): add review.test_generation toggle (default off) for boundary-safe test generation #2189

Description

@JSONbored

Config slice for #1972: a per-repo default-OFF flag gating whether a test-gen action spec is emitted when the test-evidence signal reports missing tests, wired through FocusManifestReviewConfig with a global env kill-switch, byte-identical when unset.

Deliverables

  • Add testGeneration: boolean|null to FocusManifestReviewConfig + parse/normalize, default null
  • isTestGenerationEnabled(env) kill-switch helper (mirror isInlineCommentsEnabled src/review/inline-comments.ts:21)
  • Resolver AND-ing manifest toggle + env flag
  • Tests: manifest/env combinations, absent defaults, both branches

References

  • src/signals/focus-manifest.ts:131
  • src/review/inline-comments.ts:21
  • src/signals/test-evidence.ts:1

Part of #1972.


size: XS · held for later release (gittensor:bug once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions