refactor: migrate registry from YAML to ocas variable (Phase 4a) #16

Merged
xiaomo merged 1 commits from refactor/registry-to-ocas-variable into main 2026-06-02 14:06:52 +00:00

1 Commits

Author SHA1 Message Date
xingyue 8052473728 refactor: migrate workflow registry from YAML to ocas variable store (Phase 4a)
CI / check (pull_request) Failing after 8m40s
- UwfStore gains varStore: VariableStore (SQLite at ~/.ocas/variables.db)
- loadWorkflowRegistry reads from @uwf/registry/* variables
- saveWorkflowRegistry writes individual @uwf/registry/<name> variables
- Auto-migration: workflows.yaml → variables on first run, renames to .migrated
- Updated callers in workflow.ts and thread.ts
- Tests updated and passing

Ref #11
2026-06-02 21:58:58 +08:00