Skip to content

agent_ops_inventory に issue-refinement-ops-review 用 read plan / inventory coverage を追加する #945

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "issue-refinement-loop の監査作業で毎回広範囲 scan をしなくて済むよう、deterministic な read plan と inventory coverage を agent_ops_inventory.py に追加する"
change_kind: workflow

Parent Issue

none(単独改善)

Parent Goal Ref

  • Goal: AGENTS / CLAUDE / skills / subagents / rules / scripts を監査する作業で、毎回広範囲に読み直さず、必要なファイル集合と除外対象を deterministic に出せる
  • Desired Destination: issue-refinement-ops-review task-kind が agent_ops_inventory.py に追加され、compact read plan を返せる(本 Issue 単独で完結する write-capable scope は下記 Current Validated Scope を参照)

Current Validated Scope

  • scripts/agent_ops_inventory.py に task-kind issue-refinement-ops-review を追加する
  • 当該 task-kind の MUST_READ / DO_NOT_READ_INITIAL_ONLY を含む compact read plan(--json)を実装する
  • 当該 task-kind の inventory artifact(full inventory)と coverage セクションを実装する
  • tests/test_issue_refinement_ops_review.py に上記の read plan / inventory coverage / artifact security のテストを追加する(registry 共通化の回帰確認は必要に応じて tests/test_agent_ops_inventory.py を拡張)
  • 既存 agent-ops-review と重複実装にならないよう、read plan + inventory profile を task-kind 非依存の registry/spec から引く形に内部リファクタする(MAJOR 1)

Remaining Parent Gaps

  • CLAUDE.md / AGENTS.md への read plan 例外追記(issue-refinement-ops-review の案内)は本 Issue では行わない(BLOCKER 4 の owner 判断により script-only に固定。Out of Scope 参照)。必要になれば follow-up Issue で扱う。

Outcome

uv run python3 scripts/agent_ops_inventory.py --task-kind issue-refinement-ops-review --json が 2048 UTF-8 bytes 以下の valid な compact read plan JSON を返し、full inventory は coverage 付き artifact に保存され、tests/test_agent_ops_inventory.py と pnpm typecheck/lint/test/build が PASS している状態。

In Scope

  • task-kind issue-refinement-ops-review の追加(VALID_TASK_KINDS 拡張)
  • compact read plan(--json)の出力契約: 常に valid JSON、budget 超過時も非 JSON へ fallback しない。full inventory は artifact に逃がす(BLOCKER 1)
  • MUST_READ の定義(下記 AC2 の path 集合)
  • inventory target prefixes の追加と coverage セクション(下記 AC3 / AC6)
  • PlanSpec / inventory builder を task-kind 非依存化し、read plan と inventory profile を同一 registry から引く(MAJOR 1)
  • 対応するテスト追加(read plan / inventory coverage / artifact security / stdout budget / valid JSON)を tests/test_issue_refinement_ops_review.py に新規作成

Out of Scope

  • src/ product code の inventory
  • docs/product/ 全体の常時 scan
  • secret-like files の収集
  • 新規 SubAgent / Skill の追加
  • CLAUDE.md / AGENTS.md への read plan 例外追記(BLOCKER 4: owner 判断により script-only に固定。利用者は明示的に --task-kind issue-refinement-ops-review を呼ぶ)
  • Allowed Paths を scripts/agent_ops_inventory.py + tests/ 以外へ拡張すること

Acceptance Criteria

  • AC1: uv run python3 scripts/agent_ops_inventory.py --task-kind issue-refinement-ops-review --json が valid JSON の compact read plan を返し、stdout は 2048 UTF-8 bytes 以下。budget 超過時も非 JSON 形式へ fallback せず、full inventory は artifact へ逃がす(BLOCKER 1)。
  • AC2: MUST_READ に AGENTS.md, CLAUDE.md, .claude/skills/issue-refinement-loop/SKILL.md, .claude/agents/issue-reviewer.md, .claude/agents/issue-author.md, .claude/skills/issue-contract-review/scripts/contract_readiness_check.py, .claude/skills/issue-contract-review/scripts/baseline_vc_preflight.py に加え、issue-refinement-loop の実行 script entrypoints(.claude/skills/issue-refinement-loop/scripts/run_refinement_preflight.py, plan_refinement_loop.py, decide_next_loop_action.py, compact_review_result.py, compact_author_result.py)が含まれる(BLOCKER 3)。
  • AC3: inventory artifact の coverage に .claude/agents/, .claude/rules/, .claude/hooks/, .claude/skills/, .agents/skills/, .codex/agents/, tests/fixtures/codex-agent-config/expected-runtime-contract.json が含まれる(BLOCKER 2)。
  • AC4: src/ と docs/product/ は DO_NOT_READ_INITIAL_ONLY として出力し、追加読込禁止ではないことを read_policy: initial_exclusion_not_absolute_forbid で明示する。
  • AC5: full inventory は artifact にのみ保存される。stdout に raw file list / raw diff / raw log / file contents を出さない。
  • AC6: artifact items は tracked repo-relative metadata のみ。各 prefix の coverage は tracked_matches 数を持ち(tracked file が無い prefix は empty_ok として「prefix 不在」と「prefix はあるが漏れ」を機械判定可能にする, MAJOR 2)。secret-like paths / absolute path / .. / symlink escape / untracked file は除外または blocked にする(既存方針踏襲, BLOCKER 5)。
  • AC7: agent-ops-review と issue-refinement-ops-review が同一 registry/spec から read plan + inventory profile を引き、artifact schema / status logic / security guard が分岐重複しない(MAJOR 1)。
  • AC8: uv run pytest tests/test_agent_ops_inventory.py -k agent_ops_inventory -v, pnpm typecheck, pnpm lint, pnpm test, pnpm build が PASS する。

Runtime Verification Applicability

decision: not_applicable
reason: "tooling script 変更であり、runtime 動作や外部 service 実行を成功条件に含まない。全 AC は rg / pytest / pnpm で静的・単体検証可能"

Verification Commands

baseline では新規テスト tests/test_issue_refinement_ops_review.py が未作成のため、AC1〜AC7 の pytest は「機能が未実装である」ことを baseline-fail(pytest exit 4 = file not found)で示す(baseline-expect: fail)。実装後は同テストが PASS する。AC8 は repo 全体の regression gate。

# AC1
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "json_compact_budget" -v
# AC2
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "must_read" -v
# AC3
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "coverage" -v
# AC4
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "do_not_read" -v
# AC5
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "artifact_only" -v
# AC6
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "security" -v
# AC7
# baseline-expect: fail
$ uv run pytest tests/test_issue_refinement_ops_review.py -k "shared_registry or shared_spec" -v
# AC8
$ pnpm typecheck
$ pnpm lint
$ pnpm test
$ pnpm build

Allowed Paths

  • scripts/agent_ops_inventory.py
  • tests/(agent_ops_inventory 関連テストのみ)

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • inventory が src/ / docs/product/ 全体を scan するようになった場合
  • secret-like paths の扱いが既存方針から変わった場合

Required Skills

  • Python 3(argparse / CLI 出力契約)
  • JSON contract / schema 設計(compact stdout と artifact の分離、metadata-only inventory)

Scope Delta(任意)

N/A

Activity

  1. squne121 commented on Jun 15, 2026

    @squne121
    OwnerAuthor

    判定

    REQUEST_CHANGES / BLOCK 推奨。
    #945 の目的自体は妥当です。#791 / #796 の流れに沿って、agent ops の過読・再 scan・stdout 肥大を agent_ops_inventory.py で決定論化する方向は正しいです。#945 も「AGENTS / CLAUDE / skills / hooks / subagents / rules / scripts を監査する作業で、必要ファイル集合と除外対象を deterministic に出す」ことを目的にしています。

    ただし、現 Issue contract のまま実装すると、“新 task-kind は追加されたが、Issue refinement loop の監査 coverage と runtime surface がまだ抜ける” 可能性が高いです。#945 自体のコメントは空で、追加判断材料はありません。

    参照した関連 Issue / PR / コメント

    #791 は、issue refinement / subagent handoff / hooks の token・context 浪費を、preflight wrapper・compact stdout・read plan generator・hook 規律で削減する parent です。#945 はこの延長にあります。

    #796 は agent_ops_inventory.py を追加した元 Issue で、issue-refinement / pr-review / workflow-implementation / product-implementation / agent-ops-review の task-kind、compact stdout、artifact metadata-only、git ls-files -z 由来の tracked file inventory、0600 permission、secret-like / symlink guard まで定義しています。#945 はこの既存設計への差分 Issue です。

    #776 / PR #807 は特に重要です。PR #807 は Codex custom agent の repo-local discovery surface を .agents/skills/ に揃え、.claude/skills/ は canonical body 側として残す設計にしています。#945 の AC3 が .claude/** だけを inventory coverage に入れているのは、この current repo reality とずれます。

    #931 は #945 本文が背景として挙げている「refinement loop 監査で広範囲 scan が必要になった」事例です。ただし #931 の主題は M3 persistence docs / E2E 表記の drift であり、#945 が解くべき対象は product persistence ではなく、その review を行うための agent/runtime/inventory coverage です。

    BLOCKER 1: --json compact plan と inventory artifact の契約が矛盾している

    #945 の AC1 は次を要求しています。

    uv run python3 scripts/agent_ops_inventory.py --task-kind issue-refinement-ops-review --json

    一方で AC3 / AC5 は “inventory artifact に .claude/agents/, .claude/rules/, .claude/hooks/, .claude/skills/ を含める” と “full inventory は artifact に保存” を要求しています。

    現行 agent_ops_inventory.py は --json を “non-agent-ops-review task-kind 用” として扱い、agent-ops-review だけが artifact を書き、stdout に EVIDENCE: <artifact_path> を返します。

    つまり #945 は、新 task-kind が read plan だけを返すのか、artifact も生成するのか、stdout に artifact path を含めるのかを固定していません。このままだと実装者が --json に full inventory を詰めて 2048 bytes を超える、または artifact を生成せず AC3 を満たさない、という二択になりやすいです。

    修正案: --json は常に compact JSON とし、full inventory は artifact に逃がす契約を明記してください。

    ISSUE_REFINEMENT_OPS_REVIEW_READ_PLAN_V1:
      schema_version: agent_ops_read_plan_v1
      task_kind: issue-refinement-ops-review
      status: ok | warn | blocked
      MUST_READ: []
      DO_NOT_READ_INITIAL_ONLY:
        - src/
        - docs/product/
      read_policy: initial_exclusion_not_absolute_forbid
      inventory_artifact: /tmp/agent-ops-.../issue_refinement_ops_inventory.json
      inventory_summary:
        target_prefixes: []
        missing_expected_files: []
        warnings: []

    さらに、--json は budget 超過時にも非 JSON に fallback しないことを AC に入れるべきです。現行コードは 2048 bytes 超過時に TASK_KIND: ... 形式へ落とすため、--json でも invalid JSON になり得ます。

    BLOCKER 2: .agents/skills/ と .codex/agents/ が抜けている

    #945 の AC3 は .claude/agents/, .claude/rules/, .claude/hooks/, .claude/skills/ だけを inventory artifact 対象にしています。

    これは不十分です。repo 側の runtime ops 文書は、.agents/skills/ を Codex custom agent の repo-local discovery surface、.claude/skills/ を Claude 側 prompt / canonical body 側として分けています。

    実際に expected-runtime-contract.json では、issue-author が .agents/skills/create-issue/SKILL.md と .agents/skills/edit-issue/SKILL.md、issue-reviewer が .agents/skills/review-issue/SKILL.md を要求しています。

    #796 の過去コメントでも、.agents/skills/** を見落とすと「Codex が実際に発見する thin bridge を見落とす」として REQUEST_CHANGES が出ています。

    修正案: #945 の AC3 を最低限こう拡張すべきです。

    inventory artifact に以下を含める:
    - .claude/agents/
    - .claude/rules/
    - .claude/hooks/
    - .claude/skills/
    - .agents/skills/
    - .codex/agents/
    - tests/fixtures/codex-agent-config/expected-runtime-contract.json
    

    特に issue refinement ops review 用なら、以下は MUST_READ か expected_paths に入れるべきです。

    .agents/skills/create-issue/SKILL.md
    .agents/skills/edit-issue/SKILL.md
    .agents/skills/review-issue/SKILL.md
    .codex/agents/issue-author.toml
    .codex/agents/issue-reviewer.toml
    tests/fixtures/codex-agent-config/expected-runtime-contract.json
    

    OpenAI Codex の公式 docs でも、Codex は project root から current directory まで AGENTS.md 等を discovery し、instruction chain を構築します。したがって AGENTS.md と .agents/skills/ 側の runtime surface を inventory しない設計は、Codex 実行時の実効 instruction / skill surface の監査として弱いです。([OpenAI Developers]1)

    BLOCKER 3: MUST_READ が Issue refinement loop の実行経路を十分に覆っていない

    #945 の AC2 は、AGENTS.md, CLAUDE.md, issue-refinement-loop の SKILL.md, issue-reviewer.md, issue-author.md, contract_readiness_check.py, baseline_vc_preflight.py を MUST_READ に入れる要求です。これは良い出発点ですが、まだ足りません。

    現行 issue-refinement task-kind は、すでに run_refinement_preflight.py, plan_refinement_loop.py, decide_next_loop_action.py を MUST_READ に含めています。

    さらに .claude/skills/issue-refinement-loop/SKILL.md 自体は、Step 0f で run_refinement_preflight.py を呼び、planner / reviewer / worker 判定を SSOT script に委譲する設計です。

    また issue-reviewer は compact_review_result.py の stdout を最終契約とし、raw review / body / diff / log を main context に返してはいけない設計です。

    修正案: AC2 の MUST_READ は、少なくとも既存 issue-refinement の loop scripts を落とさないようにしてください。

    MUST_READ 追加候補:
    - .claude/skills/issue-refinement-loop/scripts/run_refinement_preflight.py
    - .claude/skills/issue-refinement-loop/scripts/plan_refinement_loop.py
    - .claude/skills/issue-refinement-loop/scripts/decide_next_loop_action.py
    - .claude/skills/issue-refinement-loop/scripts/compact_review_result.py
    - .claude/skills/issue-refinement-loop/scripts/compact_author_result.py
    

    contract_readiness_check.py と baseline_vc_preflight.py は AC2 に入っていて妥当です。ただし contract_readiness_check.py は preflight-static と execute を分け、execute は baseline VC 実行に進む可能性があります。read plan では「読む対象」と「実行してよい対象」を混ぜない方が安全です。

    BLOCKER 4: Allowed Paths が discoverability と矛盾している

    #945 の Allowed Paths は scripts/agent_ops_inventory.py と tests/ のみです。

    しかし現行 CLAUDE.md / AGENTS.md の read plan 例外は agent-ops-review だけを案内しており、新しい issue-refinement-ops-review はどこにも出てきません。

    #796 では CLAUDE.md / AGENTS.md への最小追記が明示されていました。

    修正案: どちらかに寄せるべきです。

    1. script-only feature とする: CLAUDE.md / AGENTS.md 更新は out of scope と明記し、「利用者は明示的に --task-kind issue-refinement-ops-review を呼ぶ」とする。
    2. agent ops の正式 read plan 例外とする: Allowed Paths に CLAUDE.md / AGENTS.md を追加し、各 3〜5 行だけ追記する。

    Codex docs は AGENTS.md を instruction discovery surface として扱い、32 KiB default cap もあります。追記するなら短く、詳細は script help / artifact schema へ逃がす設計が妥当です。([OpenAI Developers]1)

    BLOCKER 5: artifact write 境界が #945 では未定義

    現行 write_artifact() は non-Windows で O_CREAT | O_EXCL | O_NOFOLLOW、0600 permission を使っています。これは良い実装です。

    ただし O_NOFOLLOW は最終パス要素の symlink を拒否するだけで、親ディレクトリ側の symlink は辿られます。Linux open(2) も、O_NOFOLLOW は trailing component に対するものだと説明しています。([man7.org]2)

    #945 は full inventory artifact を要求しますが、--artifact-out を許すのか、default tempdir だけにするのか、repo 配下 artifact を許すのかを固定していません。現行コードは artifact_path.parent.mkdir(parents=True, exist_ok=True) を実行するため、custom path を許すなら親ディレクトリ containment / symlink policy も必要です。

    修正案: #945 に artifact 出力ポリシーを追加してください。

    - default artifact path は tempfile.mkdtemp(prefix="agent-ops-") 配下
    - --artifact-out を許す場合:
      - absolute path policy を明記
      - parent directory symlink を拒否または trust boundary として明記
      - repo tracked file として commit しないことを pytest で検証
      - final component symlink / existing file は reject
    

    MAJOR 1: PlanSpec と inventory builder を汎用化しないと重複実装になる

    現行コードの VALID_TASK_KINDS に issue-refinement-ops-review は存在しません。

    また build_agent_ops_inventory() は task_kind: "agent-ops-review" をハードコードしており、target prefixes も .agents/skills/, .claude/skills/, .claude/hooks/, .codex/, tests/fixtures/codex-agent-config/ に固定されています。

    #945 を ad hoc に実装すると、agent-ops-review と issue-refinement-ops-review で artifact schema / status logic / security guard が分岐し、後続保守が悪化します。

    推奨実装: PlanSpec を拡張し、read plan と inventory profile を同じ registry から引く設計にしてください。

    @dataclass(frozen=True)
    class PlanSpec:
        task_kind: str
        must_read: tuple[str, ...]
        do_not_read_initial_only: tuple[str, ...]
        inventory_prefixes: tuple[str, ...] = ()
        expected_paths: tuple[str, ...] = ()
        critical_paths: tuple[str, ...] = ()
        derives_codex_skill_surfaces: bool = False

    そして build_inventory(repo_root, spec, tracked_paths) のように、task-kind 非依存にします。

    git ls-files -z は NUL 区切りで path をそのまま扱えるため、tracked metadata inventory の基盤として妥当です。([Git]3)

    MAJOR 2: “prefix が含まれる” の検証が弱くなりやすい

    AC3 の「inventory artifact に .claude/hooks/ が含まれる」は、repo に該当 tracked file がない場合に曖昧です。現行テストも .claude/hooks/ がない場合は skip する形です。

    このままだと、「該当 file がたまたまないから AC3 pass」という空振りが起きます。

    修正案: artifact に coverage セクションを持たせ、prefix ごとの tracked match 数を出してください。

    {
      "coverage": {
        ".claude/agents/": {"tracked_matches": 7, "included": 7},
        ".claude/rules/": {"tracked_matches": 1, "included": 1},
        ".claude/hooks/": {"tracked_matches": 0, "included": 0, "status": "empty_ok"},
        ".claude/skills/": {"tracked_matches": 42, "included": 42}
      }
    }

    これなら、「prefix が無い」のか「prefix があるが漏れた」のかを機械判定できます。

    MAJOR 3: Verification Commands が AC を十分に証明しない

    #945 の VC は uv run pytest tests/ -k agent_ops_inventory -v と対象 CLI 実行、さらに pnpm typecheck/lint/test/build です。

    しかし、これでは以下を直接証明できません。

    • --task-kind issue-refinement-ops-review --json が valid JSON である
    • stdout が 2048 bytes 以下である
    • JSON が artifact path を含む
    • artifact が実際に存在する
    • artifact schema が metadata-only である
    • .claude/agents/ / .claude/rules/ / .agents/skills/ / .codex/agents/ coverage が入る

    既存 repo には scripts/check_agent_friendly_stdout.py があり、UTF-8 byte limit、raw diff/log、ANSI、巨大 code fence を検査できます。

    修正版 VC 例:

    # AC1 / AC5: compact JSON remains valid and under stdout budget
    $ uv run python3 scripts/agent_ops_inventory.py --task-kind issue-refinement-ops-review --json > /tmp/issue_refinement_ops_review.json
    $ uv run python3 scripts/check_agent_friendly_stdout.py /tmp/issue_refinement_ops_review.json --max-bytes 2048
    $ uv run python3 - <<'PY'
    import json
    from pathlib import Path
    
    p = Path("/tmp/issue_refinement_ops_review.json")
    data = json.loads(p.read_text(encoding="utf-8"))
    assert data["task_kind"] == "issue-refinement-ops-review"
    assert data["schema_version"] == "agent_ops_read_plan_v1"
    assert "MUST_READ" in data
    assert "DO_NOT_READ_INITIAL_ONLY" in data
    assert "inventory_artifact" in data
    artifact = Path(data["inventory_artifact"])
    assert artifact.exists(), artifact
    PY
    # AC2 / AC4: exact read plan contract
    $ uv run pytest tests/test_agent_ops_inventory.py -k "issue_refinement_ops_review and read_plan" -v
    # AC3 / AC6: inventory coverage and security
    $ uv run pytest tests/test_agent_ops_inventory.py -k "issue_refinement_ops_review and inventory" -v
    $ uv run pytest tests/test_agent_ops_inventory.py -k "artifact_security or symlink or secret_like" -v

    推奨する #945 の修正版 acceptance criteria

    #945 は以下のように締めると実装品質が上がります。

    - [ ] AC1: `--task-kind issue-refinement-ops-review --json` が valid JSON の compact read plan を返し、stdout は 2048 UTF-8 bytes 以下。
    - [ ] AC2: MUST_READ に #945 指定の 7 path に加え、issue-refinement-loop の script entrypoints(run_refinement_preflight.py / plan_refinement_loop.py / decide_next_loop_action.py / compact_review_result.py / compact_author_result.py)が含まれる。
    - [ ] AC3: inventory artifact は `.claude/agents/`, `.claude/rules/`, `.claude/hooks/`, `.claude/skills/`, `.agents/skills/`, `.codex/agents/`, `tests/fixtures/codex-agent-config/expected-runtime-contract.json` の coverage を持つ。
    - [ ] AC4: `src/` と `docs/product/` は `DO_NOT_READ_INITIAL_ONLY` として出力し、追加読込禁止ではないことを `read_policy: initial_exclusion_not_absolute_forbid` で明示する。
    - [ ] AC5: full inventory は artifact のみ。stdout に raw file list / raw diff / raw log / file contents を出さない。
    - [ ] AC6: artifact items は tracked repo-relative metadata のみ。field は `path`, `exists`, `kind`, `tracked` に限定し、secret-like paths / absolute path / `..` / symlink escape / untracked file を除外または blocked にする。
    - [ ] AC7: artifact output policy が default tempdir ベースで、custom `--artifact-out` を許す場合は final symlink / existing file / unsafe parent を test する。
    - [ ] AC8: `uv run pytest tests/test_agent_ops_inventory.py -k agent_ops_inventory -v`, `pnpm typecheck`, `pnpm lint`, `pnpm test`, `pnpm build` が pass する。

    結論

    #945 は、既存 agent-ops-review の “Codex runtime contract 寄り” inventory に対して、issue-refinement-loop 監査用の別 profile を追加する Issueとしては正しいです。

    ただし現在のままだと、次の3点で再修正になる可能性が高いです。

    1. --json read plan と full inventory artifact の出力契約が未固定。
    2. .agents/skills/ / .codex/agents/ を外しており、PR feat: align codex skill surface with .agents #807 以降の Codex discovery surface を取り逃がす。
    3. MUST_READ が issue-refinement-loop の実行 script / compact result contract まで覆っていない。

    この3点を直せば、#945 は実装可能な高品質 Issue になります。

  2. squne121 commented on Jun 15, 2026

    @squne121
    OwnerAuthor

    Refinement Loop: Human Escalation Required

    The loop has terminated and requires human review. Cause: human judgment required

    Blockers

    "本文 refinement は完了し、static contract lint は go。VC は AC1-AC7 が expected_baseline_fail=go、AC8 のみ block。"
    
    "AC8 (pnpm lint/test) block は untracked playwright-report/ の vendor minified JS が ESLint を汚染しているためで、#945 とは無関係の worktree artifact。"
    
    "baseline_vc_preflight.py に未コミットの in-progress 編集 (#942 github_metadata_assert) があり _is_github_metadata_assert_command 未定義で NameError。rg/test 系 VC 実行を壊す。#942/#899 の責務であり #945 では触らない。"
    
    "上記 2 点は環境/worktree 起因であり、clean env (CI=true + playwright-report 除去) では deterministic VC review が green になる見込み。"
    
  3. added a commit that references this issue on Jun 15, 2026
  4. squne121 commented on Jun 15, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-06-15T22:44:31Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/945
      body_sha256: "sha256:072888377c716de5d82a8a58398318347a1bd0235d57959a875ae97165dcf0eb"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        vc_preflight: pass
      source: ensure_contract_snapshot_auto
  5. added 5 commits that reference this issue on Jun 15, 2026
  6. added 3 commits that reference this issue on Jun 17, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions