コマンド
0.3.0-rc.3 の npx review-bridge <コマンド> --help の出力を、原文のまま掲載します。Usage: review-bridge … は実行ファイル名です。実行時はパッケージマネージャーに応じた接頭辞を付けてください。npx review-bridge --help --all には、エージェント・スクリプト用の work-plan、work-start、work-status、work-cancel、wait、prune、rm、graph、graph-mcp、roles-check も表示されます。通常は start で計画から実行まで行えます。
| コマンド | 用途 |
|---|---|
init | 現在のフォルダーに writer、reviewer、プロジェクトの種類を設定 |
start | 計画を固定してカードを表示。承認後に reviewer の権限を確認し、実行。.review-bridge/work-packages/ 配下のフォルダーならファイル名順に処理 |
stop | モデルのプロセスを停止して記録を維持。resume <run_id> で再実行 |
resume | 同じ停止位置と範囲で新しい run を作成。役割、モデル、effort、予算を決め直して再承認 |
clean | ID なしなら終了済み記録を日別にまとめ、期限切れを削除。ID ありなら指定した終了済み run を削除。実行中は不可 |
status | データベースを起動せず、ページ、DB 状態、run、接続情報を表示 |
logs | run のログ一覧、またはファイル・source_id ごとの実行履歴を新しい順に表示 |
vscode | .vscode/tasks.json に追加。--user はプロジェクト共通のユーザータスク |
up | バックグラウンドでデータベース、ローカルページの順に起動 |
down | ページ、データベースの順に停止。実行中の run があれば拒否 |
ps | ローカルページの動作状態と URL を表示 |
watch | 現在のターミナルでページを実行。Ctrl+C で終了 |
upgrade | バックアップ後、設定をインストール済み Bridge の版へ更新 |
uninstall | バックアップ後、プロジェクトの設定を削除。本体の削除は npm uninstall -g review-bridge |
doctor | 作業を実行せず、プラットフォームの adapter を確認 |
backup | データベースを停止して全プロジェクトをコピーし、再起動。作業中は拒否 |
graph | コード全体の graph を再構築。初回は init、変更分は start が処理。--help --all に掲載 |
プロジェクトは --project <folder> または --target <folder> で指定し、既定は現在のフォルダーです。対応するオプションは各コマンドを参照してください。
パッケージマネージャー
グローバルインストールは不要です。npx review-bridge <コマンド> は npm の latest を取得し、npm i -g review-bridge でインストール済みならそのコピーを使います。設定後の手順、カード、status、エラー後の案内、エージェントの入口、VS Code タスクは、起動に使ったパッケージマネージャーに合わせて表示します。
| 起動元 | Bridge が表示するコマンド |
|---|---|
| npm、または判別できない場合 | npx review-bridge … |
| pnpm | pnpm dlx review-bridge … |
| Yarn 2 以降 | yarn dlx review-bridge …(dlx のない Yarn 1 は npx) |
| Bun | bun x review-bridge … |
| Deno | deno run -A npm:review-bridge … |
create-vite と同じく npm_config_user_agent で判別します。案内するコマンドにバージョンは指定しません。実行ファイル名だけを使うのは --help の原文です。
init
現在のフォルダーを初期設定し、writer、reviewer、プロジェクト種別を選択します。
Usage: review-bridge init [options]
Set up Review Bridge in this folder: asks for the writer, the reviewer and the project type
Afterwards you start work through your agent: in Claude Code type /review-bridge start <file>; in Codex, $review-bridge start <file>. review-bridge start <file> at a terminal is for advanced use and CI.
Options:
--target <folder>
Set up this folder instead (string; default: the current folder)
--writer <claude|codex>
Writer role (string; default: your saved default, else claude)
--reviewer <claude|codex>
Reviewer role (string; default: your saved default, else codex)
--profile <type|none>
Project type; its test command becomes the tests a run executes (string; default: what detection finds, else none)
--port <n>
Port of the local page (number; default: 8080, or the next free port)
--yes
Ask nothing; use the defaults (boolean)
--json
Ask nothing; print the result as JSON (boolean)
1 more option(s) for tests and agents: review-bridge init --help --allstart
計画を固定してカードを表示し、承認後に reviewer の権限を確認して実行します。フォルダーなら各作業指示をファイル名順に処理します。--update と --as-new はカードと作業指示の識別を参照してください。
Usage: review-bridge start <file|directory> [options]
Run a work order, or a directory of them in file name order: plan it, check the reviewer can only read, show what you authorize, ask once, then run it
Options:
--writer <claude|codex>
Writer for this run only; the card shows it (string; default: the writer in bridge.json)
--reviewer <claude|codex>
Reviewer for this run only; the card shows it (string; default: the reviewer in bridge.json)
--breakpoint <text>
Where the work stops and comes back to you (string; default: after the review, asked at a terminal)
--allow-paths <list>
Limit the work to these paths, comma-separated (string; default: the whole project except protected files)
--owner <name>
Who owns the work (string; default: your OS user name)
--work-package <id>
Name of the work package (string; default: the work order's file name)
--rounds <n>
Writer rounds this work may use; comes before the work order's budget (number; default: the work order's budget, else the policy limit)
--call-timeout <ms>
Milliseconds each writer call may run; comes before the work order's budget (number; default: the work order's budget, else the policy limit)
--update <work_order_id>
Make this a new version of that work order (string; default: what Bridge finds, shown on the card)
--as-new
Make this a new work order (boolean)
--yes
The person said yes to the card; an agent adds this after showing them the card (boolean)
--project <folder>
The project folder (string; default: the current folder)
2 more option(s) for tests and agents: review-bridge start --help --allstop
指定した run のモデルプロセスを停止し、記録を残します。resume <run_id> で作業指示を再実行できます。
Usage: review-bridge stop <run_id> [options]
Pause a running work order: its model process is stopped and its records are kept (resume <run_id> carries it on)
Options:
--project <folder>
The project folder (string; default: the current folder)resume
停止した作業指示を、同じ停止位置と変更範囲で新しい run として実行します。役割、モデル、effort、予算を再決定し、新しいカードで承認を求めます。
Usage: review-bridge resume <run_id> [options]
Carry on a stopped work order: a new run of the same work order with the same stop point and scope; its roles, models, effort and budget are settled again, and the same card and yes as start show them
Options:
--writer <claude|codex>
Writer for this run only; the card shows it (string; default: the writer in bridge.json)
--reviewer <claude|codex>
Reviewer for this run only; the card shows it (string; default: the reviewer in bridge.json)
--yes
The person said yes to the card; an agent adds this after showing them the card (boolean)
--project <folder>
The project folder (string; default: the current folder)
2 more option(s) for tests and agents: review-bridge resume --help --allclean
run ID がなければ終了済み記録を日別ファイルにまとめ、期限切れの内容を削除します。ID があればその終了済み run を削除します。実行中の作業は削除できません。
Usage: review-bridge clean [<run_id>] [options]
Clear records: without a run id, fold finished runs into day files and drop what is past retention; with one, remove that finished run (a running one is refused)
Options:
--all
Clear this project's work orders, versions, plans and contracts from your database (refused while a run is running) (boolean)
--json
Print the result as JSON (without a run id) (boolean)
--project <folder>
The project folder (string; default: the current folder)status
ローカルページ、データベースの状態、run、接続情報を表示します。DB が停止中なら起動方法を案内するだけで、自動では起動しません。
Usage: review-bridge status [options]
Show what Bridge is doing now: the page, this project's runs, and how to look at the database
Options:
--after <run_id>
Show the ten runs after this one (the next page) (string; default: the newest runs)
--json
Print the result as JSON (boolean)
--project <folder>
The project folder (string; default: the current folder)logs
run のログフォルダーと各ファイルの用途を表示します。作業指示ファイルまたは source_id を渡すと、過去の run を新しい順に表示します。
Usage: review-bridge logs <run_id|file> [options]
Show a run's log folder and what each file in it is; for a work order (its file or source_id), its runs newest first
Options:
--after <run_id>
Show the ten runs after this one (the next page) (string; default: the newest runs)
--json
Print the result as JSON, with the same run fields as work-status (boolean)
--project <folder>
The project folder (string; default: the current folder)vscode
プロジェクトの .vscode/tasks.json に Bridge のタスクを追加します。--user なら全プロジェクト共用のユーザータスクに書き込みます。
Usage: review-bridge vscode [options]
Add Bridge's tasks to VS Code's task list, in this project's .vscode/tasks.json; with --user, in your user tasks for all projects
Options:
--user
Write to your VS Code user tasks instead of this project (boolean)
--target <folder>
Write to this set-up folder instead (string; default: the current folder)
--json
Print the result as JSON (boolean)up
バックグラウンドでデータベース、ローカルページの順に起動します。
Usage: review-bridge up [options]
Start the database and the local page service in the background
Options:
--project <folder>
The project folder (string; default: the current folder)
1 more option(s) for tests and agents: review-bridge up --help --alldown
up と逆に、ページ、データベースの順で停止します。実行中の run があれば一覧を表示して拒否します。
Usage: review-bridge down [options]
Stop the local page service and the database; refused while a run is running
Options:
--project <folder>
The project folder (string; default: the current folder)ps
ローカルページサービスの状態と URL を表示します。
Usage: review-bridge ps [options]
Show whether the local page service is running, and its address
Options:
--project <folder>
The project folder (string; default: the current folder)watch
現在のターミナルでローカルページサービスを実行します。Ctrl+C で終了します。
Usage: review-bridge watch [options]
Run the local page in this terminal until Ctrl+C
Options:
--port <n>
Port of the local page (number; default: the port init chose)
--project <folder>
The project folder (string; default: the current folder)
1 more option(s) for tests and agents: review-bridge watch --help --allupgrade
プロジェクト設定をバックアップし、インストール済みの Review Bridge のバージョンに更新します。
Usage: review-bridge upgrade [options]
Move this folder's setup to the installed Review Bridge version, with a backup
Options:
--target <folder>
Upgrade this folder instead (string; default: the current folder)
--rollback
Undo the last upgrade from its backup (boolean)
--plan-out <file>
Write the plan to a file instead of asking (string)
--plan <file>
Apply a plan written by --plan-out (needs --approve) (string)
--approve <sha>
The plan's SHA-256, as printed by --plan-out (string)
--backup-root <folder>
Where the backup goes (string; default: Review Bridge's backup folder)
--json
Print the result as JSON (boolean)
1 more option(s) for tests and agents: review-bridge upgrade --help --alluninstall
バックアップ後、指定フォルダーから Review Bridge の設定を削除します。パッケージ自体の削除は npm uninstall -g review-bridge を使います。
Usage: review-bridge uninstall [options]
Remove Review Bridge from a folder, with a backup (Review Bridge itself: npm uninstall -g review-bridge)
Options:
--target <folder>
The folder to remove the setup from (string; required)
--plan-out <file>
Write the plan to a file instead of asking (string)
--plan <file>
Apply a plan written by --plan-out (needs --approve) (string)
--approve <sha>
The plan's SHA-256, as printed by --plan-out (string)
--backup-root <folder>
Where the backup goes (string; default: Review Bridge's backup folder)
--json
Print the result as JSON (boolean)
1 more option(s) for tests and agents: review-bridge uninstall --help --alldoctor
作業指示を実行せず、本機のプラットフォーム adapter を確認します。
Usage: review-bridge doctor [options]
Check which platform adapter this machine uses, without running any work
Options:
--project <folder>
The project folder (string; default: the current folder)
1 more option(s) for tests and agents: review-bridge doctor --help --allbackup
データベースを停止し、全プロジェクトのデータをコピーしてから再起動します。実行中の作業があれば拒否します。
Usage: review-bridge backup [options]
Copy your database, for all your projects, with the database stopped (refused while a run is running)
Options:
--project <folder>
The project folder (string; default: the current folder)graph
プロジェクト全体のコードを読み直し、graph を再構築します。初回は init、Git が報告する変更分は start が更新します。start で graph を更新できなかったと表示された場合に使ってください。プロジェクトのコード索引を参照してください。--help --all に掲載しています。
Usage: review-bridge graph [options]
Read this project's code into its graph again, whole (init does this; start brings it up to date)
Options:
--json
Print each step as one JSON line, the last one the summary (boolean)
--project <folder>
The project folder (string; default: the current folder)