refactor: remove uwf cas subcommand, use ocas CLI #15
Reference in New Issue
Block a user
Delete Branch "refactor/remove-uwf-cas"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Remove
uwf cassubcommand entirely. CAS operations now useocasCLI.Why
Phase 3 of United Workforce migration (issue #10).
uwf casduplicatesocasfunctionality.Changes
uwf cascommand group from CLI (cli.ts)commands/cas.ts(confirmed: only used by CLI + tests, not internal modules)cas.test.ts+cas-exit-code.test.ts.workflows/andexamples/:uwf cas get/has/refs/walk→ocas get/has/refs/walkscripts/e2e-walkthrough.shstore-global-cas.test.ts(internal store tests)Migration
uwf cas get <hash>→ocas get <hash>uwf cas has <hash>→ocas has <hash>uwf cas refs <hash>→ocas refs <hash>uwf cas walk <hash>→ocas walk <hash>Verification
bun run check✅bun run test✅ (400 CLI tests)uwf casreferencesCloses #10
LGTM ✅
干净的删减:
commands/cas.ts+ 2 test files 删除,570 行代码移除uwf cas零残留(grep 确认)ocas命令cas put-text在 solve-issue planner procedure 中改为说明 pipeline 自动处理,不需要 agent 手动调用 — 这个简化很好