weekly-research workflow uses WebSearch despite only declaring web-fetch in tools AND redacts all URLs in its research

未關閉
#309 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
github-actions
領域
devops, tooling

研究方向

從 workflows/weekly-research.md 和 gh-aw web-tools 參考文件開始,將宣告的工具與 Claude 和 Codex 的行為進行比較。在兩個引擎上執行或檢查該 workflow,確認搜尋是否可用,以及報告 URL 是否會被編輯。完成的標準是 workflow 明確宣告其預期的搜尋能力,並產生可採取行動的研究連結。

由索引模型根據 Issue 內容生成。

描述

Summary

The weekly-research.md workflow only declares web-fetch: in its tools block, but at runtime on the Claude engine, WebSearch is implicitly available as a default tool. The model then calls WebSearch repeatedly — which works, but produces a report full of redacted URLs, undermining the value of a research workflow.

Per the gh-aw tools reference, web-search: requires explicit declaration for Codex but appears to be default-on for Claude. This means the workflow silently depends on engine-specific defaults rather than explicitly declaring its intent.

Observed behavior

  1. Workflow tools block declares only web-fetch: (no web-search:)
  2. gh-aw correctly passes --allowed-tools ...WebFetch... (no WebSearch) to the Claude CLI
  3. Claude engine makes WebSearch available anyway (default-on behavior)
  4. Model calls WebSearch multiple times for research queries
  5. Results contain redacted URLs — "safe" but defeats the purpose of a web research report

Suggestions

  1. Add web-search: to the workflow's tools block — makes the intent explicit, ensures cross-engine compatibility (particularly Codex where it's off by default), and signals that the search results are expected to be useful (not redacted)
  2. Address the redacted URL problem — a research workflow that searches the web but returns redacted URLs produces output that's hard to act on. If web-search: is the intended tool, the results should include actionable links

Why this matters

  • Sample workflows set the pattern for the community — implicit engine-specific defaults are confusing for anyone building their own workflows
  • The workflow would silently break or degrade on Codex without web-search: declared
  • Redacted URLs in a research report undermine the workflow's stated purpose
主要語言
Python
星號
1.1k
分支
163
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

githubnext/agentics 的其他 Issue

查看 githubnext/agentics 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。