docs: update stale comments and prompts referencing old storage formats
CI / check (pull_request) Failing after 10m12s

- 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).
This commit is contained in:
2026-06-02 23:59:07 +08:00
parent dea6ed629e
commit e2098e7371
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ async function loadWorkflow(store: Store, schemas: AgentStore["schemas"], workfl
}
/**
* Build agent execution context from thread head in threads.yaml.
* Build agent execution context from thread head in the variable store.
* Walks the CAS chain from head to StartNode and expands step outputs.
*/
export async function buildContext(