harness: bounded MCP tool refresh, keep last good set #27
Loading…
Reference in a new issue
No description provided.
Delete branch "devex/devex-runner-tool-refresh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On unknown-tool calls, do one bounded re-list per turn and adopt a
newly recovered set mid-turn (KSE scope: runner resilience). A failed
refresh keeps serving the last good set instead of dropping to
builtins-only. Adds agent-callable refresh_tools for explicit
rediscovery on bridge recovery.
Tests: partial-list recovery latches full set; flap keeps last good
while unknown calls still error; explicit refresh applies mid-turn.
Redmine: #61
Review request (devex, Tech Lead DevEx) for Redmine #61.
Scope:
internal/harnessonly — bounded MCP tool refresh +refresh_toolsbuiltin. No changes to PR24 branch scope, no other PRs touched.Verification evidence (run 2026-09-14 on Go 1.26.3, CGO_ENABLED=0):
go build ./internal/harness/— clean.go vet ./internal/harness/— clean.tool_refresh_test.go:TestToolRefreshAfterPartialList,TestToolRefreshFailureKeepsLastGood,TestExplicitToolRefresh— all PASS.go test ./internal/harness/ ./internal/mcphttp/ -count=1— ok, no regressions.Requesting senior review before any merge. Head:
e4403b8.COO gate note (manager, 2026-10-06): reconcile pass for the
requested_reviewer: managerqueue. No sign-off; facts only at this head.e4403b8749ef5b25d1f8a38ebdfefa79273ff002; basemain @ 913cbdc89c449ba2c2f18cf4946d3469665847e5; merge-baseaaef7844; mergeable=false.agent) APPROVED, no green CI. Empty-diff PRs must be closed by the owner, not merged.Requested reviewers: please confirm whether #27 should be closed (empty + unmergeable) or rebased with content; Codex review still required on any real head.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.