Commit Graph

21 Commits

Author SHA1 Message Date
Haitao Pan
fa9cc78add fix(acp): T10/T11/T12 observability + error semantics; revert S1 (broke main)
T10: gatewayRPCError marks OPENCLAW_GATEWAY_SOCKET_CLOSED with retryable=true,
poll=true so the client degrades to "background/reconnecting" + keeps polling
instead of hard-failing (feeds App T5).
T11: runId-tagged warn logs at the tasks.get unconfirmed-fallback and
run-deadline-interrupt sites, so a runId can be joined across App→bridge→plugin→gateway.
T12: process-level stability counters (gatewaySocketClosed, taskGetUnconfirmedFallback,
runDeadlineInterrupt) exposed via /api/ping.metrics.

Revert S1 (default expectedArtifactDirs): it set requiresExport=true / default dirs
for any artifact-inferring task, which made a gateway run that succeeds with NO
artifact hang "waiting for artifact export" (TestHTTPHandlerGatewayOpenClawHandlesFive
ConcurrentE2ECases + ...WithoutPromptHeuristic went red). The blocking is tied to
expectedArtifactDirs presence in openClawTaskGetRequiresArtifactExport; decoupling
scan-hint from block-on-export needs a careful, separately-tested change. Reverted to
keep main green; S1 to be redesigned (see docs/cases/06 §7).

Full internal/acp suite green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 06:43:21 +08:00
Cowork 3P
d436729508 refactor: remove multi-agent orchestration engine, add coding standards
- Delete internal/acp/multi_agent.go (610 lines) — Path B orchestration
- Remove multiAgent dispatch from orchestrator, jobs, http_handler
- Set multiAgent/multi_agent capabilities to false in catalog
- Remove TaskKindMultiAgent from types
- Remove redundant ErrorResponse() wrapper in shared/rpc.go
- Add anti-fallback coding standards to AGENTS.md
2026-06-04 07:40:23 +00:00
Haitao Pan
5833378794 Filter raw gateway SSE events for direct requests 2026-06-02 16:21:17 +08:00
Haitao Pan
911f5709a3 feat(acp): implement distributed task router and openclaw gateway ingress 2026-06-02 12:19:27 +08:00
Haitao Pan
0b31ccf461 fix: report native bridge runtime version 2026-06-01 13:48:43 +08:00
Haitao Pan
110cb20e52 Add distributed task forwarding 2026-05-26 14:11:01 +08:00
Haitao Pan
3b088f71e2 Route OpenClaw tasks through ACP RPC 2026-05-26 11:06:22 +08:00
Haitao Pan
760a8c0f3b feat: add internal multi-agent jobs and tools orchestration 2026-05-18 16:55:40 +08:00
Haitao Pan
6ad48d4c26 fix: filter OpenClaw gateway SSE notifications 2026-05-10 13:55:16 +08:00
Haitao Pan
ed04d91dad fix: emit OpenClaw SSE accepted event 2026-05-08 18:58:51 +08:00
Haitao Pan
96eabb7248 fix: keep ACP SSE task streams alive 2026-05-08 11:46:47 +08:00
Haitao Pan
0618067390 fix: retry openclaw socket closures 2026-05-07 17:47:27 +08:00
Haitao Pan
25934c7d74 fix: sanitize openclaw gateway response artifacts 2026-05-06 13:19:49 +08:00
Haitao Pan
2114691b9b fix: proxy openclaw artifact downloads 2026-05-05 14:48:46 +08:00
Haitao Pan
9944cffe3f Fix OpenClaw chat send routing 2026-05-05 10:17:31 +08:00
Haitao Pan
fac0a0857a fix: enforce openclaw gateway task route 2026-05-03 12:14:31 +08:00
Haitao Pan
2f5e0a3fa1 fix: route openclaw gateway through bridge 2026-05-03 11:22:09 +08:00
Haitao Pan
6e2daf2e3d fix: remove legacy bridge public aliases 2026-05-02 17:45:17 +08:00
Haitao Pan
17c0fa6f16 Refine bridge routing and remove fallback paths 2026-04-23 15:58:37 +08:00
Haitao Pan
e808f7a19e refactor(acp): refocus bridge as control plane and consolidate execution logic 2026-04-23 13:21:14 +08:00
Haitao Pan
f7acb2fda5 refactor(acp): split internal server handlers and add opencode adapter 2026-04-23 11:43:38 +08:00