Skip to content

Commit 4eea004

Browse files
authored
Merge remote-tracking branch 'origin/main' into claude/dashboard-chat-dock
# Conflicts: # ui/src/components/app-sidebar-session-list.ts
2 parents 9b3cfc1 + 98410d9 commit 4eea004

371 files changed

Lines changed: 26812 additions & 5153 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/codeql/openclaw-boundary/queries/raw-socket-callsite-classification.ql‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,10 @@ predicate allowedRawSocketClientCall(Expr call) {
6262
or
6363
allowedOwnerScope(call, "src/infra/ssh-tunnel.ts", "canConnectLocal")
6464
or
65-
allowedOwnerScope(call, "src/infra/gateway-lock.ts", "checkPortFree")
66-
or
6765
allowedOwnerScope(call, "src/infra/jsonl-socket.ts", "requestJsonlSocketWithMaxLineBytes")
6866
or
69-
allowedOwnerScope(call, "src/infra/net/http-connect-tunnel.ts", "connectToProxy")
70-
or
71-
allowedOwnerScope(call, "src/infra/net/http-connect-tunnel.ts", "startTargetTls")
67+
// This TLS layer wraps the managed CONNECT socket; it cannot open a direct route.
68+
allowedOwnerScope(call, "src/infra/push-apns-http2.ts", "openApnsTlsTunnel")
7269
or
7370
allowedOwnerScope(call, "src/infra/push-apns-http2.ts", "openProxiedApnsHttp2Session")
7471
or

‎.github/workflows/codeql-critical-quality.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ jobs:
447447
added_lines="$(mktemp)"
448448
raw_socket_scan_lines="$(mktemp)"
449449
codex_transport="extensions/codex/src/app-server/transport-websocket.ts"
450+
network_codeql_contract_pattern='^\.github/codeql/(codeql-network-runtime-boundary-critical-quality\.yml|openclaw-boundary/queries/(raw-socket-callsite-classification|managed-proxy-runtime-mutation)\.ql)$'
450451
451452
gh api --paginate "repos/${REPOSITORY}/pulls/${PR_NUMBER}/files" --jq '.[].filename' > "$changed_files"
452453
gh api --paginate "repos/${REPOSITORY}/pulls/${PR_NUMBER}/files" --jq '
@@ -472,10 +473,10 @@ jobs:
472473
| "\($file): \(.)"
473474
' > "$raw_socket_scan_lines"
474475
475-
if grep -Fxq "$codex_transport" "$changed_files"; then
476-
# This transport has an exact owner/function allowlist in the raw-socket
477-
# CodeQL query, so its raw socket calls run there. Proxy policy tokens
478-
# remain in the fast scan below.
476+
# Query/config edits need semantic analysis; the fast diff scan cannot validate QL.
477+
# The Codex transport also has an exact owner/function allowlist in the query.
478+
if grep -Eq "$network_codeql_contract_pattern" "$changed_files" || \
479+
grep -Fxq "$codex_transport" "$changed_files"; then
479480
echo "full_codeql=true" >> "$GITHUB_OUTPUT"
480481
else
481482
echo "full_codeql=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)