Repository navigation
fix(web-researcher): fallback trigger の counter=0 routing 契約矛盾を解消する - #2167
Merged
squne121 merged 1 commit intoAug 14, 2026
Merged
Conversation
…2164) #2150 が web-researcher.md の fallback trigger OR-list に導入した `web_tool_call_count == 0` は、同ファイル内の diagnostics-only 制約 (#2059 AC3: provider telemetry counter は zero を含め routing/escalation の理由にしない)と自己矛盾していた。fallback trigger 条件から該当節を 削除し、正当な evidence-quality/failure-classification 条件のみを残す。 test_agent_contracts.py の test_provider_telemetry_is_not_a_quality_gate を、diagnostics-only 文の存在(positive)と fallback trigger セクション から `web_tool_call_count == 0` が不在であること(negative)の両方を assert する contradiction-prevention テストへ更新する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
6 tasks
Contributor
Preview URLPreview removed (PR #2167 closed). |
squne121
marked this pull request as ready for review
August 14, 2026 12:42
Owner
Author
|
Verdict: APPROVE
No blockers. verdict: APPROVE
reviewed_head_sha: "60531d2db1aa4256d43aad7cb0134076b0ca46ff"
blockers: []
warnings: [] |
squne121
deleted the
worktree-issue-2164-web-researcher-fallback-counter
branch
August 14, 2026 12:49
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.claude/agents/web-researcher.mdの fallback trigger OR-list(61行目)からweb_tool_call_count == 0を削除し、同ファイル内の diagnostics-only 制約(実装: web-researcher を AGY-first + native Web fallback にする #2059 AC3: provider telemetry counter は zero を含め routing/escalation の理由にしない)との自己矛盾を解消するtest_agent_contracts.py::test_provider_telemetry_is_not_a_quality_gateを、diagnostics-only 文の存在(positive)と fallback trigger セクションからweb_tool_call_count == 0が不在であること(negative)の両方を assert する contradiction-prevention テストへ更新するChecks
pnpm typecheckpnpm lintpnpm testpnpm build検証コマンド結果
Schema Change Applicability
not_schema_changeSchema Consumer Inventory
N/A(schema 変更ではないため)
Visual Impact Declaration(視覚影響申告)
N/A(UI/DOM/CSS 変更を含まない)
Safety Claim Matrix
.claude/agents/web-researcher.mdの fallback trigger 文言修正は permission / sandbox / transport / auth / MCP / native tools / approvalMode の実行時挙動を変更しない(プロンプト文言と契約テストの assertion のみを変更)git diff --stat origin/main -- .claude/agents/web-researcher.md .claude/skills/gemini-cli-headless-delegation/tests/test_agent_contracts.pyの diff が prompt 文言・pytest assertion の 2 箇所のみであることを確認済み。uv run pytest .claude/skills/gemini-cli-headless-delegation/tests/test_agent_contracts.py176 passedNotes
.codex/agents/web-researcher.tomlは変更していない(既に非矛盾な記述であることを確認済み、AC6 で無差分を検証)