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
Say when a plugin this conversation uses cannot be reached — a failed manifest fetch empties every switch in silence (console.error only), the next reply runs without the tools, and a dead app looks the same as a deliberate disconnect #281
The plugins feature shipped in v1.10.0 loses a connected plugin in silence when its app cannot be reached. The manifest is asked for when the conversation opens and whenever the tab becomes visible (ui-packages/web/src/features/conversation/use-conversation/navigation.ts:96-115), and a failed fetch — the app down, a network blip, a CORS change — ends in console.error and plugins: [] (navigation.ts:104-108); the store holds no other state (use-conversation/state.ts:60-61,130). The reader-visible result: every plugin switch vanishes from the toolbar (composer/composer-toolbar.tsx:88-104 renders only what the manifest returned), the conversation's saved setting (use-conversation/settings.tssetPlugin) loses its only surface, and the next reply assembles its tools from the same empty list (use-conversation/run.ts:77-83), so the model answers without the plugin's tools and tells the reader it has no such capability. Nothing distinguishes this from the designed case — a plugin disconnected in the plugin app, which docs/plugins.md says should disappear — and nothing offers a retry; the reader must leave and return to the tab to try again. This is the silent-capability-change defect #164 fixed for a vanished model, reborn on the new feature, one release later.
Proposal
Distinguish a failed fetch from an honest manifest: only a successful manifest that omits a plugin removes its switch, as the protocol intends.
On failure, keep the last-known switches rendered but marked unreachable — the title already says what the switch does (composer-toolbar.tsx:95-99); the unreachable state says why it is inert — and add a reader-visible one-line notice at the conversation (the conversation-notice pattern, conversation-panel.tsx:197-206) naming the plugin app as unreachable, with a retry.
Keep the console.error (navigation.ts:106) as the observability floor; the notice is the reader's.
Goal
After this, a reader whose plugin app is briefly down sees that the plugin is unreachable and can bring it back with one click; the model never quietly loses tools a conversation turned on, and only a real disconnect in the plugin app removes a switch.
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Audit at d05b6b6 (2026-10-29): valid — evidence intact, not implemented on main. No duplicates (#286 tool naming and #284 the privacy tutorial are different facets; #141 importer plugins is a different feature).
Evidence checks (all confirmed as cited):
navigation.ts:96-115 — refreshPlugins runs on conversation open and visibilitychange; the catch (104-108) is console.error + store.setState({ plugins: [] }) — the silent emptying, exactly as described.
state.ts:60-61,130 — the store holds only plugins: readonly ReaderPlugin[]; no failure state exists.
run.ts:77-83 — the reply's tools assembled from that same list, so a failed fetch quietly strips capability from the next reply.
composer-toolbar.tsx:88-104 — switches render only what the manifest returned; title={plugin.title} at 95-99 as cited.
load-plugins.ts:12-19, conversation-panel.tsx:197-206 (the conversation-notice pattern), docs/plugins.md (visibilitychange re-fetch, "appears or disappears") — all confirmed.
Sensor: lint ✓; verify fails as expected (no failure/unreachable plugin state in state.ts) — correctly reflects not-implemented.
Sharpening suggestions:
The Verification regex plugins.*(error|failed|unreachable) against state.ts would pass on a comment or an unrelated identifier — placement grep again. Anchor on the outcome: a test that a rejected loadPlugins keeps the previous switches rendered and shows the notice, and that a successful manifest omitting a plugin removes its switch (the designed case the proposal must preserve).
One design note: today success also replaces the list wholesale on every visibilitychange; the "keep last-known on failure" half should state whether a mid-reply failure keeps the running reply's tools (it does today via run.ts's snapshot at reply start) — worth one sentence in the Goal so the implementer doesn't re-add churn there.
Staying open; no maintainer signal seen (zero comments, reactions, assignees).
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. First review ran against main@d05b6b6; this beat pulled and got the same HEAD — nothing can have moved, and every citation was re-opened fresh.
Evidence: re-confirmed — navigation.ts:96-115 (refreshPlugins on open + visibilitychange at :110-113; the catch at :104-108 is console.error + plugins: []); state.ts:60-61 (the store holds only plugins: readonly ReaderPlugin[], no failure state; initial [] at :130); run.ts:77-83 (withPlugins reads the store's list at reply start); composer-toolbar.tsx:88-104 (switches map the manifest's list, title={plugin.title}); load-plugins.ts:12-19 (the fetch that throws on !response.ok); conversation-panel.tsx:197-206 (the conversation-notice pattern, role=status/alert); docs/plugins.md (visibilitychange re-fetch).
Sensor: lint ✓; verify ✗ on main ✓ (no failure/unreachable plugin state in state.ts).
Verdict: valid, keep open (unchanged). The outcome-anchor sharpening still stands (a test that a rejected loadPlugins keeps switches + shows the notice, and a successful omission removes one). One point where the record is better than the first review credited: the design note's open question — whether a mid-reply failure disturbs a running reply — is already answered by the protocol doc itself, docs/plugins.md:46: "A reply already running keeps the tools it started with", which run.ts:77-83's snapshot at reply start implements. The implementer needs only to not break that snapshot; no extra Goal sentence required.
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. Third pass; main is still d05b6b6 (pulled today, "Already up to date"), so nothing can have moved — every anchor was re-opened fresh regardless.
Evidence: all confirmed — navigation.ts:96-115 (refreshPlugins on open + visibilitychange at :110-113; the catch opens at :103, so the previously quoted 104-108/console.error :106 is off by one — console.error sits at :105, plugins: [] at :106; content identical, the issue's own 96-115 span is exact); state.ts:60-61 (only plugins: readonly ReaderPlugin[], no failure state; initial [] at :130); run.ts:77-83 (withPlugins snapshots the store's list at reply start); composer-toolbar.tsx:88-104 (switches map the manifest's list, title={plugin.title} at :95); load-plugins.ts:12-19 (throws on !response.ok); conversation-panel.tsx:197-206 (the conversation-notice pattern, role=status/alert); docs/plugins.md:46 — "A reply already running keeps the tools it started with" confirmed verbatim.
Sensor: lint ✓; verify ✗ on main ✓ — failing step re-run by hand: the plugins.*(error|failed|unreachable) regex exits 1 against state.ts, exactly the intended not-implemented signal.
Verdict: valid, keep open (unchanged). The standing sharpening remains unaddressed: the regex is a placement grep (a comment or unrelated identifier in state.ts would satisfy it). The outcome anchor both prior reviews proposed — a test that a rejected loadPlugins keeps the previous switches rendered and shows the notice, while a successful manifest omitting a plugin removes its switch — would keep verify red until the behavior, not the identifier, exists.
Re-audit (fourth pass) — posted by the scheduled issue-reviewer loop, independent of the authoring session. main is still d05b6b6 ("Already up to date"); anchors re-opened fresh — navigation.ts:96-115 (the catch is console.error + plugins: [], span exact), state.ts:60-61,130 (list only, no failure state), run.ts:77-83 (withPlugins snapshot at reply start), load-plugins.ts:12-19 (throws on !response.ok), docs/plugins.md:46 ("A reply already running keeps the tools it started with", verbatim). Verdict: valid, keep open (unchanged).
Re-audit (fifth pass) — posted by the scheduled issue-reviewer loop, independent of the authoring session. main is still d05b6b6 ("Already up to date"); anchors re-opened fresh — navigation.ts:96-115 span exact (the catch opens at :104, console.error at :106, plugins: [] at :107 — a one-line micro-correction to the third pass, which quoted :105/:106), state.ts:60-61,130 (plugins list only; no error/failed/unreachable shares a line with plugins, which is why the gate stays red), run.ts:77-83 (withPlugins snapshot at reply start), docs/plugins.md:46 ("A reply already running keeps the tools it started with", verbatim). Verdict: valid, keep open (unchanged).
Activity
bencode commentedon Oct 29, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Audit at d05b6b6 (2026-10-29): valid — evidence intact, not implemented on main. No duplicates (#286 tool naming and #284 the privacy tutorial are different facets; #141 importer plugins is a different feature).
Evidence checks (all confirmed as cited):
navigation.ts:96-115—refreshPluginsruns on conversation open and visibilitychange; the catch (104-108) isconsole.error+store.setState({ plugins: [] })— the silent emptying, exactly as described.state.ts:60-61,130— the store holds onlyplugins: readonly ReaderPlugin[]; no failure state exists.run.ts:77-83— the reply's tools assembled from that same list, so a failed fetch quietly strips capability from the next reply.composer-toolbar.tsx:88-104— switches render only what the manifest returned;title={plugin.title}at 95-99 as cited.load-plugins.ts:12-19,conversation-panel.tsx:197-206(theconversation-noticepattern),docs/plugins.md(visibilitychange re-fetch, "appears or disappears") — all confirmed.Sensor: lint ✓; verify fails as expected (no failure/unreachable plugin state in
state.ts) — correctly reflects not-implemented.Sharpening suggestions:
plugins.*(error|failed|unreachable)againststate.tswould pass on a comment or an unrelated identifier — placement grep again. Anchor on the outcome: a test that a rejectedloadPluginskeeps the previous switches rendered and shows the notice, and that a successful manifest omitting a plugin removes its switch (the designed case the proposal must preserve).run.ts's snapshot at reply start) — worth one sentence in the Goal so the implementer doesn't re-add churn there.Staying open; no maintainer signal seen (zero comments, reactions, assignees).
bencode commentedon Oct 31, 2026
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. First review ran against
main@d05b6b6; this beat pulled and got the same HEAD — nothing can have moved, and every citation was re-opened fresh.navigation.ts:96-115(refreshPluginson open + visibilitychange at :110-113; the catch at :104-108 isconsole.error+plugins: []);state.ts:60-61(the store holds onlyplugins: readonly ReaderPlugin[], no failure state; initial[]at :130);run.ts:77-83(withPluginsreads the store's list at reply start);composer-toolbar.tsx:88-104(switches map the manifest's list,title={plugin.title});load-plugins.ts:12-19(the fetch that throws on!response.ok);conversation-panel.tsx:197-206(theconversation-noticepattern, role=status/alert);docs/plugins.md(visibilitychange re-fetch).state.ts).loadPluginskeeps switches + shows the notice, and a successful omission removes one). One point where the record is better than the first review credited: the design note's open question — whether a mid-reply failure disturbs a running reply — is already answered by the protocol doc itself,docs/plugins.md:46: "A reply already running keeps the tools it started with", whichrun.ts:77-83's snapshot at reply start implements. The implementer needs only to not break that snapshot; no extra Goal sentence required.bencode commentedon Nov 6, 2026
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. Third pass;
mainis stilld05b6b6(pulled today, "Already up to date"), so nothing can have moved — every anchor was re-opened fresh regardless.navigation.ts:96-115(refreshPluginson open + visibilitychange at :110-113; the catch opens at :103, so the previously quoted 104-108/console.error :106is off by one —console.errorsits at :105,plugins: []at :106; content identical, the issue's own96-115span is exact);state.ts:60-61(onlyplugins: readonly ReaderPlugin[], no failure state; initial[]at :130);run.ts:77-83(withPluginssnapshots the store's list at reply start);composer-toolbar.tsx:88-104(switches map the manifest's list,title={plugin.title}at :95);load-plugins.ts:12-19(throws on!response.ok);conversation-panel.tsx:197-206(theconversation-noticepattern, role=status/alert);docs/plugins.md:46— "A reply already running keeps the tools it started with" confirmed verbatim.plugins.*(error|failed|unreachable)regex exits 1 againststate.ts, exactly the intended not-implemented signal.state.tswould satisfy it). The outcome anchor both prior reviews proposed — a test that a rejectedloadPluginskeeps the previous switches rendered and shows the notice, while a successful manifest omitting a plugin removes its switch — would keep verify red until the behavior, not the identifier, exists.bencode commentedon Nov 9, 2026
Re-audit (fourth pass) — posted by the scheduled issue-reviewer loop, independent of the authoring session.
mainis stilld05b6b6("Already up to date"); anchors re-opened fresh —navigation.ts:96-115(the catch isconsole.error+plugins: [], span exact),state.ts:60-61,130(list only, no failure state),run.ts:77-83(withPluginssnapshot at reply start),load-plugins.ts:12-19(throws on!response.ok),docs/plugins.md:46("A reply already running keeps the tools it started with", verbatim). Verdict: valid, keep open (unchanged).Checks new this pass:
use-conversation/*,composer-toolbar.tsxorload-plugins.ts— no implementation in flight.state.ts).The standing sharpening — outcome anchor over the
plugins.*(error|failed|unreachable)placement regex — still open after four passes.bencode commentedon Nov 11, 2026
Re-audit (fifth pass) — posted by the scheduled issue-reviewer loop, independent of the authoring session.
mainis stilld05b6b6("Already up to date"); anchors re-opened fresh —navigation.ts:96-115span exact (the catch opens at :104,console.errorat :106,plugins: []at :107 — a one-line micro-correction to the third pass, which quoted :105/:106),state.ts:60-61,130(plugins list only; noerror/failed/unreachableshares a line withplugins, which is why the gate stays red),run.ts:77-83(withPluginssnapshot at reply start),docs/plugins.md:46("A reply already running keeps the tools it started with", verbatim). Verdict: valid, keep open (unchanged).Checks new this pass:
use-conversation/*orload-plugins.ts. No implementation in flight.The standing sharpening — outcome anchor over the
plugins.*(error|failed|unreachable)placement regex — remains open after five passes.