Skip to content

chore: add Brain-powered CLAUDE.md + PR review workflow#1

Open
sayanthns wants to merge 2 commits into
developfrom
add/brain-claude-md-20260511
Open

chore: add Brain-powered CLAUDE.md + PR review workflow#1
sayanthns wants to merge 2 commits into
developfrom
add/brain-claude-md-20260511

Conversation

@sayanthns
Copy link
Copy Markdown
Contributor

What

Adds two files to enable Enfono Brain AI assistance for this repo:

  1. CLAUDE.md — Auto-configures Claude Code with:

    • Frappe coding standards (SQL injection, type coercion, permissions)
    • Brain MCP tools (auto-searches 615 Frappe repos before answering)
    • Regional defaults (KSA/UAE VAT, ZATCA, bilingual prints)
    • File structure map, bench commands, commit standards
  2. .github/workflows/brain-pr-review.yml — On every PR:

    • Searches brain corpus for relevant patterns
    • Reviews for Frappe anti-patterns (blockers + warnings)
    • Posts structured review comment with specific fixes

Setup required

After merging, add these GitHub org secrets (one-time, already set if other repos have this):

  • BRAIN_VPS_SSH_KEY — SSH private key for brain VPS service account
  • BRAIN_VPS_HOST5.189.131.247
  • BRAIN_VPS_USERbrain

🤖 Deployed by Enfono Brain VPS setup script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant