fuschabits_logo.png

Fuschabits

A habit tracker with no streaks to lose. Each habit is a scarf, and a scarf never breaks, just gets patched.

Status
Live
Last updated
Built with
ReactNode.jsAWSServerlessAIDynamoDBLambda

Product Requirements

Purpose

I want to build habits (exercise, reading, the small daily ones) and drop a few. The habit apps I know are gamification-heavy: streaks, points, levels. That turns one bad day into a broken chain, and a broken chain into quitting. Fuschabits keeps an honest, forgiving record that is fun to look at, with "a quirky aspect to it like my other apps". The habits that fit a time block show up in fuscoach's healthy habits list, as fuschores chores show up in house chores.

Thesis: a record that never breaks (the Scarf), a minimum that always counts (tiny version), a guilt-free day off (rain check) and seasons planned around moments of my life, always one running, keep me doing habits longer than streaks and points would.

Actors

ActorWho they areWhat they care about
MeMyself, the only userDoing my habits more often, without guilt when I don't, and logging them with no effort
fuscoachSibling app (another system, not a person). Reads today's habit occurrences into a list and writes back "done"A block-sized habit to hand out in a free block, and knowing when one is don

Decisions worth knowing

  • Nothing runs on a schedule. Missed days, bands, season ends and fuscoach occurrences are all worked out when they're read, so the app costs nothing while idle: no tick loops, no cron. Nothing is stored per day except what I logged.
  • One read, rules on the client. GET /state returns habits, logs, rain checks and the season, and the web works out stitches and bands from them with the same commons functions the API uses.
  • The day is cut in my timezone. Every route takes ?tz=, so the 04:00 day (R-03) matches wherever the call comes from, fuscoach included.
  • IDs come from the client. Habit and log IDs are generated in the browser, every write shows at once and saves in the background, and a log never remounts and replays its animation once it's saved (C-07).
  • Units are resolved once, when a habit is saved, not on every log (R-24). The unit list and the conversion comparisons are files in git, edited by commit; the model never adds to them.
  • AI is a fallback, never the first step. Model calls happen only for sentences the rule parser can't settle, for voice clips, and once per habit for unknown units. Estimated at about $0.0002 per fallback and $0.0005 per 10 second clip, so cents a month. This is release 2; release 1 makes no model calls.
  • fuscoach talks to this API the way it talks to fuschores: with the caller's forwarded sign-in. It reads GET /fuschabits/occurrences?date= and marks done with PUT /fuschabits/occurrences/{habitId}/{date}. Only today's occurrence is ever given (R-28), so fuscoach's own missed rule never marks a flexible habit missed.
  • No notifications. There are no reminders and no push: fuscoach is the nudge. Push would need an always-on scheduler, which is a cost (C-06).
  • Personal only. No shared or family habits.
  • What's measured. The API reports unexpected errors and the web sends usage events for named actions only, never habit names, units or amounts.
  • Glossary and states

    TermMeaningStates (if any)
    HabitSomething I want to do more of (Do) or less of (Limit), with a target per period (R-01). Its target belongs to the season (R-06)active, retired (R-06)
    Do / LimitA habit's direction: Do means at least N, Limit means at most N. "No phone in bed" is a Limit of 0, an anti-habit (R-01)
    TargetN units per period, e.g. 3 times a week, 20 pages a day, at most 2 coffees a day (R-01)
    PeriodPer day on chosen weekdays, per week or per month (R-02)
    Day04:00 to 04:00 local time. Reading at 00:40 counts for the day before (R-03)
    WeekSunday to Saturday, matching fuscoach (R-03)
    Flexible habitA Do habit with a week or month period: any days count, a day without it is never missed (R-02, R-20)
    UnitWhat a target counts, typed freely: times, pages, km, "laps of the pool". Matched to the unit list when possible (R-07)plain, known
    Unit listUnits kept in git, each with aliases, a kind (count, distance, time, volume, weight) and conversion factors (R-07, R-24)
    Personal aliasA unit spelling of mine that the model matched and I confirmed, so next time it matches for free (R-33)
    LogAn amount of a habit's unit on a day. Several logs a day add up (R-08)
    SlipA log on a Limit habit (R-08)
    Tiny versionThe deliberately small minimum of a Do habit ("put on running shoes and stand outside"). Doing it counts (R-04)
    Rain checkA day excused for one habit or for all habits: "today's a write-off". Never counts against me (R-05)
    ScarfA habit's record, one row of stitches per day, that keeps growing and never breaks; the yarn changes colour with each season (R-20, C-16)
    StitchOne day of a habit on the Scarf (R-20)full, tiny, rain, missed, off, kept, knot
    BandThe mark on the Scarf for a week or month whose target was met (R-21)
    SeasonA chapter of my life that all my habits share: a name, its habits and their targets, an optional planned end date. There is always exactly one (R-06, R-18). Ends at a review: carry or retire each habit, then plan the next (R-31)current, review due, past
    New this seasonA habit added to, or brought back into, a season after it started (R-06, R-32)
    Retirement HomeWhere retired habits live, with their Scarves. A retired habit can be brought back (R-06)
    ConversionA silly comparison of a total: "1.3 Hobbits", "Lisbon to Porto" (R-25)
    Sentence logA log said in a sentence, typed or spoken: "ran 5k yesterday". Parsed for me, confirmed by me (R-11, R-26)parsed, confirmed, dropped
    OccurrenceA habit's entry for today as fuscoach sees it, in the list the habit chose (R-28)open, done
    SessionWhat one fuscoach "done" logs: the habit's duration and amount per sitting (R-29)

    Features

    Five features, in the order of the journey. Each one names the rules it exercises; the rules themselves are in the catalog further down.

    1. Habits

    Problem. Habits I mean to build ("exercise", "read more") live only in my head, with no clear bar for what counts, so I can't tell a good week from a bad one. Units are part of this: "read more" means nothing until it's pages or minutes.

    Expected outcome. Every habit I'm building or dropping is written down with a clear bar for "done" and a unit that means something.

    In scope

  • I can create a Do habit with a target per day on chosen weekdays, per week or per month; my first habit starts "Season 1". Exercises R-01, R-02, R-03, R-06, R-18.
  • I can create a Limit habit, an anti-habit included (at most 0). Exercises R-01, R-14.
  • I can type any unit and have it matched to the unit list or my personal aliases. Exercises R-07, R-24.
  • I can confirm or decline the model's match and factor for a unit the list doesn't know. Exercises R-07, R-12, R-24, R-33.
  • I can give a Do habit a tiny version: a named action, or a threshold for amount habits. Exercises R-04, R-14.
  • I can set a Do habit to show in fuscoach, with a session and the fuscoach list it lands in. Exercises R-13, R-29.
  • I can change a habit's target, period or weekdays from today on. Exercises R-16.
  • Out of scope

  • I can share a habit with someone. Deferred; habits are personal.
  • I can create a habit due "every N days since last time". Deferred; a monthly target covers most cases meanwhile.
  • I can create a time-window habit ("lights out by 23:00"). Deferred; logged as a plain Do meanwhile.
  • I can group habits into routines with anchors ("after coffee"). Deferred to a later release.
  • Decisions

  • 2026-11-05: units are resolved once, when a habit is saved, not on every log (R-24).
  • 2026-11-05: the unit list and the conversion comparisons are files in git, edited by commit; the model never adds to them (R-33 only adds personal aliases).
  • 2026-11-05: the fuscoach list is chosen per habit, healthy habits by default (Q-07).
  • 2026-11-05: a target change keeps a dated history on the habit, so past days are judged against the target they had (R-16).
  • 2. Logging

    Problem. Logging is where habit apps lose me: opening a form for a glass of water is more effort than the habit. The old fuschabit_tracker got this right with "say what you did", but on a Raspberry Pi button.

    Expected outcome. What I did each day is recorded within seconds of doing it, from a tap, a sentence or my voice, and bad days are excused instead of counted.

    In scope

  • I can log a habit with one tap, adding up through the day. Exercises R-08, R-10.
  • I can log a habit's tiny version. Exercises R-04.
  • I can log a slip on a Limit habit. Exercises R-08.
  • I can log for an earlier day. Exercises R-10, R-03.
  • I can type a sentence ("read 20 pgs", "ran 5k yesterday") and confirm what was understood. Exercises R-11, R-15, R-24, R-26.
  • I can say the same sentence by press-and-hold voice. Exercises R-11, R-26.
  • I can rain-check today or an earlier day for one habit or for all of them. Exercises R-05.
  • I can undo a log. Exercises R-08.
  • Out of scope

  • I can rain-check days ahead (a trip next week). Deferred pending Q-03; meanwhile I rain-check each day as it comes.
  • I can log by pressing a physical button. Deferred to a later release.
  • I can log through Claude (an FCP plugin, as fuschores has). Deferred; the app's own sentence log covers it meanwhile.
  • Decisions

  • 2026-11-05 (release 1): a log for a count habit defaults to 1; an amount habit needs its amount.
  • 2026-11-05: voice clips are transcribed with the shared fuscommons transcription, default model gpt-4o-mini-transcribe (Q-08); the voice UI mirrors fushopping's press-and-hold button (C-13).
  • 2026-11-05: the model fallback uses fuscommons structured parsing; estimated cost is about $0.0002 per fallback and $0.0005 per 10 second clip.
  • 2026-11-05: the API takes the clip directly, capped at about 60 seconds (well under API Gateway's 10 MB limit); iOS Safari records audio/mp4, which the API accepts.
  • 3. Scarf

    Problem. Streaks make one bad day erase weeks of good ones. I want to see how a habit has gone over time, honestly, without a number to protect.

    Expected outcome. I know how each habit has gone over weeks and months, and there is no streak to lose.

    In scope

  • I can see each habit's Scarf: one row of stitches per day, from its first day. Exercises R-20, R-03, R-16.
  • I can see the bands on weeks and months that met their target, and which unmet ones were rainy. Exercises R-21.
  • I can see why a stitch is what it is. Exercises R-20.
  • I can see a conversion of a known unit habit's all-time total. Exercises R-25, R-07.
  • I can see which season each stretch of the Scarf belongs to. Exercises R-20, R-06.
  • Out of scope

  • I can read the Narrator's weekly field notes ("Researchers are cautiously optimistic"). Deferred to a later release.
  • I can see a total, an average or a percentage score. Deferred on purpose; the Scarf is the record.
  • Decisions

  • 2026-11-05: conversions use all-time totals (Q-04).
  • 2026-11-05: stitches and bands are computed when the Scarf is read, from logs, rain checks and the habit's target history; nothing is stored per day except what I logged.
  • 2026-11-28: the Scarves page explains how to read a scarf, in a guide below the scarves, while Q-14 is open.
  • 4. Seasons

    Problem. I start habits on enthusiasm and drop them quietly, which feels like failing. Nothing asks whether a habit is still worth carrying. And my life comes in chapters (a newborn, a training summer, a work crunch) that each fit a different set of habits.

    Expected outcome. My habits always belong to a season I planned for this moment of my life, and the ones I dropped are kept, not deleted.

    In scope

  • I can name the current season and give it a planned end date, or none. Exercises R-06, R-18.
  • I can see when the current season's review is due. Exercises R-27.
  • I can review the season, early or when it's due: carry each habit into the next season, as is or with a new target, or retire it. Exercises R-31, R-16, R-17.
  • I can plan the next season with a name and an optional end date. Exercises R-31, R-06.
  • I can add a habit to the current season after it started. Exercises R-06.
  • I can visit the Retirement Home and see retired habits with their Scarves. Exercises R-06, R-17.
  • I can bring a retired habit back into the current season. Exercises R-32.
  • Out of scope

  • I can delete a habit with its history. Deferred; retire covers it meanwhile.
  • I can delete a season or leave a gap between seasons. Never: R-18.
  • I can give a brand-new habit a check-in partway through a long season. Deferred; it's marked new this season at the review meanwhile.
  • Decisions

  • 2026-11-05: seasons are shared by all habits and planned for a moment of my life, not a per-habit trial (Q-01, Q-02 closed). The end date is optional. There is always exactly one season (R-18).
  • 2026-11-05: a due review is computed on read (R-27); an unanswered review changes nothing (R-31).
  • 2026-11-05: in storage, a season is its own row (name, start day, planned end, habit targets); a habit's target history follows season starts and mid-season edits (R-16).
  • Only naming the season is built so far; the review, end dates and the Retirement Home are release 2.

    5. Habits in fuscoach

    Problem. fuscoach exists because "habits such as exercising fall in the back burner", and it has a healthy habits block type with nothing feeding its list on a schedule. The habits are here; the time blocks are there.

    Expected outcome. Block-sized habits are handed out in fuscoach's free blocks, and done in either app is done in both.

    In scope

  • fuscoach can read today's occurrences of my habits, with duration, deadline and list. Exercises R-13, R-22, R-28, R-29.
  • fuscoach can mark an occurrence done, which logs one session here. Exercises R-30, R-29.
  • Out of scope

  • fuscoach can log a habit's tiny version from a "not finished" wrap-up. Deferred pending Q-05; meanwhile, a not-finished habit logs nothing and I log the tiny version here.
  • fuscoach can see Limit habits. Never: R-13.
  • Decisions

  • 2026-11-05: same shape as fuschores: fuscoach calls this API with the caller's forwarded sign-in, reads today's occurrences and writes back done.
  • 2026-11-05: built on both sides. fuscoach shows occurrences with its fuschores row treatment (no edit tray, "fuschabits, today"), keeps their skip reasons per habit, sends the timezone so the 04:00 day matches, and degrades to a named error when fuschabits can't be read.
  • 2026-11-05: weeks start at Sunday 04:00 here and Sunday 00:00 in fuscoach, left as is (Q-06).
  • 2026-11-26: a fuscoach done on a day that already has a log logs nothing more, as fuschores behaves (Q-09, R-30). Any log that day counts as already logged, the tiny version and part of the amount included.
  • 2026-11-05: only today's occurrence is given (R-28), so fuscoach's missed rule never marks a flexible habit missed.
  • Open question: the Scarf and habits that aren't daily

    ❓
    Q-14. Does the Scarf hold for habits that aren't daily, say 2 times a week?

    Questions

    Every question the spec raised, with how it was settled. Three are still open: Q-03 runs on a default, Q-05 and Q-14 have no answer yet.

    IDQuestionBecomesAnswer
    Q-01How long is a season: a fixed 3 weeks, or chosen per habit with 3 weeks as the default?R-06, R-272026-11-05: neither. A season is for all habits at once, "so I can design the seasons for different moments of my life"; its end date is optional
    Q-02After "keep" at a review, does the habit stop having seasons, or start a longer one with its own review?R-312026-11-05: gone with Q-01. Keep means carrying the habit into the next season
    Q-03Can I rain-check days ahead (a trip next week), or only today and earlier days?R-05Open. Default for building since 2026-11-05: today and earlier days only
    Q-04Conversions over which span: all time, the current season, or both?R-252026-11-05: all time
    Q-05A fuscoach wrap-up answered "not finished": should it log the tiny version here? fuscoach writes back only "done" today, so this needs a change on fuscoach's sideR-30Open
    Q-06fuscoach's week starts Sunday 00:00 and this app's starts Sunday 04:00, so a habit done Sunday 01:00 lands in different weeks in the two apps. Align them?R-032026-11-05: leave as is; the hours affected are 00:00 to 04:00 on Sundays
    Q-07Which fuscoach list does a habit's occurrence land in: always healthy habits, or chosen per habit?R-282026-11-05: chosen per habit, healthy habits by default
    Q-08Which transcription model: whisper-1, as fushopping and fuscoach use, or gpt-4o-mini-transcribe, the fuscommons default at half the price?R-262026-11-05: gpt-4o-mini-transcribe; switch if it mishears habit names
    Q-09When fuscoach marks a habit done and the habit already has a log today, nothing more is logged, so a done can never double-count. Is that the rule, or should fuscoach's done always add a session?R-302026-11-26: that is the rule: "fuscoach marking an already logged habit does not add another session. just like fuschores"
    Q-14Does the Scarf hold for habits that aren't daily, say 2 times a week?R-20, R-21Open. Try in dev, then decide

    Rules catalog

    A rule must still be true with no screen at all. There are four kinds only: definitions, constraints, derivations and triggers. IDs are stable and never renumbered; the short titles here were added for reading.

    Definitions

    Statement: Habit means something I want to do more of (Do: at least N) or less of (Limit: at most N), with a target of N units per period. An anti-habit is a Limit with N = 0.

    Why: One model covers yes/no habits, amounts, flexible habits and anti-habits, so there are no special kinds to learn or build. "Model fits."

    Examples:

  • Run Mon/Wed/Fri: Do, at least 1 time per day on Mon, Wed, Fri.
  • Run 3× a week: Do, at least 3 times per week.
  • Read 20 pages a day: Do, at least 20 pages per day, every day.
  • Max 2 coffees a day: Limit, at most 2 times per day.
  • No phone in bed: Limit, at most 0 times per day.
  • Takeout at most once a week: Limit, at most 1 time per week.
  • Statement: Period means per day on chosen weekdays, per week, or per month. A habit with a week or month period is a flexible habit: any days count toward it.

    Why: "Let's include flexible habits." Fixed days and "N times a week, any day" are the two ways habits are actually planned; a month covers rare ones ("call grandma 2× a month").

    Examples:

  • Per day on Mon/Wed/Fri: Tuesday asks nothing of the habit.
  • Per week: runs on Monday, Tuesday and Saturday make 3 for the week.
  • Per month: calls on the 3rd and the 20th make 2 for November.
  • Statement: Day means 04:00 to 04:00 local time. Week means Sunday to Saturday, starting Sunday 04:00. Month means the calendar month, starting at 04:00 on the 1st.

    Why: Late nights (reading after a night feed) still belong to the day they started in. Weeks start on Sunday to match fuscoach's weekly stats.

    Examples:

  • Read at 00:40 on Wednesday: the log is for Tuesday.
  • Read at 04:10 on Wednesday: the log is for Wednesday.
  • A run on Saturday 23:00 counts for the week that started the previous Sunday.
  • Statement: Tiny version means the deliberately small minimum of a Do habit. For a habit counted in times it is a named action ("put on running shoes and stand outside"); for an amount habit it is a threshold, by default anything above zero. Doing the tiny version counts as doing the habit.

    Why: Its whole purpose is to keep me from skipping entirely; the minimum has to be silly enough to always be doable.

    Examples:

  • Run 5k, tiny version "put on running shoes and stand outside": logging the tiny version gives a tiny stitch for the day.
  • Read 20 pages a day, default threshold: 6 pages is the tiny version, 20 is full.
  • Read 20 pages a day, threshold set to 5: 3 pages is logged but is below the tiny version, so the day still shows missed.
  • Statement: Rain check means a day excused for one habit or for all my habits. An excused day never counts against a habit. A rain check can be given for today or any earlier day, not for days ahead (Q-03).

    Why: "Today's a write-off" has to cost nothing, or bad days turn into quitting.

    Examples:

  • Rain check on all habits for Tuesday: every habit shows rain for Tuesday, none missed.
  • Rain check on Run only: Read still shows missed if I didn't read.
  • Rain check on a Limit habit on a birthday: the slip that day shows rain, not a knot.
  • Statement: Season means a chapter of my life that all my habits share. It has a name, the habits in it with each one's target for that season, a start day and an optional planned end date. It lasts until I start the next one. A habit is active, meaning it's in the current season, or retired. A habit added to a season after it started is new this season. A retired habit lives in the Retirement Home with its Scarf and can be brought back.

    Why: "This way I can design the seasons for different moments of my life." Dropping a habit should be a decision, not a failure; the season's review is where that decision gets made.

    Examples:

  • "Newborn" from 2026-11-10, no end date: Run 1× a week, Read 10 pages a day.
  • "Summer training" from 2027-06-01 to 2027-08-31: Run 3× a week, Read 20 pages a day, Floss.
  • Floss added to "Newborn" on 2026-12-02: new this season.
  • Floss retired at a review: it moves to the Retirement Home, Scarf included.
  • Statement: Unit means what a habit's target counts, typed freely. A unit is known when it matches an entry in the unit list or one of my personal aliases, or when I confirm the model's match for it; a known unit has a kind (count, distance, time, volume, weight) and a factor to its kind's base unit. Any other unit is plain: counted and summed, never converted. "times" is the unit of yes/no habits.

    Why: Free text so any habit can be described in my words; known units so logs in another spelling or unit can be converted and conversions (R-25) have something to work with.

    Examples:

  • "pgs": matches the unit list's "page" alias, so it's known (count, pages).
  • "miles" on a km habit: known (distance), so a log of 3 miles converts to 4.8 km.
  • "laps of the pool": no match; the model proposes "≈ 25 m"; I confirm, so it's known (distance, 25 m). Had I declined, it would be plain.
  • Statement: Log means an amount of a habit's unit on a day, with its source (tap, sentence, voice, fuscoach). Several logs on the same day add up. A log on a Limit habit is a slip.

    Why: Water and coffee are logged a glass or a cup at a time; one total per day would mean doing arithmetic in my head.

    Examples:

  • Water: 3 glasses at 10:00 and 2 at 15:00 make 5 glasses for the day.
  • Coffee (Limit, at most 2): 3 slips in a day put it over the limit.
  • Constraints

    Statement: I may not log a habit on a day ahead of today, or on a day before the habit was created.

    Why: A log records something that happened. Backdating is fine ("ran 5k yesterday") because forgetting to log is normal.

    Examples:

  • Given today is Wednesday, when I log a run for Monday, then it's written for Monday.
  • Given today is Wednesday, when I log a run for Thursday, then it's refused.
  • Given Run was created on 2026-11-10, when I log it for 2026-11-08, then it's refused.
  • Statement: Nothing from a sentence log, typed or spoken, may be written until I confirm what was understood.

    Why: A bad parse should cost one tap, never a wrong record I have to find and fix later.

    Examples:

  • Given I say "ran 5k yesterday", when it's parsed as Run · 5 km · Tuesday, then nothing is written until I confirm.
  • Given the parse picked the wrong habit, when I drop it, then nothing is written.
  • Statement: A conversion factor the model proposes for a unit may not be used until I confirm it. If I decline, the unit is plain.

    Why: Silently wrong numbers ("you've swum to the moon") would kill the fun of conversions.

    Examples:

  • Given the model proposes "lap of the pool ≈ 25 m", when I confirm, then laps convert to metres.
  • Given I decline, then laps are counted as laps, with no conversions.
  • Statement: fuscoach may be offered only Do habits that I've set to show in fuscoach and that have a session (R-29). Limit habits are never offered.

    Why: fuscoach hands out things to do in a time block. "Drink water" or "no sugar" don't fit a block, and a Limit has nothing to do.

    Examples:

  • Given Run is a Do habit, set to show in fuscoach, with a 30 min session, then fuscoach can offer it.
  • Given Water is a Do habit not set to show in fuscoach, then fuscoach never sees it.
  • Given No sugar is a Limit, then it can't be set to show in fuscoach.
  • Statement: A Limit habit may not have a tiny version.

    Why: The tiny version is the minimum of something to do; a Limit has nothing to do.

    Examples:

  • Given Max 2 coffees is a Limit, when I edit it, then there is no tiny version to set.
  • Statement: A log in a unit that can't be converted to the habit's unit may not be written; I'm asked for the amount in the habit's unit.

    Why: Guessing how many pages a chapter has would make every total a guess.

    Examples:

  • Given Read counts pages, when I log "read a chapter", then I'm asked "how many pages was that?".
  • Given Run counts km, when I log "ran 3 miles", then 4.8 km is logged (both are distance).
  • Statement: A change to a habit's target, period or weekdays applies from the day it's made, whether it comes with a new season or in the middle of one. Earlier days keep the target they had.

    Why: The Scarf is a record; a tweak today must not turn last month's full stitches into tiny ones.

    Examples:

  • Given Read was 20 pages a day until Tuesday, when on Wednesday I change it to 30, then Monday's 22 pages stay full and Wednesday needs 30.
  • Given Run was 3× a week in "Summer training", when "Newborn" starts with Run at 1× a week, then summer's weeks keep their bands for 3 runs.
  • Statement: A retired habit may not take logs, gets no stitches and is not offered in fuscoach until it's brought back.

    Why: Retired means I decided to stop; nothing should keep asking for it.

    Examples:

  • Given Floss is retired, then the days after its retirement aren't shown as missed, and fuscoach doesn't see it.
  • Statement: There may never be no current season. My first habit starts the first season, named "Season 1" until I rename it. A season ends only when the next one starts, and a season may not be deleted.

    Why: "Always a season, to enforce always thinking about your habits."

    Examples:

  • Given I have no habits, when I create Run, then "Season 1" starts today with Run in it.
  • Given "Season 1" is current, when I rename it "Newborn", then only its name changes.
  • Given "Newborn" is current, then I can't end it without starting the next season (R-31).
  • Derivations

    Statement: A habit's stitch for a day is computed as follows. A full or tiny log wins over a rain check, and a rain check wins over missed and knot.

  • Do, per day: on a chosen weekday: full when the day's total ≥ N; tiny when the tiny version was logged or the total reaches the tiny threshold (R-04); rain when rain-checked; missed when the day has passed with neither. On other weekdays: off, unless something was logged, which shows full or tiny.
  • Do, per week or month: full on a day with a log; tiny when only the tiny version was logged; rain when rain-checked; otherwise off. Never missed.
  • Limit: kept while the period's total stays ≤ N; a knot on the day a slip takes it over N and on every later slip in that period; rain when rain-checked. No log means kept.
  • Today, before anything is logged: no stitch yet.
  • Every stitch belongs to the season whose dates contain its day (R-06).

    Why: The Scarf has to be an honest record that never breaks: a missed day is just a different stitch, and a day off for a flexible habit is never a miss.

    Examples:

  • Run Mon/Wed/Fri, Wednesday passes with nothing logged → missed. Tuesday → off.
  • Run 3× a week, Tuesday with nothing logged → off.
  • Read 20 pages a day, 8 pages logged → tiny.
  • Rain check on Monday, then I ran anyway → full.
  • Takeout at most once a week: takeout on Tuesday → kept; takeout again on Friday → knot on Friday.
  • Open: Q-14 asks whether this reads well for habits that aren't daily.

    Statement: A Do week or month is met when the period's total ≥ N; a Limit period is met when it ends with a total ≤ N. In a count habit, a tiny-version log counts as 1 time. A met period gets a band. A Do period that ended unmet is rainy if it has a rain-checked day, short otherwise.

    Why: For flexible habits the period is judged as a whole, not day by day; a rain check should still protect a week it made impossible.

    Examples:

  • Run 3× a week: runs Monday, Thursday, plus Saturday's tiny version → 3, met, banded.
  • Run 3× a week: 2 runs and a rain check on Friday → rainy.
  • Run 3× a week: 2 runs, no rain check → short.
  • Takeout at most once a week: one takeout → met.
  • Open: Q-14 touches this rule too.

    Statement: The deadline hint of a flexible Do habit is computed as the last day of the period minus (times still needed − 1) days, for count habits; for amount habits it is the last day of the period. It is never earlier than today.

    Why: fuscoach's picker already weighs deadlines, so the habit gets more urgent as the week runs out with no new logic on fuscoach's side.

    Examples:

  • Run 3× a week, Thursday, 1 run so far (2 to go) → deadline Friday.
  • Run 3× a week, Saturday, 2 to go → deadline Friday, already passed: the hint is today.
  • Read 100 pages a week, Wednesday → deadline Saturday.
  • Statement: A unit is resolved, when a habit is saved, as follows. First the typed text is normalised (lowercase, trimmed, singular, accents stripped). Then it's matched against the unit list's aliases, then against my personal aliases. Only if both miss, the model proposes a match (kind and factor), which needs my confirmation (R-12). If there's still no match, the unit is plain.

    Why: Free lookups settle almost every case; the model runs a handful of times in the app's life, never on every log.

    Examples:

  • "Pages" → "page" → unit list hit; no model call.
  • "copos" → no list hit, no personal alias → the model proposes "glass (volume, 250 ml)" → I confirm.
  • "songs on guitar" → the model finds nothing to map it to → plain.
  • Statement: A conversion is computed as a habit's all-time total (Q-04), in its kind's base unit, divided by the size of a comparison from a hand-written list in git. Only known units get conversions. Limit habits don't.

    Why: A sense of how much I've done, with no score attached.

    Examples:

  • Read: 412 pages, comparison "The Hobbit ≈ 310 pages" → "1.3 Hobbits".
  • Run: 312 km, comparison "Lisbon → Porto ≈ 313 km" → "Lisbon → Porto".
  • Guitar songs (plain unit) → no conversion.
  • Statement: A sentence log's habit, amount and day are computed as follows:

  • A spoken one is transcribed first, with my habit names as a vocabulary hint (Q-08).
  • The rule parser matches the habit by name (fuzzy), the amount and unit through the unit list and my aliases (R-24), and the day from today, yesterday or a weekday name (the most recent past one).
  • Only if the rule parser can't settle all three, the model reads the sentence along with my habits.
  • With no amount, the sentence means "did it": the daily target for a per-day Do habit, the session amount (R-29) when the habit has one, otherwise 1 time. When it can't be settled, I'm asked.

    Why: Free parsing first, the model as a fallback, so typing "20 pgs" costs nothing.

    Examples:

  • "read 20 pgs" → rule parser: Read · 20 pages · today; no model call.
  • "ran 5k yesterday" → rule parser: Run · 5 km · yesterday.
  • "finally did that thing with the shoes before work" → rule parser can't settle it → model: Run · tiny version · today.
  • "did my reading" → Read · 20 pages (its daily target) · today.
  • Statement: The current season's review is computed as due once its planned end date has passed. A season with no end date is never due on its own; I can start its review whenever I choose.

    Why: A planned end is a nudge to step back and review, not a deadline. Life moments rarely have a known end. It is worked out on read, with no scheduler.

    Examples:

  • "Summer training" ends 2027-08-31 → its review is due from 2027-09-01.
  • "Newborn", no end date → never due; I start the review when the moment has passed.
  • "Summer training" in July → not due, but I can still start its review early.
  • Statement: The occurrences fuscoach sees are computed for today only, one per habit it may be offered (R-13): a per-day Do habit when today is one of its weekdays; a flexible Do habit while its period isn't met, or once today's log met it. None is given on a rain-checked day. An occurrence is done when the habit has a log today, open otherwise. It carries the session's duration (R-29), the deadline (today for per-day habits, R-22 for flexible ones), and the fuscoach list chosen on the habit (Q-07). A past occurrence is never given.

    Why: fuscoach marks past pending occurrences missed (its R-31). Giving only today keeps a flexible habit from ever looking missed there, with no change to fuscoach's rules.

    Examples:

  • Run Mon/Wed/Fri, Wednesday → one open occurrence, deadline today.
  • Run 3× a week, Thursday, 2 so far → one open occurrence, deadline Saturday.
  • Run 3× a week, Thursday, 3 so far, none today → no occurrence.
  • Rain check on Run today → no occurrence.
  • Statement: A habit's session is computed as its duration in minutes plus the amount one sitting logs. The amount defaults to the daily target for per-day Do habits and 1 time for count habits; I set it for flexible amount habits.

    Why: fuscoach's picker needs an estimate to fit a free block, and a "done" from fuscoach needs an amount to log.

    Examples:

  • Read 20 pages a day, 25 min → a session logs 20 pages.
  • Run 3× a week, 40 min → a session logs 1 time.
  • Read 100 pages a week, 30 min, amount set to 25 → a session logs 25 pages.
  • Triggers

    Statement: When fuscoach marks a habit's occurrence done and the habit has no log today, the system writes a log of one session (R-29) for today, with fuscoach as its source. When the habit already has a log today, nothing more is written (Q-09).

    Why: Done in either app is done in both, as with fuschores chores (fuscoach R-07), and a done must never count twice: "fuscoach marking an already logged habit does not add another session. just like fuschores".

    Examples:

  • Run done in a fuscoach healthy habits block → a log of 1 time for today; Run's stitch for today is full.
  • Run logged here at 07:30, then marked done in fuscoach at 08:00 → still one log of 1 time for today.
  • Read 20 pages a day, 8 pages logged here, then marked done in fuscoach → the day stays at 8 pages.
  • Run marked done twice in fuscoach → one log.
  • Statement: When I finish a season's review, the system ends that season yesterday and starts the next one today. In the review every active habit is either carried into the next season, as is or with a new target (R-16), or retired (R-17); habits new this season are marked as such. The next season gets a name and an optional planned end date. Until I finish the review, the current season goes on unchanged.

    Why: The app never decides for me. An unanswered review never ends a season or retires a habit by itself, and there is always a season (R-18).

    Examples:

  • "Summer training" is due from 2027-09-01, and I finish the review on 2027-09-04: summer ends 2027-09-03 and "Autumn" starts 2027-09-04. Logs from 09-01 to 09-03 count in summer as normal.
  • In that review: Run carried at 2× a week, Read carried as is, Floss (new this season) retired. "Autumn" starts with Run and Read.
  • Statement: When I bring a habit back from the Retirement Home, the system adds it to the current season from today, new this season. Its Scarf continues, and the days it was retired show as off.

    Why: Trying again is normal and keeps its history.

    Examples:

  • Floss retired on 2026-12-01 and brought back on 2027-02-01 → in the current season from 2027-02-01, new this season; December and January are off.
  • Statement: When I confirm the model's match for a unit, the system saves my spelling as a personal alias.

    Why: The next time I type it, the free lookup matches it (R-24), with no model call.

    Examples:

  • Confirm "copos" → glass: the next habit using "copos" matches with no model call.
  • UI conventions

    Product-wide answers to "what does the screen do when a rule applies". Written once; features refer to them by ID. C-01 to C-13 follow fuscoach's conventions, adapted where noted.

    IDConventionWhat the screen does
    C-01Disallowed actionsShown disabled, with the rule statement as a tooltip, never hidden. Actions a rule forbids outright don't exist in the UI at all: future days to log (R-10), a tiny version on a Limit (R-14), "show in fuscoach" on a Limit (R-13)
    C-02Validation timingOn save. Logging must be fast; nothing interrupts typing
    C-03Error displayInline, a plain sentence next to the thing that failed. A failed save shows the error and undoes the change on screen (C-07)
    C-04ConfirmationNone, with one exception: a sentence log (R-11) and a model-proposed unit factor (R-12) are confirmed inline with one tap, never in a dialog. Everything else, including retiring a habit, is undone rather than confirmed
    C-05Derived valuesRead-only: stitches, bands, conversions, deadline hints and the season's last day are never edited directly. A stitch shows on tap why it is what it is ("8 of 20 pages: tiny")
    C-06NotificationsNone. There are no reminders and no push: fuscoach is the nudge. Push would need an always-on scheduler (a cost); revisit only if the habits stop happening
    C-07Optimistic savesEvery write shows on screen at once and saves in the background. On failure the screen undoes the change and shows the error (C-03). New logs get IDs on the client, so a log never remounts and replays its animation once it's saved
    C-08HeaderThe shared fuscripts header, as in every other fusapp
    C-09BackgroundA subtle knit or yarn texture on the app background, themed to the Scarf. Never flat
    C-10TransitionsState changes are animated: a stitch knitting itself in when a log lands, a band appearing, a habit walking off to the Retirement Home. Short, never blocking input. The first painted frame already carries the animation's starting state
    C-11Mobile overlaysOn mobile, drawers (bottom sheets) rather than centred pop-ups, following fuschores. Desktop may use dialogs
    C-12TypographyOne distinctive display font for the app name, habit names on the Scarf and the season review. Body text stays a neutral sans
    C-13Voice loggingMirrors fushopping and fuscoach exactly: one text input with a press-and-hold microphone button beside it, cancelled by sliding off. The clip is transcribed server-side (R-26). Reuse, don't reinvent
    C-14Parsed logA typed or spoken sentence turns into one chip per understood log ("Run · 5 km · yesterday"), confirmed or dropped with one tap each (R-11). While the model fallback reads it, the chip shows the text as typed with a quiet "reading…" mark. When a unit can't be converted (R-15), the chip asks for the amount in place
    C-15InstallableInstallable from its first deploy: a static manifest scoped to the app's path, full-bleed icons, no service worker
    C-16Season yarnEach season has its own yarn colour, and the Scarf changes colour where one season ends and the next begins (R-06, R-20). Stitch kinds stay readable in every colour: they differ by shape and texture, not only by colour

    Notes from along the way

    Friction, doubts and things that didn't fit, logged while the spec was written and built.

  • 2026-11-05: written in known-rules mode. Every concrete case in the brainstorm was answered without hesitation; the thesis (non-gamified but fun beats streaks) is a bet, but no rule waits on use to be known.
  • 2026-11-05: the ideas that weren't picked are under Later in the releases: routines and anchors, "every N days", time-window habits, the Narrator, a physical button.
  • 2026-11-05: "option c with whisper as a fallback not keyboard dictation" was read as: voice goes through server-side transcription, typed text goes rule parser first with the model as fallback. Not confirmed back explicitly.
  • 2026-11-05: the unit design was mine ("free units with a list on the backend that tries to match it and a LLM intelligence to interpret the units as fallback"); confirming factors (R-12), resolving once per habit (R-24) and personal aliases (R-33) were proposed while specifying and accepted with "go ahead".
  • 2026-11-05: fushopping and fuscoach each have their own Whisper call; fuschabits uses the shared fuscommons transcription instead. Moving the other two onto it is a separate, shared-code decision.
  • 2026-11-05: seasons were reshaped the same day they were written: from a 3-week trial per habit to one season shared by all habits, "so I can design the seasons for different moments of my life", with an optional end date and always one running ("to enforce always thinking about your habits"). The per-habit trial for brand-new habits is the trade-off.
  • 2026-11-05: release 1 was built the same day and tested locally against an in-memory table; every frame was sampled for the log to stitch change (pending to tiny, no flash).
  • 2026-11-26: Q-09 settled in one line, with fuschores as the reference. Builder's reading, not asked: any log that day counts as "already logged", so 8 of 20 pages logged here and then done in fuscoach stays at 8 pages.
  • 2026-11-26: release 1 was brought onto main three weeks after it was built and brought up to what main asks of every app since: error reports from the API, usage events from the web, hidden source maps. Builder's calls while testing by hand: a new habit the API refuses is named on the page, since its form has already closed; the mobile nav shows labels in the bottom pill, as fuschores does; "1 time", not "1 times", in a stitch's why; an off day of a flexible habit reads "any day of the week counts". No rule changed.
  • 2026-11-26: a Limit habit counted in anything but times needs an amount for every slip ("How many cups?"). One tap could log one. Not changed; worth a question if it annoys in use.