Probe Planner

loom-sprint-scaffoldsourcetypescript
Path: loom-sprint-scaffold/loom/src/dispatcher/core/probe-planner.tsRelative: loom/src/dispatcher/core/probe-planner.tsSubproject: loom-sprint-scaffoldCategory: other
Lines: 129Bytes: 4,290Imports: 6Exports: 2

Content Preview

  1. /**
  2. * H2.5 — Probe Planner.
  3. *
  4. * For stages with variety_class === "api_integration" AND no management-scope
  5. * behavior model in memory, prepend a read-only probe sub-stage:
  6. * - tools restricted to recoverable-only
  7. * - tiny budget
  8. * - done_criteria = one http_status predicate
  9. *
  10. * After probe execution, the I/O hypothesis is written as a MemoryRecord
  11. * with scope="management" via injected MemoryWriter (validated against schema).
  12. */
  13. import type { StageSpec, MemoryRecord, Predicate, Allo