Repository navigation
refactor(acpx): remove dead config keys and legacy reaper heuristics - #120937
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
August 9, 2026 05:59
steipete
force-pushed
the
steipete/acpx-config-hygiene
branch
from
August 9, 2026 07:29
ac00d89 to
1085b6d
Compare
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The ACPX plugin accepted
strictWindowsCmdWrapperandqueueOwnerTtlSecondseven though the embedded runtime ignored both. Operators could therefore keep apparently valid configuration that had no effect, while the Zod and manifest schemas were maintained separately and could drift.Why This Change Was Made
Items 1 and 2 are complete. The two retired keys are removed from the plugin schemas, resolved configuration, and ignored-value logging. The plugin-owned doctor compatibility contract now detects and removes them before strict validation, so
openclaw doctor --fixrepairs existing configurations without retaining runtime compatibility branches.For schema hygiene, this adopts the repository's existing
buildPluginConfigSchemagenerator precedent: the ACPX test now generates JSON Schema from the Zod owner and compares it withopenclaw.plugin.json, including nested strict-object behavior. No new dependency or parallel schema fixture was added.Item 3 is a stop-report. Lease ownership does not yet cover unleased startup probes, direct agent launches,
rootPid: 0leases, or descendants reparented after the leased root exits. Removing command markers would weaken cross-gateway process safety, so the legacy reaper heuristics, their tests, anddocs/refactor/acp.mdremain unchanged.Root cause: obsolete compatibility fields remained wired through both schema surfaces and runtime resolution after their upstream behavior disappeared, with logging substituting for a real plugin-owned config migration.
Production LOC: +46/-66 (net -20). Tests: +67/-118 (net -51).
User Impact
Operators can run
openclaw doctor --fixto strip the two retired ACPX settings before strict config validation. Runtime behavior is otherwise unchanged because the settings were already ignored. Existing process-reaper safeguards remain intact.Evidence
node scripts/run-vitest.mjs extensions/acpx— PASS, 19 files / 245 tests; Vitest 43.48s.node scripts/run-vitest.mjs src/plugins/doctor-contract-declarations.test.ts— PASS, 1 file / 1 test; Vitest 269.50s, wrapper 282.44s.git diff --check— PASS.node scripts/check-changed.mjs— PASS, exit 0 in 13m17.309s on Blacksmith Testbox leasetbx_01kzjgny75rmeavdxx10swxt9s; Actions run; cleanup completed..agents/skills/autoreview/scripts/autoreview --mode local— exit 0:autoreview clean: no accepted/actionable findings reported(confidence 0.97).