Repository navigation
Description
Mini has no plans, no metering, no per-learner keys, no e-mail and no account deletion. These still talk as if it had. The first two are visible to people using it.
Visible on screen:
- The Generate dialog's cost estimate is in Canadian dollars "like its plans", for a self-hoster paying a provider in US dollars:
src/routes/courses/generate.rs:60-68(CAD_CENTS_PER_USD,to_cad),:121,data-cad-cents;static/gen-estimate.js:23-24;courses.js.estimate_cost: "roughly CA${cost}"in six languages;docs/features.md:169-174. Show US dollars, the unit the price table is in. - "Your own key" wording in
i18n/en.yaml:502,:1706,:1854,:2272(and the other five languages). Keys are the server's, set by the owner on Manage Users. docs/api.md:6anddocs/connect-an-assistant.md:7mention an "AI allowance".docs/faq.md:89anddocs/self-hosting.md:743describe deleting an account, which no screen or command does.
In code:
- Account deletion: the three
drop_usermethods,users.delete_at,.profile-deleteCSS, andfutures-coreinCargo.tomlkept "for exports.rs", which does not exist. - Compatibility with databases mini never had: refusing one with
usernameorgoogle_subcolumns (src/db.rs:54-62,:73-75,:325-327, about 15 lines and a test). - Fallbacks for rows "from before" a parent change:
src/earnings.rs:312-345backfill(about 35 lines; check first that nothing writes history before the first ledger load),src/activity.rs:111-113,src/ai.rs:425,430,src/ai/queue.rs:364,src/ai/prompt.rs:65. Trace each before removing. src/ai/error.rsfailure_kind_from_text: needed only for failed courses from before 0.3.0, and failed courses are purged after 30 days. It can go now.scripts/package-release.sh:48andscripts/release-qa/package-smoke.sh:62handlefact-check-ok.txt, which does not exist.
Decision needed: 18 #[serde(alias)] names in src/content.rs:355-641 (verb, tense, es, en, level, category, journey, dmode, …) "so existing files keep loading". No shipped course uses one, but docs/course-format.md:777 documents them, so someone's own course file could. Keep until 1.0, or remove and say so.
Docs that point at things that are gone: docs/architecture.md:552 (deploy/aws), :559 and src/jobs/retention.rs:15 (TODO.md), :564 (a warning no code prints); docs/testing.md:896 (static/modal.js, which is scripts/core-src/modal.js).
Names from the parent, for a decision and not for this clean-up: the package and binary spanish-learning in Cargo.toml, the default database learn.db, window.LearnSpeech.
From the code review of 24 November 2026. Line numbers are as of 0.5.0 (2547b36).
Activity