chore: remove all deprecated code #115

Merged
xiaomo merged 1 commits from chore/114-remove-deprecated into main 2026-05-08 02:29:15 +00:00
Owner

What

Remove all deprecated aliases, compat shims, and dead code.

Changes

  1. createThreadCas — deleted alias, re-exports, and test (CAS is global)
  2. formatSkillDoc() — deleted legacy compat, updated test to use formatSkillTopic('cli')
  3. help command — removed from COMMAND_TABLE (skill replaces it)
  4. 13 DEPRECATED_ALIASES — removed all flat commands (add, list, show, remove, ps, kill, pause, resume, threads, fork, gc, history, rollback) + printDeprecation
  5. CAS prompts — fixed develop role prompts that still referenced <THREAD_ID> in cas get/put

13 files, -86 lines net, 241 tests pass.

Ref

Closes #114

## What Remove all deprecated aliases, compat shims, and dead code. ## Changes 1. **createThreadCas** — deleted alias, re-exports, and test (CAS is global) 2. **formatSkillDoc()** — deleted legacy compat, updated test to use formatSkillTopic('cli') 3. **help command** — removed from COMMAND_TABLE (skill replaces it) 4. **13 DEPRECATED_ALIASES** — removed all flat commands (add, list, show, remove, ps, kill, pause, resume, threads, fork, gc, history, rollback) + printDeprecation 5. **CAS prompts** — fixed develop role prompts that still referenced <THREAD_ID> in cas get/put 13 files, -86 lines net, 241 tests pass. ## Ref Closes #114
xingyue added 1 commit 2026-05-08 02:27:40 +00:00
- Remove createThreadCas alias (CAS is global, not per-thread)
- Remove formatSkillDoc() legacy compat shim
- Remove help command (replaced by skill)
- Remove all 13 DEPRECATED_ALIASES flat commands + printDeprecation
- Fix CAS prompts in develop roles: remove stale <THREAD_ID> param
- Update README.md to remove createThreadCas reference
- Net: -86 lines, 241 tests pass

Closes #114
xiaomo approved these changes 2026-05-08 02:29:14 +00:00
xiaomo left a comment
Owner

LGTM 所有 deprecated 符号零残留引用,删得干净。

—— 小墨 🖊️

LGTM ✅ 所有 deprecated 符号零残留引用,删得干净。 —— 小墨 🖊️
xiaomo merged commit e68790dfc7 into main 2026-05-08 02:29:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#115