Repository navigation
fix(acp): refresh runtime handles on config changes - #82237
Conversation
OpenClaw QA ArtifactsSummaryACP runtime config cache proof for PR #82237.
Evidence
|
|
Codex review: needs real behavior proof before merge. Summary Reproducibility: yes. there is a high-confidence source/proof-artifact path: add the PR regression to current main and run the focused ACP manager test, which the linked before log shows failing because Real behavior proof Next step before merge Security Review detailsBest possible solution: Land the focused cache-signature fix after protected-label maintainer review and redacted real behavior proof, while keeping any queued Discord config-snapshot or per-session directive remainder tracked separately. Do we have a high-confidence way to reproduce the issue? Yes, there is a high-confidence source/proof-artifact path: add the PR regression to current main and run the focused ACP manager test, which the linked before log shows failing because Is this the best way to solve the issue? Yes for the ACP cache path: comparing Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 4526b447781d. |
9b0f503 to
99bbcc6
Compare
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
99bbcc6 to
07b1b45
Compare
* fix(acp): refresh runtime handles on config changes * chore: refresh CI after main repairs
… runtime handle refresh
* fix(acp): refresh runtime handles on config changes * chore: refresh CI after main repairs
… runtime handle refresh
* fix(acp): refresh runtime handles on config changes * chore: refresh CI after main repairs
… runtime handle refresh
* fix(acp): refresh runtime handles on config changes * chore: refresh CI after main repairs
… runtime handle refresh

Summary
tools.exec.security/safeBinschanges so ACP sessions reinitialize instead of reusing stale handles.Real behavior proof
tools.exec.securityortools.exec.safeBinschanged, leaving Discord-bound ACP sessions on stale exec policy after gateway restarts or config updates.origin/main) and the PR branch.origin/main, copied the PR regression spec into it, rannode scripts/test-projects.mjs src/acp/control-plane/manager.test.ts, then rannode scripts/test-projects.mjs src/acp/control-plane/manager.test.ts src/acp/control-plane/runtime-cache.test.tson PR branch59b92f2e27.origin/mainplus the regression spec) failed becauseensureSessionwas called once after the exec config changed; after (59b92f2e27) passed and re-ensured the runtime handle when the config signature changed.re-ensures cached runtime handles when the runtime config changesfailing onorigin/mainwithexpected "vi.fn()" to be called 2 times, but got 1 times.Validation
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm test src/acp/control-plane/manager.test.ts src/acp/control-plane/runtime-cache.test.tsCOREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm check:changedFixes #59273.