Haitao Pan
c89be591ad
test: make temp-dir cleanup resilient to concurrent-write races
...
The assistant execution target tests deleted their temp HOME/workspace
dirs with a raw recursive delete in addTearDown. A background flush
(e.g. controller dispose still persisting state) can keep writing into
the dir while the delete walks it, so the delete races and fails with
"Directory not empty" (errno 39), failing the test on CI.
Route all unguarded teardown deletes through the existing
_resilientDelete helper (re-check existence + retry), and harden that
helper so its final fallback never re-throws — a temp-dir cleanup
failure must never fail a test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:06:07 +08:00
Haitao Pan
80861283f9
fix(gateway): keep polling undecorated running snapshots
2026-06-27 12:27:42 +08:00
Haitao Pan
ef849d7317
fix(prompt): simplify gateway workspace context to avoid conflicting paths (S5)
...
Every gateway turn's prompt prefix injected three near-duplicate absolute paths:
currentTaskWorkspace + localWorkspace + remoteWorkspaceHint. localWorkspace is the
App's LOCAL thread dir (~/.xworkmate/threads/...) which the gateway agent cannot
access, and remoteWorkspaceHint duplicates currentTaskWorkspace. The conflicting
paths leave the agent unsure where to work and can block conversation continuation.
For gateway turns the prompt now carries only currentTaskWorkspace (the plugin owns
the artifact scope); localWorkspace is kept only for non-gateway (local agent runs
there); remoteWorkspaceHint is dropped when equal to currentTaskWorkspace. sessionKey
is kept (short, not a path). UI is unaffected (chat bubble shows the raw user message;
the prompt-debug parser only special-cases Execution context / Preferred skills /
Attached files). Tests updated; assistant_execution_target_test green (74).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:15:27 +08:00
Haitao Pan
49f619dbcc
fix(gateway): harden OpenClaw polling and acceptance notes
2026-06-27 11:27:14 +08:00
Haitao Pan
345930f284
test: stabilize assistant gateway recovery cases
2026-06-26 20:01:31 +08:00
Haitao Pan
c89ffb51ed
fix(gateway): harden OpenClaw task recovery tests
2026-06-26 18:30:34 +08:00
Haitao Pan
db8275ca27
test: ignore transient cleanup races
2026-06-18 16:57:04 +08:00
Haitao Pan
ab0ecdd005
feat: add explicit gateway task case hints for openclaw-gateway-e2e-regression
2026-06-17 16:00:54 +08:00
Haitao Pan
4b62300e40
feat(assistant): include attachment source paths in gateway prompts
2026-06-12 16:58:24 +08:00
Haitao Pan
018fa551dd
Fix gateway dispatch test pipeline
2026-06-08 13:20:41 +08:00
Haitao Pan
f034e6f28e
Stabilize OpenClaw artifact sync
2026-06-08 10:49:09 +08:00
Haitao Pan
b7a842fce3
fix: require OpenClaw artifact export before completion
2026-06-06 18:23:05 +08:00
Haitao Pan
b2f4fc7868
fix: keep OpenClaw artifact sync polling
2026-06-06 18:02:13 +08:00
Haitao Pan
dd57b0320f
fix: trim OpenClaw task prompt context
2026-06-06 17:40:43 +08:00
Haitao Pan
4f25126d4f
fix: align OpenClaw task key flow
2026-06-06 13:56:03 +08:00
Haitao Pan
c16704b052
Refactor OpenClaw task integration as thin adapter
2026-06-06 07:56:32 +08:00
Haitao Pan
ea781b5206
refactor/app-thread-key
2026-06-06 06:51:30 +08:00
Haitao Pan
a6879d9d1f
feat: pass OpenClaw artifact dir whitelist
2026-06-05 21:25:29 +08:00
Haitao Pan
53875ff37b
fix(chat): drop root-level expectedArtifactDirs to satisfy chat.send schema
...
- Remove the unexpected property at the root of gateway task metadata.
Keep the value nested in xworkmateTaskArtifactContract where the
OpenClaw chat.send schema allows it (-32002: invalid chat.send params).
- Drop dead local vars and the unused asInt helper in OpenClaw task
association parsing.
- Remove the obsolete 'sendChatMessage restarts before handling
OpenClaw artifact guard results' test superseded by the new terminal
artifact failure test.
2026-06-05 19:12:31 +08:00
Haitao Pan
6d5122682c
refactor: Remove OpenClaw rigid time limits and false positive no-exported-artifacts judgment
2026-06-05 18:10:34 +08:00
Haitao Pan
0b1373c6c1
fix: resolve openclaw partial artifacts and eliminate legacy fallback code
2026-06-05 17:30:14 +08:00
Haitao Pan
debd54e14c
fix: sync openclaw terminal snapshots in app
2026-06-05 17:13:05 +08:00
Haitao Pan
5909e6518b
fix: allow stopping archived tasks
2026-06-05 16:59:41 +08:00
Haitao Pan
3e20fcb504
fix(arch): A1-A3 app layer anti-patterns cleanup
2026-06-05 13:05:04 +08:00
Cowork 3P
f8449d42e7
Merge branch 'codex/openclaw-final-deliverables' into release/v1.1.4
...
# Conflicts:
# docs/architecture/cross-repo-task-state-workflow.md
# test/runtime/assistant_execution_target_test.dart
2026-06-05 07:47:04 +08:00
Cowork 3P
3b08995c0f
feat(xworkmate): optimize desktop thread actions and Go task service client
2026-06-05 07:40:25 +08:00
Cowork 3P
77be6981cc
fix: finalize openclaw task polling results
2026-06-05 07:30:51 +08:00
Cowork 3P
4d43a4f0e1
fix: poll openclaw task handle to terminal snapshot
2026-06-05 06:16:05 +08:00
Cowork 3P
a05318324b
fix: preserve openclaw failure artifacts
2026-06-04 22:59:56 +08:00
Cowork 3P
60ed369df7
refactor: remove stale runtime fallbacks
2026-06-04 22:38:09 +08:00
Cowork 3P
92f81eb27a
refactor: eliminate dead codex_runtime methods, add anti-fallback policy
...
codex_runtime.dart (-290 lines):
- Remove 17 dead methods behind UnsupportedError guard
(findCodexBinary, startStdio, request, startThread, resumeThread,
sendMessage, interrupt, getAccount, listModels, listSkills, stop,
dispose, _resolveLaunchConfiguration + 3 @visibleForTesting wrappers)
- Remove 10 dead fields (_process, _state, _pendingRequests, _events, etc.)
- Remove ChangeNotifier mixin (nothing to notify)
- Keep only model types, enums, and standalone helper functions
AGENTS.md (+21 lines):
- Add Fallback and Dead Code Elimination Policy section
- Forbidden: cascading fallbacks, lingering DEPRECATED code,
dead code behind guards, silent catch blocks, redundant indirection,
excessive JSON key probing
- Required: inline WHY comments on every retained fallback chain
Additional cleanup:
- gateway_acp_client.dart: remove unused _GatewayAcpSessionUpdate class
- runtime_controllers_entities.dart: replace _canRefreshThroughRuntime
with runtimeInternal.isConnected
- runtime_models_gateway_entities.dart: relocate CollaborationAttachment
2026-06-04 07:13:29 +00:00
Cowork 3P
fdda0b7d85
test,docs: fix all stale references to deleted multi-agent subsystem
...
Test fixes (6 files, -303 lines):
- Delete app_controller_acp_mount_resilience_test.dart (entirely about deleted types)
- Remove multi-agent test cases from gateway_acp_client_auth_test.dart
- Rename _manifestWithDesktopMultiAgentEnabled → _defaultDesktopManifest
in assistant_execution_target_test, assistant_lower_pane_test,
mobile_assistant_page_test
Docs fixes (6 files):
- Regenerate public-symbol-inventory.json/md via make docs-public-api
- Remove multi-agent sections from public-api/models-and-config.md,
app-orchestration.md, runtime-contracts.md
- Fix xworkmate/ → xworkmate-app/ paths in cloud-session doc
- Remove multiAgent references from app-external-service-api-test-matrix.md
2026-06-04 06:31:45 +00:00
Haitao Pan
e8c1b7deb6
refactor(ui): eliminate unowned helper sprawl in assistant skill picker
2026-06-04 10:08:02 +08:00
Haitao Pan
0b5f07a86b
fix(runtime): restore skills loading and group rendering
2026-06-04 09:40:16 +08:00
Haitao Pan
ebf315bbef
Merge: resolve conflict in gateway_runtime_bridge_skills_test
2026-06-04 09:15:10 +08:00
Haitao Pan
3d1d037e1a
fix: WebRTC remote desktop connection, cleanup local fallback, and ignore .gradle cache
2026-06-04 09:12:08 +08:00
Haitao Pan
26a04b29f3
test: stabilize OpenClaw gateway active slot regression
2026-06-04 06:55:41 +08:00
Haitao Pan
81ecfba85a
feat: Remote Desktop UI and Client WebRTC Integration
2026-06-03 10:50:06 +08:00
Haitao Pan
c4ca5a2c34
Preserve artifacts after interrupted bridge responses
2026-06-02 16:21:17 +08:00
Haitao Pan
55a1ce2af4
Reassociate OpenClaw tasks through Bridge control plane
2026-06-02 11:58:40 +08:00
Haitao Pan
e0d840d956
fix(openclaw): keep artifact runs session scoped
2026-06-02 00:48:56 +08:00
Haitao Pan
dc6a4103e7
fix: stabilize complex openclaw artifact tasks
2026-05-31 12:27:47 +08:00
Haitao Pan
fcc579e679
refactor: classify gateway task load
2026-05-29 14:33:54 +08:00
Haitao Pan
94236c90e1
test: align openclaw e2e prompts
2026-05-29 14:09:49 +08:00
Haitao Pan
109dbd219f
fix(assistant): pin task session on submit
2026-05-29 13:31:48 +08:00
Haitao Pan
8c29172fdf
fix: isolate openclaw e2e artifacts
2026-05-29 10:41:46 +08:00
Haitao Pan
e54a97bd36
fix: keep running task follow-up in current thread
2026-05-29 09:05:02 +08:00
Haitao Pan
191ddc6ca4
fix: unblock OpenClaw gateway task queue
2026-05-28 17:05:07 +08:00
Haitao Pan
6806ac0045
Release v1.1.3
2026-05-27 15:10:07 +08:00
Haitao Pan
6c009c71a2
Hide desktop agent dialog mode
2026-05-27 14:50:59 +08:00