xworkmate-app/docs/cases
Haitao Pan 50893d53bb docs(cases/06): definitive 4-layer chain incl. multi-session plugin + live verification
Rewrites the timeline (§1) and topology (§2) as the correct FOUR-layer chain
App → bridge → openclaw-multi-session-plugins → OpenClaw gateway, and documents the
plugin's multi-session/multi-thread role: session mapping (appThreadKey⇄openclawSessionKey),
per-(session,run) artifactScope = tasks/<sanitize(sessionKey)>/<runId>, the strict
sessionKey/runId/artifactScope triplet validation, and the expectedArtifactDirs
workspace-root fallback scan.

Live-verified against 127.0.0.1:8787 (plugin loaded, commit 2333c3e):
- session.prepare returns a real mapping; chat.send returns runId; xworkmate.tasks.get
  is handled by the plugin but returns no_native_task_record with an empty task scope
  (chain reaches the plugin layer; the agent run produced no queryable task / no file —
  a layer-4 execution/landing issue).

Adds §7 stability improvements grounded in this live run:
- S0 install the plugin from a stable path (not /private/tmp) — the primary reliability fix.
- S1 expectedArtifactDirs was [] → the plugin's workspace-root fallback is inert; bridge
  should always pass default dirs (reports/, artifacts/).
- S2 no_native_task_record status ambiguity (running vs completed-without-artifact).
- S3 sessionKey/runId/artifactScope triplet consistency (don't pre-prefix agent:main:).
- S4 runtime observability across all four layers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:18:04 +08:00
..
openclaw-gateway-e2e-regression feat: add explicit gateway task case hints for openclaw-gateway-e2e-regression 2026-06-17 16:00:54 +08:00
service-mesh-evolution-video-scenario Polish assistant UI and add Service Mesh video case 2026-05-25 13:43:00 +08:00
00-review-env-and-matrix.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
01-ai-news-markdown.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
02-image-to-video.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
03-seven-continuous-images.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
04-multi-platform-copy-matrix.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
05-chapter-to-graphic-pdf.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
06-gateway-turn-stability-and-robustness.md docs(cases/06): definitive 4-layer chain incl. multi-session plugin + live verification 2026-06-26 23:18:04 +08:00
cloud-account-and-bridge-manual-cases.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
codex-goal-stability.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
core-integration-manual-cases.md docs(cases): clean up test cases — remove ai-security-evolution scenario, fix issues 2026-06-04 06:13:38 +00:00
README.md chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00

核心集成测试 Cases

docs/cases/ 只保留当前项目主线需要长期维护的手动集成用例,不再承载旧的多 Agent / ARIS / 外部桥接历史 case。

当前入口

配套文档

使用建议

推荐顺序:

  1. 先看自动化规划,确认当前能力树与测试落点
  2. 再按手动 Case 执行设置页与任务线程验证
  3. 执行后把证据记录回具体测试单或验收报告

维护边界

  • 这里不再新增历史回溯型 postmortem 或旧架构演示 case
  • 与当前主线不匹配的多 Agent / ARIS / 外部 CLI bridge 案例已移除
  • 如果新增长期手动用例,必须挂到当前“设置页配置”或“任务线程”能力树下