mirror of
https://github.com/hanzoai/reward.git
synced 2026-11-17 11:54:10 +00:00
Seed never touched an existing program, so rules, badges and levels added
to the seed never reached a store seeded by v0.1.4. The seed now carries a
seedVersion (1) and a program a SeedVersion (engine-only, ignored in admin
input; 0 for one the first seed made). On every mount, a program below the
embedded version is topped up once: seed rules and badges whose ids are
absent are appended as seeded, existing ones untouched; levels are replaced
only when still the first seed's five-level table; upline is set only when
empty. Version rises, SeedVersion advances, one program.seeded trail record
names the counts. Seed returns Seeded{Created, Rules, Badges, Levels,
Upline} and Mount logs them.
Claude-Session: https://claude.ai/code/session_015XYKLnBbrbajqj1GpRydF8