Stand up the Tanemaki monorepo and the first end-to-end vertical slice of Block 1 (offline, encrypted inventory): add a seed → see it in a categorized, searchable list → it persists → reopen and it's still there. Architecture (state management like G1nkgo, adapted to Tane's reality): - flutter_bloc (Cubit-first), but the encrypted Drift DB is the single source of truth; cubits stream from repositories (no hydrated_bloc/Hive, which would write plaintext at rest). - get_it composition root; go_router; slang i18n (ES/EN, Weblate-friendly JSON). Workspace & core: - pub workspace: packages/commons_core (pure Dart) + apps/app_seeds (Flutter). - commons_core primitives: UUIDv7 IdGen, Hybrid Logical Clock, Quantity value type (+ plant-aware QuantityKind), IdentityService root-seed stub. Data & security: - Drift schemaVersion=1 with all 10 Block-1 tables + common CRDT columns (HLC updated_at, last_author, tombstones); Movement append-only. - SQLCipher via an injectable executor that refuses to open a plaintext DB; DB key + root seed in the OS keystore (separate secrets). - Exported drift_schema_v1.json + migration scaffold. Tests (near-TDD; nothing merges without tests): - commons_core units (24), Drift migration test, "no plaintext at rest" security guard (runs where SQLCipher is present, skips otherwise), repository, widget, full quick-add flow, file-reopen persistence, and a no-hardcoded-strings i18n guard. GitLab CI: format + analyze + test + coverage. Follow-on Block-1 stories (item detail/edit, species catalog, germination UI) and all of Block 2 remain out of scope. |
||
|---|---|---|
| apps/app_seeds | ||
| docs | ||
| packages/commons_core | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| analysis_options.yaml | ||
| CLAUDE.md | ||
| LICENSE | ||
| PLAN.md | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
| seedks.ttf | ||
| VISION.md | ||
Tanemaki 種まき
A local-first, decentralized app for managing and sharing traditional seeds and seedlings.
Tanemaki (種まき, "to sow / scatter seeds" in Japanese; short name Tane, 種 "seed") helps people and collectives keep a friendly inventory of their seed bank, decide what they offer, and share it locally — without a central intermediary that could control, censor, or be fined for it. The goal is both practical and political: to support traditional seed varieties and push back against the seed monopoly.
The name honors the old Japanese mutual-aid traditions around rice — yui (shared community labor) and tanomoshi (reciprocity funds) — that inspired the paper Plantare, the "community currency for seed exchange" (BAH-Semillero, 2009, CC-BY-SA). Tanemaki is the digital Plantare.
- Web: https://tanemaki.app
- Package id:
org.comunes.tane
Status
Early design. See PLAN.md for the full analysis and roadmap (in Spanish). The valuable prior work lives in docs/mockups/.
Principles
- Local-first. Works fully offline, no account, no central server. Stays useful even if no one maintains it.
- Decentralized. Identity is a single key you own (Duniter/Ğ1-style, with a derived subkey for transport); sharing rides on open protocols (Nostr), with optional interoperability with the Ğ1/Duniter web of trust and currency. Never a central marketplace.
- Free/libre. Copyleft software, open data formats, multilingual from day one.
- Layered. Inventory -> Offer -> Local sharing -> Web of trust. Each layer is useful on its own.
Conventions
English is the project language for all code. Identifiers, class/field/column names, code comments, commit messages, branch names, and technical documents (data model, schemas) are written in English, without exception. This keeps the project contributable by anyone, anywhere.
- User-facing strings are never hardcoded — they go through i18n (the app itself is multilingual by design).
- Planning and discussion documents may be written in Spanish (e.g.
PLAN.md,docs/design/data-notes.md); technical specs that feed code are in English (e.g.docs/design/data-model.md). - Database schema changes ship as versioned Drift migrations (
drift_schemas/), one new version per change, never editing a released version. Seedocs/design/data-model.md§5.
License
Software: AGPL-3.0 (GPLv3 strengthened with the network clause; compatible with GPLv3 and with Duniter/Ğ1nkgo, which we reuse). Docs & assets under CC-BY-SA where noted.