Skip to content

実装: worktree-agent-runtime-smokeのTask Context残り実機検証シナリオ(AC7/AC8/AC9/Claude-GPT lane)を完了する #2706

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "#2568"
goal_ref: "PR #2568実装で構築したTask Context runtime-smoke検証メカニズムを使い、本セッションの時間予算内で完了できなかった実機runtimeシナリオ(AC7 wrong-primary-target advisory、AC8 /clear causal evidence、AC9 Claude-GPT adapter isolated state-root維持、AC1 interactiveの残りシナリオ)を実行し証跡を取得する"
change_kind: verification
dedupe_key: "task-context-v1:runtime-smoke-remaining-live-scenarios"

Parent Issue

#2568

Outcome

.claude/skills/worktree-agent-runtime-smoke と scripts/task-context/task_context_runtime_smoke_verifier.py(#2568 実装)を用い、以下の実機 runtime シナリオを実行し、bounded/public-safe evidence を本 Issue または該当 PR コメントへ記録する。メカニズム自体(isolation gate、canonical delta contract、evidence assertion 関数、--task-context-scope/--task-context-state-root carrier passthrough)は #2568 で実装済みであり、本 Issue は追加実装ではなく「既存メカニズムを使った残り実機検証トライアル」に限定する。

In Scope

  • AC7: synthetic ACTIVE Task fixture 上で wrong-primary-target な UserPromptSubmit を実際に送信し、advisory として観測され、Claude processing が継続し、binding/activity/claim が不変であることを実機で確認する。
  • AC8: /clear scenario で pre/post Claude session ID・old_session_id != new_session_id・isolated DB 上の task_id/activity_id/binding_id 不変を実機で確認する。
  • AC9: Claude-GPT adapter(scripts/claude-gpt/launch.sh)経由で isolated state-root が維持され、launcher が canonical root へ上書きしないことを実機で確認する。
  • AC1: interactive lane の statusLine 観測、および Native/Claude-GPT 両 adapter の structured lane state-root carrier inheritance の残りシナリオを実機で確認する。

Out of Scope

Acceptance Criteria

Verification Commands

# AC1/AC2/AC3
# 実機 Herdr + Claude/Claude-GPT runtime を用いた scenario 実行(詳細は #2568 実装済みメカニズムと
# .claude/skills/worktree-agent-runtime-smoke/SKILL.md canonical invocation を参照)

Runtime Verification Applicability

decision: immediate
applicable_acs: [AC1, AC2, AC3]
reason: "本Issueの目的自体が#2568で実装済みメカニズムを使った実機runtime証跡の取得である"
execution_environment: "Herdr managed operator session + isolated worktree-agent-runtime-smoke run-scoped state root"
skip_conditions: "対象runtime(Native Claude / Claude-GPT + Herdr)を用意できない開発環境ではruntime検証をskipし、その旨を明記する。skip時はruntime AC PASSを主張しない。"
fallback_policy: "static/unit testsのみをruntime PASSの代替にしない。"
artifact_requirements: "bounded evidence(session ID比較、isolated DB before/after diff等)をIssue/PRコメントへpublic-safeな形で添付する。raw prompt/transcript/secretは出さない。"

Allowed Paths

  • なし(本 Issue は実機検証のみを対象とし、コード変更を伴わない想定。検証中に既存メカニズムの不具合が判明した場合は、実装: worktree-agent-runtime-smokeにrun-scoped isolated Task Context検証を追加する #2568 と同じ Allowed Paths (.claude/skills/worktree-agent-runtime-smoke/**、scripts/agent-ops/run_worktree_agent_runtime_smoke.py、scripts/agent-ops/tests/**、scripts/task-context/**、tests/task-context/**)に限定して修正する。

Stop Conditions

Required Skills

なし

Required Design References

Delivery Rule

  • 1 Issue = 1 PR(コード変更が必要になった場合のみ)。

Activity

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