mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-17 23:24:55 +01:00
md-naming only allows README*, CLAUDE* and DOCS* markdown, so keep.md failed the all-files gate. Its only reader, check_textgate_keep.sh, now points at the new name. The textgate tool does not read the file; it is this repo's own keep list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWWfb63jncj9Lca2jeX
39 lines
2.0 KiB
Markdown
39 lines
2.0 KiB
Markdown
# Text-free keep list
|
|
|
|
Every `textgate scan` hit that stays on purpose. `scripts/check_textgate_keep.sh`
|
|
runs the scan and fails on any hit no row below covers. Rework rationale and the
|
|
per-screen decisions: `~/data/wake-alarm_notext/keep.md` (2026-11-10 rework).
|
|
|
|
## Scan exceptions
|
|
|
|
First cell: a file, or a directory ending in `/`. Second cell: the exact text,
|
|
or `*` for any text. The checker parses only this table.
|
|
|
|
| Path | Text | Reason |
|
|
|---|---|---|
|
|
| `docs/explanations/` | * | Generated by the `explain-diff` skill (`docs/explanations/index.html`). Explanation pages for the repo, not app UI; a text-free explanation defeats its purpose. |
|
|
|
|
## Kept but not flagged by the scan
|
|
|
|
Rows copied from the rework's keep list. The scan does not report these today;
|
|
they are listed so the next rework does not delete them.
|
|
|
|
### OS-level labels: the app name only
|
|
|
|
| Where | Text | Reason |
|
|
|---|---|---|
|
|
| `phone_app/lib/ui/app_name.dart` `kAppName` | `WakeAlarm` | `MaterialApp.title`: the task-switcher name, a proper noun |
|
|
| `phone_app/android/app/src/main/AndroidManifest.xml` | `android:label="WakeAlarm"` | launcher label, a proper noun |
|
|
| `phone_app/android/app/src/main/kotlin/com/kuhy/wake_alarm_sync/AppName.kt` `APP_NAME` | `WakeAlarm` | name of the ring and session notification channels |
|
|
|
|
### Content: data the program only displays
|
|
|
|
| Where | Content | Reason |
|
|
|---|---|---|
|
|
| `room_proof_screen.dart`, `session_tags_screen.dart` | registered NFC tag ids | authored identifiers read off the tag |
|
|
| `ring_challenge.dart` `challenge.display` | digits, operators, sequences, the reversed word | the thing you must read to dismiss; always visible |
|
|
| `home_location_screen.dart` | captured SSID, BSSIDs, coordinates | read from the radio |
|
|
| all screens | clock times, numeral dates, counts, kg, `N/M` | numbers |
|
|
| `escape_dialog.dart` | the excuse text kuhy types | typed value |
|
|
| `alarm_publisher.dart` two `publish()` failure strings | spoken labels, two distinct cue kinds | CLAUDE.md: keep both messages |
|