Skip to content

Cherry-pick batch: Security hardening (1/2) (50 commits)#1956

Merged
alexey-pelykh merged 17 commits intomainfrom
staging/cherry-pick-1867
Mar 23, 2026
Merged

Cherry-pick batch: Security hardening (1/2) (50 commits)#1956
alexey-pelykh merged 17 commits intomainfrom
staging/cherry-pick-1867

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick batch from upstream

Issue: #1867
Commits: 15 cherry-picked, 35 skipped (fork-diverged audit.test.ts sections)

Picked (15)

Skipped (35)

Most test-merge commits (audit.test.ts, persistent-bindings.test.ts) became empty after conflict resolution because the fork's audit test structure has diverged significantly from upstream. These tests target sections of audit.test.ts that don't exist in the fork's version.

Adaptation commit

  • Added src/shared/global-singleton.ts utility (upstream dependency)
  • Fixed OpenClawConfigRemoteClawConfig in cherry-picked files
  • Fixed import paths in audit runtime re-export files for fork layout
  • Fixed windows-acl.test.ts os mock typing for strict TS

Closes #1867

🤖 Generated with Claude Code

steipete and others added 16 commits March 24, 2026 00:28
…penclaw#44597)

Process messageData via handleDeltaEvent for both delta and final states
before resolving the turn, so ACP clients no longer drop the last visible
assistant text when the gateway sends the final message body on the
terminal chat event.

Closes openclaw#15377
Based on openclaw#17615

Co-authored-by: PJ Eby <[email protected]>
(cherry picked from commit 17c954c)
- Add shared/global-singleton.ts utility (upstream dependency)
- Fix OpenClawConfig → RemoteClawConfig in cherry-picked files
- Fix audit-channel.runtime.ts paths to fork layout
- Remove missing exports from audit runtime re-export files
- Fix windows-acl.test.ts os mock typing for strict TS

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 23, 2026 23:43
The isHookAgentRoutingUnrestricted helper and its finding emission
were lost when audit-extra.sync.ts conflicts were resolved during
cherry-pick #41 (904db27). Re-apply the upstream logic.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alexey-pelykh alexey-pelykh merged commit 1a2092b into main Mar 23, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the staging/cherry-pick-1867 branch March 23, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick: Security hardening (1/2) (50 commits)

6 participants