Skip to content

実装: PhaseTransitionSystem を導入して LoopPhase 遷移を一元管理する #1174

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "LoopPhase 遷移が ad-hoc な UI callback に分散しており、invalid transition の防止と phase-aware な HUD / storage 制御が困難"
change_kind: code

Parent Issue

none(単独改善)

Parent Goal Ref

  • Goal: PhaseTransitionSystem を導入し、既存 LoopPhase 型を使った遷移表を system / controller に集約することで、ad-hoc UI callback から phase 変更責務を剥がす
  • Desired Destination: N/A(単独改善 Issue のため)

Current Validated Scope

  • src/systems/PhaseTransitionSystem.ts を pure transition resolver / validator として新規作成し、現行 LoopPhase union のみを対象にした遷移表を定義する
  • src/main.ts と src/systems/SortieSystem.ts の既存 phase mutation を、phase 代入直前に PhaseTransitionSystem の validation を通す構成へ寄せる
  • debrief_pending_reward / debrief_reward_claimed は legacy transition として明示し、通常 result -> preparation flow と混同しないことを contract とテストで固定する
  • src/ui/HudController.ts は button enable policy の整合に必要な範囲だけ追従させ、通常 HUD に raw LoopPhase や raw transition error を露出しない境界を維持する

Remaining Parent Gaps

なし(単独改善 Issue のため)

Outcome

src/systems/PhaseTransitionSystem.ts が pure resolver / validator として追加され、src/main.ts と src/systems/SortieSystem.ts の実 phase mutation entrypoint が validation を経由し、legacy debrief を含む現行 LoopPhase 契約が一元管理された状態で、pnpm typecheck / pnpm lint / pnpm test / pnpm build が PASS した PR がマージされた状態。

In Scope

  • src/systems/PhaseTransitionSystem.ts の新規作成
  • 現行 LoopPhase union に対する遷移表の定義(title_menu / load_menu / preparation / running / result / debrief_pending_reward / debrief_reward_claimed)
  • ended を導入せず、現行 LoopPhase 契約だけを対象にする
  • 不正遷移を防止する pure resolver / validator API の実装
  • src/systems/index.ts への再エクスポート追加
  • src/main.ts の onNewGame / onLoadGame / bootstrap / E2E auto-start などの phase mutation を validation 経由へ変更する
  • src/systems/SortieSystem.ts の startSortie() / terminal result / confirmResult() / legacy debrief transition を validation 経由へ変更する
  • src/ui/HudController.ts の action surface を新しい phase gate 契約に整合させる
  • tests/phase-transition-system.test.ts、tests/main-loop.test.ts、tests/sortie-system.test.ts、tests/hud-controller.test.ts による回帰固定

Out of Scope

  • ended を正式な LoopPhase として追加する変更
  • src/state/GameState.ts の LoopPhase union 自体の拡張
  • save/load policy の再設計
  • reward calculation / reward pipeline semantics の変更
  • GameSnapshot schema の変更
  • localStorage / IndexedDB など storage backend の変更
  • HUD / Canvas の visual redesign
  • PhaseTransitionSystem に DOM / Canvas / storage / reward claim / evidence mutation の副作用を持たせる変更

Acceptance Criteria

  • AC1: src/systems/PhaseTransitionSystem.ts が存在する
  • AC2: tests/phase-transition-system.test.ts が存在する
  • AC3: src/main.ts の phase mutation entrypoint が PhaseTransitionSystem の resolver / validator を経由することが source または test で固定されている
  • AC4: src/systems/SortieSystem.ts の phase mutation entrypoint が PhaseTransitionSystem の resolver / validator を経由することが source または test で固定されている
  • AC5: debrief_pending_reward / debrief_reward_claimed が legacy transition として明示され、通常 result -> preparation flow と混同しないことが test で固定されている
  • AC6: src/ui/HudController.ts の通常 HUD / action surface が raw LoopPhase や raw transition error を通常 UI に露出せず、新しい phase gate 契約と矛盾しないことが test で固定されている
  • AC7: pnpm typecheck が PASS する
  • AC8: pnpm lint が PASS する
  • AC9: pnpm test が PASS する
  • AC10: pnpm build が PASS する

Verification Commands

# AC1
# baseline-expect: fail
$ test -f src/systems/PhaseTransitionSystem.ts

# AC2
# baseline-expect: fail
$ test -f tests/phase-transition-system.test.ts

# AC3
# baseline-expect: fail
$ rg -n "resolvePhaseTransition" src/main.ts tests/main-loop.test.ts

# AC4
# baseline-expect: fail
$ rg -n "resolvePhaseTransition" src/systems/SortieSystem.ts tests/sortie-system.test.ts

# AC5
# baseline-expect: fail
$ rg -n "legacy debrief" tests/sortie-system.test.ts

# AC6
# baseline-expect: pass
$ rg -n "phase gate" tests/hud-controller.test.ts

# AC7
$ pnpm typecheck

# AC8
$ pnpm lint

# AC9
$ pnpm test

# AC10
$ pnpm build

Allowed Paths

  • src/systems/PhaseTransitionSystem.ts
  • src/systems/index.ts
  • src/main.ts
  • src/systems/SortieSystem.ts
  • src/ui/HudController.ts
  • tests/phase-transition-system.test.ts
  • tests/main-loop.test.ts
  • tests/sortie-system.test.ts
  • tests/hud-controller.test.ts

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • ended を正式な LoopPhase として導入しないと成立しないと判明した場合
  • PhaseTransitionSystem に DOM / Canvas / storage / reward / evidence の副作用を吸い込まないと成立しないと判明した場合
  • save/load policy や GameSnapshot schema まで同時変更しないと成立しないと判明した場合

Required Skills

  • TypeScript
  • ECS(state / systems 分離)
  • state machine / transition validation

Runtime Verification Applicability

  • decision: not_applicable
  • reason: 本 Issue の妥当性は PhaseTransitionSystem の table / resolver と、main.ts / SortieSystem.ts / HudController.ts に対する unit・integration テスト、および pnpm typecheck / pnpm lint / pnpm test / pnpm build で決定論的に検証可能であり、別途の手動 runtime evidence を要求しないため

Scope Delta(任意)

owner comment https://github.com/squne121/loop-protocol/issues/1174#issuecomment-4853340922 を一次ソースとして反映。ended を現行 LoopPhase 契約から除外し、mutation surface を HudController.ts 中心から src/main.ts / src/systems/SortieSystem.ts 中心へ修正し、legacy debrief と pure resolver / validator 境界を明文化した。

Activity

  1. added
    enhancement
    phase/implementation
    triage-required
    agent/implementer
    on Jun 25, 2026
  2. squne121 commented on Jul 1, 2026

    @squne121
    OwnerAuthor

    判定

    REQUEST_CHANGES 相当です。
    Issue #1174 の目的、つまり LoopPhase 遷移を一元化して ad-hoc callback から剥がす方向性は妥当です。ただし、現行の Issue 契約のまま実装すると、**「一元管理したように見えるが、実際の phase mutation は残る」**状態になるリスクが高いです。

    #1174 にはコメントがなく、追加の設計合意は Issue 本文以外に確認できませんでした。 直接対応する実装 PR も見当たらず、周辺履歴としては #738 / PR #773、#619 / PR #868、#771 / PR #877、#1173 が実質的な前提です。

    主要な Blocker

    1. ended が契約に入っているが、現行 LoopPhase 型に存在しない

    #1174 は遷移表の対象として title_menu / load_menu / preparation / running / result / debrief_pending_reward / debrief_reward_claimed / ended を挙げています。 しかし現行の LoopPhase union は title_menu、load_menu、preparation、running、result、debrief_pending_reward、debrief_reward_claimed までで、ended は含まれていません。

    これは単なる命名漏れではなく、契約破綻です。ended を本当に導入するなら src/state/GameState.ts の変更が必要ですが、#1174 の Allowed Paths には GameState.ts がありません。逆に GameState.ts を変更しないなら、#1174 から ended を削除し、legacy debrief phase までを対象にする必要があります。

    修正案:
    #1174 の本文を次のどちらかに寄せるべきです。

    • A案: ended を削除し、現行 LoopPhase union だけを PhaseTransitionSystem の対象にする。
    • B案: ended を正式な LoopPhase として追加するため、Allowed Paths に src/state/GameState.ts と関連テストを追加し、ended の到達条件・保存可否・HUD 表示・simulation gate を明文化する。

    現時点では A案が安全です。


    2. Allowed Paths が足りず、「一元管理」を実現できない

    #1174 は Allowed Paths を src/systems/PhaseTransitionSystem.ts、src/systems/index.ts、src/ui/HudController.ts、tests/phase-transition-system.test.ts に限定しています。 しかし実際の phase mutation は主に src/main.ts と src/systems/SortieSystem.ts にあります。

    HudController.ts は phase を直接変更していません。イベントハンドラを actions callback に接続し、render 時に state.loopPhase から button disabled を導出しているだけです。

    実際の mutation は、例えば次の箇所です。

    • main.ts: onNewGame() が title_menu -> preparation を直接代入。
    • main.ts: onLoadGame() が title_menu -> load_menu、load 成功時に preparation を直接代入。
    • main.ts: reset と E2E auto-start が phase を直接変更。
    • SortieSystem.ts: confirmResult() が result -> preparation を直接代入。
    • SortieSystem.ts: startSortie() が preparation -> running を直接代入。
    • SortieSystem.ts: terminal outcome が running -> result を直接代入。

    したがって、現行 Allowed Paths では「PhaseTransitionSystem 経由に変更する」ことはできません。HudController.ts だけを変えても、invalid transition の防止にはなりません。

    修正案:
    本当に centralization するなら Allowed Paths に最低限これを追加してください。

    src/main.ts
    src/systems/SortieSystem.ts
    tests/main-loop.test.ts
    tests/sortie-system.test.ts
    

    ended を残すならさらに:

    src/state/GameState.ts
    

    3. #1174 の「HudController の phase 変更コード」という前提が現実とずれている

    #1174 は src/ui/HudController.ts の phase 変更コードを PhaseTransitionSystem 経由に変更すると書いています。 しかし、現行 HudController.ts は phase mutation の主体ではありません。主体は main.ts の callback 実装と SortieSystem.ts の domain system です。

    このまま実装者に渡すと、以下のような中途半端な PR が生まれます。

    // HudController の disabled 判定だけ PhaseTransitionSystem を参照する
    startSortieButton.disabled = !canTransition(state.loopPhase, 'start_sortie')

    これは UI 表面の整合には役立ちますが、実際の phase mutation を止めません。
    invalid transition 防止という #1174 の Outcome には届きません。


    4. LoopPhase 契約が「現行 table」と「legacy debrief」の間で曖昧

    GameState.ts のコメント上の transition policy は、現在 title_menu -> preparation -> running -> result -> preparation を中心に記述され、Save は preparation のみ、Load は title_menu / load_menu のみと明記されています。 一方で LoopPhase 型と実装には debrief_pending_reward / debrief_reward_claimed がまだ残っています。

    SortieSystem.ts も legacy debrief をまだ扱っています。claimPendingReward() は result phase では reward を claimed にして result に留まり、legacy debrief_pending_reward では debrief_reward_claimed に遷移します。

    #1174 は result→claim→debrief orchestration を Out of Scope としていますが、遷移表には debrief phase を含めています。 このままだと、実装者が次のどちらをすべきか判断できません。

    • debrief phases を現役 phase として正式に遷移表へ残す
    • legacy 互換 phase として「到達は既存関数のみ、通常 flow では result→preparation」と扱う
    • 将来削除候補として no-op / invalid にする

    修正案:
    PhaseTransitionSystem の table に legacy: true 相当の意味を持たせる必要があります。少なくともテスト名で明示してください。

    debrief_pending_reward -> debrief_reward_claimed: legacy_claim_reward
    debrief_reward_claimed -> preparation: legacy_next_sortie

    これを明示しないと、#619 / #771 で整理した TitleMenu / LoadMenu / Result 契約と衝突します。#619 は Save preparation-only、Load title/load-only、running→result→preparation の流れを定義しています。 #771 も HUD action surface をこの契約へ正規化するための Issue でした。


    5. PhaseTransitionSystem が side effect を持つと設計を壊す

    現在の phase transition は単なる from -> to ではありません。多くの遷移が副作用を伴います。

    startSortie() は phase を running にするだけでなく、combat runtime reset、targetTicks 計算、ally 初期化、playtest evidence 開始などを行います。 runSortieSystem() は terminal result の生成、reward application id の採番、evidence 記録、self-explanation prompt 設定まで持っています。 confirmResult() は pending reward を auto-claim してから preparation に戻します。

    したがって PhaseTransitionSystem は、少なくとも当面は pure validator / resolver に留めるべきです。直接 GameState を包括的に mutate する巨大 system にすると、SortieSystem、storage、evidence、HUD feedback、pause reset の責務を吸い込み、逆に境界が壊れます。

    推奨 API はこの程度です。

    export type PhaseTransitionIntent =
      | 'new_game'
      | 'open_load_menu'
      | 'load_success'
      | 'back_to_title'
      | 'save_progress'
      | 'start_sortie'
      | 'sortie_terminal'
      | 'confirm_result'
      | 'legacy_claim_reward'
      | 'legacy_next_sortie'
      | 'reset_sortie'
    
    export type PhaseTransitionResult =
      | { ok: true; from: LoopPhase; to: LoopPhase; intent: PhaseTransitionIntent }
      | { ok: false; from: LoopPhase; intent: PhaseTransitionIntent; reason: 'invalid-transition' }
    
    export function resolvePhaseTransition(
      from: LoopPhase,
      intent: PhaseTransitionIntent,
    ): PhaseTransitionResult

    そのうえで、main.ts / SortieSystem.ts の既存 side-effectful 関数が phase 代入直前に resolvePhaseTransition() を使う構成が安全です。


    6. 起動 phase が二重管理されている

    createInitialGameState() は loopPhase: 'preparation' を返します。 しかし app shell では起動時に state.loopPhase = 'title_menu' へ明示的に上書きしています。 テストでもこの差分は「createInitialGameState は preparation、main.ts が title_menu にする」と文書化されています。

    PhaseTransitionSystem を導入するなら、この二重性をどう扱うかを決める必要があります。

    • domain default は preparation のままにするのか
    • runtime app initial transition [bootstrap] -> title_menu を PhaseTransitionSystem に入れるのか
    • E2E auto-start の title_menu -> preparation -> running を validation 対象にするのか

    現行 #1174 は Allowed Paths に main.ts を含めていないため、この問題を解決できません。


    関連 PR 履歴から見たリスク

    PR #868 は #619 の phase state machine 実装で、LoopPhase に title_menu / load_menu / result を追加し、Save は preparation のみ、Load は title_menu / load_menu のみ、running -> result -> confirmResult -> preparation の流れを確立した PR です。

    PR #877 は #771 の HUD action surface 正規化で、onNewGame() の追加、onStartSortie() の preparation-only 化、onConfirmResult() の save feedback 修正、Load Game spy test 追加を扱っています。 ただし #877 のレビューでは、tests/main-loop.test.ts の AC3 spy tests が「実装コードを呼ばないトートロジー」と指摘されています。

    この履歴から、#1174 のテストは特に危険です。tests/phase-transition-system.test.ts だけで table を複製して確認しても、実際の main.ts / SortieSystem.ts の mutation が残れば何も防げません。


    TypeScript 実装品質の推奨

    PhaseTransitionSystem は TypeScript の型でできるだけ閉じるべきです。公式 TypeScript docs は never を switch の exhaustiveness checking に使い、新しい union member が追加されたときに compile error にできると説明しています。(TypeScript)

    推奨は以下です。

    import type { LoopPhase } from '../state'
    
    export const phaseTransitions = {
      title_menu: {
        new_game: 'preparation',
        open_load_menu: 'load_menu',
      },
      load_menu: {
        load_success: 'preparation',
        back_to_title: 'title_menu',
      },
      preparation: {
        save_progress: 'preparation',
        start_sortie: 'running',
        reset_sortie: 'preparation',
      },
      running: {
        sortie_terminal: 'result',
      },
      result: {
        confirm_result: 'preparation',
      },
      debrief_pending_reward: {
        legacy_claim_reward: 'debrief_reward_claimed',
      },
      debrief_reward_claimed: {
        legacy_next_sortie: 'preparation',
      },
    } as const satisfies Record<
      LoopPhase,
      Partial<Record<PhaseTransitionIntent, LoopPhase>>
    >

    ここで重要なのは、LoopPhase にない ended を table に混ぜないことです。ended を含めたいなら GameState.ts の型を先に変える必要があります。


    DOM / HUD との境界

    HudController の disabled button tests は価値があります。HTML の disabled form control は click/focus 等の browsing events を受けず、focus もされず、form submission にも含まれないため、DOM affordance の安全性を固定する意味があります。([MDN Web Docs]2)

    ただし、disabled は business rule の唯一の防御線ではありません。
    PhaseTransitionSystem の目的が invalid transition 防止なら、button disabled ではなく、main.ts / SortieSystem.ts の side-effectful entrypoint 側で validation しなければ不十分です。

    また #1173 と UI information architecture は、通常 UI に LoopPhase、Telemetry、Claim reward、raw internal state を出さないことを求めています。 docs/product/features/ui-information-architecture.md も、Canvas は world / visual cue、DOM HUD は player-facing status / command、raw state は debug panel に隔離すると定義しています。 禁止語彙として LoopPhase、Telemetry、Claim reward、raw internal state name も明記されています。

    したがって PhaseTransitionSystem の error message を HUD にそのまま出すのは不可です。error は test/debug/evidence 用、通常 HUD は player-facing copy に変換してください。


    Save / Load / 配布物実装に関する注意

    #1174 は save/load phase gate を Out of Scope としていますが、現行システムでは Save/Load policy は phase contract と強く結びついています。accessibility-save-policy.md は Save を preparation のみ、Load Game を title_menu / load_menu のみと明記しています。 GameSnapshot も schemaVersion / resources / weaponPower / playerMaxHp だけで、runtime state、DOM/HUD/Canvas state、current HP は保存対象外です。

    Web Storage は同期 API で、操作中は JS 実行をブロックします。大きなデータや性能懸念がある場合は IndexedDB が適します。([MDN Web Docs]3) また Web Storage は string-only key/value で、一般に localStorage 5 MiB / sessionStorage 5 MiB 程度の quota があり、超過時は QuotaExceededError を扱う必要があります。([MDN Web Docs]4)

    #1174 でやるべきことは、storage を再設計することではなく、storage を呼ぶ phase entrypoint が PhaseTransitionSystem の validation を迂回しないことです。


    改稿すべき #1174 契約

    現行 Issue はこのままだと実装者に誤誘導を与えます。最低限、次のように直すべきです。

    Allowed Paths

    src/systems/PhaseTransitionSystem.ts
    src/systems/index.ts
    src/main.ts
    src/systems/SortieSystem.ts
    src/ui/HudController.ts
    tests/phase-transition-system.test.ts
    tests/main-loop.test.ts
    tests/sortie-system.test.ts
    tests/hud-controller.test.ts
    

    ended を残すなら追加:

    src/state/GameState.ts
    

    In Scope の修正文

    - PhaseTransitionSystem は pure transition resolver / validator として実装する
    - DOM / Canvas / storage / reward claim / evidence mutation は PhaseTransitionSystem に持たせない
    - main.ts と SortieSystem.ts の既存 phase mutation は PhaseTransitionSystem の validation を通す
    - HudController.ts は button enable policy を PhaseTransitionSystem 由来にできるが、通常 HUD に raw LoopPhase / transition error を出さない
    - legacy debrief phases は legacy transition として明示し、通常 result flow と混同しない
    

    Out of Scope の補強

    - GameSnapshot schema 変更
    - localStorage / IndexedDB 移行
    - reward calculation 変更
    - result UI redesign
    - Canvas / DOM visual redesign
    

    必須テスト

    tests/phase-transition-system.test.ts だけでは不十分です。以下を必須にしてください。

    # table exhaustiveness / legal transitions
    pnpm test -- tests/phase-transition-system.test.ts
    
    # 実 entrypoint が validation を通ること
    pnpm test -- tests/main-loop.test.ts tests/sortie-system.test.ts
    
    # HUD が raw phase/error を通常 UI に出さないこと
    pnpm test -- tests/hud-controller.test.ts
    
    # mutation audit
    rg -n "loopPhase\\s*=" src
    
    # PhaseTransitionSystem adoption audit
    rg -n "PhaseTransitionSystem|resolvePhaseTransition|canTransition|assertCanTransition" \
      src/main.ts src/systems/SortieSystem.ts src/ui/HudController.ts
    
    pnpm typecheck
    pnpm lint
    pnpm test
    pnpm build

    特に rg -n "loopPhase\\s*=" src は重要です。残る direct assignment があるなら、次のどれかに分類してください。

    • PhaseTransitionSystem validation 済み
    • bootstrap 例外
    • test-only / E2E-only 例外
    • legacy compatibility 例外
    • 修正漏れ

    最終結論

    #1174 は、目的は正しいですが、現行契約は Allowed Paths、対象 phase、実 mutation surface、legacy debrief、test strategy が噛み合っていません。

    このまま PR を作ると、PhaseTransitionSystem.ts と unit test は追加されるが、main.ts / SortieSystem.ts の direct mutation が残り、invalid transition 防止という Outcome は満たせない可能性が高いです。

    実装前にやるべき修正は明確です。

    1. ended を削除するか、GameState.ts を Allowed Paths に入れて正式導入する。
    2. main.ts と SortieSystem.ts を Allowed Paths に追加する。
    3. PhaseTransitionSystem を pure resolver / validator として設計する。
    4. legacy debrief phase の扱いを明文化する。
    5. table 単体テストではなく、実 entrypoint が validation を通る integration test を追加する。
    6. HUD には raw phase / raw error を出さない。

    この修正を入れてからなら、#1174 は M4 Upgrade Loop の HUD 露出依存にも耐える、妥当な基盤 Issue になります。

  3. squne121 commented on Jul 1, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-01T10:34:33Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1174
      body_sha256: "sha256:fe1caa50e6fdc9464c2fb2dc199065969ab73b2220883fa091e98e652f955ac1"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        vc_preflight: pass
      source: ensure_contract_snapshot_auto
  4. squne121 commented on Jul 1, 2026

    @squne121
    OwnerAuthor

    Refinement Loop: Approved

    Issue #1174 は owner comment https://github.com/squne121/loop-protocol/issues/1174#issuecomment-4853340922 を一次ソースとして再構成し、deterministic review と contract review の両方で approve / go を確認しました。実装着手に必要な contract snapshot も最新 body に対して materialize 済みです。

    • Termination reason: approved
    • Contract snapshot: https://github.com/squne121/loop-protocol/issues/1174#issuecomment-4853406797
    • Body SHA: sha256:fe1caa50e6fdc9464c2fb2dc199065969ab73b2220883fa091e98e652f955ac1
    LOOP_HANDOFF_RESULT_V1:
      status: impl_ready
      routing_action: run_impl_review_loop
      contract_review:
        status: go
        gate_result: fresh_go
        latest_comment_url: "https://github.com/squne121/loop-protocol/issues/1174#issuecomment-4853406797"
        generated_at: "2026-07-01T10:34:50Z"
        body_sha256: "sha256:fe1caa50e6fdc9464c2fb2dc199065969ab73b2220883fa091e98e652f955ac1"
      metadata:
        title_prefix_ready: true
        phase_label_ready: true
      auto_fixes:
        result: auto_fixed
        required:
          - kind: contract_snapshot_materialization
            executor: implementation-worker
            result: applied
            evidence:
              before: "fresh CONTRACT_REVIEW_RESULT_V1 status: go comment was missing for the latest issue body"
              after: "fresh CONTRACT_REVIEW_RESULT_V1 status: go comment was posted for the latest issue body"
              comment_url: "https://github.com/squne121/loop-protocol/issues/1174#issuecomment-4853406797"
        skipped: []
      blockers: []
      permissions:
        unavailable: []
      generated_at: "2026-07-01T10:34:50Z"
      checked_body_sha256: "sha256:fe1caa50e6fdc9464c2fb2dc199065969ab73b2220883fa091e98e652f955ac1"
      checker_exit_code: 0
      missing_sections: []
      missing_contract_keys: []
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: issue-refinement-loop
      follow_up_issues: []
      note_only_observations: []
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/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions