Skip to content

feat(config): add review.auto_review.ignore_title_keywords eligibility knob #2040

Description

@JSONbored

Add review.auto_review.ignore_title_keywords — a case-insensitive substring list (e.g. WIP, DRAFT) that skips AI review when the PR title matches. Deterministic; empty (default) ⇒ byte-identical. Third of the #1954 eligibility filters.

Deliverables

  • Add ignoreTitleKeywords: string[] to the autoReview sub-object in src/signals/focus-manifest.ts, parsed as a bounded public-safe string list (reuse the list-parse discipline; cap like MAX_PATH_INSTRUCTIONS)
  • Wire parse + reviewConfigToJson + present + EMPTY literals
  • Entry-point evaluation: title contains any keyword (case-insensitive) ⇒ quiet 'review skipped (WIP title)' status, never a gate failure
  • Unit tests: keyword match (mixed case), no-match, empty-list byte-identical, over-cap truncation warning; branch coverage on the match/no-match arms
  • Document the knob in .gittensory.yml.example

References

  • src/signals/focus-manifest.ts:653 (parseReviewConfig)
  • src/signals/focus-manifest.ts:174 (MAX_PATH_INSTRUCTIONS cap pattern)
  • .gittensory.yml.example
  • part of #1954 / #1959 (epic #1953)

Part of #1954.


size: S · gittensor:feature

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions