Phase 1: Global CAS Migration #30

Closed
opened 2026-05-07 10:37:32 +00:00 by xiaoju · 0 comments
Owner

Move CAS from thread-local <threadId>.cas/ to global ~/.uncaged/workflow/cas/.

  • Add getGlobalCasDir() to storage-root.ts
  • Update cmd-cas.ts to use global dir
  • thread rm no longer deletes .cas/
  • Rename createThreadCascreateCasStore
  • Update tests

Breaking change: old thread-local CAS data abandoned.

Refs #25
Plan: docs/plans/2025-05-07-workflow-as-agent.md Phase 1

Move CAS from thread-local `<threadId>.cas/` to global `~/.uncaged/workflow/cas/`. - Add `getGlobalCasDir()` to storage-root.ts - Update `cmd-cas.ts` to use global dir - `thread rm` no longer deletes `.cas/` - Rename `createThreadCas` → `createCasStore` - Update tests Breaking change: old thread-local CAS data abandoned. Refs #25 Plan: `docs/plans/2025-05-07-workflow-as-agent.md` Phase 1
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#30