You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: move every plugin's page fetches onto the shared docs cache #18298
lib/docs-cache.sh and lib/fetch-docs.sh give plugins a shared page cache, so concurrent sessions do not fetch the same page twice (ADR 0057). Several plugins still read web pages through WebFetch or their own curl calls and so miss the cache. Vendor routing moves its own reads onto the cache. Moving every other plugin was split out of that work (interview question Q39).
Proposed work
Inventory each plugin's web reads: WebFetch grants, curl or wget in scripts, and agent tool lists.
Move each read that fetches a page by URL onto the plugin's fetch-docs.sh --cache copy (registered in scripts/shared-copies.txt).
Keep WebFetch only where a read needs it, and record why.
Acceptance criteria
An inventory of web reads per plugin, each with a verdict (moved or kept, and why), citing file:line.
Moved reads pass the plugin's tests and scripts/sync-shared-copies.sh --check.
Size: Large
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: web-read paths in plugin agents, skills, hooks and scripts, plus scripts/shared-copies.txt, one new audit inventory file and per-plugin changelog fragments. Plugin users and CI read or run these.
Reversible: yes; revert the commits, since the shared copies and changelog fragments are plain files.
Open questions: none
I read this as: inventory every plugin's by-URL web reads, move the ones that fit onto each plugin's fetch-docs.sh --cache copy, and keep WebFetch only where it is needed, with the reason recorded. Vendor routing reads are left to #18297, which is related but not a duplicate and not a blocker. The refinement comment holds exact acceptance criteria. Because the plugin count is high, the issue lane may want to split the work by plugin. I found no merged pull request that already does this.
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Inventory every plugin's by-URL web reads (WebFetch grants, curl/wget in scripts, agent tool lists), move each read that fetches a page onto that plugin's registered fetch-docs.sh --cache copy, and keep WebFetch only where needed with the reason recorded; vendor-routing reads (#18297) are not part of this.
Acceptance criteria
A committed inventory file (for example docs/audits/docs-cache-web-reads.md) lists every plugin web read found under plugins/ in agents, skills, hooks and scripts, one row each with the file:line and a verdict of moved or kept.
Every kept row states why WebFetch or curl is still needed (for example the read needs WebFetch's summarising prompt or the page is not a docs page).
Every moved read now calls the plugin's own scripts/fetch-docs.sh with --cache, and the old WebFetch grant or curl/wget call for that read is gone from the agent tool list or script.
Each plugin with a moved read has fetch-docs.sh, docs-cache.sh and html2md.py registered in scripts/shared-copies.txt, following the existing entries for harness-config and multi-agent.
scripts/sync-shared-copies.sh --check exits 0.
The test suite of every changed plugin passes, including any test that asserts agent tool lists or hook registration (for example plugins/discovery/scripts/check-hook-registration.sh and plugins/multi-agent/scripts/check-hook-registration.sh where touched).
Each changed plugin has exactly one changelog fragment describing the move, following the repository's changelog fragment convention.
Plugins whose reads are all kept or that have no web reads get no changelog fragment and no code change; only the inventory lists them.
External state: none
Dependencies
#18297 (vendor routing audit) is related; vendor-routing reads move under that work, so this issue skips them and does not wait on it.
Existing lib/fetch-docs.sh and lib/docs-cache.sh (ADR 0057) must stay as the canonical sources; no change to them is expected.
Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.
Activity
github-actions commentedon Nov 23, 2026
Size: Large
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: web-read paths in plugin agents, skills, hooks and scripts, plus scripts/shared-copies.txt, one new audit inventory file and per-plugin changelog fragments. Plugin users and CI read or run these.
Reversible: yes; revert the commits, since the shared copies and changelog fragments are plain files.
Open questions: none
I read this as: inventory every plugin's by-URL web reads, move the ones that fit onto each plugin's
fetch-docs.sh --cachecopy, and keep WebFetch only where it is needed, with the reason recorded. Vendor routing reads are left to #18297, which is related but not a duplicate and not a blocker. The refinement comment holds exact acceptance criteria. Because the plugin count is high, the issue lane may want to split the work by plugin. I found no merged pull request that already does this.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 23, 2026
Not admitted to the issue lane yet: sub-issue #18306 is open.
melodic-automation-lanes commentedon Nov 23, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Inventory every plugin's by-URL web reads (WebFetch grants, curl/wget in scripts, agent tool lists), move each read that fetches a page onto that plugin's registered fetch-docs.sh --cache copy, and keep WebFetch only where needed with the reason recorded; vendor-routing reads (#18297) are not part of this.
Acceptance criteria
External state: none
Dependencies
Related work
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 23, 2026
Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 2 sub-issues, each holding its task-list lines as written.
Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.
melodic-automation-lanes commentedon Nov 24, 2026
Every sub-issue of this split is closed as completed by a listed human or a merge (#18305, #18306), so the lanes App closes it as completed.