Skip to main content

Worked examples

Profile: Coefficient 2.6, typical pool ~35 manaCheck-in: [3, 3, 3] (axis ~1.0)
TaskrelativeCostDurationAxisCost
Taking medication0.31 min1.00.4
Brushing teeth1.02 min1.02.6
Getting dressed2.35 min1.015
Shower1.010 min1.013
Light cooking1.520 min1.039
Typical day total is ~31 mana, leaving a small margin. Light cooking exceeds pool and is not surfaced.
Profile: Coefficient 2.6, typical pool ~35 manaCheck-in: [2, 2, 2] (axis factor ~1.25)
TaskNeutralRough dayChange
Brushing teeth2.63.3+25%
Getting dressed1519+25%
Shower1316+25%
Essentials remain visible even if over pool.
Profile: Coefficient 4.0, typical pool ~17 mana
TaskrelativeCostDurationCost
Taking medication0.31 min0.6
Sitting up in bed0.315 min9
Brushing teeth1.02 min4
Brief phone call0.85 min8
Meds + sitting up + teeth = 13.6 mana. Phone call generally does not fit unless something else is skipped.
Snapshot: Coefficient remains 2.6 before recalibration.
TaskFormulaResult
Shower1.0 x 10 x 2.6 x 1.0 x 0.513 mana
Coefficient improves from 2.6 to 2.0. Stored relativeCost remains valid; no task backfill required.
CaseFormulaResult
Shower before1.0 x 10 x 2.6 x 1.0 x 0.513 mana
Shower after1.0 x 10 x 2.0 x 1.0 x 0.510 mana
Pre-absence: coefficient 2.6, confidence 0.8, pool ~35.Day 1 back (rough check-in):
  • Confidence modifier: 0.8 x 0.85 = 0.68
  • Bias: 0.80 + 0.68 x 0.17 = 0.916
  • Pool shown: 35 x 0.916 ~= 32
Day 2 back:
  • Confidence modifier: 0.8 x 0.95 = 0.76
Day 3 back:
  • Confidence restored to pre-absence level.
Setup: Deadline task due on Mar 20 from a Mar 7 compute day, with over-pool cost.Expected behavior: Task remains hidden when outside the computed horizon window and over remaining pool.
Setup: Deadline task due on Mar 8 from a Mar 7 compute day, with over-pool cost.Expected behavior: Task is surfaced because deadline horizon grants pool exemption.
Setup: Scheduled task lands within 7-day lookahead and preview cost exceeds typicalPool x 0.20.Expected behavior: scheduledReserve notice appears with per-task preview mana and total preview mana.
Setup: One missed deadline task and one missed scheduled task.Expected behavior: Both remain surfaced with neutral, non-shaming language and actionable completion path.
Setup: Deterministic synthetic moderate profile with mixed check-ins and completion history.Expected behavior: Stable deterministic output for pricing, pool, and surfaced list under irregular history.
Setup: Deterministic synthetic severe profile with mixed check-ins and completion history.Expected behavior: Deterministic low-capacity behavior, including tighter surfacing and conservative pool outputs.

Temporal visibility scenario catalog

These scenarios define the ENG-27 actionable-only contract across flexible, deadline-window, appointment, and day-quality tasks.
ScenarioTask typeSetupExpected Home behavior
T1FlexibleAtemporal task fits remaining manaShow in Actionable Today.
T2FlexibleAtemporal task exceeds remaining mana and is not essentialHide by default.
T3FlexibleAtemporal task exceeds remaining mana and is essentialShow in Actionable Today using neutral over-pool framing.
T4Day-qualityTask matches today’s day-quality rule and fits remaining manaShow in Actionable Today.
T5Day-qualityTask does not match today’s day-quality ruleHide from Home.
T6Deadline-windowDue outside horizon and over remaining manaHide from Home.
T7Deadline-windowDue inside horizon, not due todayShow in Actionable Today because the work can happen before the due time.
T8Deadline-windowDue todayShow in Actionable Today with calm due-today copy.
T9Deadline-windowDue time passed and task is still activeKeep actionable if still relevant; use carried-over framing, never overdue.
T10AppointmentScheduled inside horizon but not todayShow only as a non-completable preview in Gentle Upcoming or a planning notice.
T11AppointmentScheduled todayShow in Actionable Today as active/completable.
T12AppointmentScheduled time passed and still activeShow a neutral update path: attended, follow up later, or cancel.

Deterministic Harness Mapping

CI runs a deterministic harness and publishes JSON output at app/build/mana_scenarios/report.json.
Scenario IDSourceSeed
example-a-neutralExample A neutral baseline1101
example-a-roughExample B rough-day inflation1102
example-b-severeExample C severe profile capacity1201
example-c-post-recalibration-beforeExample D recalibration before1401
example-c-post-recalibration-afterExample E recalibration after1402
example-d-return-after-absenceExample F return-after-absence1301
example-e-deadline-outside-horizonExample G deadline outside horizon1501
example-f-deadline-inside-horizonExample H deadline inside horizon1502
example-g-scheduled-reserve-warningExample I scheduled reserve warning1503
example-h-missed-temporal-neutralExample J missed temporal neutral handling1504
seeded-irregular-mixed-1Example K seeded irregular moderate9001
seeded-irregular-mixed-2Example L seeded irregular severe9002
Harness entry point:
  • app/tool/mana_scenario_harness.dart