oclaw/docs/OCLAW_COMPAT_REMOVAL_CHECKLIST.md
oliver ba3836f00f 初始化:独立 oclaw 仓库首提交
- 在 oclaw/ 下重新初始化 Git 仓库
- 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等)
- 提交当前工程代码与配置

Made-with: Cursor
2026-04-24 22:31:22 +08:00

1.4 KiB

OCLAW Compat Layer Removal Checklist

Use this checklist to verify readiness and post-delete safety for oclaw/app_server/* compatibility-module removal.

Import graph checks

  • rg "src\.app_server\." has no runtime/code matches (tests excluded or updated).
  • CLI/runtime startup paths import from oclaw.interfaces.* only.
  • WebSocket entrypoint imports resolve through oclaw.interfaces.ws.*.

Behavior parity checks

  • HTTP gateway smoke tests pass (/health, /inbound, /gateway/method, /ws handshake).
  • WS request/response contract remains unchanged for:
    • connect
    • chat.send/chat.history/chat.abort
    • sessions.*
    • agent.run/agent.wait
  • Plugin bootstrap still loads expected extension set.

Prompt/skill checks

  • Runtime role context still loads from oclaw/agent/*.
  • Skill root priority still effective:
    • AIA_SKILLS_ROOT
    • oclaw/skills
    • skills/ fallback

Extension policy checks

  • Primary extension source remains oclaw/extensions/.
  • Legacy root extensions/ has been fully merged and removed.
  • Duplicate plugin-id diagnostics still emitted as expected.

Final cleanup

  • Delete compatibility files under oclaw/app_server/* only after all checks are green.
  • Remove stale docs/comments referring to old primary entrypoints.
  • Re-run lint and targeted compile checks after deletion.