Skip to content

feat: deterministic demo seed for live presentations#136

Merged
EricGrill merged 1 commit intomainfrom
justobot/seed-demo-data
Apr 6, 2026
Merged

feat: deterministic demo seed for live presentations#136
EricGrill merged 1 commit intomainfrom
justobot/seed-demo-data

Conversation

@EricGrill
Copy link
Copy Markdown
Contributor

Summary

  • Adds seed-demo.js with fixed UUIDs so provenance URLs are predictable and QR codes can be pre-printed
  • 6 workers, 3 shifts (1 open for today's live demo), 2 lots (full + partial custody chain)
  • --reset flag for re-seeding; idempotent by default
  • New npm run seed:demo script

Demo lot IDs (always the same)

  • Lot 1 (full chain): a0000000-cafe-4000-a000-000000000001
  • Lot 2 (partial): a0000000-cafe-4000-a000-000000000002

Test plan

  • npm run seed:demo seeds successfully
  • Re-running is idempotent (exits cleanly)
  • --reset drops and re-seeds
  • All 105 existing tests pass

Closes #117

🤖 Generated with Claude Code

Adds seed-demo.js with fixed UUIDs so provenance URLs are predictable
and QR codes can be pre-printed. Includes 6 workers, 3 shifts (1 open
for today), 2 lots (full + partial custody chain), and a --reset flag.

Closes #117

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@EricGrill EricGrill merged commit bfa8452 into main Apr 6, 2026
4 of 6 checks passed
@EricGrill EricGrill deleted the justobot/seed-demo-data branch April 6, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seed data for live demo

1 participant