docs: web comments say what the app does, not how it came to be (#6277)

Rewrites the web app's comments to rule 32. Task, milestone, rule and
spec ids are gone; regression stories are restated as the trap they
guard (public auth routes, the menu's stopPropagation, universal loads
under adapter-static, metric deltas with their margin). Flutter and
Tauri mentions now name the Android app or a native shell, operator
quotes and dates are dropped, and one library's counts no longer
appear outside test fixtures. Verified with a TypeScript-scanner token
comparison (template literals and regex literals re-scanned): only
comment text changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 12:42:12 -04:00
co-authored by Claude Opus 5.5
parent 6028d78844
commit 10d50dccbd
164 changed files with 602 additions and 624 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ export function timeUntil(iso: string): string {
// Rounds where relativeTime floors, and the difference matters. Flooring an
// elapsed time is honest — "3h ago" for 3h59m means "at least three hours".
// Flooring a countdown is not: it would show "in 3h" for something 3h59m
// away, so the operator comes back an hour early and finds nothing has
// happened. Caught by CI rendering a 4h-away attempt as "in 3h".
// away, so an admin comes back an hour early and finds nothing has
// happened.
const minutes = Math.round(ms / 60_000);
if (minutes < 60) return `in ${minutes}m`;
const hours = Math.round(ms / 3_600_000);