mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
* feat(review): add PR reviewer swarm agents Seven read-only subagents coordinated by an orchestration skill for structured, evidence-grounded production-readiness PR reviews. Agents: facts-historian, branch-hygiene, risk-architect, test-ci-verifier, security-boundary, docs-dod, synthesis-critic. All use Read/Grep/Glob/Bash only — no edit tools. Skill invoked as /gitnexus-pr-swarm-review <PR>. * Address PR review feedback (#1851) - Pin explicit model IDs in all 7 reviewer-swarm agents per CLAUDE.md (no unversioned aliases). Set the two mechanical agents (test-ci-verifier, branch-hygiene-reviewer) to claude-haiku-4-5-20251001 per @Cenrax's "this could be haiku"; the five analytical agents use claude-sonnet-4-6. - Add an explicit read-only Bash policy (permitted/prohibited command lists) to every agent's Rules section, so the read-only guarantee is defended against injected/adversarial PR content rather than prose-only. - Add a hard synthesis-critic gate to the swarm skill: do not post the final review until the critic's "Required corrections before posting" section is empty (was advisory only). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * feat(review): make PR reviewer swarm portable across AI CLIs Restructure the reviewer swarm around a single CLI-neutral source of truth so it runs from any AI CLI, not just Claude Code. - pr-swarm-review/: canonical orchestration.md (Swarm + Solo execution modes with an identical output contract) and personas/0N-*.md (the 7 review personas, relocated verbatim from the Claude agents, each tagged with a model tier and the read-only Bash policy). Single source of truth — edit here, not in the wrappers. - Thin per-CLI adapters that read the canonical spec at runtime (no duplication): - Claude Code: coordinator skill (Swarm mode) + the 7 agents are now thin wrappers that read their persona file (frontmatter/model preserved; mechanical lanes Haiku, analytical lanes Sonnet). - Gemini CLI: .gemini/commands/gitnexus-pr-swarm-review.toml - GitHub Copilot: .github/prompts/gitnexus-pr-swarm-review.prompt.md - Cursor: .cursor/commands/gitnexus-pr-swarm-review.md - AGENTS.md: canonical "PR Swarm Review" section -> orchestration.md, the universal entrypoint honored by Codex, Cursor, Gemini, Copilot, and any AGENTS.md-aware agent (Codex user-level prompt install noted in the README). Graceful degradation: only Claude Code has parallel subagents (Swarm mode); every other CLI runs the 7 lanes sequentially in one agent (Solo mode) with the same output contract. prettier --check clean (root config). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
112 lines
1.6 KiB
Text
112 lines
1.6 KiB
Text
# Dependencies
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
|
|
# TypeScript build info
|
|
*.tsbuildinfo
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
.claude/settings.local.json
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
docker/.env
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Testing
|
|
coverage/
|
|
|
|
# Misc
|
|
*.local
|
|
HANDOFF.md
|
|
HANDOFF*.md
|
|
|
|
.vercel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.env*.local
|
|
.gitnexus
|
|
.claude/settings.local.json
|
|
|
|
# Claude Code worktrees
|
|
.claude/worktrees/
|
|
|
|
# Claude code skills
|
|
.claude/skills/generated/
|
|
|
|
# Assets (screenshots, images)
|
|
assets/
|
|
|
|
# Generated files (should not be indexed)
|
|
repomix-output*
|
|
|
|
# Playwright artifacts
|
|
gitnexus-web/playwright-report/
|
|
gitnexus-web/test-results/
|
|
|
|
# Python test artifacts
|
|
eval/.coverage
|
|
eval/.hypothesis/
|
|
|
|
# Local docs
|
|
docs/
|
|
|
|
gitnexus/test/fixtures/mini-repo/*.md
|
|
gitnexus/test/fixtures/mini-repo/.claude
|
|
gitnexus/test/fixtures/mini-repo/.gitignore
|
|
|
|
# Ignore csharp generated obj and bin folders
|
|
gitnexus/test/fixtures/lang-resolution/**/obj
|
|
gitnexus/test/fixtures/lang-resolution/**/bin
|
|
GitNexus.sln
|
|
# Git worktrees
|
|
.worktrees/
|
|
|
|
# Vendored tree-sitter grammar build artifacts (created at install time,
|
|
# never committed). See docs/plans/2026-04-15-002-fix-tree-sitter-proto-vendor-deps-plan.md
|
|
gitnexus/vendor/**/build/
|
|
gitnexus/vendor/**/node_modules/
|
|
|
|
/github/scripts/triage/__pycache__/
|
|
|
|
.claude-flow/
|
|
|
|
.claude/agents/*
|
|
!.claude/agents/gitnexus-*.md
|
|
.claude/commands/
|
|
.claude/helpers
|
|
.claude/skills/*
|
|
!.claude/skills/gitnexus/
|
|
!.claude/skills/gitnexus-pr-swarm-review/
|
|
|
|
.history/
|
|
|
|
.swarm/
|
|
|
|
local_docs/
|
|
|
|
# Local agent scratch / review prompts (never commit)
|
|
.tmp/
|
|
.agents/
|
|
.context/
|
|
gitnexus/web/
|