Skip to content

調査: #3016 refinement_approved 後の stale Task origin identity conflict を切り分ける #3027

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: research
parent_issue: "none"
goal_ref: "Issue #3016 の refinement approved 後に Task Context signal が旧 Task identity に束縛されて conflict になった実行事象を、現行 prompt rebind / workflow-signal 契約と照合し、最小限の再発防止対応の要否を決める"
change_kind: research-only
dedupe_key: "task-context:refinement-approved:stale-origin-after-ordinary-target-prompt:3016:v1"

Parent Issue

none(独立した runtime 調査。Task Context 統合の親 #2562 と関連するが、#3016 の実装をブロックしない。)

Outcome

#3016 の refinement_approved signal conflict を current Task identity / UserPromptSubmit primary-target 判定 / workflow signal claim 検証のどの境界で生じたか evidence 付きで分類し、既存 Issue への追記、狭い implementation follow-up、または正常な advisory としての終結のいずれかを判断できる状態にする。

Current Evidence / Uncertainty

In Scope

Out of Scope

Acceptance Criteria

Verification Commands

# AC1
$ gh issue view 3016 --repo squne121/loop-protocol --json comments
# AC2
$ rg -n 'user_prompt_primary_target_rebind|FACT_TASK_IDENTITY_CONFLICT|active_rebind_primary_eligible' scripts/task-context/ .claude/hooks/task_context/
# AC3 / AC4
# preflight-scope: pr_review_only
$ gh issue view 2827 --repo squne121/loop-protocol --json state

AC2 は source search だけでは runtime 再現にならないため、調査結果の独立 evidence と counterfactual disposition を本 Issue に記録して評価する。AC3/4 は重複・依存関係の意味確認を必要とする。

Allowed Paths

  • (none) — read-only 調査。結果は本 Issue コメントと、必要な既存 Issue/次 Issue のリンクに残す。

Stop Conditions

  • 成果物の根拠となる current runtime evidence が得られず確定判断できない場合は、未確認と記録する。
  • Allowed Paths 外のコード変更、secret/credential の取得・公開、permission/hook bypass が必要な場合は停止。
  • 既存 Issue が同一 root cause を所有することが判明した場合は重複起票/実装を避ける。
  • 権限不足、成果物書き込み失敗では成功扱いしない。

Handoff Contract

  • Current Objective: stale origin の再発有無と実際の trigger 条件
  • Bounded Current Context: current main、Task claim/provenance/classifier の観測値
  • Open Questions: expected advisory と genuine regression の区別
  • Next Action: 既存 Issue に修正 evidence を追記 / 狭い実装 Issue 起票 / no-change 終結
  • Artifact Refs: sanitised runtime evidence、source/test path、Issue/PR URL

Delivery Rule

調査は独立・非ブロッキング。#3016 は現行 impl-review-loop に進め、merge 判断は人間が行う。新 wrapper/schema/gate は導入しない。

Activity

  1. added
    phase/research
    agent/research
    on Oct 11, 2026
  2. squne121 commented on Oct 11, 2026

    @squne121
    OwnerAuthor

    追加再発 evidence: #3031 で同じ Task Context signal conflict(2026-10-11)

    重複する調査 Issue は作らず、この #3027 に集約する。

  3. squne121 commented on Oct 12, 2026

    @squne121
    OwnerAuthor

    追加観測: Issue #3023 の refinement_approved signal identity conflict(2026-10-12)

    #3023 の approved 終了 について、対話的 Claude Code 実行ログには次の組合せが報告されています。

    これは本 Issue が扱う #3016 での「Task #2922 に束縛されたまま別 Issue の refinement を approved で終えた」という観測と同じ failure class の可能性があります。新しい重複 Issue は起票せず、この Issue の isolated counterfactual / RCA 調査対象へ #3023 を追加するのが適切です。

    #3023 の実装・PR作成を本調査でブロックしないでください。Task Context signal は best-effort として区別し、root-owned implementation entry の current-run gate を優先します。

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/researchphase/research

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions