Skip to content

実装: implement-issue SKILL.md に change_kind: github-metadata の empty commit / no tracked diff 証跡パターンを明文化する #199

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: none
goal_ref: "implement-issue SKILL.md に change_kind: github-metadata の empty commit / no tracked diff パターンを追記し、実装者が迷わず着手できる状態にする"
change_kind: docs

Parent Issue

なし(単独改善)

Parent Goal Ref

  • Goal: N/A(単独改善 Issue のため)
  • Desired Destination: N/A

Current Validated Scope

Remaining Parent Gaps

なし

Outcome

.claude/skills/implement-issue/SKILL.md に change_kind: github-metadata ハンドリングセクションが追記され、rg "github-metadata\|allow-empty\|Authoritative Evidence" .claude/skills/implement-issue/SKILL.md が 3 件以上ヒットする状態になっている。

In Scope

  • .claude/skills/implement-issue/SKILL.md の Step 6(コミット)または新規サブセクションとして以下を追記する:
    • change_kind: github-metadata では git commit --allow-empty で実装操作の証跡を branch history に残す(git add 対象ファイルなし)
    • authoritative evidence は Issue comment / PR body / GitHub API readback であり、CI / pnpm gates は baseline regression check のみでメタデータ操作の正しさを証明しない
    • open-pr skill への handoff 時に verification_summary に "change_kind: github-metadata; authoritative evidence: <Issue コメント URL>" を含める
    • PR 本文への "Authoritative Evidence" セクション追加を推奨(該当するのは tmp/ のみが Allowed Paths かつ repo-tracked file diff = 0 の場合)

Out of Scope

  • open-pr/SKILL.md の変更(PR 本文テンプレートの変更)
  • issue-contract-review や pr-review-judge の変更
  • change_kind 以外の metadata 操作パターンの汎化
  • tmp/ ディレクトリの gitignore 設定変更

Acceptance Criteria

  • AC1: rg "github-metadata" .claude/skills/implement-issue/SKILL.md が 1 件以上ヒットする
  • AC2: rg "allow-empty" .claude/skills/implement-issue/SKILL.md が 1 件以上ヒットする
  • AC3: rg "Authoritative Evidence\|authoritative evidence" .claude/skills/implement-issue/SKILL.md が 1 件以上ヒットする
  • AC4: rg "baseline regression\|baseline.*regression\|regression.*check" .claude/skills/implement-issue/SKILL.md が 1 件以上ヒットする
  • AC5: pnpm typecheck && pnpm lint && pnpm test && pnpm build が PR 起因の新規エラーなしで完了する

Verification Commands

# AC1: github-metadata 言及確認
rg "github-metadata" .claude/skills/implement-issue/SKILL.md

# AC2: allow-empty 言及確認
rg "allow-empty" .claude/skills/implement-issue/SKILL.md

# AC3: Authoritative Evidence 言及確認
rg -i "authoritative evidence" .claude/skills/implement-issue/SKILL.md

# AC4: baseline regression check 言及確認
rg -i "baseline regression|baseline.*check" .claude/skills/implement-issue/SKILL.md

# AC5: 品質ゲート(docs-only 変更のため baseline 確認のみ)
pnpm typecheck && pnpm test && pnpm build

Allowed Paths

  • .claude/skills/implement-issue/SKILL.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

なし

Runtime Verification Applicability

decision: not_applicable
reason: docs-only 変更。runtime code path を変更しない。
deferred_destination: null
deferred_verification_condition: null

Activity

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

    @squne121
    OwnerAuthor

    create-issue transaction partial-failure

    Issue: #199
    Failure stage: label-readback
    Message: label read-back mismatch

    Requested:

    • labels: enhancement,phase/implementation,state/queued,agent/implementer
    • parent: (none)
    • dependencies: (none)
      Completed steps: create, label

    Failure context:
    matching_issue_numbers=[199]
    issue_number=199

    Recovery hint: label-readback failed for #199.
    Manual re-apply command (idempotent: yes):
    gh issue edit 199 --repo squne121/loop-protocol --add-label
    Verify:
    gh issue view 199 --repo squne121/loop-protocol --json labels

    Please recover deterministically before re-running the create issue transaction.

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