Skip to content

feat(config): add review.fixHandoff toggle (default off) for fix-handoff blocks #2176

Description

@JSONbored

Config slice for #1962: a per-repo boolean under review that gates whether fix-handoff blocks are emitted, wired through FocusManifestReviewConfig with a global env kill-switch, default-OFF, byte-identical when unset. Follows the inline_comments toggle precedent exactly.

Deliverables

  • Add fixHandoff: boolean|null to FocusManifestReviewConfig + parse/normalize (mirror inlineComments in src/signals/focus-manifest.ts:131)
  • isFixHandoffEnabled(env) env kill-switch helper mirroring isInlineCommentsEnabled in src/review/inline-comments.ts:21
  • shouldEmitFixHandoff() AND-ing manifest toggle + env flag (mirror shouldRequestInlineFindings src/review/inline-comments.ts:29)
  • Tests: all three-way combinations of manifest/env, absent defaults, both branches

References

  • src/signals/focus-manifest.ts:131
  • src/review/inline-comments.ts:21
  • src/review/inline-comments.ts:29

Part of #1962.


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