Skip to content

Requirements

Requirements are traced with OpenFastTrace (decision 0003).

Structure

File Content
features.md Features (feat)
todotxt.md Reading, writing, filtering and ordering tasks (req, dsn)
ui.md Screens, storage and settings (req, dsn)
sync.md Synchronization through git (req, dsn)
planning.md Time maps, barriers, planner, calendar.txt (req, dsn)
extensions.md Recurrence, top tasks, most important tasks, notes, scheduled tasks, board (req, dsn)
android.md Android application (req, dsn)
family.md Day of the members of a family, stars and ranking (req, dsn)

Chain: feat → req (what the user needs) → dsn (how it is built) → impl and utest tags in the source code.

A tag in the source code is a comment of the form [impl->dsn~<name>~<revision>] or [utest->dsn~<name>~<revision>].

Conventions

  • An item gains its Needs: line in the commit that adds the covering item. The trace is therefore green at every commit, and an item without Needs: is planned scope that is not yet worked on.
  • Item names are kebab-case and stable. A change of meaning increases the revision; all references are updated in the same commit.

Decisions in the trace

Each decision record in docs/decisions defines one item of the artifact type adr directly below its title.

  • A decision about the product declares Needs: dsn. The design items that follow from it list the decision under Covers:.
  • A decision about the project infrastructure declares Needs: impl. It is covered by a tag [impl->adr~<name>~<revision>] in the build script or workflow that implements it.

Running the trace

./gradlew traceRequirements

The report is written to build/reports/tracing.txt. The build fails on any tracing defect.