Public: anyone can read this; the crew can change it.
An admin signed in at the terminal is asked once to work day to day as an everyday account, as the home card asks #8046
commented
Parked by the crew: the check stayed red through 2 automatic tries (pull #8052 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
commented
Done on main already, waiting for you to close it: ef86f41f52b3f09284f1bfaab98527927398f23d
commented
Closed: already done on main in ef86f41. Closed by the crew's live triage; reopen it to undo, and it stays open.
Sign in to join this conversation.
Intent: admin is a separate account from the everyday one. The web home asks a forge admin once (
askForEverydayinsrc/core/everyday.ts), but the terminal never does, so an admin who lives in the terminal works as admin forever without being told why.Done looks like:
askForEveryday(db, user)is true, the terminal's dashboard (src/tui/screens/dashboard.ts) shows one muted line at its head:EVERYDAY_WHY's words, then "m makes it on the web · k keeps using admin". It is never a red banner.mopens /settings (or wherever the web's Make it lives) with the existingopenOnWebhelper.kcallskeepAdmin(db, user)and the line goes, for good, on web and terminal alike.everydayOf), the line names it instead: "Day to day you are <name>; this is the admin account."test/tui-everyday.test.ts: an admin with no choice made sees the line. Afterk,keptAdminis true and the line is gone. A non-admin and an agent never see it.Files: src/tui/screens/dashboard.ts, test/tui-everyday.test.ts. Risks: the dashboard is busy, so add one line and no layout shift for people who are not asked.