Data Pipeline

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/e2e/goals/data_pipeline.tsRelative: loom/tests/e2e/goals/data_pipeline.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 138Bytes: 4,961Imports: 4Exports: 2has tests

Content Preview

  1. /**
  2. * Golden goal: data_pipeline — destructive step requires approval token (mint → verify path).
  3. *
  4. * Stages:
  5. * 1. Extract: read source data files → DONE
  6. * 2. Transform: run data transformation script → DONE
  7. * 3. Load: write output to destination (destructive — requires approval token) → DONE
  8. * The stage has hmacSecret with a pre-computed approval token in the envelope.
  9. *
  10. * Total model calls ≥ 200.
  11. */
  12. import { canonicalJSON } from "../../../src/lib/ids";
  13. import type { GoalS