76 lines
3.2 KiB
Markdown
76 lines
3.2 KiB
Markdown
# 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](current_state.md) owns present schemas, capabilities,
|
|
validation, and active limitations.
|
|
- [Architecture](architecture.md) owns component, process, storage, transport,
|
|
and responsibility boundaries.
|
|
- [Roadmap](roadmap.md) owns the current cursor and future work.
|
|
|
|
## Interfaces
|
|
|
|
- [Android](android.md) owns field-companion capture, local persistence,
|
|
glanceable summaries, permissions, and Android interaction rules.
|
|
- [Desktop TUI](tui.md) owns Notcurses navigation, correction, detailed
|
|
consultation, analytics, graphs, and long-term follow-up behavior.
|
|
- [Architecture](architecture.md) owns the contract for the planned local Web
|
|
sibling, including Core/API boundaries, loopback networking, shell,
|
|
Dashboard, layout, build/runtime separation, and security invariants.
|
|
|
|
## Data model
|
|
|
|
- [Exercise data model](exercise_data_model.md) owns exercise profiles,
|
|
occurrence identity, planned-versus-actual work, load, and MAX semantics.
|
|
- [Database](database.md) owns desktop SQLite tables, constraints, transactions,
|
|
and migrations.
|
|
- [Training feedback](training_feedback.md) owns immediate feedback, immutable
|
|
revisions, and J+1/session follow-up semantics.
|
|
- [Domain documentation](domain/) owns cited anatomy, biomechanics, equipment
|
|
interpretation, training knowledge, and session-generation science.
|
|
|
|
## Synchronization and exchange
|
|
|
|
- [Synchronization exchange](sync_exchange.md) owns the active MTP workflow,
|
|
artifact direction, replay, publication, receipts, and daemon behavior.
|
|
- [Exchange formats](exchange_format.md) owns frozen Trainlog JSON V1 and
|
|
separately versioned contracts, including AI exchange definitions.
|
|
|
|
## Analytics
|
|
|
|
- [Desktop TUI](tui.md) owns visible statistics, MAX, body analytics, calendar
|
|
buckets, and graph behavior.
|
|
- [Current state](current_state.md) records which analytics are implemented.
|
|
- [Exercise data model](exercise_data_model.md) owns the distinctions between
|
|
measured MAX, performed work, plans, and estimates.
|
|
|
|
## Development
|
|
|
|
- [Tests and validation](tests.md) owns durable build, test, sanitizer,
|
|
contract, and hardware-validation commands.
|
|
- [Coding style](coding_style.md) owns C17/Kotlin style and comment rules.
|
|
- [Development contract](../AGENTS.md) owns frozen boundaries, invariants,
|
|
validation policy, and safe device-testing policy.
|
|
- [Android build notes](../android/README.md) are the Android setup entry point.
|
|
- [Format material](../format/README.md) indexes frozen schema assets.
|
|
|
|
## Design
|
|
|
|
- [Design records](design/) retain proposals and design-gate evidence. They are
|
|
not the authority for current implementation status.
|
|
|
|
## Reviews and history
|
|
|
|
- [Review records](reviews/) retain historical audits, incidents, checkpoints,
|
|
and validation evidence. Their status and paths are historical.
|
|
- [Changelog](../CHANGELOG.md) owns chronological change history.
|
|
|
|
## 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.
|