docs: update stale comments and agent prompts #23
Reference in New Issue
Block a user
Delete Branch "docs/update-stale-references"
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
Update JSDoc comments and embedded architecture prompt that still referenced old storage formats.
Changes
architecture-reference.ts(agent prompt):threads.yaml/history.jsonl/registry.yaml→@uwf/thread/*/@uwf/history/*/@uwf/registry/*variables. Storage layout updated: CAS in~/.ocas/, config in~/.uwf/protocol/types.ts: 2 JSDoc comments updatedprotocol/thread-index.ts: serialization comment updatedutil-agent/context.ts:buildContextJSDoc updatedOnly migration code in
store.tsretains old file references (needed to read legacy files during auto-migration).4 files, +12 -10. All tests pass.
LGTM ✅ 残留的旧存储格式引用清理完毕,store.ts 迁移代码保留旧文件名是对的。