# Changelog

**English** · [Deutsch](CHANGELOG.de.md)

All notable changes to Brutus are documented here. Versions follow [SemVer](https://semver.org).

## [2.6.0] — 2026-11-08 · Crescendo, vacation mode and a real backup

### Added
- **Crescendo** _(Settings → Ringing, off by default)_: normal alarms start 30 dB below full volume and reach
  it within 15, 30 or 60 s, evenly in decibels. Hardcore alarms stay loud from the first second.
- **Snooze when unanswered** _(default 15 min)_: an alarm nobody reacts to snoozes itself and rings again — at
  least 5 minutes later, also when its own snooze is off — up to three times; then it stops and posts a
  *Missed alarm* notice saying it rang unanswered. Hardcore alarms and Ultra Hardcore re-alarms never stop on
  their own.
- **Vacation mode:** pause every alarm through a chosen last day — from Settings, the new quick-settings tile or
  a launcher shortcut. The alarm list shows a banner with *Resume now*; list header, widget, heads-up and
  AlarmManager all honour the pause.
- **Quick-settings tile *Vacation*** and **launcher shortcuts** for a new alarm, the timer and vacation mode.
- **Backup to a file:** Settings → Backup exports alarms, the QR code and the settings as JSON and imports them
  again — only new alarms are added, and the file's QR code takes over so a printed copy keeps working.

### Changed
- **Calls and music:** a ringing alarm takes audio focus (music and podcasts pause) and plays every alarm at
  15 % while the phone rings or a call runs, so the call stays audible.
- **Android backup** leaves moment-bound state behind (snoozes, missed-alarm bookkeeping, Ultra Hardcore
  follow-ups, a running timer, update-check state) and re-arms restored alarms right away instead of waiting
  for the app to be opened.
- The release APK carries a baseline profile for the cold start and the ringing path.
- The two largest screen files are split into smaller ones; behaviour unchanged.

### Fixed
- A test of the heads-up notification failed every day between 06:30 and 07:00.

### Tests
- 379 → 427: the ringing rules, the real service at the ring limit and with audio focus, the export format and
  import, the backup rules, vacation mode across DST and west of UTC, shortcuts and tile. Each new guard was
  broken once on purpose to see its test fail.

## [2.5.3] — 2026-11-08 · "1 Stunde" instead of "1 Stunden"

### Fixed
- **The list header's countdown used the plural for one:** it read "Alarm in 1 hours, 1 minutes", in
  German "Alarm in 1 Stunden". Hours and minutes now each go through their own plural ("1 hour",
  "1 Stunde", "1 Minute").
- **German shake counter:** "Noch 25 mal!" is now spelled "Noch 25-mal!".

### Tests
- 376 → 379: the countdown is checked in both languages for one hour, one minute and the plural cases,
  and the German shake counter is pinned.

## [2.5.2] — 2026-09-27 · The alarm screen's clock is no longer covered

### Fixed
- **A ringing alarm on an unlocked phone:** Android shows the alarm notification — it carries a full-screen
  intent — as a *pinned* heads-up, and it sat right over the alarm screen's clock and challenge counter
  for as long as the alarm rang. While the alarm screen is in front, Brutus now runs on a quiet
  notification without a heads-up; as soon as the screen leaves (Home, another app), the loud one with
  the full-screen intent comes back, so the alarm is never out of sight. A locked phone behaves as before.
  If the phone is in use in another app when the alarm fires, Android itself shows the heads-up instead of
  the full screen — it rings as always, and a tap opens the alarm screen (checked on Android 15).

### Tests
- 371 → 376: the real service swaps the two notifications with the alarm screen, removes both on dismiss
  and does not linger as a started service when there is no alarm. Both guards were re-introduced once
  to see their test fail.

## [2.5.1] — 2026-09-27 · The timer's Start button is back in reach

### Fixed
- **Timer:** with eight gentle end tones the picker grew by two rows and squeezed the **Start** button to a
  sliver at the bottom of the screen on a 1080×2400 phone — the idle timer screen did not scroll. Presets
  and tones now scroll, and Start stays pinned and fully visible.
- **Alarm list:** a cold start showed *No alarms yet — Create alarm* and *No alarm set* for a moment although
  alarms existed — the list started as "empty" before the database had answered. It now stays quiet until
  the first answer.

### Changed
- README with the new banner, a screenshot strip and gallery captured on v2.5, and badges for version,
  unit tests and lines of code that a test keeps true; the product page shows the banner in its hero.

### Tests
- 350 → 371: the alarm list tells "not loaded" from "empty", what makes each new sound itself (the
  air-raid siren winds up, the reverse beeper speeds up, the ocean swells …), and the README's numbers
  and images against the source. Each new guard was re-introduced once to see its test fail.

## [2.5.0] — 2026-09-27 · 25 sounds, chosen by ear, and a Sunrise you pick

### Added — sounds
- **Nine harsh sounds:** air-raid siren, dive alarm (“A-OO-GA”), car alarm (changes pattern every
  1.5 s), school bell, reverse beeper that keeps speeding up, a Shepard siren that seems to rise forever,
  steel hammer, strobe (faster *and* higher) and an evacuation whoop.
- **Eight gentle sounds**, built for Sunrise and the timer: singing bowl, birdsong, wind chimes,
  kalimba, harp, ocean waves, electric piano and Daybreak. They are **exactly periodic** — decaying notes
  wrap round to the start of the loop, sustained tones have a whole number of cycles per loop — so ten
  minutes of Sunrise never click at the seam.
- Chosen by ear from twenty candidates rendered by the very code the app runs; each adopted sound was
  checked bit for bit against the file that was listened to.
- **Hear all 25 on the product page** — brutus.celox.io/#sounds.

### Added — Sunrise sound
- **⋮ → Settings & info → Sunrise:** pick what the pre-alarm plays — any gentle sound or silence (light
  only). Before, it always played the chime. Default: Daybreak.

### Removed
- **Siren, Chime, Marimba and Morning sun.** Alarms, the timer and Sunrise may still have one stored:
  those ids are retired, never reused, and ring with a successor of the same character — Siren → Air-raid
  siren, Chime → Wind chimes, Marimba → Kalimba, Morning sun → Daybreak — instead of falling back to the
  system tone. The alarm editor shows the successor as selected. The timer now defaults to Wind chimes.

### Tests
- 339 → 350: the retired ids and their successors, the Sunrise setting (gentle only, fallbacks), a seam
  check for gentle loops, and an opt-in WAV export (skipped in CI). Each new guard was re-introduced once
  to see its test fail.

## [2.4.0] — 2026-09-26 · Settings & info, notifications, a real timer, and motion with physics

### Added — Settings & info
- **⋮ → Settings & info**, built like Flipper the Ripper's settings: theme **System / Light / Dark**
  (before, Brutus always followed the system), Material You colours, the heads-up lead time, the update
  check (moved here from the ⋮ menu), and **About Brutus** — version and build, author, links to the
  website, celox.io, the source and the MIT licence, the Space Grotesk font licence (OFL 1.1, previously
  only in the repository) and a PayPal donate button.

### Added — notifications
- **Heads-up before an alarm** (Off / 30 / 60 / 120 min, default 60) with a countdown and **Dismiss early**,
  which skips this one occurrence. A Hardcore alarm is only dismissed early by solving its own challenges —
  never by a button. The skipped occurrence survives reboots; header and widget show the next one.
- **Snooze countdown** — "Snoozed — rings again at 07:05", with Cancel snooze for normal alarms.
- **Countdown in the Ultra Hardcore reminder** to the next re-alarm.
- **Missed alarm** — after a reboot or a clock jump, a note for an alarm that was due while the phone was off.

### Changed — the timer is a real alarm
- The countdown used to live only in the screen: leaving the app with Back ended it silently, in the
  background it rang late or never. Now its state is persisted, AlarmManager wakes the phone at the end,
  a foreground service rings, and a notification shows the countdown with Pause / Resume / Abort (the
  ringing one has Stop). Verified on an emulator: app left, process killed, rang on time.

### Changed — Material 3 Expressive motion and physics
- Every animation now takes its spec from the theme's `MotionScheme` instead of hand-picked tweens.
- **Snooze thumb** with real fling physics: the release spring carries the finger's velocity, a haptic tick
  at the 85 % point; still position-only, so a flick never snoozes by accident.
- **Swipe to delete** follows the finger (colour, growing bin, tick when letting go would delete).
- **Button groups** on Timer and Stopwatch (the pressed button widens, its neighbour yields), labels that
  roll to their new word, numbers that roll like a counter, a pop per counted shake, and a springy
  wobble with a buzz on a wrong math answer.
- Bottom sheets now **slide out** on save instead of vanishing; banners, list ↔ empty state, the "Done!"
  moment and the stop button animate instead of jumping; `LoadingIndicator` while the camera starts,
  `LinearWavyProgressIndicator` for Sunrise, a continuously draining timer ring.
- The ringing screen no longer **recomposes 60 times a second** for its breathing background, and the
  snooze hint pulse only repaints.
- "Remove animations" is re-read whenever the app comes back; with it on, tab changes fade instead of slide.
- The README claimed `ButtonGroup` and `FloatingToolbar`; neither was used. `ButtonGroup` now is, the
  claim about `FloatingToolbar` is gone.

### Fixed
- An Ultra Hardcore alarm dismissed in the split second before its sound had loaded — or taken over
  by a second alarm in that moment — armed no follow-ups: the service only knew "Ultra Hardcore" from
  a flag set after loading. It now asks the database. Found by a test that went red under load.

### Tests
- 33 new unit tests (306 → 339): notifications and early dismiss (incl. the Hardcore guard), missed
  alarms, the timer controller, About links and the bundled licence, theme mode, snooze threshold.
  Each new guard was re-introduced once to see its test fail.

## [2.3.1] — 2026-09-26 · Rings before the first unlock, and a dozen more fixes

A review of the whole alarm path found bugs that each could make someone oversleep. All are fixed,
covered by tests, and the two that unit tests cannot see were reproduced and verified on an emulator.

### Fixed
- **Alarms now ring after a reboot even before the phone is unlocked.** Everything the ringing path
  reads — alarms, Ultra Hardcore follow-ups, snoozes, the QR code — moved to device-protected
  storage, and receiver, service and alarm screen are direct-boot aware. Before, the locked boot
  pass could not read the database and, since v2.3.0, the process crashed at start-up; no alarm was
  registered until the first unlock. Existing data is moved once, the first time the app runs
  unlocked. Verified on an emulator: reboot with a PIN, not unlocked, alarm rang on time, challenge
  solved, volume restored.
- **The ringing service no longer dies a second after an alarm starts on a locked phone.** It
  refreshed the home-screen widget, and every widget call throws before the first unlock. Found on
  the emulator; the widget is now left alone while locked.
- **Snoozing an Ultra Hardcore alarm no longer arms the two follow-up alarms.** Snooze went through
  the dismiss path, so a snoozed alarm rang three times and asked for the step task.
- **A reboot no longer deletes the follow-ups of a one-shot Ultra Hardcore alarm** (the alarm
  switches itself off when it fires; the lookup only considered enabled alarms). The reminder
  notification — the way into the step task — comes back after a reboot too.
- **Changing the time zone keeps the alarm at its wall-clock time.** Registrations are absolute
  timestamps; a 07:00 alarm set in Berlin rang at 06:00 in London. A new receiver re-registers
  everything on time-zone and clock changes, on the exact-alarm permission being granted again (a
  revoke cancels all alarms) and on app updates; the app also does it every time it is opened, which
  covers force stops and backup restores.
- **A second alarm that fires while one is ringing now takes over the screen.** The alarm screen kept
  showing the first alarm's challenges, so Snooze snoozed the wrong alarm and the new alarm's
  challenge was skipped.
- **Snooze has its own registration.** It no longer replaces the alarm's next regular occurrence, is
  remembered across reboots, and snoozing a follow-up keeps it a follow-up.
- **The alarm volume is put back even if the service is killed while ringing** (it was only kept in
  memory), and a failing system tone or audio track falls back to another sound instead of ending
  the session.
- **Android 12/12L with exact alarms revoked:** registering no longer throws inside the ringing
  service; it degrades to an inexact wake-up until the permission is back.
- **Sunrise** now starts through a full-screen notification (a background start from the receiver is
  blocked on Android 10+), its chime stops when the real alarm starts, and its "Stop alarm" button
  is hidden for Hardcore alarms — one tap ten minutes early no longer disarms them.
- **Test mode restores the alarm volume** after testing a Hardcore alarm.
- Switching an alarm off or deleting it also clears its Ultra Hardcore reminder and a pending snooze.
- The update check only counts a version as announced once the notification was actually shown, and
  switching it on no longer starts two checks at once.

### Added
- Banners above the alarm list when notifications are blocked and while Ultra Hardcore follow-ups
  are pending (the reminder notification can be swiped away on Android 14+).

### Tests
- 28 new unit tests (278 → 306): storage move (the printed QR code survives it), rescheduling after a
  time-zone change, follow-up and snooze recovery, the real service's snooze vs. dismiss, manifest
  filter and direct-boot awareness, the locked widget guard. Each fix was re-introduced once to see
  its test fail.

## [2.3.0] — 2026-09-26 · Update notice (opt-in) + product page

### Added — update notice (opt-in)
- **⋮ → Check for updates** (off by default, also after updating). Switched on, Brutus asks
  `https://brutus.celox.io/latest.json` once right away and then once a day (WorkManager, only with a
  network; GitHub's releases API as fallback) and posts **one** notification per new version on a new
  *App updates* channel (default importance, never through Do Not Disturb). A banner above the alarm
  list offers the download until the new version is installed. Switched off, every scheduled check is
  cancelled and no request leaves the phone.
- `INTERNET` permission added — used only by this check. README, permissions table and the product
  page now say "offline by default" instead of "no internet access".
- 35 new unit tests (243 → 278): version comparison, both JSON shapes, notify-once logic, scheduling, the new
  notification channel — and a pin for a bug the emulator found: the store's change flow emitted `Unit`, which
  `collectAsState` swallows, so the switch stayed "off" on screen.

### Added
- **Product page at [brutus.celox.io](https://brutus.celox.io)** in English, German, Spanish, Italian and French, built with the celox product-page kit. It always offers the newest release — a server timer mirrors GitHub Releases every 15 minutes — with its SHA-256, the signing certificate, the changelog and `/download` as a stable link. Its source lives in `website/`.

## [2.2.0] — 2026-08-15 · English + German, and 168 more tests

### Added — English and German localization
- **The app now ships in two languages.** Every user-visible string moved out of
  the Kotlin sources into resources: `values/strings.xml` (English, the new
  default) and `values-de/strings.xml` (German, a complete translation of the
  wording the app used before). ~180 strings, 6 plurals and a weekday array in
  each — no partial coverage, no silent fallback.
- **Per-app language on Android 13+** via `res/xml/locales_config.xml`, so
  Brutus can run in English on a German phone and vice versa.
- **Real plurals instead of concatenation** (`countdown_days`, `widget_in_days`,
  `shake_remaining`, `step_remaining`, `alarm_deleted`, `alarm_delete_all_body`).
- **Localized date patterns**, not just words: the next-alarm line and the
  world-clock date read `Mon, Aug 17, 06:30` / `Mo, 17. Aug, 06:30` because the
  pattern itself is a string resource. The hardcoded `Locale.GERMAN` in the
  alarm list and the widget is gone.
- Notification channel names, the share-sheet subject, accessibility labels and
  the widget preview text are resources too.

### Added — 24 more unit tests (219 → 243)
- `ResourceParityTest` (11) — the two languages cannot drift apart: identical key
  sets, no blank values, **matching format specifiers** (a dropped `%1$s` crashes
  with `IllegalFormatException` in one language only), complete plurals, seven
  weekdays each, no German left in the default file, and `locales_config.xml` in
  sync with the `values-*` folders.
- `LocalizedRuntimeTest` (7) — resolves every declared string through the
  resource system in both locales and renders a complete alarm card in each.
- The suites that used to pin German strings (`AlarmEntityTest`,
  `ChallengeFlagsTest`, `NextAlarmCalculatorTest`, `NextAlarmWidgetFormatTest`,
  `AlarmSoundTest`, `ChallengeDifficultyTest`) now assert **both** languages via
  the new `LocaleContexts` test helper.

### Changed
- `AlarmSound` carries `@StringRes labelRes` / `descriptionRes` instead of
  literal display names; `ChallengeDifficulty` returns resource ids;
  `ChallengeFlags.describe`, `AlarmEntity.repeatDaysString` / `soundName` /
  `challengeName`, `NextAlarmCalculator.formatCountdown` and the two widget
  formatters take a `Context`. The persisted numeric ids are untouched.
- `ChallengeFlags.describe` no longer returns an empty string for an unknown
  flag bit — it falls back to "None" / "Keine", so a corrupt or future value
  cannot render an empty chip.

### Added — 144 unit tests before that (75 → 219)
Twelve new suites along the paths that had no coverage at all:
- `AlarmSchedulerTest` (23, Robolectric/`ShadowAlarmManager`) — **what actually
  reaches AlarmManager**: trigger on the configured wall-clock time and in the
  future, passed times roll to tomorrow, weekday matching, sunrise exactly
  10 min ahead and only while it is still in the future,
  `setExactAndAllowWhileIdle` (Doze), **a regression guard for the v1.8.0
  stale-sunrise fix**, snooze intervals, and the request-code carve-out that
  keeps a main alarm, its sunrise and both follow-ups from overwriting each
  other.
- `AlarmDaoTest` (15, in-memory Room) — real SQL instead of a mock, including
  the REPLACE conflict and the `id = 0` undo-restore path.
- `ClockFormattingTest` (14) — stopwatch/timer readouts including **constant
  string width**, the premise the tabular numerals rest on.
- `UltraHardcoreStoreTest` (12) — the follow-up bookkeeping that has to survive
  a reboot.
- `NextAlarmWidgetFormatTest` (12) — the widget strings.
- `NextAlarmCalendarEdgeTest` (11) — **daylight saving**: 23 real hours between
  two alarms on the short night, 25 on the long one (wall-clock time
  preserved), the skipped and the duplicated hour, month/year rollovers,
  February 29th.
- `AlarmSoundTest` (9) — the **persisted sound ids** as a golden map;
  renumbering would silently change what existing alarms play.
- `BrutusApplicationTest` (8) — notification channels are write-once:
  importance, DND bypass and silence are pinned.
- `PermissionDeepLinkTest` (7) — the three reliability banners land on the
  right settings page (action + `package:` URI + `NEW_TASK`).
- `AlarmSoundGeneratorPropertiesTest` (7) — invariants for **every** sound
  (loop length, determinism, DC offset, headroom); new enum entries are
  covered automatically.
- `RoomSchemaExportTest` (7) — compares the **identity hash of the running
  database with the committed `7.json`**, so a field added without a migration
  fails in CI instead of at 6 a.m. on a user's phone.
- `AlarmEntityDefaultsTest` (7) + `GlobalQrStoreTest` (6, the code must never
  change or every printout is worthless) + `TimerSoundStoreTest` (6).

### Fixed
- **Widget: "in 1 Tagen" → "in 1 Tag"** — the home-screen countdown had no
  singular form at exactly one day (the in-app countdown always had one).

### Changed
- `formatStopwatch`, `formatCountdown`, `labelForPreset` and the two widget
  formatters are `internal` instead of `private` so the tests can assert the
  strings the user actually reads. No behavior change.
- **14 more unit tests** (total 75): `MathProblemTest` (8 — answer/display logic,
  range and sign invariants of the problem generator per difficulty across 500
  samples, operator/difficulty fallbacks) and `WorldClockStoreTest` (6 — default
  seeding on first launch, round-trips, an empty list does not fall back to the
  defaults, blank filtering; Robolectric).

versionCode 16.

## [2.1.1] — 2026-07-15 · Card color = enabled state

### Fixed
- **Alarm cards now encode the enabled state, not the next alarm**: previously
  only the alarm ringing next got the full primaryContainer surface — three
  enabled alarms looked three different ways although they were in the same
  state. Now **every enabled** alarm sits on the same muted red (primaryContainer
  mixed toward the surface, calm even with many alarms), **disabled** ones sink
  to gray/dark as before (surfaceContainerLow). The next alarm keeps that color
  and is marked with a thin primary outline instead (the header names it
  anyway).

### Added — unit tests for the ViewModel state machines
- **20 new tests** (total 61): `StopwatchViewModelTest` (6 — segment
  accumulation, laps, reset-undo snapshot incl. single-shot semantics),
  `TimerViewModelTest` (8 — countdown/pause math, cancel-undo state machine, an
  expired timer deliberately not undoable; runs under Robolectric) and
  `AlarmEntityTest` (6 — timeString padding, repeatDaysString cases, weekday
  bitmask, hardcoreEffective).
- For that, both ViewModels gained an **injectable clock** (`now: () -> Long`,
  default `SystemClock::elapsedRealtime`) — no behavioral difference in the app,
  but the timing logic is now deterministically testable on the JVM. New test
  dependencies: kotlinx-coroutines-test, Robolectric, androidx.test:core.

versionCode 15.

## [2.1.0] — 2026-07-08 · Tabular numerals everywhere + undo everywhere

### Changed
- **Every number in stopwatch style**: `fontFeatureSettings = "tnum"` now sits on
  **every** style of the type scale (display → label) — every number in the app
  runs with tabular numerals (countdown header, chips, steppers, sunrise
  countdown, keypad, laps, …), nothing wobbles while ticking. The last unstyled
  number texts (shake/step "/ x") were lifted onto scale styles; redundant local
  `tnum` copies removed.

### Added — undo everywhere
Undo used to exist only for deleting alarms. Now every discarding action is
reversible via snackbar ("Undo", 10 s):
- **World clock**: a removed time zone comes back at its old position.
- **Stopwatch**: reset is reversible — the measurement **including all laps** is
  restored from a ViewModel snapshot.
- **Timer**: aborting a running/paused countdown is reversible — it continues
  with the remaining time (or stays paused). Stopping an **expired** timer is
  deliberately not undoable (it would revive the alarm tone).
- Deleting alarms (single + all) has had undo since v1.9.0.

versionCode 14.

## [2.0.0] — 2026-07-08 · M3 Expressive, phase 4: motion polish & consistency (final)

The Expressive redesign is complete — this closes the 2.0.0-alpha series.

### Changed
- **Direction-aware tab transitions**: switching bottom-nav tabs now runs a
  shared-axis-X hand-over (short spring slide from the side the tab sits on +
  fade-through) instead of a hard cut, driven by the expressive spatial spec.
- **Reduced-motion pass completed**: the wavy timer/shake/step rings flatten to plain
  rings (`amplitude = 0`) when system animations are disabled; breathing
  gradient and pulse hints were already gated in Phase 3.
- **Color-role sweep finished**: UHC task screen migrated (error label,
  tertiary success, primary CTA); the only surviving raw brand colors are
  documented in `Color.kt` — the seed (`BrutusRed`), the alarm wordmark
  (`BrutusRedBright`) and the alarm/UHC gradient core (`BrutusDarkRed`).
  Dead legacy surface/text aliases removed. No stray `Color(0x…)` and no
  custom ripple/indication overrides anywhere in the UI layer.
- versionCode 13, versionName 2.0.0.

## [2.0.0-alpha03] — 2026-07-08 · M3 Expressive, phase 3: screens

### Alarm list (3.1)
- Tonal card hierarchy: **next alarm on primaryContainer**, enabled on
  surfaceContainerHigh, disabled sinks to surfaceContainerLow; display-type
  time (Space Grotesk, `tnum`), animated container color.
- **Swipe-to-delete** (errorContainer reveal) on top of the undo snackbar;
  the delete button stays for TalkBack. Brand-red **FAB with press
  shape-morph**, expressive empty state, `animateItem()` springs,
  role-based chips/banners/weekday pills.

### Alarm edit sheet (3.2)
- Difficulty/sensitivity presets → **SegmentedButtonRow**; challenge chips
  with icons + an order-chain caption; **tonal danger-level rows**
  (errorContainer when a hardcore mode is armed, tertiaryContainer for
  Sunrise); tonal rounded TextField; FilledTonalButtons; sheet on
  surfaceContainerLow.

### Alarm ring & challenges (3.3)
- **Breathing brand gradient** (calm 5s swell; static under reduced motion —
  new `rememberReducedMotion()`), hero clock on displayLarge + `tnum`,
  press-morphing stop CTA.
- **MathChallenge: on-screen keypad** (12 morphing keys, primary confirm) —
  no system keyboard over the alarm anymore.
- Shake/Step rings → **CircularWavyProgressIndicator** (tertiary wave);
  QR frame as expressive squircle with error-flash on wrong scans;
  SwipeToSnooze on tertiary roles with circle→squircle thumb morph.

### Timer & stopwatch (3.4)
- Countdown inside a **wavy ring** that flips to error tones on finish;
  presets → AssistChips; controls as wide tonal/primary button pairs;
  laps as tonal rows with tabular numerals + `animateItem()`.

### World clock (3.5)
- Tonal zone cards with **day/night role indicator** (tertiary sun /
  secondary moon), display-type time, pill search field, globe empty state.

### Sunrise & widget (3.6, 3.7)
- Sunrise: role-tinted labels (tertiary), tabular-numeral hero, primary CTA;
  the physical dawn-warmth gradient stays (deliberate, brightness-coupled).
- Widget: 24dp corners, warm surfaceContainer gradient, text on
  onSurface/outline tones, red tone-80 countdown.

All screens (except the deliberately dark-pinned alarm surfaces) ship
dark + light + dynamic previews.

## [2.0.0-alpha02] — 2026-07-08 · M3 Expressive, phase 2: navigation & chrome

### Changed
- **Bottom navigation → `ShortNavigationBar`** (M3 Expressive): tonal
  `surfaceContainer` background, role-based selection colors (pill indicator in
  `secondaryContainer` — the hardcoded red selection is gone), filled/outlined
  icon swap with a soft spatial spring (`MotionScheme.fastSpatialSpec`).
  Extracted as a previewable composable with dark/light/dynamic previews.
  A `WideNavigationRail` variant was evaluated and skipped: Brutus is a
  portrait phone app (alarm/lock-screen flows), landscape tablets aren't a target.
- Icon `contentDescription` in nav items set to `null` — the always-visible
  label already names the tab; TalkBack no longer announces it twice.

### Fixed (edge-to-edge)
- The four alarm-facing activities (ring, test alarm, sunrise, UHC task) now
  call `enableEdgeToEdge()`: their gradients bleed behind the system bars while
  content respects `safeDrawingPadding()` (cutouts, gesture areas).

## [2.0.0-alpha01] — 2026-07-07 · M3 Expressive, phase 1: foundation

Visual-only redesign onto **Material 3 Expressive** begins. No behavior changes —
ViewModels, Room, scheduler, service, and receivers are untouched.

### Changed
- **Compose BOM `2026.06.01`** (was 2024.12.01), **material3 pinned to
  `1.5.0-alpha18`**: the BOM maps material3 1.4.0 stable, but there the
  Expressive entry points (`MaterialExpressiveTheme`, `MotionScheme`,
  `expressiveLightColorScheme`) are still `internal` — they graduated in the
  1.5.0-alpha channel (theme/motion alpha15–18, wavy indicators alpha18).
  alpha18 is the newest alpha still on Compose 1.11 — alpha19+ pulls
  Compose 1.12, which forces compileSdk 37 + AGP 9.1; not worth the toolchain
  churn for a visual pass. Components graduating later (ButtonGroup,
  FloatingToolbar) are used behind honest `@OptIn(ExperimentalMaterial3ExpressiveApi)`.
  Everything except material3 stays BOM-managed.
- **Full M3 color-role system** from the BrutusRed seed (`#E53935`): all
  primary/secondary/tertiary(+container) roles, error family, the complete
  `surfaceContainerLowest…Highest` tonal ladder, outlines, inverse roles.
  Orange is now the **tertiary** family (Sunrise/Timer accents).
- **Light theme support**: the app follows the system setting
  (`expressiveLightColorScheme`-based light scheme); dark remains the design
  default. Alarm-facing activities (ring, sunrise, UHC task, test alarm) stay
  pinned to dark — their black/red gradients assume light-on-dark content.
- **`MaterialExpressiveTheme`** with `MotionScheme.expressive()` (spatial
  springs) and an expressive shape scale (8/12/16/24/32 dp).
- **Expressive typography** with full type scale: Space Grotesk (variable, OFL)
  for display/headline/title, tabular numerals (`tnum`) on the display styles
  so ticking clocks don't jitter; body/labels stay on the system font.
- Theme previews (dark/light/dynamic specimen) in `ui/theme/ThemePreview.kt`.

### Added
- **Material You dynamic color** as opt-in (API 31+), persisted via DataStore
  (`ThemeSettings`), toggle in the alarm-list overflow menu. Default remains the
  red Brutus brand scheme.
- Bundled font `res/font/space_grotesk.ttf` (SIL Open Font License 1.1).

## [1.9.0] — 2026-07-07
- Undo snackbar for deletions (single + delete-all), restoring alarms incl. scheduling.
- Copy alarms: per-card ⧉ button opens a prefilled "copy alarm" edit sheet.

## [1.8.0] — 2026-07-06
- Bug-fix pass (3 parallel reviews): `goAsync()` in boot/widget receivers,
  overlapping-alarm session takeover, stale-sunrise cancel, Timer/Stopwatch
  state survives tab switches (Activity-scoped ViewModels), QR camera cleanup.
- GUI polish: single-row weekday pills in the edit sheet, pinned save CTA,
  TalkBack action for swipe-to-snooze, world-clock search placeholder.

## [1.7.0] — 2026-07-05
- Redesigned alarm cards (full-width weekday strip, info chips).
- Five extreme alarm sounds (stadium horn, jackhammer, fire alarm, dental drill, banshee).

## [1.6.x and earlier]
- See Git history / GitHub releases.
