Types

loom-sprint-scaffoldsourcetypescript
Path: loom-sprint-scaffold/loom/src/orchestrator/core/types.tsRelative: loom/src/orchestrator/core/types.tsSubproject: loom-sprint-scaffoldCategory: other
Lines: 101Bytes: 3,889Imports: 2Exports: 11

Content Preview

  1. /**
  2. * Injectable interfaces for LOOM Loop 1 orchestration core.
  3. * Every dependency is an interface so tests can inject fakes.
  4. * DO shell passes real DO storage / real clock / real embedder.
  5. */
  6. import type { GoalState, StageSpec, GoalId, StageId } from "../../types/contracts";
  7. import type { ModelCaller } from "../../types/execution";
  8. // ── Storage ────────────────────────────────────────────────────────────────
  9. export interface KVStore {
  10. get<T = unknown>(key: string): Promise<T | undefin