Commit Graph

163 Commits

Author SHA1 Message Date
Haitao Pan
fb7e0ac7ef docs(cases/06): mark T7/T8/T9 done with impl locations & design trade-offs
Records the durable per-session run-registry implementation (bridge branch
fix/gateway-durable-run-registry): T7 gateway-unconfirmed fallback, T8 terminal
result cache, T9 DeadlineAt interrupt — with the trade-offs (no gatewayruntime
pending-map rewrite; per-session in-memory store not yet cross-restart durable;
T9 only force-terminates when the gateway is unconfirmed) and the test names that
cover each.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 18:54:40 +08:00
Haitao Pan
3676759472 fix(gateway): day-1 stability — stop infinite "running" and un-stoppable tasks
Symptom: a gateway turn shows "任务运行中..." forever and 停止 has no effect,
even though the OpenClaw gateway has already finished (ACP_HTTP_CONNECTION_CLOSED).

- T3: add a hard deadline to the running-handle poll branch so the client no
  longer polls forever when tasks.get keeps returning "running". Budget is
  derived from taskLoadClass (10/30/60min, aligned with the bridge) + grace;
  on timeout the turn lands in a recoverable `interrupted` state
  (OPENCLAW_RUN_POLL_TIMEOUT) prompting the user to resend.
- T4: make 停止 locally authoritative — capture the association, mark the turn
  aborted immediately (clears pending, exits the poll loop), then fire
  tasks.cancel best-effort so a hung/failed cancel RPC can't block termination.
- T6: applyGatewayChatFailureInternal now authoritatively clears the pending
  flag (both raw + normalized key). Previously runOpenClawGatewayQueuedTurnInternal's
  finally never cleared it, leaving "error shown but still running".

Full cross-repo analysis + remaining TODO in docs/cases/06.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 10:48:45 +08:00
Haitao Pan
65fabfe888 chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
Haitao Pan
cb14c83af0 feat: add explicit gateway task case hints for openclaw-gateway-e2e-regression 2026-06-17 16:00:54 +08:00
Haitao Pan
d546690677 fix: prioritize managed bridge sync state 2026-06-16 06:20:13 +08:00
Haitao Pan
1d2e01f269 Improve assistant task UX 2026-06-07 12:03:08 +08:00
Haitao Pan
5396a682d1 fix: align OpenClaw task key flow 2026-06-06 13:56:03 +08:00
Haitao Pan
88a717a4d2 docs clarify openclaw artifact workspace ownership 2026-06-06 12:17:28 +08:00
Haitao Pan
c3ab3e2f98 chore: retire rust ffi scaffold 2026-06-06 12:00:13 +08:00
Haitao Pan
941edee480 Merge release/v1.1.4 into main 2026-06-06 11:51:09 +08:00
Haitao Pan
cc7bdca02a refactor: align OpenClaw session key state flow 2026-06-06 11:51:01 +08:00
Haitao Pan
4b6ec9146e Refactor OpenClaw task integration as thin adapter 2026-06-06 07:56:32 +08:00
Haitao Pan
1edf6b7b3f refactor/app-thread-key 2026-06-06 06:51:30 +08:00
Haitao Pan
4f90de7728 Add OpenClaw thin adapter refactor plan 2026-06-05 21:55:15 +08:00
Haitao Pan
73bed12dc6 Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
Haitao Pan
94cf8bb39d feat: pass OpenClaw artifact dir whitelist 2026-06-05 21:25:29 +08:00
Haitao Pan
f3e2e35075 Document OpenClaw artifact dirs protocol boundary 2026-06-05 21:23:56 +08:00
Haitao Pan
aeecca0f1c refactor: Remove OpenClaw rigid time limits and false positive no-exported-artifacts judgment 2026-06-05 18:10:34 +08:00
Haitao Pan
6219fcd1ee fix: sync openclaw terminal snapshots in app 2026-06-05 17:13:05 +08:00
Haitao Pan
0db8bcc720 add design doc: multi-session-plugin-optimization 2026-06-05 14:53:47 +08:00
Haitao Pan
3b71944c06 fix(webrtc): resolve remote desktop black screen by properly binding remote video tracks and removing legacy Plan B constraints 2026-06-05 12:38:43 +08:00
Haitao Pan
cae0398691 docs: add cross-repo architecture chain maps and risk analysis
- Add 4 chain maps: task-execution, artifact-lifecycle, session-recovery, bridge-distributed
- Add cross-repo call analysis with top-10 fragile points
- Update AGENTS.md with 'Cross-Repo Architecture Chain Maps' section
- Document artifact path gap: OpenClaw tools output to ~/.openclaw/media/ but plugin export scans tasks/<session>/<run>/
2026-06-05 02:54:11 +00:00
Cowork 3P
d663877705 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
3df75eedfe fix: finalize openclaw task polling results 2026-06-05 07:30:51 +08:00
Cowork 3P
3f47b22f38 update architecture docs 2026-06-05 06:59:42 +08:00
Cowork 3P
141b1e36f8 docs(architecture): fix critical accuracy errors, stale refs, paths
Accuracy fixes:
- app-orchestration.md: remove non-existent constructor params
- models-and-config.md: remove wrong multiAgent field from SettingsSnapshot
- runtime-contracts.md: add missing multiAgent/collaborationMode/routingHint fields

Stale multi-agent refs:
- unified-routing-architecture.md: agent/multi-agent → agent (含 bridge 转发)
- bridge-runtime-routing-map.md: multi-agent tasks → multi-agent forwarding tasks
- cross-repo-task-state-workflow.md: remove multi-agent orchestration from mermaid
- runtime-contracts.md, feature-surfaces.md: 多 agent → agent

Organization:
- Move cloud-session-service and stage4-helper to archive/
- Fix 22 xworkmate/ → xworkmate-app/ paths in archive doc
- Fix XWorkmate.svc.plus repo name in simple-theme-default.md
- Update README.md index and public-api/README.md coverage stats (132/590)
2026-06-04 06:53:38 +00:00
Cowork 3P
a8db76de8d docs: add architecture README with categorized navigation 2026-06-04 06:32:27 +00:00
Cowork 3P
b3da52d0c5 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
Cowork 3P
c320992b95 docs(cases): clean up test cases — remove ai-security-evolution scenario, fix issues
- Delete ai-security-evolution-content-scenario/ (8 files, referenced by removed MANUAL-LOCAL-001A)
- Remove MANUAL-LOCAL-001A from core-integration-manual-cases.md
- Fix duplicate section numbering (#5#6 for general thread scenarios)
- Remove misplaced workspace sync rules from MANUAL-ACP-004 (bridge auth case)
- Update README.md index
2026-06-04 06:13:38 +00:00
Haitao Pan
1212f8cb41 feat: Remote Desktop UI and Client WebRTC Integration 2026-06-03 10:50:06 +08:00
Haitao Pan
bc6c2844a2 fix: repair bridge login sync runtime state 2026-06-01 10:02:13 +08:00
Haitao Pan
3335eaf668 chore: update core integration cases and runtime helpers 2026-05-30 12:04:54 +08:00
Haitao Pan
41555070a8 test: align openclaw e2e prompts 2026-05-29 14:09:49 +08:00
Haitao Pan
82bb7c380e docs: record openclaw gateway e2e cases 2026-05-29 14:05:47 +08:00
Haitao Pan
7797d988d4 chore: prepare v1.1.3 release metadata 2026-05-28 13:20:57 +08:00
Haitao Pan
aee6b7eb8b Release v1.1.3 2026-05-27 15:10:07 +08:00
Haitao Pan
e8daf436d2 Remove OpenClaw direct ACP route 2026-05-26 11:06:22 +08:00
Haitao Pan
0226bc810d Polish assistant UI and add Service Mesh video case 2026-05-25 13:43:00 +08:00
Haitao Pan
cdda2caf53 merge: implement flutter and go testing framework 2026-05-25 08:55:15 +08:00
Haitao Pan
9c71b65f9f chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
Haitao Pan
3a89ad365e refactor: remove mobile approval surface 2026-05-24 12:15:54 +08:00
Haitao Pan
caa40a910b docs: refresh v1.1.2 release notes 2026-05-23 16:01:04 +08:00
Haitao Pan
f7e1973d9d fix: surface queued task feedback 2026-05-19 10:28:13 +08:00
Haitao Pan
9df22b23e6 chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
Haitao Pan
d8742f1b61 fix: use openclaw task submit endpoint 2026-05-07 08:44:23 +08:00
Haitao Pan
e4f8da2a67 fix: tighten bridge runtime diagnostics 2026-05-02 17:45:17 +08:00
Haitao Pan
2eab674974 fix: use bridge session lifecycle methods 2026-04-24 10:09:20 +08:00
Haitao Pan
317975c322 chore: sync runtime protocol docs 2026-04-23 14:58:18 +08:00
Haitao Pan
56e3031ad1 docs: add external api test scripts 2026-04-22 09:47:38 +08:00
Haitao Pan
627bc640e9 docs: add external service api test matrix 2026-04-22 09:35:05 +08:00