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
@@ -50,7 +50,7 @@ export function markThreadSuspended(
};
}
/** Serialize for threads.yaml — compact string when not suspended. */
/** Serialize for variable store — compact string when not suspended. */
export function serializeThreadIndexEntry(
entry: ThreadIndexEntry,
): string | Record<string, string> {
+2 -2
View File
@@ -113,7 +113,7 @@ export type StepOutput = {
background: boolean | null;
};
/** Active thread entry in ~/.uwf/threads.yaml */
/** Active thread entry in @uwf/thread/* variable store */
export type ThreadIndexEntry = {
head: CasRef;
suspendedRole: string | null;
@@ -210,5 +210,5 @@ export type WorkflowConfig = {
modelOverrides: Record<Scenario, ModelAlias> | null;
};
/** ~/.uwf/threads.yaml */
/** @uwf/thread/* variable store index */
export type ThreadsIndex = Record<ThreadId, ThreadIndexEntry>;