codex.review
Execute code reviews using Codex CLI to analyze target files against reference documentation and return structured JSON results with identified issues and recommendations.
Instructions
Review deliverables via Codex CLI and return review JSON only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | レビュー対象ファイル一覧(表示名とパス) | |
| previous_reviews | No | 前回レビュー結果JSON(must_fixes/チェックリスト等)への参照一覧 | |
| reference | Yes | レビューで参照すべきドキュメント一覧(表示名とパス) | |
| review_request | Yes | レビューワへの依頼文(自然文) | |
| timeout_ms | No | 外部レビュー実行のタイムアウト(ミリ秒) | |
| policy | No | 将来予約(LGTM基準等)。初期バージョンは null 固定・不使用 |
Input Schema (JSON Schema)
{
"properties": {
"policy": {
"default": null,
"description": "将来予約(LGTM基準等)。初期バージョンは null 固定・不使用",
"type": [
"string",
"null"
]
},
"previous_reviews": {
"default": [],
"description": "前回レビュー結果JSON(must_fixes/チェックリスト等)への参照一覧",
"items": {
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"file",
"path"
],
"type": "object"
},
"minItems": 0,
"type": "array"
},
"reference": {
"description": "レビューで参照すべきドキュメント一覧(表示名とパス)",
"items": {
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"file",
"path"
],
"type": "object"
},
"minItems": 0,
"type": "array"
},
"review_request": {
"description": "レビューワへの依頼文(自然文)",
"minLength": 1,
"type": "string"
},
"targets": {
"description": "レビュー対象ファイル一覧(表示名とパス)",
"items": {
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"file",
"path"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"timeout_ms": {
"default": 1800000,
"description": "外部レビュー実行のタイムアウト(ミリ秒)",
"type": "number"
}
},
"required": [
"targets",
"reference",
"review_request"
],
"type": "object"
}