Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. at source level. A plugin loaded through Real behavior proof Next step before merge Security Review detailsBest possible solution: Land this PR or an equivalent narrow registry wrapper fix so mutable hook context survives while Do we have a high-confidence way to reproduce the issue? Yes, at source level. A plugin loaded through Is this the best way to solve the issue? Yes. Reusing the original context and restoring or deleting What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 16e5d6692dcc. |
a9b16b6 to
b92440d
Compare
|
Rebased again onto current main and addressed the only outstanding review item by adding the required changelog credit ( |
b92440d to
8eacffd
Compare
Fixes #75245.
Summary
Testing
Real behavior proof
agent:bootstraphooks can mutate the original hook context whilepluginConfigremains visible only during the active plugin handler.OpenClaw 2026.5.4, commitb92440d) using a temporary on-disk plugin with anagent:bootstraphook.PLUGIN.mdtobootstrapFiles, readpluginConfig.markerduring execution, andpluginConfigwas removed from the shared context after the hook returned.