

























@@ -10,6 +10,7 @@ on:
1010type: choice
1111options:
1212 - all
13+ - agent-runtime-boundary
1314 - config-boundary
1415 - core-auth-secrets
1516 - channel-runtime-boundary
@@ -63,6 +64,27 @@ on:
6364 - "src/agents/sandbox/**"
6465 - "src/agents/sandbox.ts"
6566 - "src/agents/sandbox-*.ts"
67+ - "src/acp/control-plane/**"
68+ - "src/agents/cli-runner/**"
69+ - "src/agents/command/**"
70+ - "src/agents/pi-embedded-runner/**"
71+ - "src/agents/tools/**"
72+ - "src/agents/*completion*.ts"
73+ - "src/agents/*transport*.ts"
74+ - "src/agents/model-*.ts"
75+ - "src/agents/openclaw-tools*.ts"
76+ - "src/agents/provider-*.ts"
77+ - "src/agents/session*.ts"
78+ - "src/agents/tool-call*.ts"
79+ - "src/auto-reply/reply/agent-runner*.ts"
80+ - "src/auto-reply/reply/commands*.ts"
81+ - "src/auto-reply/reply/directive-handling*.ts"
82+ - "src/auto-reply/reply/dispatch-*.ts"
83+ - "src/auto-reply/reply/get-reply-run*.ts"
84+ - "src/auto-reply/reply/provider-dispatcher*.ts"
85+ - "src/auto-reply/reply/queue*.ts"
86+ - "src/auto-reply/reply/reply-run-registry*.ts"
87+ - "src/auto-reply/reply/session*.ts"
6688 - "src/channels/**"
6789 - "src/auto-reply/reply/post-compaction-context.ts"
6890 - "src/auto-reply/reply/queue/**"
@@ -125,6 +147,7 @@ jobs:
125147runs-on: blacksmith-4vcpu-ubuntu-2404
126148timeout-minutes: 5
127149outputs:
150+agent: ${{ steps.detect.outputs.agent }}
128151channel: ${{ steps.detect.outputs.channel }}
129152config: ${{ steps.detect.outputs.config }}
130153core_auth_secrets: ${{ steps.detect.outputs.core_auth_secrets }}
@@ -147,6 +170,7 @@ jobs:
147170run: |
148171 set -euo pipefail
149172173+ agent=false
150174 channel=false
151175 config=false
152176 core_auth_secrets=false
@@ -160,6 +184,7 @@ jobs:
160184 session_diagnostics=false
161185162186 if [[ "${EVENT_NAME}" != "pull_request" ]]; then
187+ agent=true
163188 channel=true
164189 config=true
165190 core_auth_secrets=true
@@ -175,6 +200,7 @@ jobs:
175200 while IFS= read -r file; do
176201 case "${file}" in
177202 .github/codeql/*|.github/workflows/codeql-critical-quality.yml)
203+ agent=true
178204 channel=true
179205 config=true
180206 core_auth_secrets=true
@@ -187,6 +213,9 @@ jobs:
187213 provider=true
188214 session_diagnostics=true
189215 ;;
216+ src/acp/control-plane/*|src/agents/cli-runner/*|src/agents/command/*|src/agents/pi-embedded-runner/*|src/agents/tools/*|src/agents/*completion*.ts|src/agents/*transport*.ts|src/agents/model-*.ts|src/agents/openclaw-tools*.ts|src/agents/provider-*.ts|src/agents/session*.ts|src/agents/tool-call*.ts|src/auto-reply/reply/agent-runner*.ts|src/auto-reply/reply/commands*.ts|src/auto-reply/reply/directive-handling*.ts|src/auto-reply/reply/dispatch-*.ts|src/auto-reply/reply/get-reply-run*.ts|src/auto-reply/reply/provider-dispatcher*.ts|src/auto-reply/reply/queue*.ts|src/auto-reply/reply/reply-run-registry*.ts|src/auto-reply/reply/session*.ts)
217+ agent=true
218+ ;;
190219 src/auto-reply/reply/post-compaction-context.ts|src/auto-reply/reply/queue/*|src/auto-reply/reply/startup-context.ts|src/commands/doctor-session-*.ts|src/commands/session-store-targets.ts|src/commands/sessions*.ts|src/infra/diagnostic-*.ts|src/infra/diagnostics-timeline.ts|src/infra/session-delivery-queue*.ts|src/logging/diagnostic*.ts)
191220 session_diagnostics=true
192221 ;;
@@ -255,6 +284,7 @@ jobs:
255284 fi
256285257286 {
287+ echo "agent=${agent}"
258288 echo "channel=${channel}"
259289 echo "config=${config}"
260290 echo "core_auth_secrets=${core_auth_secrets}"
@@ -362,7 +392,8 @@ jobs:
362392363393agent-runtime-boundary:
364394name: Critical Quality (agent-runtime-boundary)
365-if: ${{ github.event_name != 'pull_request' && (github.event_name != 'workflow_dispatch' || inputs.profile == 'all') }}
395+needs: quality-shards
396+if: ${{ needs.quality-shards.outputs.agent == 'true' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) && (github.event_name == 'pull_request' || github.event_name != 'workflow_dispatch' || inputs.profile == 'all' || inputs.profile == 'agent-runtime-boundary') }}
366397runs-on: blacksmith-4vcpu-ubuntu-2404
367398timeout-minutes: 25
368399steps:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。