Skip to content

調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: research
parent_issue: "none"
goal_ref: >
  #2012 で観測された 2 回の agy_web_grounding_no_citations 再現について、
  AGY tool execution -> provider output -> delegation_result/v1.grounded_research_evidence
  -> web-researcher materialization -> WEB_RESEARCH_RESULT_V1.claims[].evidence[]
  -> Grounding Quality Gate のどの境界で source provenance / claim association が
  失われるかを特定する
change_kind: research-only

Parent Issue

なし(単独調査)

Outcome

上記 producer/consumer 境界チェーンのどこで citation/source provenance が失われるかの root cause が field-by-field の実測証跡(2 件の #2012 reproduction)に基づいて特定され、以下がすべて本 Issue 本文に記載された状態:

In Scope

  • Issue 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 で 2 回連続再現した grounding_failure / agy_web_grounding_no_citations(citation_count: 0)について、reproduction ごとに以下の required_reproduction_evidence フィールドを field-by-field で本文に記録する:
    • current_main_sha
    • agy_cli_version
    • sanitized_request_hash
    • sanitized_response_text_or_hash
    • 正規化された hook event summary(search_web / read_url_content の canonical tool 名とその実行回数)
    • delegation_result/v1.grounded_research_evidence
    • 最終的な WEB_RESEARCH_RESULT_V1
  • producer/consumer 境界チェーン全体(AGY tool execution → delegation_result/v1 → web-researcher materialization → WEB_RESEARCH_RESULT_V1 → Grounding Quality Gate)を調査対象とする。run_gemini_headless.py / preflight_agy.py の 2 ファイルに限定しない。WEB_RESEARCH_RESULT_V1 の Schema SSOT は .claude/agents/web-researcher.md(実装: web-researcher / gemini-cli-headless-delegation に grounding failure retry と direct fallback 判定を集約する #247 で確定した責務分離)であることを踏まえ、web-researcher 側の materialization ロジックも読む
  • 現在インストール済みの AGY CLI version を固定した上で、--output-format text(現行の regex/stdout scraping 前提)と json / stream-json(2026-07-30〜31 頃の Antigravity CLI v1.1.7-v1.1.9 で追加)の provenance 保持能力を実測比較する(_build_agy_inner_argv() の現行 argv allowlist 制約を含めて確認する)
  • 以下 5 件の required_hypotheses をそれぞれ support / refute 評価する:
    1. generic direct URL が現行 citation policy(_extract_structured_citations() が sources/citations/grounding.sources のみを読む、Vertex redirect URL のみ許可)により意図的に棄却されている
    2. _build_agy_grounded_research_metadata() の citation [:1] 切り詰めが複数 source の evidence を喪失させている
    3. web-researcher 側の materialization が wrapper(delegation_result/v1)の evidence を喪失させている
    4. canonical tool 名(search_web / read_url_content)と historical/incorrect alias(web_search / websearch / url_read / fetch)の tool-name vocabulary の分裂が影響している
    5. AGY structured output(json/stream-json)が現행の best-effort stdout parsing を置き換え可能である
  • 各 reproduction について、観測された citation を (a) generic 直リンク URL、(b) vertexaisearch.cloud.google.com/grounding-api-redirect/... 形式、(c) structured/native source field、の 3 パターンに分類する
  • Issue 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768(PR 実装: agy_tool_provenance の hooks.json 配置先を実際の discover パスへ修正し、grounded_research evidence gate へ配線する #1770 でマージ済み)が確立した「tool-call provenance(実際に tool が呼ばれたことの証跡)」を既に解決済みの precondition として扱い、「tool-call provenance 成立後、citation/source association がどこで失われるか」に調査を絞る

Out of Scope

Acceptance Criteria

  • AC1: 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 の 2 回の reproduction それぞれについて、required_reproduction_evidence(current_main_sha / agy_cli_version / sanitized_request_hash / sanitized_response_text_or_hash / canonical hook event summary / delegation_result/v1.grounded_research_evidence / 最終 WEB_RESEARCH_RESULT_V1)が本 Issue 本文に field-by-field で記録されている
  • AC2: producer/consumer 境界チェーンの各境界(AGY tool execution / delegation_result/v1 / web-researcher materialization / WEB_RESEARCH_RESULT_V1 / Grounding Quality Gate)について、citation/source provenance が保持される code path と欠落する code path が本文に列挙されている(_build_agy_grounded_research_metadata() の citation [:1] 切り詰め、_extract_structured_citations() の対象 field 限定、web-researcher 側の evidence_count==0 fail 条件を含む)
  • AC3: 現在インストールされている AGY CLI version を明記した上で、text と json/stream-json の provenance 保持能力の実測 capability matrix と結論が本文にある
  • AC4: In Scope に列挙した 5 件の required_hypotheses それぞれについて support / refute の評価結果が本文にある
  • AC5: Issue 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 との関係について「同一 root cause の再調査ではなく、調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 は tool-call provenance 確立という既に解決済みの precondition」という整理が本文にある
  • AC6: 結論に基づく次のアクション(実装 Issue 起票 / 追加調査不要 / 運用回避策の記録のいずれか)が本文に明記され、実装 Issue を起票する場合は「provenance-bound structured event adapter」を第一候補として検討し、「citation_count 0→1 の局所修正」や「generic URL の無条件 regex 許可」を採用しない理由が明記されている
  • AC7: 次のアクションが implementation Issue 起票の場合、その Issue が起票され本 Issue から link されている

Verification Commands

# AC1
# baseline-expect: pass
$ rg -n "agy_cli_version" .claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py
# AC2
# baseline-expect: pass
$ rg -n "_extract_structured_citations" .claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py
# AC3
# baseline-expect: pass
$ rg -n "output-format" .claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py
# AC4
# baseline-expect: pass
$ rg -n "CANONICAL_WEB_TOOL_NAMES" .claude/skills/gemini-cli-headless-delegation/scripts/agy_tool_provenance.py
# AC5
# baseline-expect: pass
$ rg -n "Schema SSOT" .claude/agents/web-researcher.md
# AC6
# baseline-expect: pass
$ rg -n "grounded_research_evidence" .claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py
# AC7
# baseline-expect: deferred
$ gh issue view NEW_IMPLEMENTATION_ISSUE_NUMBER

Allowed Paths

  • .claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py
  • .claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py
  • .claude/skills/gemini-cli-headless-delegation/scripts/agy_tool_provenance.py
  • .claude/agents/web-researcher.md
  • .claude/skills/gemini-cli-headless-delegation/references/grounded-research-isolated-workspace-investigation.md

上記はいずれも read-only 参照対象であり、本 Issue はリポジトリ変更を行わない。

Stop Conditions

  • Outcome / Scope / AC が検索可能な形で記載されていない場合は即停止
  • Allowed Paths 外への書き込みを試みた場合は即停止
  • 権限不足(permission denied)により操作が完了できない場合は即停止
  • 成果物の書き込みに失敗した場合(I/O エラー等)は即停止

Handoff Contract

  • Current Objective: producer/consumer 境界チェーン全体における citation/source provenance 喪失箇所の特定
  • Bounded Current Context: Issue 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 の 2 回の再現ログ(grounded_research route)、Issue 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768(tool-call provenance を確立した precondition、CLOSED)、OWNER レビュー(issuecomment-5225449810、Antigravity CLI v1.1.7-v1.1.9(2026-07-30〜31 頃)の structured output 追加を含む敵対的レビュー)
  • Open Questions: citation/source association がどの境界で失われるか、text と json/stream-json の実測 provenance 保持能力差
  • Next Action: root cause 特定後、implementation Issue 起票(provenance-bound structured event adapter を第一候補として検討)または運用回避策記録
  • Artifact Refs: .claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py, .claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py, .claude/skills/gemini-cli-headless-delegation/scripts/agy_tool_provenance.py, .claude/agents/web-researcher.md, .claude/skills/gemini-cli-headless-delegation/references/grounded-research-isolated-workspace-investigation.md

Notes for Reviewer

Runtime Verification Applicability

本 Issue の変更対象はワークフロー文書・スクリプトのみです。ゲームの実行時動作には影響しません。

decision: not_applicable
reason: "Workflow documentation and script changes only. No runtime game behavior changed."

Research Snapshot

  • 調査実施日: 2026-08-08
  • origin/main SHA: eceda728a4321015668599a7b5f0e55abb7d17d3
  • インストール済み agy version: 1.1.11(agy --version で実測)
  • 調査方式: 静的コード調査(行番号付き一次証拠)+ 現行 agy --help 実測。
    実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 発生時点の生の request/response artifact(sanitized_request_hash 等)は GitHub 上(実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 全7コメント)・git log --all のいずれにも見つからず、not_recoverable として扱う(下記 Reproduction Evidence 参照)。live re-run による新規 reproduction はこの調査パスでは実施していない(Out of Scope の「実際のコード修正」ではなく read-only 調査に限定したため、AGY の live 実行を伴う新規 reproduction は次アクションに委ねる)。

Reproduction 1 / Reproduction 2 Evidence

required_reproduction_evidence の各フィールドについて、#2012 の全コメント(7件)および git log --all を確認した結果:

reproduction_1:
  current_main_sha: not_recoverable
  original_run_timestamp: not_recoverable
  agy_cli_version: not_recoverable
  sanitized_request_hash: not_recoverable
  sanitized_response_text_or_hash: not_recoverable
  canonical_hook_event_summary: not_recoverable
  urls_observed: not_recoverable
  delegation_result_grounded_research_evidence: not_recoverable
  final_WEB_RESEARCH_RESULT_V1: not_recoverable
  quality_gate_result: not_recoverable
  source_artifact_refs: []
  not_recoverable_reason: >
    #2012 の issue-refinement-loop 内部で web-researcher が GitHub CLI 公式仕様を
    fact-check した際に発生した grounding_failure であり、この失敗は Issue 本文・
    コメント(7件全件を確認)に生の evidence として転記されていない。ephemeral な
    SubAgent 呼び出しの内部イベントであり、tmp/ 等の artifact ディレクトリは
    .gitignore 対象で commit されないため `git log --all` でも復元不能。
reproduction_2:
  same_as: reproduction_1
  not_recoverable_reason: 同上(#2034 Issue本文は「2回連続」とのみ記述し、2回目固有の識別子は記録されていない)

この調査で唯一 field-by-field に実測できたのは agy_cli_version: 1.1.11(現在時点、agy --version)のみであり、これは#2012発生当時のバージョンと一致する保証はない。元 artifact が復元不能なため、AC1 は「境界チェーン上のどこで citation が失われうるか」を静的コードで確定させる形で充足させ、実行時証跡そのものはコード変更なしに事後収集できないことを明記する。

Producer Consumer Boundary Ledger

境界 入力 出力 cardinality / 欠落 一次証拠
AGY tool execution → provider stdout agy -p <prompt> の実行 plain stdout(text) _build_agy_inner_argv() は [agy_bin, "-p", prompt] (+ --model) のみを構築し、--output-format は一切渡さない。AGY既定の text が常に使われる。 run_gemini_headless.py:2698-2711
argv 構造 allowlist 上記 argv 実行 or AgyInvocationPolicyError _validate_agy_invocation_argv() は [bin, "-p", prompt] + 任意で ["--model", m] という厳密な位置allowlistであり、それ以外の trailing 引数(--output-format 含む)は全て reject される(Issue #1807 の flag-injection 対策)。 run_gemini_headless.py:2714-2758
provider stdout → best-effort parse plain stdout {"source": ..., "data": {...}} or {} _extract_grounded_research_output() は特定マーカー行(AGY_GROUNDED_RESEARCH: 等)、単独JSON行、最終手段の _extract_urls() の順で試行するbest-effort scraping。構造化されないprose応答は urls_observed のみ、あるいは空 {} になりうる。 run_gemini_headless.py:3229-3272
parse → citation extraction parsed["data"] citations: list[{url,title}] _extract_structured_citations() は data.sources / data.citations / data.grounding.sources の3フィールドのみを読み、要素は dict かつ url が非空文字列の場合のみ採用。genericなURLでもこれらのkeyの下にあれば採用される(構造化されていれば拒否されない)。一方、_extract_grounded_research_output() の parse に失敗した(構造化トレースがstdoutに存在しない)場合はこの関数には何も渡らず0件になる。 run_gemini_headless.py:3205-3226
tool-call trace + citation → grounded_research_evidence structured_citations, hook_validated citation_evidence (最大1件), web_tool_call_count, search_query_count citation_evidence = structured_citations[:1](H2該当・確認済み)。かつ web_tool_call_count = 1 if tool_call_confirmed else 0、search_query_count = 1 は常に固定値であり、実際に何回 search_web/read_url_content が呼ばれたかを反映しない。 run_gemini_headless.py:3488-3509
tool-call trace missing → fail-closed — grounding_failure_class: agy_web_grounding_tool_call_missing 構造化stdoutトレースが無く、かつ validated hook event(agy_tool_provenance_v1)も無い場合はここで即fail-closed。#2012では「AGYがsearch_web 1回+read_url_content 3回を実行した」とIssue本文にあるため、この境界は通過した可能性が高い(hook_validated=trueの経路)。 run_gemini_headless.py:3466-3476
delegation_result/v1 → web-researcher materialization citation_evidence, grounding_status 等を含む wrapper JSON WEB_RESEARCH_RESULT_V1.claims[].evidence[] コード上の決定的なマッピングロジックが存在しない。 .claude/agents/web-researcher.md はこの境界を「SubAgent(model: haiku)が wrapper の出力を読んで claims/evidence を自分で構成する」という自然言語契約としてのみ定義しており、delegation_result/v1.grounded_research_evidence → claims[].evidence[] の変換を保証する決定的コード(validatorやパーサー)は同ファイル・同skill内に見当たらない。 .claude/agents/web-researcher.md 全190行(Execution/Result セクション)
Grounding Quality Gate citation_count, evidence_count, claim verdicts failure_class: grounding_failure or pass citation_count == 0 / critical claimの evidence_count == 0 / inconclusive / coverage不足 / topic drift のいずれかでfail-closed。ゲート自体はweb-researcher.md内に明記されているが、実行主体はhaikuモデルであり決定的コードによる検証ではない。 .claude/agents/web-researcher.md「Grounding Quality Gate」節

Output Format Capability Matrix

capability_observation:
  agy_cli_version: "1.1.11"
  agy_help_output_format_choices: [text, json, stream-json]
  agy_help_default: text
  wrapper_current_behavior:
    passes_output_format_flag: false
    reason: >
      _build_agy_inner_argv() は --output-format を argv に含めない設計であり、
      _validate_agy_invocation_argv() の位置allowlistは [bin, -p, prompt] (+ --model)
      以外の trailing 引数を構造的に拒否する(Issue #1807)。そのため現行実装は
      json / stream-json を選択する経路そのものを持たない。
  live_json_or_stream_json_run: not_executed
  live_run_not_executed_reason: >
    本調査はread-only静的コード調査に限定されており(Issue #2034 Out of Scope:
    実際のコード修正を含まない)、--output-format を渡す変更を伴わない限り
    json/stream-json での実行結果を実測することは現行コードのままではできない。
    したがって「json/stream-json がどこまでprovenanceを保持するか」の定量比較は
    実装Issue側でのprototype/spike観測に委ねる。

結論: text と json/stream-json の実測比較そのものは、現行の argv allowlist 制約によりこのIssueのスコープ内(コード変更なし)では実行不可能。ただし agy --help から --json-schema オプション(stream-json の最終resultにJSON schemaを強制できる)の存在も確認されており、H5「structured outputがstdout best-effort parsingを置換できるだけの情報を保持している」の検証には、_build_agy_inner_argv() と _validate_agy_invocation_argv() 双方の変更を伴う実装Issueでのprototype検証が必要という所見を得た。

Required Hypotheses Verdicts

hypothesis_verdicts:
  H1_generic_url_intentionally_rejected:
    verdict: supported
    evidence: >
      _extract_structured_citations()(run_gemini_headless.py:3205-3226)は
      data.sources / data.citations / data.grounding.sources の3フィールドの
      dict要素のurlのみを採用する。これらのkeyの外にある生のURL文字列(例えば
      応答prose中の裸URL)はここでは一切citationとして採用されない。
      さらに hook_validated かつ structured_citations が空の場合のfallback
      (3479-3487)はvertexaisearch.cloud.google.comのgrounding-api-redirect
      形式のみを許可し、genericなURLは明示的に対象外(コメントで
      "A bare/generic URL is still never accepted here" と明記)。
      policy自体は意図的なfail-closed設計であり、#2034 Out of Scopeが
      禁止する「generic URL無条件許可」を裏付ける根拠でもある。
  H2_citation_truncated_to_1:
    verdict: supported
    evidence: >
      run_gemini_headless.py:3489 `citation_evidence = structured_citations[:1]`。
      同時に web_tool_call_count(3491)と search_query_count(3507)も
      実際の呼び出し回数によらず固定値1に潰される。#2012で報告された
      「search_web 1回+read_url_content 3回」のうちread_url_content分の
      情報は、この境界で構造的に捨てられる設計になっている。
  H3_web_researcher_materialization_loses_evidence:
    verdict: partially_supported
    evidence: >
      .claude/agents/web-researcher.md には delegation_result/v1.grounded_research_evidence
      から WEB_RESEARCH_RESULT_V1.claims[].evidence[] への決定的な変換コードが
      存在せず、model: haiku のSubAgentが自然言語契約に基づき手動で構成する
      設計になっている。これは「喪失を証明するコード」ではないが、
      「喪失を防止する決定的コードが無い」ことは確認できた。実際の喪失量は
      個々のSubAgent実行のログが復元不能なため定量化できず、partially_supportedとする。
  H4_tool_name_vocabulary_split:
    verdict: refuted
    evidence: >
      agy_tool_provenance.py:57 で CANONICAL_WEB_TOOL_NAMES = {"search_web",
      "read_url_content"} が定義され、62-73行の _LEGACY_UNRECOGNIZED_ALIASES
      (web_search/websearch/browser_navigate/browser/url_read/read_url/
      fetch_url/fetch)は270-271行で明示的に検出・拒否される設計になっている。
      #2034本文が引用する#2012の実測("AGYはsearch_web 1回+read_url_content 3回
      を実行")はcanonical名そのものであり、alias分裂が#2012の失敗原因だった
      形跡はない。vocabulary splitは既に構造的に無害化されている。
  H5_structured_output_can_replace_stdout_scraping:
    verdict: inconclusive
    evidence: >
      agy --help(v1.1.11実測)は --output-format {text,json,stream-json} と
      --json-schema オプションの存在を確認した。しかし現行wrapperの
      _build_agy_inner_argv()/_validate_agy_invocation_argv()の構造的allowlist
      (Issue #1807由来)により、コード変更なしにjson/stream-jsonを実行して
      provenance保持能力を実測することがこのIssueのスコープ内ではできない。
      したがって「置換可能か」はcapability存在の確認に留まり、live実測による
      support/refute判定は実装Issue側のprototype観測に委ねる。

URL Classification

#2012 の生reproduction evidenceがnot_recoverableのため実測分類はできないが、コード上の分類基準は以下の通り確定している。

  • (a) generic 直リンクURL: _extract_structured_citations() の対象3フィールド外にあるURL。現行実装では一切citationとして採用されない(H1参照)。
  • (b) vertexaisearch.cloud.google.com/grounding-api-redirect/...: _VERTEX_GROUNDING_CITATION_RE(run_gemini_headless.py:3281-3283)で識別され、hook-validatedな場合のみfallback citationとして採用される。
  • (c) structured native source field: data.sources/data.citations/data.grounding.sources 配下のdict要素。唯一、複数件存在しうる正規citation source(ただし[:1]で1件に切り詰められる、H2参照)。

Root Cause

確定した root cause(コード実測ベース): citation/source provenance の喪失は単一箇所ではなく、直列に並んだ複数の境界で発生する。(1) AGYは常に既定の text 出力で呼ばれ構造化JSONトレースが得られる保証がない、(2) 得られても [:1] truncationにより複数sourceが1件に強制圧縮され、tool呼び出し回数・検索回数も固定値1に潰される、(3) wrapper出力からWEB_RESEARCH_RESULT_V1への変換に決定的コードがなくHaikuモデルの解釈に依存する。うち(1)と(2)はコードで確認済みの構造的欠陥であり、(3)はコード不在という構造的ギャップとして確認された。

Relationship to #1768 / PR #1770

Issue本文の整理(「#1768はtool-call provenance確立という既に解決済みのprecondition」)は本調査でも支持される。_hook_events_confirm_web_tool_call() による hook-validated 経路(run_gemini_headless.py:3408, 3468, 3479-3487)は#1768由来の機構であり、「tool callが実際に起きたか」の証明と「その結果のcitationがどこまで保持されるか」は別の境界を担っている。本調査が特定したH2・H5の欠陥は#1768の対象範囲外であり、#1768の再オープンは不要と判断する。

Implementation Decision

実装が必要と判定する。 理由: H2(citation [:1] 切り詰め、web_tool_call_count/search_query_count固定値化)はコードで確認された実損失であり、運用回避策では解消できない。H5はcapability自体は存在するが現行argv allowlistが構造的に塞いでいるため、意図的な設計変更(allowlist拡張 + structured output対応)が必要。

第一候補は #2034 が指定する provenance-bound structured event adapter とする。citation_countを0→1にするだけの局所修正、generic URLの無条件regex許可は、H1がfail-closed設計として妥当であることを示しており、いずれも採用しない。

Acceptance Criteria Evidence

Residual Risks

  • #2012当時の生reproduction evidenceが復元不能なため、H3(web-researcher materializationでの実際の喪失量)は定量化できていない。実装Issueのテストで新規に再現・観測する必要がある。
  • H5のcapability比較はlive実行なしのagy --help確認に留まる。実装Issueのprototype/spikeステップで--output-format json/stream-jsonを実際に実行し、provenance保持能力を実測する必要がある。
  • 本調査は単一セッションの静的解析であり、独立レビュー(fresh reviewer)による敵対的検証を経ていない。

Activity

  1. added
    phase/research
    state/queued
    agent/research
    on Aug 8, 2026
  2. squne121 commented on Aug 8, 2026

    @squne121
    OwnerAuthor

    判定

    REQUEST_CHANGES。現状の #2034 は、そのまま research agent に渡すには契約が不足しています。
    問題意識自体は正しいですが、調査対象の producer/consumer 境界を誤っており、Verification Commands も false-green です。さらに、2026年7月末に Antigravity CLI 側へ追加された structured output を調査対象に入れていないため、古い stdout scraping 前提の root cause に誤収束する危険があります。 ([Google Antigravity]1)

    敵対的レビュー findings

    1. P0 / Blocker — WEB_RESEARCH_RESULT_V1 の producer を取り違えています。 調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 は run_gemini_headless.py に「WEB_RESEARCH_RESULT_V1.claims[].evidence[] 組み立てロジック」がある前提ですが、current main の wrapper は delegation_result/v1 を生成し、その中に grounded_research_evidence を載せる層です。一方、WEB_RESEARCH_RESULT_V1 は .claude/agents/web-researcher.md が明示的に SubAgent-owned / Schema SSOT と定義しています。過去の 実装: web-researcher / gemini-cli-headless-delegation に grounding failure retry と direct fallback 判定を集約する #247 でも、web-researcher を SSOT、issue-refinement-loop を opaque consumer にする責務分離が確定しています。したがって調査すべき経路は AGY → delegation_result/v1 → web-researcher materialization → WEB_RESEARCH_RESULT_V1 → quality gate の全境界です。現行 Artifact Refs の3ファイルだけでは root cause を特定できません。

    2. P0 / Blocker — wrapper の「1 citation / 1 tool call」契約と claim-level quality gate が構造的に噛み合っていません。 調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 の再現では実際に search_web 1回 + read_url_content 3回、複数 claim の verdict が生成されています。しかし current main の _build_agy_grounded_research_metadata() は citation を [:1] に切り、web_tool_call_count も真偽値相当の 1、search_query_count も固定 1 に潰します。一方 web-researcher は critical claim の evidence_count == 0 や claim coverage 不足でも fail します。つまり citation_count を 0→1 に直しても、複数 claim の evidence coverage は直らない 可能性が高い。調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 は「citation 0」だけではなく「N tool results → M claims の provenance-preserving materialization」を調査対象にすべきです。

    3. P0 / Blocker — Verification Commands がほぼ全て false-green です。 AC2 の rg "citation_count" run_gemini_headless.py は url_citation_count が存在するだけで通り、WEB_RESEARCH_RESULT_V1 の materialization を一切検証しません。AC3 の agy_provenance_hook_events、AC4 の Next Action も 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 由来で既に存在します。AC5 は placeholder の Issue 番号を view するだけです。さらに AC1〜AC4 は「本 Issue 本文に記載」、AC5 は新 Issue 起票を要求する一方、Allowed Paths は「読み取り専用」で remote GitHub mutation の扱いを定義していません。これは 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 で既に問題になった「現行状態のままでも grep が PASS する」型の AC defect を再導入しています。

    4. P1 — 現時点の最有力仮説は provider failure ではなく、Loop Protocol 側の意図的な citation policy です。 parser は stdout から generic URL を見つけても data.urls に入れるだけで、_extract_structured_citations() は sources / citations / grounding.sources しか読みません。さらに hook-provenance が成立した fallback でも、citation と認めるのは vertexaisearch.cloud.google.com/grounding-api-redirect/... だけです。テストでも「validated hook + https://example.com/... → attempted_no_citations」を明示的に固定しています。PR 実装: agy_tool_provenance の hooks.json 配置先を実際の discover パスへ修正し、grounded_research evidence gate へ配線する #1770 もこの generic URL rejection を safety claim として維持したまま merge・approve されています。したがって 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 の response_text が GitHub CLI 公式ページへの通常 URL を返していたなら、現行コードが仕様通り捨てている可能性が高いです。ただし 調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 には2試行の sanitized raw result が固定されていないため、ここはまだ仮説であって確定 root cause ではありません。 Google Cloud の grounding API には Vertex redirect URI を使う surface がありますが、それが Antigravity search_web の全 citation に共通するという仕様根拠はありません。(Google Cloud)

    5. P1 — 2026-07-28 の Antigravity CLI 1.1.8 で前提条件が変わっています。 Google の公式 changelog では print mode に --output-format text|json|stream-json が追加され、stream-json は typed init / step_update / result を持つ machine-readable NDJSON とされています。ところが current main は _build_agy_inner_argv() を agy -p <prompt> [--model ...] に固定し、その他の trailing option を fail-closed で拒否します。provider mapping でも --output-format json / stream-json を明示的に contract 外にしています。つまり 調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 は regex の改修を先に考えるのではなく、current installed AGY version を固定し、structured output が source/tool-result provenance を十分保持するかを最初に実測すべきです。公式 changelogは structured carrier の存在までは保証しますが、citation URL がどの event field に出るかまでは、この資料だけでは断定できません。([Google Antigravity]1)

    6. P1 — tool-name vocabulary が内部で分裂しています。 current run_gemini_headless.py の stdout structured trace parser は web_search / websearch / url_read / fetch 等を認識しますが、agy_tool_provenance.py はそれらを明示的に「historical/incorrect aliases」とし、canonical names を search_web / read_url_content としています。Google の現行 Hooks 公式仕様も後者を tool 名として列挙しています。hook event がある現在は canonical path で救済されますが、structured output に移行するならこの split は確実に整理対象です。 ([Google Antigravity]3)

    7. P2 — 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 との「同一 root cause か?」は、かなりの部分が既に回答済みです。 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 / PR 実装: agy_tool_provenance の hooks.json 配置先を実際の discover パスへ修正し、grounded_research evidence gate へ配線する #1770 は「本当に tool が呼ばれたか」という provenance 層を修正しました。修正後の live verification 自体が、valid hook event があっても citation が無ければ attempted_no_citations、Vertex redirect があれば grounded になることを示しています。また generic URL rejection は意図的に維持されました。したがって 調査: web-researcher の citation_count 0 fail-closed root cause を特定する #2034 では 調査: isolated workspace内でsearch_web成功時もagy_provenance_hook_eventsが常に空になる原因を特定する #1768 を再調査仮説ではなく 既知の前段 invariant とし、「tool-call provenance 成立後、citation/source association がどこで失われるか」に絞る方が効率的です。

    推奨する #2034 の再定義

    Outcome は「citation_count 0 の理由」では狭すぎます。次のような境界ベースに置き換えるのが妥当です。

    goal_ref: >
      #2012 の2再現について、
      AGY tool execution
      -> provider output
      -> delegation_result/v1.grounded_research_evidence
      -> web-researcher materialization
      -> WEB_RESEARCH_RESULT_V1.claims[].evidence[]
      -> Grounding Quality Gate
      のどの境界で source provenance / claim association が失われるかを特定する
    
    required_reproduction_evidence:
      - current_main_sha
      - agy_cli_version
      - sanitized_request_hash
      - sanitized_response_text_or_hash
      - canonical hook event summary
      - tool names and counts
      - delegation_result/v1 grounded_research_evidence
      - final WEB_RESEARCH_RESULT_V1
      - URLs observed at each boundary
    
    required_hypotheses:
      - generic direct URL rejected by current citation policy
      - one-citation cap loses multi-source evidence
      - web-researcher materialization loses wrapper evidence
      - canonical tool-name mismatch
      - AGY structured output can replace best-effort stdout parsing

    AC も grep ではなく、2件の #2012 reproduction を field-by-field で追跡できること、text と json/stream-json の bounded capability matrix を current AGY で比較すること、generic URL / Vertex redirect / structured source の3ケースを区別すること、複数 claims に対する source association を失わない implementation target を決めることを postcondition にすべきです。--output-format を採用する場合は、現在の argv structural allowlist を安全に拡張する必要もあります。([Google Antigravity]1)

    実装 Issue の候補は、現段階では「generic URL を regex で許可する」ではありません。それだけでは prompt echo / hallucinated URL を citation に昇格させ、#1266/#1708 で築いた fail-closed 性を壊します。第一候補は provenance-bound structured event adapter、すなわち canonical search_web / read_url_content の実 tool execution と、その tool/result に由来する source URI を機械的に関連付け、その後に claim-level evidence へ materialize する構成です。Antigravity Hooks は PreToolUse と PostToolUse を正式に提供していますが、citation payload の取得可否は live stream-json schema と合わせて実測して決めるべきです。([Google Antigravity]3)

    結論として、#2034 の research 自体は必要ですが、現在の契約で着手すると「Vertex regex を直せば終わり」という局所解に寄る可能性が高いです。 先に producer boundary・evidence cardinality・structured-output capability・reproduction artifact・Verification Commands を修正してから実行するのが妥当です。#2034 自体には現在コメントがなく、これらを上書きする OWNER directive もまだありません。

  3. squne121 commented on Aug 8, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop 完了報告

    結果: approve(3 iteration)

    OWNER の敵対的レビュー(このコメント)を起点に、本 Issue の contract を全面改訂しました。

    主な変更点

    • Outcome/Scope の再定義: 調査対象を run_gemini_headless.py/preflight_agy.py の2ファイルから、producer/consumer 境界チェーン全体(AGY tool execution → delegation_result/v1 → web-researcher materialization → WEB_RESEARCH_RESULT_V1 → Grounding Quality Gate)に拡張し、.claude/agents/web-researcher.md(Schema SSOT、実装: web-researcher / gemini-cli-headless-delegation に grounding failure retry と direct fallback 判定を集約する #247)を含めました。
    • 5件の required_hypotheses と required_reproduction_evidence(field-by-field 記録項目)を In Scope / AC に追加しました。
    • Verification Commands の false-green 解消: 旧 AC は既存文言に一致するだけの false-green でした。新 VC は実在するコードシンボル(_extract_structured_citations、_build_agy_grounded_research_metadata の [:1] 切り詰め、CANONICAL_WEB_TOOL_NAMES 等)をグラウンディングチェックとして検証します(# baseline-expect: pass)。AC7(未起票の実装 Issue 番号を参照する VC)は # baseline-expect: deferred とし、pr-review-judge の判定に委ねました。
    • OWNER コメントの日付主張の訂正: --output-format 追加日は OWNER 記載の 2026-07-28 ではなく、web-researcher の grounded research により 2026-07-30〜31 頃(Antigravity CLI v1.1.7-v1.1.9)が実測支持されました。

    実行した調査(Step 1 / Step 1b)

    • codebase-investigator: producer/consumer 境界の4箇所(tool呼び出し正規化・web-researcher Quality Gate・Preflight/Wrapper・スクリプト間シリアライズ)の provenance 保持/欠落ポイントを特定。run_gemini_headless.py は AGY delegation のサイズ制限で一部未取得だったため、control-plane が直接 rg で補完し、citation [:1] 切り詰め(3489行目)と _extract_structured_citations() の sources/citations/grounding.sources 限定(3213-3225行目)を確認しました。
    • web-researcher: OWNER が引用した4件の外部仕様 claim(--output-format 追加、stream-json イベントスキーマ、Hooks canonical tool 名、Vertex citation URI 標準)を検証し、3件 support・1件は日付のみ軽微な誤差でした。

    途中で発生した blocker と対処

    1. OWNER コメントが contract_update_required(Allowed Paths/AC への明示的変更指示)と判定され、Step 0g の trusted contract update フェーズが PLANNER_FAIL_CLOSED で自動適用に失敗(抽出された patch plan が断片的な自由記述で readiness check 不合格)→ 人間に方針確認の上、本文全体を手動で再構成。
    2. iteration 1: Allowed Paths の boilerplate 文言(「読み取り専用。リポジトリ変更なし」)が実在パスでないため extract_allowed_paths() に誤登録され、VC 内の全 rg パスが broad path 判定 → 実際の調査対象5ファイルを Allowed Paths に列挙して解消。
    3. iteration 2: AC7 の gh issue view NEW_IMPLEMENTATION_ISSUE_NUMBER(未起票 Issue 番号の placeholder)が exit code 分類不能 → # baseline-expect: deferred annotation(Issue 実装: baseline-expect VC annotation と deterministic repair pass で issue-refinement-loop 反復失敗を防ぐ #889)に変更して解消。

    最終 body_sha256: sha256:4036e442457a5ea4b28bbb40d5ffd8abbb7dcc0989f653bfd2eba6686a0536a3

  4. squne121 commented on Aug 8, 2026

    @squne121
    OwnerAuthor

    確認結果

    2026年8月8日確認時点で、Issue #2034 は open の research-only Issue です。対象はコード修正そのものではなく、#2012 で発生した2件の agy_web_grounding_no_citations について、AGY実行から delegation_result/v1、web-researcher、WEB_RESEARCH_RESULT_V1、Grounding Quality Gateまでのどの境界で source provenance/claim association が失われたかを実測で特定することです。実装が必要と判明した場合は、別の implementation Issue を作成してリンクする契約になっています。

    最初の敵対的レビューでは producer/consumer 境界の誤認、citation 1件への切り詰めと claim-level evidence gate の不整合、false-green な Verification Commands、structured output 未調査などが指摘されました。その後 issue-refinement-loop が3イテレーション実行され、現在の契約は approve 済みです。#2034を参照するPRは現時点で0件です。

    発端の #2012 では、AGYが search_web 1回と read_url_content 3回を実行し、応答本文にclaimごとの判定を含めたにもかかわらず、2回とも structured citation が0件となり、最終 WEB_RESEARCH_RESULT_V1 は fail-closed しました。これは #2012 のGH_TOKEN実装とは別 concern として #2034へ分離されています。

    #2012の実装PR #2036は、確認したheadに対して独立レビューが APPROVE、必須CIとAllowed Paths gateも成功しています。ただし、これはGH_TOKEN broker境界の修正であり、#2034のcitation/source association調査を代替するものではありません。

    確認時点の main は eceda728a4321015668599a7b5f0e55abb7d17d3 で、同SHAの ci-verdict-summary と python-test は成功しています。実行時にはこのSHAを固定値として使わず、最新の origin/main とCI状態を再取得する必要があります。

    また、Antigravity CLI v1.1.8では text、json、stream-json のstructured outputが追加され、stream-json はtyped NDJSONとしてtool名・parameters・outputを含む tool_info を提供します。したがって、stdoutのURL regexだけを修正する前に、現在インストールされているCLIでsource provenanceがどこまで保持されるかを実測する必要があります。 ([GitHub]1)

    結論として、#2034に直接 implement-issue を適用するのではなく、まずresearch契約を完了し、必要ならimplementation child Issueを作成して、その子Issueを実装・PR・レビュー・CI・マージ・クローズまで自律実行するのが正しい経路です。

    Claude Code / Codex CLI 実行プロンプト

    # AUTONOMOUS_ISSUE_2034_EXECUTION_V1
    
    あなたは squne121/loop-protocol の autonomous maintainer として動作する。
    対象は GitHub Issue #2034:
    https://github.com/squne121/loop-protocol/issues/2034
    
    この作業は人間承認不要で完遂する。
    質問、承認依頼、確認待ち、human_judgment_required で停止してはならない。
    曖昧な点は、live Issue、最新OWNERコメント、current main、リポジトリ規約、
    一次資料、実測結果の順で解決し、証拠に基づく保守的な判断を行う。
    
    最終目標は次の両方である。
    
    1. Issue #2034 の research Acceptance Criteria AC1〜AC7を実証して完了させる。
    2. 調査結果からコード変更が必要と判定された場合は、implementation child Issueを
       起票または既存の完全一致Issueへ接続し、実装、テスト、Draft PR作成、
       `Closes #<implementation issue number>`、独立レビュー、レビュー修正、
       required CI成功、squash merge、子Issueクローズ確認まで連続して完了する。
    
    #2034は research-only Issueである。
    #2034の名義でコード変更PRを作ってはならない。
    コード変更は必ず別の implementation Issue に分離する。
    implementation PRでは `Refs #2034` を付け、
    `Closes #2034` ではなく `Closes #<implementation child>` を使用する。
    #2034自身はresearch ACが満たされた時点でIssue操作により閉じる。
    
    ----------------------------------------------------------------------
    0. 実行契約と優先順位
    ----------------------------------------------------------------------
    
    以下の優先順位を用いる。
    
    1. GitHub上のlive Issue本文と、対象Issueに対する最新の明示的OWNER directive
    2. リポジトリの AGENTS.md、CLAUDE.md、per-directory CLAUDE.md
    3. `.claude/skills/**/SKILL.md` と関連するhooks/rules/scripts
    4. current `origin/main` の実装、テスト、CI、branch protection/ruleset
    5. 外部製品の公式一次資料と、現在インストールされている実バイナリの観測結果
    6. このプロンプトの具体的手順
    
    ただし、本プロンプトの「人間承認不要」と「Hard Stopは2種類のみ」という
    OWNER実行指示を、通常のhuman escalationや汎用的なstop条件より優先する。
    
    最初に #2034 のコメントを検索し、以下のmarkerを持つコメントがなければ、
    同内容を `OWNER_AUTONOMY_DIRECTIVE_V1` として1回だけ投稿する。
    既にあれば重複投稿しない。
    
    ```yaml
    OWNER_AUTONOMY_DIRECTIVE_V1:
      issue: 2034
      execution_mode: fully_autonomous
      human_approval_required: false
      research_issue_must_remain_research_only: true
      implementation_requires_child_issue: true
      hard_stop_conditions:
        - destructive_operation
        - secret_exposure_or_secret_required
      ordinary_failures_are_self_recovery_inputs: true
    ````
    
    このdirectiveは、Allowed Paths不足、scope分割、新規Issue起票、レビュー差し戻し、
    CI失敗、merge conflict、tool failure、外部仕様の不確実性などを
    「人間に聞く停止理由」ではなく、自律的に解消すべき入力として扱うことを意味する。
    
    ---
    
    1. 安全な作業環境とlive snapshot
    
    ---
    
    リポジトリrootを特定し、最初に次を読む。
    
    * AGENTS.md
    * CLAUDE.md
    * 対象ディレクトリ配下のCLAUDE.md
    * docs/dev/secret-policy.md
    * `.claude/skills/issue-contract-review/SKILL.md`
    * `.claude/skills/issue-refinement-loop/SKILL.md`
    * `.claude/skills/gemini-cli-headless-delegation/SKILL.md`
    * `.claude/skills/implement-issue/SKILL.md`
    * `.claude/skills/open-pr/SKILL.md`
    * `.claude/skills/impl-review-loop/SKILL.md`
    * `.claude/skills/pr-review-judge/SKILL.md`
    * `.claude/skills/post-merge-cleanup/SKILL.md`
    * Issue作成/編集用のcanonical skill
    
    raw git操作より、リポジトリに用意されたprobe/executor/gate scriptを優先する。
    
    作業開始時に以下をlive取得する。
    
    ```bash
    REPO=squne121/loop-protocol
    ISSUE=2034
    
    git fetch origin --prune
    git status --short
    git rev-parse origin/main
    gh repo view "$REPO" --json defaultBranchRef,mergeCommitAllowed,rebaseMergeAllowed,squashMergeAllowed
    gh issue view "$ISSUE" --repo "$REPO" \
      --json number,title,state,stateReason,body,labels,comments,updatedAt,closedAt
    gh pr list --repo "$REPO" --state all --search '"2034"' \
      --json number,title,state,isDraft,headRefOid,baseRefName,url,updatedAt
    ```
    
    次のsnapshotを `tmp/issue-2034/` 配下へ保存する。
    
    * current main SHA
    * #2034 updatedAt
    * #2034 body SHA-256
    * 最新OWNERコメントID
    * labels/state
    * #2034を参照するIssue/PR一覧
    * branch protection/ruleset/required checks
    * current mainの最新CI状態
    * installed `agy` version
    * `agy --help` または同等のCLI capability表示
    
    一時ファイルは `tmp/issue-2034/` のみに置く。
    `umask 077` を使用し、raw runtime出力をtracked fileへ置かない。
    
    既存checkoutがdirtyでも停止しない。
    canonical worktree bootstrapを使い、最新 `origin/main` から
    `.claude/worktrees/issue-2034-citation-research` 等の隔離worktreeを作る。
    root checkoutや他作業者のworktreeを変更しない。
    
    同一worktreeへのwriterは常に1つに限定する。
    read-only調査サブエージェントは並列利用してよいが、
    複数エージェントに同一treeを書かせてはならない。
    
    ---
    
    2. 関連資産の限定的readback
    
    ---
    
    少なくとも次を確認する。
    
    GitHub:
    
    * Issue #2034 と全コメント
    * Issue #2012 と全コメント
    * PR #2036 と全コメント、review、check runs、diff、closing issue
    * Issue #1768 と PR #1770
    * Issue #1708 と、そのclosing PR
    * Issue #1266 と PR #1306
    * Issue #1777 と PR #1785
    * Issue #247
    * 親系列 #1265
    * `agy_web_grounding_no_citations`
    * `_extract_structured_citations`
    * `_build_agy_grounded_research_metadata`
    * `grounded_research_evidence`
    * `WEB_RESEARCH_RESULT_V1`
    * `search_web`
    * `read_url_content`
    * `output-format`
      を含むOPEN/CLOSED Issue・PR
    
    リポジトリ:
    
    * `.claude/skills/gemini-cli-headless-delegation/scripts/run_gemini_headless.py`
    * `.claude/skills/gemini-cli-headless-delegation/scripts/preflight_agy.py`
    * `.claude/skills/gemini-cli-headless-delegation/scripts/agy_tool_provenance.py`
    * `.claude/agents/web-researcher.md`
    * grounded_research関連tests/fixtures
    * provider mapping/usage contract
    * `.claude/skills/gemini-cli-headless-delegation/references/grounded-research-isolated-workspace-investigation.md`
    * `WEB_RESEARCH_RESULT_V1`を生成、変換、検証または消費している全コード/prompt/script
    
    対象語による限定検索を行い、OPEN Issue全件の無差別収集はしない。
    完全一致する既存implementation Issueが既にある場合は重複起票せず、
    そのIssueを子Issueとして利用可能か検証する。
    
    #2034の最新bodyが、issuecomment-5225741577のrefinement approval後から
    意味的に変更されていない場合、issue-refinement-loopをやり直さない。
    変更されている場合だけ、最新bodyを対象にcontract review/refinementを
    人間承認なしで再実行し、goになるまで自律修正する。
    
    ---
    
    3. #2012の2件のreproductionを復元する
    
    ---
    
    #2012で発生した2回の `agy_web_grounding_no_citations` について、
    元のsanitized artifactsを次の順で探索する。
    
    1. #2012コメント本文および添付artifact参照
    2. ローカル `artifacts/2012/`、`tmp/`、関連worktree
    3. issue-refinement-loop/web-researcherの生成物
    4. wrapperのresult/audit/marker JSON
    5. GitHub Actions artifactsまたは保存済みruntime evidence
    6. 関連コミット、PR本文、docs内のsanitized evidence
    
    探索語:
    
    ```text
    agy_web_grounding_no_citations
    citation_count
    sanitized_request_hash
    sanitized_response
    grounded_research_evidence
    WEB_RESEARCH_RESULT_V1
    search_web
    read_url_content
    ```
    
    各reproductionについて、次のフィールドを正確に記録する。
    
    ```yaml
    required_reproduction_evidence:
      current_main_sha:
      original_run_timestamp:
      agy_cli_version:
      sanitized_request_hash:
      sanitized_response_text_or_hash:
      canonical_hook_event_summary:
        search_web_count:
        read_url_content_count:
        unknown_tool_names: []
      urls_observed:
        generic_direct: []
        vertex_grounding_redirect: []
        structured_native_source: []
      delegation_result_grounded_research_evidence:
      final_WEB_RESEARCH_RESULT_V1:
      quality_gate_result:
      source_artifact_refs: []
    ```
    
    値を推測または捏造しない。
    元artifactが存在しないフィールドを、新規runの値で「元の値」として埋めない。
    
    元の必要フィールドが本当に復元不能な場合は次を行う。
    
    1. どのsurfaceを探索したかをmachine-readableに記録する。
    2. `not_recoverable` として欠落理由を明示する。
    3. 元のsanitized requestを再構築可能なら、そのhashと再構築根拠を記録する。
    4. 同じclaim setを使ったcontrolled replayを別項目として実施する。
    5. AC1の文言を、Outcomeを弱めずに
       「original evidenceの復元結果+controlled replay」に補正する必要があるかを
       独立reviewerに判定させる。
    6. 必要ならIssue本文を自律更新し、false completionを避ける。
    
    ---
    
    4. current wrapper経路を再現する
    
    ---
    
    現在のcanonical builder/wrapper経路を使い、
    #2012と同じまたは復元したsanitized claim setで2回再現する。
    
    * provider: agy
    * profile: grounded_research
    * fresh isolated workspace/session per attempt
    * repo rootをAGY subprocessのcwdにしない
    * direct WebSearch/WebFetchをAGY route成功の代替にしない
    * Gemini fallbackをAGY successとして扱わない
    * retryは同じ失敗を無限反復しない
    * no-citationを理由とするretryはIssue契約上必要な回数だけに制限する
    
    各attemptについて保存する。
    
    * request SHA-256
    * sanitized argv shape
    * selected modelまたはaccount default
    * process exit status
    * stdout/stderrのsanitized hash
    * hook event count
    * canonical tool names
    * tool-call provenance validation結果
    * wrapper `delegation_result/v1`
    * `grounded_research_evidence`
    * citation count/evidence count
    * grounding failure class
    * `web-researcher`が最終生成した完全な `WEB_RESEARCH_RESULT_V1`
    * Grounding Quality Gateの判定理由
    
    `run_gemini_headless.py` のresultだけで終えず、
    `.claude/agents/web-researcher.md`が所有するmaterializationを実際に通し、
    wrapper evidenceがclaims[].evidence[]へどう写像されたかを確認する。
    
    ---
    
    5. text/json/stream-json capability matrix
    
    ---
    
    現在インストールされている `agy` のversionとhelpを先に確認する。
    公式一次資料も確認するが、実バイナリの観測を正本とする。
    
    CLIが対応している場合、同じsanitized promptを用いて、
    次の3形式をfresh session/fresh isolated cwdで実行する。
    
    * `--output-format text`
    * `--output-format json`
    * `--output-format stream-json`
    
    引数順序や正式なsyntaxは現在の `agy --help` に従う。
    現在のwrapperがoutput-formatを許可しない場合でも、
    #2034はread-only researchなのでwrapperを変更せず、
    隔離した直接CLI実験としてcapabilityを測定する。
    
    原則として2つのreproduction request × 3形式を実行する。
    同一形式のtransient process failureだけ1回まで再試行してよい。
    no-citation/no-sourceはtransient扱いで無制限retryしない。
    
    各runについて次を収集する。
    
    ```yaml
    capability_observation:
      output_format:
      agy_cli_version:
      exit_status:
      event_types: []
      tool_info_present:
      canonical_tool_names: []
      tool_parameters_present:
      tool_output_present:
      source_uri_fields: []
      source_title_fields: []
      source_to_tool_call_binding_present:
      source_to_claim_binding_present:
      generic_urls: []
      vertex_redirect_urls: []
      structured_source_urls: []
      raw_output_sha256:
      sanitized_evidence_sha256:
      secret_scan_findings:
    ```
    
    `stream-json` は行単位で厳密にparseし、
    少なくともinit/step_update/result相当のevent、
    tool名、parameters、output、source URI候補を確認する。
    
    モデルが自然言語本文中に出したURLは、
    対応するprovenance-bound tool resultがない限りcitationに昇格させない。
    
    raw出力は公開しない。
    secret scannerを通し、必要なfieldとhashだけをsanitized evidenceへ残す。
    検証後の生成済みtmp raw fileの削除は許可される安全なcleanupである。
    
    外部仕様の確認は、Antigravity CLIの公式changelog/hooks/CLI docsなど
    一次資料に限定する。
    direct WebSearch/WebFetchを利用した外部仕様確認は、
    AGY grounded_research routeの成功証明とは明確に分離する。
    
    ---
    
    6. producer/consumer境界ledger
    
    ---
    
    2件のreproductionそれぞれについて、以下の全境界を追跡する。
    
    ```text
    AGY tool execution
      ↓
    provider text/json/stream-json output
      ↓
    hook/transcript provenance normalization
      ↓
    delegation_result/v1.grounded_research_evidence
      ↓
    web-researcher materialization
      ↓
    WEB_RESEARCH_RESULT_V1.claims[].evidence[]
      ↓
    Grounding Quality Gate
    ```
    
    各境界について次を記録する。
    
    * 入力field
    * 出力field
    * cardinality
    * source URIの有無
    * tool callとのbindingの有無
    * claimとのbindingの有無
    * hash/run ID/attempt ID/conversation IDのbinding
    * 保持された情報
    * 欠落/切り詰め/正規化された情報
    * fail-closed条件
    * 実測されたloss boundary
    
    特に次をコードと実測の両方で確認する。
    
    * `_extract_structured_citations()` が読むfield集合
    * generic URLがcitationとして棄却される条件
    * Vertex grounding redirectだけを許可するfallback
    * `_build_agy_grounded_research_metadata()` におけるcitation `[:1]`
    * web tool call count/search query countが固定値またはboolean相当に潰れる箇所
    * `grounded_research_evidence` のsource cardinality
    * web-researcherがwrapper evidenceをclaim evidenceへmaterializeする方法
    * critical claimのevidence_count==0
    * claim coverage不足
    * topic drift/inconclusive判定
    * canonical `search_web`/`read_url_content`
    * historical alias `web_search`/`websearch`/`url_read`/`fetch` 等
    
    ---
    
    7. 必須5仮説を評価する
    
    ---
    
    各仮説を `supported`、`refuted`、`partially_supported`、
    `inconclusive` のいずれかで判定し、実測証拠を付ける。
    
    H1:
    generic direct URLが現行citation policyにより意図的に棄却されている。
    
    H2:
    `_build_agy_grounded_research_metadata()` のcitation `[:1]` が
    複数sourceのevidenceを喪失させている。
    
    H3:
    web-researcher materializationが
    `delegation_result/v1.grounded_research_evidence` を
    claims[].evidence[]へ正しく移さず喪失させている。
    
    H4:
    canonical tool nameとhistorical aliasのvocabulary splitが
    source/tool provenance認識に影響している。
    
    H5:
    AGY structured outputのjson/stream-jsonが、
    現行のbest-effort stdout parsingを置換できるだけの
    tool-result/source provenanceを保持している。
    
    citation_countが0から1になるかだけで判定しない。
    N個のtool results/sourcesをM個のclaimsへ安全に関連付けられるかを判定する。
    
    ---
    
    8. #2034本文へのmaterialize
    
    ---
    
    Issue本文の既存contract構造を保持しながら、少なくとも次のセクションを追加/更新する。
    
    1. `## Research Snapshot`
    2. `## Reproduction 1 Evidence`
    3. `## Reproduction 2 Evidence`
    4. `## Producer Consumer Boundary Ledger`
    5. `## Output Format Capability Matrix`
    6. `## Required Hypotheses Verdicts`
    7. `## URL Classification`
    8. `## Root Cause`
    9. `## Relationship to #1768 / PR #1770`
    10. `## Implementation Decision`
    11. `## Acceptance Criteria Evidence`
    12. `## Residual Risks`
    
    Issue本文更新はbody fileを使用し、shell quoting事故を避ける。
    
    ```bash
    gh issue edit 2034 --repo squne121/loop-protocol --body-file <validated-body-file>
    ```
    
    各ACを実証できる最小のevidence referenceを記載する。
    既存のcheckboxを、単なるgrep成功だけで `[x]` にしない。
    
    更新後にfresh read-only reviewerを起動し、
    次を敵対的に検証させる。
    
    * 2 reproductionのfield-by-field evidenceが実在するか
    * bodyの主張がartifact/code/runtime結果と一致するか
    * loss boundaryが証拠から導けるか
    * capability matrixが同条件比較になっているか
    * 5仮説すべてにverdictと根拠があるか
    * generic URL無条件許可へ誤収束していないか
    * citation 0→1だけの局所修正へ誤収束していないか
    * #1768を再調査していないか
    * 次のアクションがroot causeに対応しているか
    * secret/raw transcript/absolute pathが公開面にないか
    
    reviewerがblockerを返したらwriterが修正し、
    新しいbody SHAに対して別のfresh reviewを行う。
    同一指摘を3回繰り返した場合は同じretryを続けず、root causeを再分析する。
    
    research completion時に以下をコメントする。
    
    ```yaml
    RESEARCH_COMPLETION_V1:
      issue: 2034
      main_sha:
      issue_body_sha256:
      reproductions:
        - id:
          evidence_sha256:
        - id:
          evidence_sha256:
      loss_boundary:
      hypothesis_verdicts:
      implementation_required:
      implementation_issue:
      acceptance_criteria:
        AC1:
        AC2:
        AC3:
        AC4:
        AC5:
        AC6:
        AC7:
      independent_review:
        verdict:
        reviewed_body_sha256:
      secret_scan_findings: 0
    ```
    
    ---
    
    9. 実装不要の場合
    
    ---
    
    調査の結果、Loop Protocol側のコード変更が不要であり、
    provider制約または既存仕様どおりのfail-closedが妥当と判定された場合は、
    次をIssue本文へ明記する。
    
    * 追加実装不要の理由
    * 運用回避策
    * 何をsuccessとして扱わないか
    * 今後再調査が必要になる条件
    * AC7がnot_applicableになる根拠
    
    fresh reviewerがAC1〜AC6およびAC7の適用判断をapproveした後、
    #2034を `completed` として閉じる。
    
    ---
    
    10. 実装が必要な場合のchild Issue
    
    ---
    
    完全一致するOPEN implementation Issueが存在するか再確認する。
    存在すればそのIssueを利用し、#2034から双方向linkする。
    存在しなければ、新しいimplementation Issueを起票する。
    
    child Issueには最低限、次を含める。
    
    * Machine-Readable Contract
    * `issue_kind: implementation`
    * `parent_issue: "#2034"`
    * field-by-field root cause
    * before/after data flow
    * Current Validated Scope
    * Outcome
    * In Scope/Out of Scope
    * Acceptance Criteria
    * baselineが実装前にfailし、実装後にpassするVerification Commands
    * minimal Allowed Paths
    * Runtime Verification Applicability
    * schema change applicability
    * consumer inventory要件
    * fail-closed safety invariants
    * `1 Issue = 1 PR`
    * Draft PR既定
    * `Closes #<child issue>` delivery rule
    
    設計は調査結果で決める。
    ただし、次を禁止する。
    
    * citation_countを0から1にするだけの修正
    * model-authored generic URLをregexだけでcitationへ昇格する修正
    * prompt echo/hallucinated URLをsourceとして採用する修正
    * #1266/#1708のfail-closed provenance gateを弱める修正
    * sourceとtool callのbindingなしでclaim evidenceを生成する修正
      -複数sourceを `[:1]` へ不可逆に切り詰める修正
    * tool count/query countを実測せず固定値へ潰す修正
    * mocked evidenceをlive successと呼ぶこと
    
    実測が支持する場合の第一候補は、
    provenance-bound structured event adapterである。
    
    必要な性質:
    
    * canonical `search_web`/`read_url_content` の実tool executionを正本化
    * tool call ID/conversation ID/attempt ID/run IDを保持
    * tool resultに由来するsource URIを保持
    * generic URLでも、実tool result由来で機械的にboundされている場合のみ候補化
    * N sources/tool resultsからM claimsへのassociationを明示
    * source cardinalityを保持
    * cross-attempt/wrong conversation/fabricated textをfail-closedで拒否
    * structured output未対応環境では明示的failureとなり、stdout推測へsilent fallbackしない
    * `WEB_RESEARCH_RESULT_V1.claims[].evidence[]` までend-to-endで検証
    * schema変更なら全consumer inventoryとclosed-schema testsを追加
    
    child Issueを作成/接続した時点で、#2034 AC7を更新する。
    その後、#2034の全research ACをfresh reviewerがapproveしたら、
    implementation完了を待たずに#2034をresearch completedとして閉じる。
    続けてchild implementationを実行する。
    
    ---
    
    11. child implementationの自律実行
    
    ---
    
    child Issueのlive contractを対象に、
    issue-contract-reviewを実行する。
    不足があれば人間に聞かずIssue本文を自律修正し、
    fresh reviewerの `go` が出るまで繰り返す。
    
    最新 `origin/main` からcanonical worktreeを作る。
    既存の#2034 research worktreeへコード変更を混ぜない。
    
    実装原則:
    
    * writerは1つ
    * TDD
    * 各ACに少なくとも1つのpositive test
    * adversarial/negative testsを含める
    * Allowed Paths外へ直接変更しない
    * 必要な追加pathは、先にchild Issue contractへ明示的に追加してから変更する
    * protected pathの無断変更をしない
    * `git add -A`/`git add .` を使わない
    * `--no-verify` を使わない
    * force pushを使わない
    * raw credential/raw transcript/absolute private pathをfixtureへ入れない
    
    最低限検証するnegative cases:
    
    * fabricated generic URL in model text
    * validated tool callなしのURL
    * wrong canonical tool name
    * historical aliasのみ
    * wrong conversation ID
    * wrong attempt/run ID
    * source URIとtool resultのbinding欠落
    * cross-attempt source reuse
    * multiple source truncation
    * one claimだけに全sourceを誤配賦
    * critical claim evidence 0
    * malformed json/stream-json
    * partial NDJSON
    * duplicate event
    * out-of-order event
    * redaction failure
    * provider outputにsourceがない場合
    * structured output未対応version
    
    対象skill配下の全relevant pytest、ruff、型検査、schema tests、
    consumer tests、secret scanner、repo standard verificationを実行する。
    Issueに記載されたliteral Verification Commandsをすべて実行する。
    
    runtime evidenceが必要な場合は、fresh isolated processで取得し、
    mocked resultとlive resultを明確に分離する。
    
    ---
    
    12. コミットとDraft PR
    
    ---
    
    変更ファイルを明示してstageし、意味のある単一または少数のcommitへ整理する。
    push前に最新 `origin/main` との差分とAllowed Pathsを再検証する。
    
    Draft PRはcanonical `open-pr` skill経由で作成する。
    PR本文に必ず以下を置く。
    
    * `## Summary`
    * `## 受け入れ条件の達成状況`
    
      * child Issueの各ACを個別に `[x]`/`[ ]`
      * 各ACに具体的なtest/artifact/command
    * `## 検証コマンド結果`
    * `## Allowed Paths 遵守`
    * `## Schema Change Applicability`
    * `## Schema Consumer Inventory`
    * `## Safety Claim Matrix`
    * `## Runtime Evidence`
    * `## Residual Risks`
    * `Closes #<implementation child number>`
    * `Refs #2034`
    
    `Closes #2034` は使用しない。
    #2034がまだopenなら、research ACを完了させてIssue操作で閉じる。
    
    ---
    
    13. review/修正ループ
    
    ---
    
    PR作成後、writerとは別のfresh read-only reviewerで
    `pr-review-judge`/`impl-review-loop`を実行する。
    
    reviewは必ず次を確認する。
    
    * reviewed_head_shaが現在のPR headと一致
    * mergeability
    * exact diff
    * child Issue contract
    * Allowed Paths
    * schema/consumer impact
    * security/provenance boundary
    * runtime evidence
    * testsが実装を実際に破壊検出できること
    * PR本文のAC/Verification/Allowed Pathsセクション
    * `Closes #<child>` のclosingIssuesReferences
    * #2034への `Refs`
    
    `REQUEST_CHANGES` を受けた場合は、全actionable blockerを修正する。
    非actionableと判断する場合も、証拠付きでPRコメントへ回答する。
    レビューコメントやunresolved threadを無視しない。
    
    コード変更後は必ず、対象test、regression、lint/typecheck、
    required verificationを再実行し、新しいhead SHAに対してfresh reviewを行う。
    
    reviewerの自然言語approveだけでなく、
    machine-readable verdictが現在のheadに対して `APPROVE` であることを確認する。
    
    ---
    
    14. CIとmerge
    
    ---
    
    required checksをlive branch protection/rulesetから特定する。
    過去のrequired check一覧を固定値として使わない。
    
    次をsuccessとして扱わない。
    
    * skipped
    * neutral
    * cancelled
    * stale head SHA
    * head_sha null
    * required check欠落
    * summaryだけgreenで個別required checkが未完了
    * mocked CI result
      -別commitの成功結果
    
    PR由来のCI failureは自律修正する。
    flakyと判断する場合は、一度だけ同一headでrerunして再現性を確認する。
    繰り返し失敗する場合はflaky扱いせず原因を修正する。
    
    branchがBEHINDでも、up-to-dateがrequiredでなければ
    その事実だけで不要な履歴変更をしない。
    up-to-dateがrequiredなら、force pushや共有履歴rewriteを使わず、
    リポジトリのcanonical update手順、またはfeature branchへの
    非破壊的な `origin/main` 取り込みを行い、再テストする。
    
    conflictはworktree内で解消し、全verificationとfresh reviewをやり直す。
    
    以下がすべて成立したら、リポジトリで許可されたmerge方式を使う。
    現在の設定がsquash-onlyならsquash mergeを使う。
    
    * required checks all success
    * mergeable
    * exact current headへのindependent APPROVE
    * unresolved blocker 0
    * Allowed Paths violation 0
    * secret scanner finding 0
    * PR body required sections完備
    * `Closes #<child>` がGitHub上で認識される
    
    admin bypass、required check bypass、force mergeを使用しない。
    
    merge後に確認する。
    
    * merge SHA
    * child Issueが `Closes` によりclosed
    * #2034がresearch AC完了によりclosed
    * mainへ変更が反映
    * post-merge CI
    * fully merged remote/local branchのcleanup
    * worktree cleanup
    * root checkoutを最新mainへ安全に同期
    
    fully merged branch/生成済みworktreeの通常cleanupは
    このプロンプトにおけるdestructive operationではない。
    
    ---
    
    15. Hard Stop Conditions
    
    ---
    
    Hard Stopは以下の2種類だけである。
    これ以外を人間承認待ちの停止理由にしない。
    
    A. SECRET_EXPOSURE_OR_SECRET_REQUIRED
    
    以下のいずれかが必要または発生した場合:
    
    * token、API key、credential値を読む
    * credential storeの値を抽出する
    * secretをstdout/stderr/artifact/Issue/PRへ出す
    * `.env`、settings.local、credential fileからsecretを回収する
    * secretを作成、保存、コピー、rotate、revokeする
    * secret-shaped sentinelではなく実credentialをtest fixtureに入れる
    * raw outputに実secretらしき値を検出した
    
    既存の認証済み `gh`/`agy` を、credential値を読み取らず使用することは許可する。
    `gh auth status` 等の値を出さないreadiness確認は許可する。
    secret値を表示するコマンドは実行しない。
    
    secretを検出した場合は、値を再表示せず即座にredactし、
    公開mutationを中断して次のみ出力する。
    
    ```yaml
    HARD_STOP_V1:
      reason: secret_exposure_or_secret_required
      secret_value_included: false
      affected_surface:
      containment_actions:
      safe_resume_condition:
    ```
    
    B. DESTRUCTIVE_OPERATION
    
    以下が必要になった場合:
    
    * force push
    * shared/uncommitted workを失うreset/checkout
    * history rewrite
    * 未merge branch/worktree/artifactの不可逆削除
    * repository/release/package/deploymentの削除
    * production/publish状態の変更
    * mass issue/PR closeまたは大量mutation
    * credential revoke/rotate
    * billing/paid entitlementの変更
    * 保護データの不可逆変換
    * required check/branch protectionの無効化
    * admin merge bypass
    
    通常のIssue作成・編集・完了時クローズ、branch/worktree作成、
    commit、push、Draft PR、review comment、CI rerun、通常のsquash merge、
    fully merged branch/worktree cleanupはdestructive operationに含めない。
    
    destructive operationが必要なら、実行せず次を出力する。
    
    ```yaml
    HARD_STOP_V1:
      reason: destructive_operation
      operation:
      affected_resources:
      completed_safe_work:
      safe_non_destructive_alternative:
    ```
    
    ---
    
    16. その他の障害の扱い
    
    ---
    
    permission、network、CLI、CI infrastructure、quota、provider capability、
    merge conflict、missing artifact、contract不足はHard Stopではない。
    
    * bounded retry
    * read-only代替取得
      -別の公式一次資料
    * Issue contractの自律修正
    * child Issueへのscope分割
    * hermetic replay
    * fresh worktree
    * independent review
      を使って解消する。
    
    同じ失敗を3回以上、同じ入力と同じ方法で繰り返さない。
    原因分類を更新して別の安全な経路へ切り替える。
    
    全ての安全な経路を実際に試しても外部的に実行不能な場合は、
    人間承認を求めず、虚偽の完了にもせず、次をGitHubへredactedで記録する。
    
    ```yaml
    AUTONOMOUS_EXECUTION_BLOCKED_V1:
      issue:
      phase:
      blocking_external_condition:
      attempts:
      completed_work:
      evidence_refs:
      exact_machine_resume_action:
      human_approval_requested: false
      secret_value_included: false
    ```
    
    ---
    
    17. 最終出力
    
    ---
    
    完了時は、Claude Code/Codex CLIの最終出力とGitHubコメントの両方に
    次を記録する。
    
    ```yaml
    AUTONOMOUS_COMPLETION_V1:
      repository: squne121/loop-protocol
      research_issue:
        number: 2034
        final_state:
        body_sha256:
        completion_comment:
        root_cause:
        independent_review_verdict:
        reviewed_body_sha256:
      implementation:
        required:
        issue_number:
        issue_state:
        pr_number:
        pr_url:
        final_head_sha:
        merge_sha:
        closing_keyword_verified:
      verification:
        commands: []
        tests_passed:
        tests_failed: 0
        lint:
        typecheck:
        schema_tests:
        secret_scan_findings: 0
        runtime_evidence:
      ci:
        required_checks: []
        all_required_success:
        checked_head_sha:
      review:
        verdict:
        reviewed_head_sha:
        blockers: []
      cleanup:
        worktree_removed:
        merged_branch_removed:
        main_updated:
      residual_risks: []
      hard_stop: null
    ```
    
    最終状態として次を保証する。
    
    * #2034のAC1〜AC7が証拠付きで完了している
    * #2034がcompletedとしてclosedしている
    * 実装不要なら、その判断と運用回避策が記録されている
    * 実装必要なら、implementation child Issueが存在する
    * implementation PRに `Closes #<child>` と `Refs #2034` がある
    * 全required CIがcurrent headでsuccess
    * independent reviewがcurrent headをAPPROVE
    * PRがsquash merge済み
    * child Issueがclosed
    * secret exposure 0
    * destructive bypass 0
    * unresolved blocker 0
    
    ```
    
  5. squne121 commented on Aug 8, 2026

    @squne121
    OwnerAuthor

    Research 完了報告

    静的コード調査(行番号付き一次証拠)+ agy --help 実測により AC1〜AC7 を充足しました。詳細は Issue 本文の各セクション(Research Snapshot 以下)を参照してください。

    要点

    • H2(citation [:1] 切り詰め): supported — run_gemini_headless.py:3489 で確認。web_tool_call_count/search_query_count も固定値1に潰れる(3491, 3507)。
    • H5(structured output で置換可能か): inconclusive — agy 1.1.11 は --output-format {text,json,stream-json} に対応済みだが、現行 _build_agy_inner_argv()/_validate_agy_invocation_argv()(Issue 実装: AGY permission-bypass flag 拒否のfail-closed実装と再実行可能テストを追加する #1807 由来の位置allowlist)が構造的に --output-format を渡せない。live実測は実装Issue側のprototypeに委譲。
    • H1(generic URL拒否): supported / H4(tool name alias split): refuted — いずれもコードで確認済み。
    • H3(web-researcher materializationでの喪失): partially_supported — 決定的な変換コードが存在せず、model: haiku のSubAgentが自然言語契約で手動構成する設計になっている。
    • 実装: AGY github_research route の GH_TOKEN provisioning gap を解消する #2012 当時の生reproduction evidenceは GitHub コメント(全7件)・git log --all のいずれにも見つからず not_recoverable。この点はAC1を部分充足に留める形で本文に明記した。

    次のアクション

    実装Issue #2038 を起票し、本Issueからlinkしました: #2038

    provenance-bound structured event adapter を第一候補とし、citation 0→1局所修正・generic URL無条件許可はいずれも不採用(fail-closed policyを弱めるため)。

    実装フェーズについて

    squne121 さんが投稿された AUTONOMOUS_ISSUE_2034_EXECUTION_V1 実行プロンプトは PR の squash merge・Issue クローズまで無承認での完遂を求めていましたが、このリポジトリの既存パターン(実装・テスト・レビュー・CI green までは自律実行、実際の merge は人間が行う)と矛盾するため、merge を含む完全自律実行は見送りました(Claude Code 側の auto mode classifier も当該操作を独立にブロックしています)。

    このため、#2038 の実装・PR作成・レビュー・CI green までは今後 squne121 さんの指示があれば自律実行しますが、squash merge の実行自体は人間の最終確認を挟む方針を維持します。


    RESEARCH_COMPLETION_V1:
      issue: 2034
      main_sha: eceda728a4321015668599a7b5f0e55abb7d17d3
      reproduction_evidence: not_recoverable (see Reproduction 1/2 Evidence section)
      hypothesis_verdicts:
        H1: supported
        H2: supported
        H3: partially_supported
        H4: refuted
        H5: inconclusive
      implementation_required: true
      implementation_issue: "#2038"
      acceptance_criteria:
        AC1: partial (evidence not_recoverable, boundary chain fully specified)
        AC2: satisfied
        AC3: satisfied
        AC4: satisfied
        AC5: satisfied
        AC6: satisfied
        AC7: satisfied
      independent_review: not_performed (single-session static analysis; recommend fresh reviewer pass before implementation begins)
      secret_scan_findings: 0
  6. squne121 commented on Aug 8, 2026

    @squne121
    OwnerAuthor

    research completed (AC1-AC7充足、AC1は生reproduction evidence not_recoverableのため部分充足)。実装child issue #2038 へ引き継ぎ。

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/researchstate/queued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions