Skip to content

ci: add CodeRabbit configuration for template-ui - #97

Open
NP-compete wants to merge 1 commit into
redhat-data-and-ai:deep-agentfrom
NP-compete:ci/coderabbit-setup
Open

ci: add CodeRabbit configuration for template-ui#97
NP-compete wants to merge 1 commit into
redhat-data-and-ai:deep-agentfrom
NP-compete:ci/coderabbit-setup

Conversation

@NP-compete

Copy link
Copy Markdown
Member

Summary

  • Add .coderabbit.yaml with assertive profile for correctness-only automated reviews
  • Add 6 ast-grep rules for TypeScript/React patterns: no console.log, no dangerouslySetInnerHTML (XSS), no useEffect without deps, no direct process.env, no explicit any types, no floating promises
  • Configure auto review with draft/bot exclusions, slop detection, post-merge changelog, issue enrichment with auto-labeling, and cross-repo knowledge base (template-agent, template-mcp)

Test plan

  • Verify CodeRabbit triggers on new PRs targeting deep-agent
  • Confirm ast-grep rules fire on matching patterns
  • Check slop detection flags AI-generated content

Configure CodeRabbit with assertive profile for correctness-only reviews.
Includes ast-grep rules for TypeScript/React patterns (XSS, floating
promises, console.log, useEffect deps, any types, direct env access),
auto review with draft/bot exclusions, slop detection, post-merge
changelog, issue enrichment with auto-labeling, and cross-repo
knowledge base linking.

Signed-off-by: Soham Dutta <19648293+NP-compete@users.noreply.github.com>
@NP-compete
NP-compete requested a review from a team as a code owner July 28, 2026 12:04
@NP-compete NP-compete added the deep-agent PRs targeting the deep-agent branch label Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deep-agent PRs targeting the deep-agent branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant