The thread-scoped state store the goal record lives in — structurally core's
ResolvedGoalStore (getState/setState/deleteState over a (threadId, type)
pair), which core does not export through a mapped subpath, so it is mirrored.
A host injects createSignalStorageDomains(binding).threadState (a
D1ThreadStateStorage) — the SAME domain the durable goal step resolves through
resolveGoalStore, so a record this surface writes is what the loop reads.
The thread-scoped state store the goal record lives in — structurally core's ResolvedGoalStore (getState/setState/deleteState over a (threadId, type) pair), which core does not export through a mapped subpath, so it is mirrored. A host injects
createSignalStorageDomains(binding).threadState(a D1ThreadStateStorage) — the SAME domain the durable goal step resolves through resolveGoalStore, so a record this surface writes is what the loop reads.