From 4f015022ccccbe9b9f9e185f47706c8cc2e6113e Mon Sep 17 00:00:00 2001 From: Kevin Rombach <35775977+xdustinface@users.noreply.github.com> Date: Mon, 30 Mar 2026 11:59:35 +1100 Subject: [PATCH 1/2] ci: add Manki AI code review configuration (#73) * chore: add Manki AI code review configuration * fix: pass `claude_code_oauth_token` to Manki action --- .github/workflows/manki.yml | 29 +++++++++++++++++++++++++++++ .manki.yml | 18 ++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/manki.yml create mode 100644 .manki.yml diff --git a/.github/workflows/manki.yml b/.github/workflows/manki.yml new file mode 100644 index 000000000..f846072ed --- /dev/null +++ b/.github/workflows/manki.yml @@ -0,0 +1,29 @@ +name: Manki Review + +on: + pull_request: + types: [opened, synchronize] + issue_comment: + types: [created, edited] + pull_request_review: + types: [submitted] + +permissions: + contents: read + pull-requests: write + issues: write + id-token: write + +concurrency: + group: manki-${{ github.event_name }}-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }} + cancel-in-progress: false + +jobs: + review: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: xdustinface/manki@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.manki.yml b/.manki.yml new file mode 100644 index 000000000..05a68358b --- /dev/null +++ b/.manki.yml @@ -0,0 +1,18 @@ +# Manki — AI Code Review Configuration +# https://github.com/xdustinface/manki + +auto_review: true +auto_approve: true + +exclude_paths: + - "*.lock" + - "fuzz/**" + +instructions: | + This is a Rust implementation of the Dash cryptocurrency protocol. + Pay special attention to: + - Consensus-critical code paths — changes here can cause chain splits + - FFI safety for C/Swift bindings in dash-spv-* crates + - Proper error handling — prefer Result over unwrap/expect in library code + - DIP (Dash Improvement Proposal) compliance for protocol changes + - Memory safety in hash/crypto implementations From c3fd2bb02f111d508f4c510958ca7109a8f1edd1 Mon Sep 17 00:00:00 2001 From: xdustinface Date: Mon, 6 Apr 2026 15:14:47 +1000 Subject: [PATCH 2/2] chore: update manki action reference to `manki-review/manki` --- .github/workflows/manki.yml | 2 +- .manki.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manki.yml b/.github/workflows/manki.yml index f846072ed..7369cc6f8 100644 --- a/.github/workflows/manki.yml +++ b/.github/workflows/manki.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: xdustinface/manki@v4 + - uses: manki-review/manki@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.manki.yml b/.manki.yml index 05a68358b..2504826a5 100644 --- a/.manki.yml +++ b/.manki.yml @@ -1,5 +1,5 @@ # Manki — AI Code Review Configuration -# https://github.com/xdustinface/manki +# https://github.com/manki-review/manki auto_review: true auto_approve: true