Skip to content

Add th seed deterministic demo data loader #41

@snissn

Description

@snissn

Background

PoC demos need data quickly. Manually creating records via UI is slow and brittle.

Goal

Add first-class seed tooling for deterministic sample data loading.

Scope

  • New command: th seed <schemaOrBuildDir> --file <seed.json>.
  • Seed format supports per-collection create payloads.
  • Optional idempotency mode (skip records already present by unique keys).
  • Friendly summary output (created/skipped/failed counts).

Implementation Notes

  • Reuse generated ABI/manifest surface to avoid duplicating contract assumptions.
  • Keep seed format schema-driven and documented.

Acceptance Criteria

  • Can seed canonical job-board from a JSON file in one command.
  • Re-running with idempotency does not duplicate unique records.
  • Errors identify collection + record + reason.
  • Docs include seed file examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions