Skip to content

実装: issue-contract-review に parent body consistency check を追加する #152

Closed

Description

@squne121

背景

Issue #133 の refinement loop(anchor comment https://github.com/squne121/loop-protocol/issues/133#issuecomment-4508115760)で指摘された再発防止策。`issue-contract-review` は implementation issue の着手前 preflight だが、implementation issue に parent_issue がある場合に parent body の child materialization 状態を確認する step がない。

問題

delivery-rollup parent の child issue が着手を試みる際、parent body に未起票 child slot が残っていても issue-contract-review が BLOCKED を返さず、着手が許可される可能性がある。

求める変更

.claude/skills/issue-contract-review/SKILL.md に parent consistency check step を追加する:

  • implementation issue の Machine-Readable Contract に parent_issue フィールドがある場合、parent Issue body を取得する
  • parent body の Child Issues セクションに (未起票) / unmaterialized slot が残っていれば status: blocked を返す
  • ただし対象 issue 自体が「child materialization 専用 issue」(親からの「M-Ax を起票する」指示で起票されたもの)の場合は例外とする

Acceptance Criteria

  • AC1: issue-contract-review に parent consistency check step が追加されている
  • AC2: parent body に未起票 child slot がある場合、child issue の contract review が BLOCKED を返す
  • AC3: child materialization 専用 issue の例外ロジックが明文化されている
  • AC4: Verification Commands が存在する

Verification Commands

# AC1: issue-contract-review に parent consistency check の記述があること
rg "parent.*consistency|未起票.*BLOCKED|child.*materialization.*check" .claude/skills/issue-contract-review/SKILL.md && echo "PASS" || echo "FAIL"

Related

Activity

  1. added
    enhancement
    phase/implementation
    state/queued
    agent/implementer
    on May 21, 2026
  2. squne121 commented on Jul 12, 2026

    @squne121
    OwnerAuthor

    本Issueは現行のIssueテンプレート規約(Machine-Readable Contract ブロック、AC⇔VC番号対応)に準拠しておらず、edit_issue_txn.py の guard を通せない状態です。

    さらに、この Issue が check_implementation_overlap.py(overlap preflight)の candidate pool 内で missing_allowed_paths エラーを起こし、無関係な他 Issue(#1475)の実装を fail-closed でブロックしていることが判明しました。

    human 判断により、本 Issue を stale として close し、overlap preflight の候補プールから除外します。実装要求自体が不要になったわけではないため、対応が必要な場合は現行テンプレートで再起票してください。

    [[issue-152-close-comment]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementationstate/queued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions