caelum0x 135e40ad5a
Some checks failed
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
ci / cargo test (abacus) (push) Has been cancelled
ci / node suites (push) Has been cancelled
fix(RIT-BRD): fix garbled Agent tokens copy + mask the raw token on screen
- applications.tmpl's "Agent tokens" intro paragraph was wrapped in
  .flex-list > .flex-item, which forces display:flex on a block containing
  mixed text + inline <code> elements -- each text run and <code> becomes
  its own anonymous flex item, scrambling the reading order into a
  columns-like mess at every viewport width (not just narrow ones). Moved
  the intro to a plain <p>, kept .flex-list only on the actual token-row
  container (correct usage there, matches every other such row on the
  page).
- The "New agent token" result page (apps/rithub-approvals) showed the
  full ~700-char raw token in plain text with a separate "Copy" text
  button. Now masked by default (first 8 / last 6 chars), with icon-only
  show/hide (reusing the exact eye/eye-closed octicon pair already used by
  rithub-pw-toggle) and icon-only copy buttons -- the real value never
  leaves a data-token attribute; the masked text node is never clipboard-
  sourced.

Live-verified via gstack screenshots at 1440 and 390: paragraph reads as
one coherent sentence, token row aligns under its section header, masked
token + reveal toggle + icon buttons all work, no console errors. QA
account/token/marks created for this review fully purged after.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-12-01 17:24:06 +03:00
..