trainlog/docs
2026-09-22 18:45:49 +02:00
..
design docs(sync): freeze bluetooth transport v1 2026-09-22 16:53:25 +02:00
domain feat(trainlog): complete app shell and exercise merge 2026-09-11 07:21:54 +02:00
releases release: prepare v0.1.4 2026-09-22 18:28:12 +02:00
reviews fix(web): align sleep agenda and isolate active nights 2026-09-21 17:34:14 +02:00
android.md fix(programs): recover historical program provenance 2026-09-21 22:27:56 +02:00
architecture.md docs: document 0.1.4 analysis foundation 2026-09-20 20:35:16 +02:00
coding_style.md docs(style): enforce changed-file readability gate 2026-09-18 16:18:40 +02:00
current_state.md chore: open 0.1.5 development 2026-09-22 18:45:49 +02:00
database.md feat(sleep): add daily draft publication lifecycle 2026-09-21 07:30:55 +02:00
exchange_format.md Add durable Web preparation withdrawal 2026-09-18 15:05:51 +02:00
exercise_data_model.md feat(trainlog): complete stats knowledge and sync hardening 2026-09-13 20:56:16 +02:00
program_format_v1.md feat(programs): add deletion and Android projection 2026-09-18 19:17:34 +02:00
README.md feat(web): add exercise catalog administration 2026-09-20 12:11:45 +02:00
roadmap.md chore: open 0.1.5 development 2026-09-22 18:45:49 +02:00
sync_exchange.md release: prepare v0.1.4 2026-09-22 18:28:12 +02:00
sync_rollout_readiness.md docs(sync): reconcile rollout readiness 2026-09-20 14:37:07 +02:00
tests.md release: prepare v0.1.4 2026-09-22 18:28:12 +02:00
training_feedback.md feat(trainlog): complete stats knowledge and sync hardening 2026-09-13 20:56:16 +02:00
tui.md refactor(core): extract dashboard read model 2026-09-16 08:26:48 +02:00
web_exercises.md feat(web): add exercise catalog administration 2026-09-20 12:11:45 +02:00
web_sessions.md feat(sync): add USB and Drive Android synchronization 2026-09-20 08:03:25 +02:00

Trainlog documentation

This file is the canonical documentation index. Canonical documents describe the current contract or state; reviews/ and CHANGELOG.md retain historical evidence and chronology.

Start here

  • Current state owns present schemas, capabilities, validation, and active limitations.
  • Architecture owns component, process, storage, transport, and responsibility boundaries.
  • Roadmap owns the current cursor and future work.

Interfaces

  • Web Exercises V1 owns desktop catalogue administration, optimistic editing, historical preservation, causal retirement, and its existing-artifact synchronization boundary.

  • Web Sessions V1 owns the implemented preparation, resume, history and Android-delivery workflow.

  • Program format V1 owns the strict desktop planning import contract and program lifecycle used by the Sessions Programs subtab.

  • Android owns field-companion capture, local persistence, glanceable summaries, permissions, and Android interaction rules.

  • Desktop TUI owns Notcurses navigation, correction, detailed consultation, analytics, graphs, and long-term follow-up behavior.

  • Architecture owns the implemented and future boundaries of the local Web sibling, including Core/API boundaries, loopback networking, shell, Dashboard, layout, build/runtime separation, and security invariants.

Data model

  • Exercise data model owns exercise profiles, occurrence identity, planned-versus-actual work, load, and MAX semantics.
  • Database owns desktop SQLite tables, constraints, transactions, and migrations.
  • Training feedback owns immediate feedback, immutable revisions, and J+1/session follow-up semantics.
  • Domain documentation owns cited anatomy, biomechanics, equipment interpretation, training knowledge, and session-generation science.

Synchronization and exchange

  • Synchronization exchange owns the active MTP workflow, artifact direction, replay, publication, receipts, and daemon behavior.
  • Complete synchronization gap contract freezes the future lifecycle, causal deletion, generation, consumption, acknowledgement and Web-service requirements. It is explicitly not an implemented wire format.
  • Exchange formats owns frozen Trainlog JSON V1 and separately versioned contracts, including AI exchange definitions.

Analytics

  • Desktop TUI owns visible statistics, MAX, body analytics, calendar buckets, and graph behavior.
  • Current state records which analytics are implemented.
  • Exercise data model owns the distinctions between measured MAX, performed work, plans, and estimates.

Development

Design

  • Design records retain proposals and design-gate evidence. The synchronization gap contract is normative for future implementation; design records do not override current_state.md for implemented status.

Reviews and history

  • Review records retain historical audits, incidents, checkpoints, and validation evidence. Their status and paths are historical.
  • Programs presentation / Android delete evidence records the implemented, not-deployed validation checkpoint and real-browser screenshot evidence.
  • Changelog owns chronological change history.
  • Release notes retain reusable, tag-scoped English source text for public GitHub and Forgejo releases.

Ownership rule

Do not copy long normative explanations between documents. The repository README.md is the entry point, this file is the index, current_state.md is the snapshot, and roadmap.md is future-oriented.