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
security: REST PATCH quarantined=true does not purge the server's indexed tool descriptions #1561
area/searchBM25 / Bleve search index and tool discoverykind/bugSomething isn't workingkind/securitySecurity fix or hardeningpriority/highShould be addressed in the current or next release
PATCH /api/v1/servers/{id} with {"quarantined":true} persists the flag but does not purge the server's indexed tool descriptions. Server.UpdateServer (internal/server/server.go:2030-2150) applies updates.Quarantined when explicitly set and saves (:2122); the purge lives only in Runtime.QuarantineServer (lifecycle.go:2175, purgeQuarantinedServerFromIndex) and in reconcile's newlyQuarantined check (lifecycle.go:~1527), which compares against storage. Because storage already says quarantined after the PATCH, reconcile never sees the transition, so descriptions stay searchable via retrieve_tools/global and profile search although calls are blocked. This is the #1061 class (TPA isolation) through a different writer.
Failure scenario
Index a connected server, PATCH quarantined=true, retrieve_tools still returns its tool descriptions, also after reconciliation.
Suggested direction
Run the same purge (global + profile indexes) from the update commit when the quarantine flag flips to true; add a test asserting search results are empty immediately and after reconcile.
Found by OpenCode Sol 6.1 cross-model review of the (now split) oversized PRs #1553 (UX-01) and #1555 (UX-02); verified still present on origin/main (704795c) by reading the cited sites. Pre-existing, deliberately out of scope of the minimal core PRs. Review transcripts: docs/qa/0.70.0-ux-2026-10-10/remediation/reviews/.
area/searchBM25 / Bleve search index and tool discoverykind/bugSomething isn't workingkind/securitySecurity fix or hardeningpriority/highShould be addressed in the current or next release
Activity
fix(server): copy-on-write the runtime config in UpdateServer (data r…
fix(security): purge indexed tool descriptions when REST PATCH quaran…
Merge origin/main into fix/116-pr1-config-commit
fix: Spec 116 PR1 keeps UpdateConfig free of connect workers and purg…
fix: Spec 116 PR1 purges residual index entries on a repeated explici…