oclaw/docs/OCLAW_COMPAT_REMOVAL_CHECKLIST.md
oliver beb52006d8 refactor: move bundled skills tree to repo root skills/
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills
  with fallback to legacy runtime/skills for unmigrated trees.
- session-bootstrap hook handler resolves repo root via PROJECT_ROOT.
- Update architecture/migration docs and in-tree skill references.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 11:35:57 +08:00

1.5 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 now loads from oclaw/runtime/workspaces/*.
  • Skill root priority still effective:
    • AIA_SKILLS_ROOT
    • oclaw/skills(仓库根)
    • oclaw/runtime/skills(旧路径回退)

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.