docs: update stale comments and agent prompts #23

Merged
xiaomo merged 1 commits from docs/update-stale-references into main 2026-06-02 16:00:03 +00:00
Owner

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 updated
  • protocol/thread-index.ts: serialization comment updated
  • util-agent/context.ts: buildContext JSDoc updated

Only migration code in store.ts retains old file references (needed to read legacy files during auto-migration).

4 files, +12 -10. All tests pass.

## 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 updated - **`protocol/thread-index.ts`**: serialization comment updated - **`util-agent/context.ts`**: `buildContext` JSDoc updated Only migration code in `store.ts` retains old file references (needed to read legacy files during auto-migration). 4 files, +12 -10. All tests pass.
xingyue added 1 commit 2026-06-02 15:59:24 +00:00
- architecture-reference.ts: threads.yaml/history.jsonl/registry.yaml → variable store, storage layout updated (~/.ocas/ + ~/.uwf/)
- protocol types.ts: JSDoc comments updated
- thread-index.ts: serialization comment updated
- util-agent context.ts: buildContext JSDoc updated

Only migration code in store.ts retains old file references (needed to read legacy files).
xiaomo approved these changes 2026-06-02 16:00:02 +00:00
xiaomo left a comment
Owner

LGTM 残留的旧存储格式引用清理完毕,store.ts 迁移代码保留旧文件名是对的。

LGTM ✅ 残留的旧存储格式引用清理完毕,store.ts 迁移代码保留旧文件名是对的。
xiaomo merged commit 74750f0275 into main 2026-06-02 16:00:03 +00:00
xiaomo deleted branch docs/update-stale-references 2026-06-02 16:00:03 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#23