Repository navigation
docs(#249): SKILL.md の timeout_sec 推奨追記と gh_commands 記述整合 - #262
Conversation
github_research / local_asset_research / proposal_only + gh_commands 使用時の timeout_sec: 300+ 推奨と wall-clock 区別を timeout_sec 行に追記。 gh_commands 行を usage-contract.md と整合させ、実装済み/非対応 profile を明記。 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
検証結果レポートIssue #249: SKILL.md に timeout_sec と gh_commands の実装ガイドを記載
品質ゲート
総合判定
TEST_VERDICT:
result: PASS
mergeable: MERGEABLE
merge_state_status: BEHIND
baseline_only: false
verification_commands_pass: 6
verification_commands_fail: 0 |
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=MERGEABLE, mergeStateStatus=BEHIND(1コミット分、マージ自体は問題なし)
Evidence Check
- AC coverage: 全 4 AC 充足
- AC1:
timeout_sec行にgithub_research/local_asset_research/proposal_only+gh_commands使用時のtimeout_sec: 300+推奨を明記。充足。 - AC2:
gh_commands事前実行・inline_contextprepend・GitHub API レイテンシ・prompt 増加が理由として明記。充足。 - AC3:
timeout_secは Gemini CLI 実行フェーズ中心の timeout であり wrapper 全体の wall-clock 予算ではない点を明記。充足。 - AC4:
gh_commands行に実装済み profile (github_research/local_asset_research/proposal_only) と非対応 profile (no_tools/grounded_research) をusage-contract.md準拠で明記。充足。
- AC1:
- Allowed Paths: 遵守。変更ファイルは
.claude/skills/gemini-cli-headless-delegation/SKILL.mdのみ(Issue Allowed Paths と完全一致)。 - CI Verification: build/lint/python-test/test/typecheck 全 5 チェック pass。
- 検証コマンド結果: PR 本文に 7 コマンド全 PASS 記載。test-runner SubAgent の TEST_VERDICT も PASS(全 6 コマンド合格)。
- Schema Change Applicability: docs-only 変更のため not_schema_change。Schema Consumer Inventory 不要。
- Safety Gate:
.claude/skills/**changed-path マッチで形式的に safety-sensitive 候補だが、変更内容はタイムアウト推奨値と実装済み profile の記述更新のみ。安全境界に関する主張(safe/read-only/sandboxed/isolated 等)の新規導入・変更なし。diff および PR 本文に安全境界キーワードも含まれないため Safety Claim Matrix 要求なしと判定。
Blockers
なし
Non-blockers(任意改善)
なし
LOOP_VERDICT
LOOP_VERDICT:
verdict: APPROVE
blockers: []
mergeable: MERGEABLE
mergeStateStatus: BEHIND
reviewed_head_sha: be2e624366a0c2bec68ffb1df680d73d2f4b7be1
follow_up_issue_requests: []
Verdict: REQUEST_CHANGESPR #262 は #249 の主要ACにはほぼ合っていますが、 BlockerB1:
|
|
人間からの指摘です。 |
|
PRブランチへの直接 push は、ツール権限が拒否されたため実行できませんでした。代わりに、修正方針とそのまま使える差し替え案を出します。 判断人間指摘は妥当です。PR #262 の問題は 特に現行
PR #262 の差分自体は #249 のACに沿っていますが、#249 のACが「 推奨修正
# Gemini CLI Headless Delegation
## Scope of this file
この SKILL.md は routing entrypoint。詳細契約は references/usage-contract.md を正本にする。
## Routing
目的別に tool_profile を選ぶ表だけ置く。
## Delegation boundary
Gemini 側に write / mutation を渡さない、result_surface を優先する、など最小境界だけ置く。
## Request construction
JSON 早見表は置かず usage-contract.md 参照にする。
## Timeout routing note
grounded_research と gh_commands 利用時の timeout 注意だけ短く置く。
warning 実装範囲は grounded_research 限定であることを明確化する。
## Workflow
setup_check → preflight → run_gemini_headless.py → result_surface 確認の最小手順だけ。
## References
参照ファイル一覧。PRコメント案そのまま PR #262 に貼るなら、以下です。 ## Verdict: REQUEST_CHANGES
人間指摘を受けると、このPRは `timeout_sec` 行の文言修正だけでは不十分です。問題は `SKILL.md` が routing entrypoint ではなく、契約仕様・運用設計・実装詳細・JSON早見表を抱え込みすぎていることです。
### Blocker
#### B1: `SKILL.md` が thin routing document になっていない
この skill の詳細契約は既に `references/usage-contract.md` に存在します。`SKILL.md` 側に Request JSON 早見表、profile 別 allowlist、`gh_commands` 実装状況、timeout warning 実装範囲を重複させると、今後また `usage-contract.md` と drift します。
`SKILL.md` は以下に限定してください。
- 何を Gemini headless に委譲するか
- 目的別にどの `tool_profile` を選ぶか
- Gemini 側に渡してはいけない write / mutation 境界
- setup_check / preflight / run wrapper / result_surface 確認の最小 workflow
- 詳細契約への参照
`リクエスト JSON 早見表` は削除し、`references/usage-contract.md` に逃がしてください。
#### B2: `gemini-3-flash-preview` 固定に見える記述を避ける
`Use When` や Core Rules で `gemini-3-flash-preview` を強く押し出すと、model routing / fallback chain の設計と衝突します。`model` の既定・role別 chain・明示指定時の挙動は `references/model-routing.md` を正本にし、`SKILL.md` では特定 model を主目的化しないでください。
#### B3: Codex CLI など caller 固有の記述を消す
この skill は wrapper delegation の shared skill なので、`Codex CLI` のような caller 固有名は不要です。`caller / orchestrator` に一般化してください。
#### B4: `timeout_sec` warning の契約過大表現を直す
現行PRの `timeout_sec` 行は、`300 未満を指定すると warnings に警告が追加される` が `gh_commands` ケースにも掛かるように読めます。実装上の warning は `grounded_research` 限定であり、`github_research` / `local_asset_research` / `proposal_only` + `gh_commands` には同等の runtime warning 強制はありません。
修正文は次の方向です。
```md
`grounded_research` は `timeout_sec >= 300` を指定する。現行実装では `grounded_research` で 300 未満を指定した場合に `warnings` が追加される。
`github_research` / `local_asset_research` / `proposal_only` で `gh_commands` を使う場合も `timeout_sec >= 300` を推奨する。ただし、この推奨に対する runtime warning 強制は現時点では正本契約にしない。caller / orchestrator が明示的に余裕を取る。Suggested shape
詳細な JSON 早見表、allowlist、result contract、rejection rules、 FinalこのPRは #249 の文字列ACだけなら通っていますが、skill document の責務分離としては悪化しています。 |
… gh_commands 行を整合 - timeout_sec テーブル行の「300 未満 → warnings 追加」が gh_commands プロファイルにも 掛かるように読める誤読リスクを解消する(現行実装は grounded_research 限定) - gh_commands + 300s 推奨の runtime warning 強制は未実装であることを明記し、 caller が明示的に余裕を取る必要があることを追記する - Core Rules gh_commands 行(旧: github_research のみ完全実装済みと記載)を テーブル行と整合させ、実装済み/非対応 profile を明示する Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
検証結果レポートIssue #249: Gemini CLI Headless Delegation Skill - SKILL.md timeout_sec・gh_commands 行更新Acceptance Criteria 検証
Verification Commands 実行結果Python AC 検査:
TypeScript/JavaScript/build ツール:
Python テストスイート:
総合判定
Verification Commands 実行統計
TEST_VERDICT:
result: PASS
mergeable: MERGEABLE
merge_state_status: BEHIND
baseline_only: false
verification_commands_pass: 6
verification_commands_fail: 0補足:
|
squne121
left a comment
There was a problem hiding this comment.
Verdict: REQUEST_CHANGES
Mergeability
- mergeable=MERGEABLE, mergeStateStatus=BEHIND(conflict なし、main から 1 commit behind)
Evidence Check
AC coverage
- AC1: PASS — timeout_sec 行に github_research / local_asset_research / proposal_only + gh_commands 使用時の timeout_sec: 300+ 推奨が明記されている
- AC2: PASS — gh_commands 事前実行・inline_context prepend・GitHub API レイテンシ・prompt 増加が理由として明記されている
- AC3: PASS — "timeout_sec は Gemini CLI 実行フェーズ中心の timeout であり wrapper 全体の wall-clock 予算ではない。gh_commands の実行時間(API レイテンシ等)は別途 wall-clock 余裕として見込むこと" が明記されている
- AC4: PASS — gh_commands 行が "実装済み profile: github_research / local_asset_research / proposal_only。非対応 profile: no_tools / grounded_research" と整合して記載されている
Allowed Paths
遵守 — .claude/skills/gemini-cli-headless-delegation/SKILL.md のみ変更
CI Verification
全 CI チェック PASS
- build: pass (10s)
- lint: pass (10s)
- python-test: pass (22s)
- test: pass (10s)
- typecheck: pass (13s)
検証コマンド結果
TEST_VERDICT_MACHINE: verification_commands_pass=6, verification_commands_fail=0
AC grep VC(AC1-AC4): PASS
pnpm typecheck/lint/test/build: 全 PASS
uv run pytest .claude/skills/gemini-cli-headless-delegation/tests/: PASS(397 tests)
前回 B1 の修正確認
PASS — grounded_research で 300 未満を指定すると現行実装では warnings に警告が追加される(grounded_research 限定)と明記し、gh_commands ケースは「runtime warning 強制は現時点では未実装」と分離されている。B1 は解消された。
Blockers
B2: PR 本文に Schema Change Applicability セクションおよび Safety Claim Matrix セクションが欠落している
PR テンプレート(.github/pull_request_template.md)は ## Schema Change Applicability と ## Safety Claim Matrix の記載を義務付けており、該当しない場合でも N/A と理由の記載を求めている。
Schema Change Applicability:
変更対象は .claude/skills/gemini-cli-headless-delegation/SKILL.md の入力テーブル行の説明文のみ(フィールド名・型・required/optional は変更なし)。schema_change_applicability: not_schema_change として "description text only, no field/type changes" と記載すれば Schema Consumer Inventory は不要。
Safety Claim Matrix:
変更パス .claude/skills/** は pr-review-judge skill の safety-sensitive 判定基準(changed path 一致)に該当するため、Safety Claim Matrix セクションが必須。新たな安全主張を追加していない場合は N/A と理由(例: "docs-only change, no new safety controls added or modified")を記載すること。
修正方法(最小限):
PR 本文に以下の 2 セクションを追加する:
## Schema Change Applicability
- decision: not_schema_change
- reason: timeout_sec 行と gh_commands 行の説明文のみ更新。フィールド名・型・required/optional は変更なし。consumer 境界をまたぐ machine-readable contract に変更なし。
## Schema Consumer Inventory
N/A(not_schema_change のため不要)
### Compatibility Decision
- change_type: N/A
- compatibility: N/A
- migration_required: N/A
- migration_or_followup: N/A
- reason: not_schema_change
## Safety Claim Matrix
N/A — docs-only change。新たな安全制御の追加・変更・削除なし。既存の gh_commands allowlist・fail-closed 動作・read-only 制約はすべてコード実装側で維持されており、本 PR は SKILL.md の実装状況記述を usage-contract.md と整合させる文書修正のみ。
Non-blockers(任意改善)
なし
LOOP_VERDICT
LOOP_VERDICT:
verdict: REQUEST_CHANGES
blockers:
- id: B2
description: "PR 本文に Schema Change Applicability セクションおよび Safety Claim Matrix セクションが欠落している。PR テンプレート必須セクション。not_schema_change + Safety Claim Matrix N/A の記載で解消可能。"
mergeable: MERGEABLE
mergeStateStatus: BEHIND
reviewed_head_sha: 98c99c13e55d8a4aff33782c361ca0928a108a59
follow_up_issue_requests: []
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=MERGEABLE, mergeStateStatus=BEHIND (no conflict, BEHIND は許容範囲)
Evidence Check
- AC coverage: 全 4 件 PASS
- AC1: timeout_sec 行に github_research / local_asset_research / proposal_only / gh_commands / 300 / inline_context / prepend / wall-clock 全 8 語含有確認
- AC2: gh_commands 事前実行・inline_context prepend・API レイテンシ・prompt 増加の理由明記確認
- AC3: timeout_sec が Gemini CLI フェーズ中心 timeout であり wrapper 全体 wall-clock 予算ではない旨の明記確認
- AC4: gh_commands 行が usage-contract.md と整合(実装済み: github_research / local_asset_research / proposal_only、非対応: no_tools / grounded_research)
- Allowed Paths: 遵守 (.claude/skills/gemini-cli-headless-delegation/SKILL.md のみ変更)
- CI Verification: 全 5 チェック pass (build / lint / python-test / test / typecheck)
- 検証コマンド結果: TEST_VERDICT_MACHINE verification_commands_fail: 0 / verification_commands_pass: 6
Iteration 1 Blockers 解消確認
- B1 (grounded_research warning scope 過大表現): 解消済み。timeout_sec 行に「grounded_research で 300 未満を指定すると現行実装では warnings に警告が追加される」と scope を明示し、gh_commands ケースは「runtime warning 強制は現時点では未実装」と明記された。
- B2 (Schema Change Applicability / Safety Claim Matrix セクション欠如): 解消済み。## Schema Change Applicability (not_schema_change、根拠: フィールド定義変更なし) と ## Safety Claim Matrix (N/A、docs-only、安全境界実装変更なし) が PR 本文に追加された。
Schema / Safety Gate
- Schema Change Applicability: not_schema_change。diff は説明文更新のみでフィールド名・型・delegation_request_v1 スキーマに変更なし。根拠と diff の整合確認済み。
- Safety Claim Matrix: PR は .claude/skills/** path に該当し safety-sensitive 判定。ただし Safety Claim Matrix N/A の根拠(実装変更なし・新規 safe/sandboxed クレーム追加なし)は diff と一致している。gh_commands 行の「isolated temp cwd」は既存 Core Rules ヘッダ(line 144)と整合する事実記述であり、新規の安全主張ではない。
Blockers
なし
Non-blockers(任意改善)
- NB1 (iter1 引継ぎ): wall-clock 余裕の見積もり式(gh_commands 件数 × 30s + timeout_sec + retry)を 1 文追記するとユーザーの迷いが減る。今回 AC 外のため非ブロッカー。
- NB2: 人間コメント (#262#issuecomment-4524270271) にある SKILL.md の責務再設計(thin routing entrypoint 化、JSON 早見表の usage-contract.md 移設、Codex CLI 記述削除)は本 PR スコープ外だが重要。後続 Issue での対応を推奨。
LOOP_VERDICT
LOOP_VERDICT:
verdict: APPROVE
blockers: []
mergeable: MERGEABLE
mergeStateStatus: BEHIND
reviewed_head_sha: 98c99c13e55d8a4aff33782c361ca0928a108a59
follow_up_issue_requests:
- title: "gemini-cli-headless-delegation SKILL.md を thin routing entrypoint に再設計する"
issue_kind: implementation
severity: optional_follow_up
source:
kind: pr_review
url: "https://github.com/squne121/loop-protocol/pull/262#issuecomment-4524270271"
note_id: "2"
dedupe_key: "follow-up:squne121/loop-protocol:https://github.com/squne121/loop-protocol/pull/262:2"
desired_destination: "SKILL.md が routing entrypoint(tool_profile 選択・delegation 境界・最小 workflow)に限定され、詳細契約・JSON 早見表・gh_commands 仕様が usage-contract.md に集約されている"
validated_scope_delta: "SKILL.md から JSON 早見表・Core Rules 詳細・Codex CLI 記述・gemini-3-flash-preview 固定記述を削除し、usage-contract.md 参照に置換する"
origin_skill: pr-review-judge
labels:
- triage-required
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=MERGEABLE, mergeStateStatus=BEHIND (no conflict, BEHIND は許容範囲)
Evidence Check
- AC coverage: 全 4 件 PASS
- AC1: timeout_sec 行に github_research / local_asset_research / proposal_only / gh_commands / 300 / inline_context / prepend / wall-clock 全 8 語含有確認
- AC2: gh_commands 事前実行・inline_context prepend・API レイテンシ・prompt 増加の理由明記確認
- AC3: timeout_sec が Gemini CLI フェーズ中心 timeout であり wrapper 全体 wall-clock 予算ではない旨の明記確認
- AC4: gh_commands 行が usage-contract.md と整合(実装済み: github_research / local_asset_research / proposal_only、非対応: no_tools / grounded_research)
- Allowed Paths: 遵守 (.claude/skills/gemini-cli-headless-delegation/SKILL.md のみ変更)
- CI Verification: 全 5 チェック pass (build / lint / python-test / test / typecheck)
- 検証コマンド結果: TEST_VERDICT_MACHINE verification_commands_fail: 0 / verification_commands_pass: 6
Iteration 1 Blockers 解消確認
- B1 (grounded_research warning scope 過大表現): 解消済み。timeout_sec 行に「grounded_research で 300 未満を指定すると現行実装では warnings に警告が追加される」と scope を明示し、gh_commands ケースは「runtime warning 強制は現時点では未実装」と明記された。
- B2 (Schema Change Applicability / Safety Claim Matrix セクション欠如): 解消済み。## Schema Change Applicability (not_schema_change、根拠: フィールド定義変更なし) と ## Safety Claim Matrix (N/A、docs-only、安全境界実装変更なし) が PR 本文に追加された。
Schema / Safety Gate
- Schema Change Applicability: not_schema_change。diff は説明文更新のみでフィールド名・型・delegation_request_v1 スキーマに変更なし。根拠と diff の整合確認済み。
- Safety Claim Matrix: PR は .claude/skills/** path に該当し safety-sensitive 判定。ただし Safety Claim Matrix N/A の根拠(実装変更なし・新規 safe/sandboxed クレーム追加なし)は diff と一致している。gh_commands 行の「isolated temp cwd」は既存 Core Rules ヘッダ(line 144)と整合する事実記述であり、新規の安全主張ではない。
Blockers
なし
Non-blockers(任意改善)
- NB1 (iter1 引継ぎ): wall-clock 余裕の見積もり式(gh_commands 件数 × 30s + timeout_sec + retry)を 1 文追記するとユーザーの迷いが減る。今回 AC 外のため非ブロッカー。
- NB2: 人間コメント (#262#issuecomment-4524270271) にある SKILL.md の責務再設計(thin routing entrypoint 化、JSON 早見表の usage-contract.md 移設、Codex CLI 記述削除)は本 PR スコープ外だが重要。後続 Issue での対応を推奨。
LOOP_VERDICT
LOOP_VERDICT:
verdict: APPROVE
blockers: []
mergeable: MERGEABLE
mergeStateStatus: BEHIND
reviewed_head_sha: 98c99c13e55d8a4aff33782c361ca0928a108a59
follow_up_issue_requests:
- title: "gemini-cli-headless-delegation SKILL.md を thin routing entrypoint に再設計する"
issue_kind: implementation
severity: optional_follow_up
source:
kind: pr_review
url: "https://github.com/squne121/loop-protocol/pull/262#issuecomment-4524270271"
note_id: "2"
dedupe_key: "follow-up:squne121/loop-protocol:https://github.com/squne121/loop-protocol/pull/262:2"
desired_destination: "SKILL.md が routing entrypoint(tool_profile 選択・delegation 境界・最小 workflow)に限定され、詳細契約・JSON 早見表・gh_commands 仕様が usage-contract.md に集約されている"
validated_scope_delta: "SKILL.md から JSON 早見表・Core Rules 詳細・Codex CLI 記述・gemini-3-flash-preview 固定記述を削除し、usage-contract.md 参照に置換する"
origin_skill: pr-review-judge
labels:
- triage-required…y tuple 説明の精緻化 B3: issue-contract-review/SKILL.md Step 3 に fallback Depends on #N parsing の line-anchored 宣言文限定ルールを追記。Delivery Rule 条件文・歴史的注記を blocker と見なさない旨を明文化(#262 誤検出実績に基づく)。 B4: impl-review-loop/steps/preparation.md の ready tuple 説明を修正。 「ラベルの有無は ready 判定に影響しない」を「state labels の有無は ready 判定に 影響しない。ただし phase/implementation は issue kind / workflow routing の前提 として維持する」に変更し、矛盾を解消。 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…修正 (#276) * docs(#267): state/queued の reader/writer/warning producer をゼロにする整合修正 #211 確定方針に従い state/queued の reader/writer/warning producer をゼロにするため 4 ファイルを整合修正。issue-contract-review の state ラベルチェックを state/needs-human の有無のみを着手判定に用いる形に限定し、state/queued 欠如 warning を除去。impl-review-loop の ready tuple から state/queued を完全削除し blocker/dependency close 状態を primary signal として明記。github-ops.md の state/queued 説明を legacy/deprecated 文脈に統一(補助的 ready 表示記述を除去)。 issue-refinement-loop の Step 0-hygiene 実行タイミングを anchor validation 後と 明示。 Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * fix(#267): B3/B4 REQUEST_CHANGES 対応 — fallback Depends on 誤検出防止と ready tuple 説明の精緻化 B3: issue-contract-review/SKILL.md Step 3 に fallback Depends on #N parsing の line-anchored 宣言文限定ルールを追記。Delivery Rule 条件文・歴史的注記を blocker と見なさない旨を明文化(#262 誤検出実績に基づく)。 B4: impl-review-loop/steps/preparation.md の ready tuple 説明を修正。 「ラベルの有無は ready 判定に影響しない」を「state labels の有無は ready 判定に 影響しない。ただし phase/implementation は issue kind / workflow routing の前提 として維持する」に変更し、矛盾を解消。 Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Summary
SKILL.mdリクエスト JSON 早見表のtimeout_sec行にgithub_research/local_asset_research/proposal_only+gh_commands使用時のtimeout_sec: 300+推奨を追記timeout_secの runtime warning がgrounded_research限定であることを明示し、gh_commandsケースには runtime warning 強制がないことを明記gh_commands行をusage-contract.mdと整合させ、実装済み profile (github_research/local_asset_research/proposal_only) と非対応 profile (no_tools/grounded_research) を明記gh_commands行(旧:github_researchのみ完全実装済みと記載)をテーブル行と整合Closes
Closes #249
Contract Snapshot
#249 (comment)
検証コマンド結果
pnpm typecheckpnpm lintpnpm testpnpm builduv run pytest .claude/skills/gemini-cli-headless-delegation/tests/Allowed Paths compliance
.claude/skills/gemini-cli-headless-delegation/SKILL.mdのみ(Allowed Paths 準拠)Runtime Verification Applicability
decision: not_applicable(docs-only 変更、rg grep で決定論的に検証済み)変更内容の詳細
timeout_sec 行(wording 修正含む)
grounded_research向けの 300s 推奨のみ記載されていた行に、github_research/local_asset_research/proposal_only+gh_commands使用時のケースを追記。gh_commands事前実行・inline_contextprepend・GitHub API レイテンシ・prompt 増加が timeout 不足の原因。またgrounded_researchの「300 未満で warnings 追加」がgh_commandsケースにも掛かるように読める誤読リスクを修正:grounded_research限定の warning であることを明記し、gh_commandsケースは runtime warning 未実装であることを追記した。gh_commands 行
旧記述では「現状は
github_researchのみ完全実装済み(local_asset_research/proposal_onlyは設計済み・実装は別 issue)」となっていたが、usage-contract.mdでは既に全プロファイルが実装済みとして記載されている。テーブル行と Core Rules の両方をusage-contract.md準拠に整合させた。Schema Change Applicability
not_schema_changeSKILL.mdテーブル行の説明文更新のみ。フィールド名・型・必須/任意の区分は変更なし。delegation_request_v1スキーマ自体に変更なし。Schema Consumer Inventory
not_schema_changeのため N/A。フィールド定義変更なし、Consumer 更新不要。Safety Claim Matrix
N/A。docs-only 変更(説明文の wording 修正のみ)。安全境界・権限・サンドボックス・auth・approvalMode の実装変更なし。新規の
safe/read-only/sandboxedクレームの追加もなし。ループ実行中の観察・改善点
1.
check_blockers.shの条件付き依存記述による false positive現象: Issue #249 の Delivery Rule に「コンフリクトリスクがある場合は
Depends on #14 mergeとして直列依存を設定する」という条件付き記述があり、check_blockers.shが(?i)Depends on #\K[0-9]+パターンで#14を fallback blocker として誤検出した。native API はブロッカー 0 件を返しており不一致 →human_escalationが発火した。改善案: script のパターンを条件文と宣言文で区別できるよう改善する(行頭マッチ化、または Delivery Rule セクション内を除外するロジック追加)。
2.
state/queuedラベル欠如(非 blocking)現象: refinement-loop 完了後に
state/queuedが自動付与されておらず、contract review で warning が出た。改善案:
issue-refinement-loopの完了フックでstate/queuedラベルを付与するステップを追加する。3.
impl-review-loopへのcontract_snapshot_url供給フロー現象:
impl-review-loopがcontract_snapshot_urlを必須入力として要求するが、ユーザーが Issue 番号のみ指定した場合、orchestrator がissue-contract-reviewを先行実行して URL を生成してからループに引き渡す必要があった。このフローが skill README に明示されていない。改善案:
impl-review-loopの Inputs セクションに「contract_snapshot_urlが未指定の場合はissue-contract-reviewを自動実行して取得する」という fallback 手順を明記する。Notes
🤖 Generated with Claude Code