Arrows to move, Enter to openSee all results →

Standards / tracker@1

PublishedVersion 1.1.02026-11-29MITDeveloper reference

tracker@1 habits, mood, activities and journal entries you log by hand

One row of trackers is one thing a person tracks (a habit) with its target; one row of entries is one logged action: a tap on a check-in card, a dashremix log, an assistant logging what the person said, or a row of a habit-app export. skips are days the person excused on purpose. Habit Tracker reads it; Journal & Mood reads it for moods, activities and journal entries (1.1); goals and weight boards will (wave 2).

Tables103 requiredFields80no viewsVocabularies6shared word listsDashboards9read it
JSON Schema/spec/tracker/1.1.0/tracker@1.schema.jsonSQL tables (SQLite)/spec/tracker/1.1.0/schema.sqlREADME/spec/tracker/1.1.0/README.mdChangelog/spec/tracker/CHANGELOG.md

Check a database or a board against it: dashremix spec check. Start a new board on it: dashremix new <id> --schema tracker@1. Hash 6af3bbe08314d5c2…

Dashboards that read it

Tables and fields

Required tables must exist in every database that says it follows tracker@1; required fields must be filled. Columns a board adds start with x_.

metarequired table

Key/value facts about this database. Required: schema, schema_version, as_of, data_hash. Recommended (checked at warn): source_built_at (ISO 8601 UTC instant the importer wrote it), week_start (mon..sun, vocab weekdays: the first day of a week for weekly targets), forgive_per_week (whole number >= 0: misses per week that do not break a streak), entries_imported_at (the newest entry created_at folded in; information only).

FieldTypeRequiredMeaning
keyTEXTno
valueTEXTno

trackersrequired table

What the person tracks. Written from the person's own definition file (a habits.yaml), never from entries.

FieldTypeRequiredMeaning
tracker_idTEXTyesletters, digits, _ . - (up to 64; the id entries name), e.g. walk
nameTEXTyesdisplay name, e.g. Walk 30 minutes
kindTEXTtracker_kindsyescheck | count | duration | scale | amount (vocab tracker_kinds)
unitTEXTnocount/amount unit as the person says it (glasses, pages); duration trackers use seconds
targetREALnohow much counts as done in one target period: 1 for a daily check, 3 for 3 times a week, 8 glasses a day
target_periodTEXTtarget_periodsnoday | week | month (vocab target_periods); NULL = no target (logged only)
days_of_weekINTEGERnoday targets only: bit mask of the days it is expected, Mon=1 Tue=2 Wed=4 Thu=8 Fri=16 Sat=32 Sun=64 (31 = weekdays); NULL = every day
active_fromTEXTdatenofirst day it is expected (YYYY-MM-DD); NULL = from its first entry
archived_atTEXTdatenolast day it was tracked (YYYY-MM-DD) when the person stopped; NULL = active. Entries are kept
color_idxINTEGERnostable index into the chart palette tokens
groupTEXTnooptional grouping the person chose (Health, Mind, Home)
descriptionTEXTnowhy it matters to the person, in their words (used by coaching skills)
ordINTEGERnodisplay order (1 = first)
sourceTEXTnoconnector id that wrote the row: habits-yaml | loop-csv | streaks-csv
source_refTEXTnowhere in the source: data/habits.yaml:walk
imported_atTEXTinstantnoISO 8601 UTC instant of the import (left out of meta.data_hash)
roleTEXTtracker_rolesno1.1: what it is for (vocab tracker_roles): habit | mood | activity; NULL = habit
scale_minREALno1.1: scale trackers: the lowest point of the scale (1 on a 1 to 5 mood scale); NULL = not bounded
scale_maxREALno1.1: scale trackers: the highest point (5); higher is better. Set together with scale_min

tracker_targets

Optional: earlier targets, so history is judged against the target that applied then. A day uses the row with the latest from_date on or before it; days before every row use trackers.target.

FieldTypeRequiredMeaning
tracker_idTEXTyesthe tracker
from_dateTEXTdateyesfirst day this target applied (YYYY-MM-DD)
targetREALyesas trackers.target
target_periodTEXTtarget_periodsyesas trackers.target_period (vocab target_periods)
days_of_weekINTEGERnoas trackers.days_of_week
noteTEXTnowhy it changed, in the person's words

entriesrequired table

One logged action. Append-only: a correction is another entry (value -1 undoes a check).

FieldTypeRequiredMeaning
entry_idTEXTyesthe writer's id (16 hex, minted once per tap or dashremix log and kept on retry); imports: sha1 of source|tracker|date|n, first 16 hex
tracker_idTEXTyesthe tracker it is for (entries for unknown trackers are kept, not counted)
dateTEXTdateyesthe person's local calendar date it counts for (YYYY-MM-DD)
valueREALyes1 for a check (-1 undoes one); a count step; a scale, amount or duration (seconds) value
noteTEXTnoone line the person wrote with it
sourceTEXTentry_sourcesnoapp | chat | cli | csv | import (vocab entry_sources): app = the check-in card, chat = an assistant
created_atTEXTinstantnoISO 8601 UTC instant it was logged, with milliseconds (…T08:14:03.120Z)
source_refTEXTnowhere it came from: data/entries/2026-11/cli.jsonl, or file:line of an export
imported_atTEXTinstantnoISO 8601 UTC instant of the import (left out of meta.data_hash)

scale_labels

1.1, optional: the words for the points of a scale tracker (a mood app's own names: 5 = rad, 1 = awful). Boards show the label next to the number; a scale without labels shows the number only.

FieldTypeRequiredMeaning
tracker_idTEXTyesa scale tracker
valueREALyesa point of its scale, from scale_min to scale_max
labelTEXTyesthe word for it, as the person or their app names it (good, meh)

journal_entries

1.1, optional: journal entries (free text the person wrote, with a date). PRIVATE BY DEFAULT: boards never put body or title into a static export, a screenshot, a note, an insight or the catalog unless the person opts in. Entries in `entries` carry the numbers (a mood, an activity done); a journal entry carries words, linked to them only by date.

FieldTypeRequiredMeaning
journal_idTEXTyesthe source's own id when it has one (dayone:<uuid>), else first 16 hex of sha1(source|date|time|n)
dateTEXTdateyesthe person's local calendar date it was written for (YYYY-MM-DD), in the zone it was written in
created_atTEXTinstantnoISO 8601 UTC instant it was written, when the source gives one
tzTEXTnoIANA zone the date was taken in (Europe/London), when the source gives one or the board assumed one
titleTEXTnoa title, when the source has one (private text)
bodyTEXTnothe text as written, Markdown or plain (private text)
wordsINTEGERnowords in title and body (a count, safe to share)
tagsTEXTnoJSON array of the source's own tags (["travel"]), or NULL
sourceTEXTnoconnector id that wrote the row: dayone-json | dayone-text | daylio-csv | ...
source_refTEXTnowhere it came from: file:line, or file#uuid
imported_atTEXTinstantnoISO 8601 UTC instant of the import (left out of meta.data_hash)

skips

Days the person excused on purpose. A skipped day neither counts as done nor breaks a streak.

FieldTypeRequiredMeaning
skip_idTEXTyessha1 of tracker|date, first 16 hex (one skip per tracker and day)
tracker_idTEXTyesthe tracker
dateTEXTdateyesthe local date skipped (YYYY-MM-DD)
reasonTEXTnoin the person's words (ill, travelling)
sourceTEXTnohabits-yaml | loop-csv | streaks-csv
source_refTEXTnowhere it came from
imported_atTEXTinstantnoISO 8601 UTC instant of the import

data_issues

What the importer could not read or decided: rows skipped, unknown trackers, files it could not open.

FieldTypeRequiredMeaning
issue_idTEXTyesstable id
severityTEXTseveritiesyesinfo | warn | error (vocab severities)
kindTEXTyesrows_skipped | unknown_tracker | before_start | file | ...
titleTEXTyesone line
detailTEXTyeswhat and where (file:line), never the person's notes
source_refTEXTnofile, or file:line
handlingTEXTyeswhat the importer did about it

annotations

Notes on metrics and pages (platform table, as finance@2). Numbers only through {{metric:...}} placeholders.

FieldTypeRequiredMeaning
annotation_idTEXTyesstable id
targetTEXTyesmetric id or page id
kindTEXTyesnote | caveat | flag | decision | open_item
bodyTEXTyesthe note text
authorTEXTnoperson or assistant
source_refTEXTnowhere it came from
created_atTEXTnoISO 8601 instant
data_hashTEXTnohash of the cited metric values when written (stale when they change)
statusTEXTnoactive | stale | retired

metric_registry

FieldTypeRequiredMeaning
metric_idTEXTyese.g. habits.today
versionINTEGERnothe metric's own version
unitTEXTnorows | pct | count | days ...
paramsTEXTnocomma list of parameters it honours
descriptionTEXTnothe @desc line
sqlTEXTnoexpanded SQL
testTEXTnothe @test line (check that covers it)

Vocabularies

Shared word lists, so every board and connector means the same thing by the same word.

entry_sources5 values

app · chat · cli · csv · import

severities3 values

info · warn · error

target_periods3 values

day · week · month

tracker_kinds5 values

check · count · duration · scale · amount

tracker_roles3 values

habit · mood · activity

weekdays7 values

mon · tue · wed · thu · fri · sat · sun

Changelog

1.1.0 (2026-11-30)

  • Minor (new optional columns, tables and vocabulary; every 1.0 database stays valid), for Journal & Mood:
  • trackers.role (vocab tracker_roles: habit, mood, activity; NULL = habit), trackers.scale_min and trackers.scale_max (a bounded scale, higher is better).
  • scale_labels (the words for the points of a scale: a mood app's own names).
  • journal_entries (dated free text with its zone, title, body, word count and the source's tags). Title and body are private text: boards keep them out of exports, screenshots, notes, insights and the catalog unless the person opts in.
  • Conformance checks: scales_well_formed, journal_valid at fail (they read only what 1.1 added, which a 1.0 database holds empty, so no 1.0 database can fail them); scale_values_in_range, roles_fit_kinds at warn.
  • Sources: Daylio CSV export (two layouts) and Day One export (JSON and plain text / Markdown).
  • Habit Tracker re-pinned to 1.1.0 with no change to its data (it writes none of the new fields).

1.0.0 (2026-11-29)

  • First published version, for Habit Tracker: trackers (kinds check, count, duration, scale, amount; targets per day, week or month; days of the week; active and archived dates), optional tracker_targets history, append-only entries (the W0-4 write path's line, entry_id kept from the writer), skips, data_issues, annotations, metric_registry.
  • Conformance checks: tracker ids, targets, target history, entries, known trackers (warn), check day totals (warn), one skip per day, meta rules (warn).
  • Fictional fixtures covering every check.

Other standards