Chaos Scenarios

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/e2e/chaos-scenarios.tsRelative: loom/tests/e2e/chaos-scenarios.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 76Bytes: 2,999Imports: 7Exports: 1has tests

Content Preview

  1. /**
  2. * Shared chaos scenario runners used by both chaos.test.ts and
  3. * no-silent-failure.test.ts. Lives outside *.test.ts so importing it
  4. * never re-registers tests.
  5. */
  6. import { makeToolUseResponse, makeTextResponse, simpleToolExecutor, createScriptedModelCaller } from "../fixtures/fakes";
  7. import { runStage } from "../../src/execution/harness";
  8. import { EnvelopeCompiler } from "../../src/dispatcher/core/envelope-compiler";
  9. import type { HarnessDeps } from "../../src/types/execution";
  10. import t