بنقرة واحدة
bridgebuilder-review
Bridgebuilder — Autonomous PR Review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Bridgebuilder — Autonomous PR Review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Security and quality audit of application codebase
Autonomous agent execution mode
Triage a bug report through structured phases and create micro-sprint
L2 cost-budget enforcer — daily token cap with fail-closed semantics under uncertainty (billing-API primary, internal counter fallback, periodic reconciliation cron)
L5 cross-repo status reader — reads structured cross-repo state via gh API with TTL cache + stale fallback, BLOCKER extraction from NOTES.md, per-source error capture, p95 <30s for 10 repos
Design and deploy production infrastructure
| name | bridgebuilder-review |
| description | Bridgebuilder — Autonomous PR Review |
| capabilities | {"schema_version":1,"read_files":true,"search_code":true,"write_files":true,"execute_commands":true,"web_access":true,"user_interaction":false,"agent_spawn":true,"task_management":false} |
| cost-profile | heavy |
| zones | {"system":{"path":".claude","permission":"read"},"state":{"paths":["grimoires/bridgebuilder"],"permission":"read"},"app":{"permission":"none"}} |
gh CLI installed and authenticated (gh auth status)ANTHROPIC_API_KEY environment variable setThis directory is the committed, Codex-facing Bridgebuilder source package.
.claude/skills/bridgebuilder-review remains the Claude-facing package and may
use Claude-specific transport adapters; it is not the build output of this
directory. The Codex package builds its ignored dist/ from these committed
TypeScript sources with bun run build, and CI proves a frozen-lockfile build,
the full test corpus, and deterministic generated sources from a clean checkout.
/bridgebuilder # Review all open PRs on auto-detected repo
/bridgebuilder --dry-run # Preview reviews without posting
/bridgebuilder --pr 42 # Review only PR #42
/bridgebuilder --repo owner/repo # Target specific repo
/bridgebuilder --no-auto-detect # Skip git remote detection
git remote -v (unless --no-auto-detect)gh CLI<!-- bridgebuilder-review: {sha} -->)COMMENT or REQUEST_CHANGES){ reviewed, skipped, errors }Set in .loa.config.yaml under bridgebuilder: section, or via environment variables:
| Setting | Env Var | Default |
|---|---|---|
| repos | BRIDGEBUILDER_REPOS | Auto-detected from git remote |
| model | BRIDGEBUILDER_MODEL | claude-opus-4-7 |
| dry_run | BRIDGEBUILDER_DRY_RUN | false |
| max_prs | — | 10 |
| max_files_per_pr | — | 50 |
| max_diff_bytes | — | 100000 |
| max_input_tokens | — | 8000 |
| max_output_tokens | — | 4000 |
| persona_path | — | grimoires/bridgebuilder/BEAUVOIR.md |
When BB reviews a PR that modifies BB itself — or any other framework file under .claude/, grimoires/, .beads/, etc. — the Loa-aware filter normally strips those files from the review payload before the multi-model pass. This is correct for code-PR reviews (no review noise from grimoire side-effects) but inverts on self-modifying PRs (the framework files ARE the substance).
To opt a single PR into self-review (framework files visible to all reviewer models), apply the label:
bridgebuilder:self-review
When detected, BB:
.claude/, grimoires/, .beads/ files become reviewable.reviewignore operator-curated patterns (BR-003 / BB-001-security): secrets/, vendor/, private-doc patterns in your repo's .reviewignore still exclude their matches under self-review. The label is an Allow on framework files, NOT a global Deny suppressor..reviewignore user patterns: [Loa-aware: self-review opt-in active — framework files included; .reviewignore (N user patterns) still honored (vision-013 / #796)][Loa-aware: self-review opt-in active — framework files included (vision-013 / #796)]truncated.selfReviewActive: true on the typed TruncationResult (downstream consumers — cache key, audit logs, future analyzers — read this field; never substring-match the banner prose, BB-797-001)loaAware) untouched — the opt-in is per-PR, not workspace-wideselfReview as a distinct dimension, so toggling the label on a PR with unchanged headSha produces a fresh review (BB-003-cache)Use this for: bridgebuilder TS adapter changes, cycle-planning PRs (PRD/SDD/sprint), construct manifest changes, anything where the framework artifacts ARE the diff. The label is a single source of truth (constant SELF_REVIEW_LABEL in core/truncation.ts); substring matches like bridgebuilder:self-review-extra do NOT trigger.
Override the default reviewer persona by creating grimoires/bridgebuilder/BEAUVOIR.md. The default persona reviews across 4 dimensions: Security, Quality, Test Coverage, and Operational Readiness.
This skill runs entry.sh, which invokes the Codex-facing compiled Node.js application:
.agents/skills/bridgebuilder-review/resources/entry.sh [flags]
| Code | Meaning |
|---|---|
| 0 | All reviews completed successfully |
| 1 | One or more reviews encountered errors |