// runtime/subsystems/jobs/memory-job-store.ts
var MemoryJobStore = class {
  /** Runs keyed by `id` (single source of truth for status/scope/lineage). */
  runs = /* @__PURE__ */ new Map();
  /** Steps keyed by `job_run_id`; array order matches insertion order. */
  steps = /* @__PURE__ */ new Map();
  /** Job definitions keyed by `type` — memory mirror of the `job` table. */
  jobs = /* @__PURE__ */ new Map();
  /** Reset everything. Tests call this in `beforeEach`. */
  clear() {
    this.runs.clear();
    this.steps.clear();
    this.jobs.clear();
  }
};

export {
  MemoryJobStore
};
//# sourceMappingURL=chunk-SNQ3TOWP.js.map