Expand description
The two rituals, for the window (docs/reviews.md): closing the work day
(“Done for today”) and closing the day before sleep, each with how the day
felt, all of it optional. The sheet’s view (DayReview.qml), the answers
kept (sioul_core::reviews), the status line’s offer, the one notice at the
end of the day’s last work or admin hours, and a day’s words for the Health
page. Words only: no count, no score, nothing about what was not done.
Constants§
- BACK_
DAYS 🔒 - The notes of the last days, read back in the sheet.
- NOTICE_
GRACE 🔒 - The end-of-work notice comes within this long of the hours’ end, or not at all.
Functions§
- balance_
lines 🔒 - The day’s costs and gains in words, for the night: each scale whose level is known that day (“Thinking: heavy for you.”), the gain (“Some time gave back.”), then the plan’s own lines when the day changes tomorrow’s. Never a number, a percentage or a gauge (criteria CB45–49, G20).
- balance_
words 🔒 - The balance in words, in
tr‘s language: a scale not known that day says nothing (CB12), the total is the scales’ own; the gain in two words. - capitalized 🔒
- The first letter capitalized (“lundi” → “Lundi”).
- close 🔒
- The review kept, then for the work day the day closed as “Done for today” always did, unless it was already today: the closing screen’s JSON, else “”. The night: the status line says the day is closed. A review that cannot be kept is said; the work day closes all the same.
- day_
name 🔒 - “Tomorrow”, “Monday”, “Monday 19 October”: the nearer, the shorter.
- day_of 🔒
- The day a review closes, given now: the night’s day (after midnight, the evening before); the work day’s, today (before 05:00, yesterday).
- first_
step_ 🔒line - The first step named when the work day closed, for the day work comes back: “Tomorrow starts with: open the form (15 min)”. A plan for what remains helps sleep come (Scullin et al. 2018); none when none was named.
- line 🔒
- A day on the Health page, as JSON: its words when some were said (“How the day went: Morning: haze · End of work: heavy…”) and its notes; today, the button to close it while the evening offers it, and during the night.
- mark_
told 🔒 - meeting 🔒
- Whether an event goes on now (not a whole day’s, not cancelled).
- memo_
html 🔒 - A review’s note as the sheet and the Health page show it: Markdown read as Notes reads it.
- night 🔒
- The night going on or coming next, as Health keeps it: (winding down from, bed at).
- night_
open 🔒 - Whether the night’s review of the night
bedbelongs to is still to give: its notice then offers “Close the day”. - notice_
at 🔒 - What the notice “Work hours are over” offers at
now: as the status line, at the times the matrix of what reaches you lets it come (as usual, the status line’s own: never at work, asleep, paused or in Free time). - offer_
at 🔒 - What the status line offers at
now, inmode. - offer_
json 🔒 - For the status line (
mode_json): {kind, date, line, button}; kind “” when nothing is offered: at work, while you sleep, once said. - standing 🔒
- Where the day stands at
now, as the offer reads it: today’s end of work, the night, whether the work day was closed, and the reviews of yesterday and today. - tick 🔒
- Each minute: at the end of the day’s last work or admin hours, one quiet notice, “Work hours are over”, with “Close the work day”; once, from the device you are at, within ten minutes of the hours’ end; at the times the matrix of what reaches you lets it come (as usual, never while you sleep or work), never during a meeting, nor once the day was closed or its review given. Off the window’s thread.
- told 🔒
- told_
path 🔒 - The day the end-of-work notice was given, on this device.
- view 🔒
- The sheet for
kind(“work”, “night”), as JSON: its title and the day it closes; how the day started and went, in words; for the night the work’s review, tomorrow’s first step and the day’s balance; the answers already given (closed once, the sheet opens on them); the notes of the last days. - weather_
said 🔒 - The weather said for today, copied as the morning’s (
reviews::note_weather). - work_
end 🔒 - Today’s last hours of work or admin end then; none on a day without them, or in time off.