mirror of
https://github.com/Twigpine/zero.git
synced 2026-11-09 18:08:31 -10:00
* docs: name the five supported targets and drop Plan 9 as a review gate Plan 9 has never compiled and is not a release or CI target. Reviews still asked for plan9 shims. Document the five release platforms as the supported set so unsupported GOOS is not a review criterion. Fixes Gitlawb/zero#817 * docs: exclude unsupported GOOS/GOARCH from review criteria CONTRIBUTING.md names five exact release combinations. Align AGENTS.md and .coderabbit.yaml so other GOOS/GOARCH pairs are not a review criterion. Unsupported targets such as plan9 remain allowed as fixtures. * docs: retain Android support in target policy --------- Co-authored-by: cairn-intern <[email protected]>
57 lines
2.5 KiB
YAML
57 lines
2.5 KiB
YAML
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
|
|
language: "en-US"
|
|
tone_instructions: "Be direct and prioritize actionable correctness, safety, CLI UX, and test coverage issues over style nits."
|
|
|
|
reviews:
|
|
profile: "chill"
|
|
# Allow explicit @coderabbitai approve / resolve commands to submit review verdicts.
|
|
request_changes_workflow: true
|
|
high_level_summary: true
|
|
poem: false
|
|
# Avoid noisy "review skipped" status comments when CodeRabbit decides not to run.
|
|
review_status: false
|
|
collapse_walkthrough: false
|
|
path_filters:
|
|
- "!dist/**"
|
|
- "!out/**"
|
|
- "!coverage/**"
|
|
- "!*.tgz"
|
|
- "!/zero"
|
|
- "!/zero.exe"
|
|
path_instructions:
|
|
- path: "src/**/*.ts"
|
|
instructions: |
|
|
Review changed code as a Bun-first TypeScript terminal coding agent. Prioritize tool safety, permission metadata, provider/config correctness, session/stream event integrity, and avoiding raw execution paths that bypass ToolBase-style controls.
|
|
- path: "src/tui/**/*.tsx"
|
|
instructions: |
|
|
Review Ink terminal UI for responsive layout, keyboard flow, approval prompts, startup cleanliness, and small-terminal behavior. Flag browser UI assumptions, hardcoded terminal dimensions, and clutter that weakens the CLI agent experience.
|
|
- path: "tests/**/*.ts"
|
|
instructions: |
|
|
Review tests for Bun test idioms, deterministic behavior, and meaningful coverage of safety decisions, provider/runtime flows, session events, and TUI command behavior.
|
|
- path: "**/*.go"
|
|
instructions: |
|
|
Do not request Plan 9 or other unsupported GOOS/GOARCH shims. The five native prebuilt release targets are linux-x64, linux-arm64, macos-arm64, macos-x64, and windows-x64. Android/Termux is also a supported runtime through the documented android-arm64 source build and Linux artifact fallback. Other GOOS/GOARCH combinations are not a review criterion.
|
|
tools:
|
|
github-checks:
|
|
timeout_ms: 300000
|
|
auto_review:
|
|
enabled: true
|
|
drafts: true
|
|
auto_incremental_review: true
|
|
auto_pause_after_reviewed_commits: 10
|
|
ignore_title_keywords:
|
|
- "WIP"
|
|
- "DO NOT MERGE"
|
|
- "[skip review]"
|
|
labels:
|
|
- "!do-not-review"
|
|
ignore_usernames:
|
|
- "dependabot[bot]"
|
|
- "renovate[bot]"
|
|
- "github-actions[bot]"
|
|
# CodeRabbit reviews default-branch PRs by default. This extends automatic
|
|
# reviews to PRs targeting any branch, including release and stacked branches.
|
|
base_branches:
|
|
- ".*"
|