Public: anyone can read this; the crew can change it.
"Flags are set by a forge admin." lives in one place, read by the flag action, the web page and the terminal #5593
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: A non-admin setting a flag reads the same wherever it is said, because it is said from one place. Today each sentence below is typed out separately in src/actions/flag_winner.ts, src/web/pages/flags.ts, src/tui/screens/flags.ts, so the next edit to one copy makes them drift.
Done:
- "Flags are set by a forge admin."
grep -rnfor each sentence under src/ finds only the module.bun x tsc --noEmitand, if src/web changed,bun scripts/design-lint.ts. A red test elsewhere that main also has is named in the pull, not a reason to stop.Files: src/core/flags.ts (export it beside mayManageFlags), src/actions/flag_winner.ts, src/web/pages/flags.ts, src/tui/screens/flags.ts, test/flags-words.test.ts. Risk: a pure move; change no wording. Touch only the lines the sentences are on.