Skip to content

feat(seed): flobyte.rake — scoped aistack catalog seeder - #5

Merged
rrader26 merged 2 commits into
mainfrom
feat/flobyte-catalog-seeder
Jun 16, 2026
Merged

feat(seed): flobyte.rake — scoped aistack catalog seeder#5
rrader26 merged 2 commits into
mainfrom
feat/flobyte-catalog-seeder

Conversation

@rrader26

Copy link
Copy Markdown

Idempotent per-org seeder (mirrors thinkfleet_memory.rake, module-scoped to avoid constant collisions). Seeds the focused Flobyte catalog: Flows/KB/Forms/Functions features, active_flow metric, 8 plans incl. aistack-whitelabel ($2k base + 200 active flows then $5/flow). Run: bin/rails 'flobyte:seed[<org_id>]'. 🤖 Generated with Claude Code

rrader2890 and others added 2 commits June 15, 2026 06:40
…rms/Functions + white-label)

Idempotent per-org seeder mirroring thinkfleet_memory.rake. Seeds the focused
Flobyte catalog: 8 features, active_flow metric, and 8 plans (Starter→Enterprise,
yearly variants, Enterprise-Comp, and aistack-whitelabel = $2k base + 200 active
flows then $5/flow for white-label/SDK resellers like Whisp).
…est plan

Onboards white-label/SDK customers with no login: provision a Stripe-linked
customer under the `flobyte` billing entity and email a signed MSA acceptance
link. On accept + card save, the Stripe `setup_intent.succeeded` webhook creates
the subscription, so the first pay-in-advance invoice bills against a card on
file and every renewal auto-charges off-session.

- config/white_label/{msa,terms}_v1.md — versioned legal docs (DRAFT, pending counsel)
- white_label_agreements table + model (signature audit trail: name/title/ip/ua/version)
- WhiteLabelController — token-authenticated hosted accept page (no login)
- WhiteLabel::ActivateService — hooked into setup_intent_succeeded_service
- flobyte.rake — provision_whitelabel task; aistack-whitelabel + aistack-whitelabel-test ($1) plans

NOTE: run `bin/rails db:migrate` in a DB-enabled env to regenerate db/structure.sql
before merge (migrations-test CI gate). Does not affect runtime — deploy migrate
creates the table regardless.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rrader26
rrader26 merged commit 87fa420 into main Jun 16, 2026
0 of 12 checks passed
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.

2 participants