docs(oss): record owner decisions as ADRs and the starting baseline
ADR-0001..0006 capture the scope decisions: no monetization, memory through a contract backed by local mem0 (knowledge graph deferred), team mode postponed, cost tracking open and self-learning out, whatsapp-web.js for WhatsApp, opt-in analytics. baseline.md records build, typecheck, lint and unit test results on macOS before scope work starts.
This commit is contained in:
31
docs/oss/adr/0001-no-monetization.md
Normal file
31
docs/oss/adr/0001-no-monetization.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# ADR-0001: The community edition has no monetization
|
||||
|
||||
- Status: Accepted
|
||||
- Date: 2026-10-14
|
||||
- Source: Waggle OSS Agreed Scope Annex
|
||||
|
||||
## Context
|
||||
|
||||
The commercial product sells tiers (Trial, Solo, Teams, Enterprise) through Stripe. The
|
||||
server gates routes with `requireTier`, caps sessions per tier and blocks some embedding
|
||||
providers; the web UI keeps its own copy of the tier model and shows plan cards, trial
|
||||
banners, upgrade modals and KVARK and Team calls to action.
|
||||
|
||||
## Decision
|
||||
|
||||
The community edition is free and has no monetization. We remove the tier model, trial
|
||||
logic, the Stripe integration, license checks, KVARK tools and nudges, and upgrade or Team
|
||||
calls to action. Everything a tier used to gate becomes available. The per-tier session cap
|
||||
becomes a fixed constant.
|
||||
|
||||
## Consequences
|
||||
|
||||
- P0.1 removes `packages/shared/src/tiers.ts`, the `assert-tier` middleware and the routes
|
||||
that call `requireTier`, `/api/tier` and `/api/tier/start-trial`, and the trial auto-start
|
||||
after onboarding.
|
||||
- P1.1 removes `packages/server/src/stripe/` and `packages/server/src/kvark/`; P1.4 removes
|
||||
`packages/agent/src/kvark-tools.ts`; P1.3a removes the billing UI.
|
||||
- On startup the sidecar drops the `tier`, `trialStartedAt` and `stripe_customer_id` keys from
|
||||
`config.json`.
|
||||
- UserTier (UI complexity), ModelTier, persona tiers, CLI levels and memory health levels are
|
||||
unrelated to billing and stay.
|
||||
Reference in New Issue
Block a user