Build P-TRIV.1-.3: the Trivia Wire - role-aware status-bar trivia + the executive INTEL WIRE (ADR-0174/0175/0176) - #241
Merged
Merged
Conversation
…he executive INTEL WIRE (ADR-0174/0175/0176) A word-game ticker in the status bar's idle gap (between the Gov chip and the gate-active pill), on the boredom windows only: streaming turns past an 8s grace, and idle sessions (empty composer + past sessions or an unlocked KG) past 15s. - P-TRIV.1 (ADR-0174): pure game core (no-repeat cycle, streak scoring capped x3, idempotent answers, corrupt-safe injected persistence, esc()'d per-letter markup), thin rAF shell (hover pause, wheel scrub, A-D keys, right-click hide + undo), score tile in the metrics rail, single LUCID-accent letter color. - P-TRIV.2 (ADR-0175): role-aware banks riding the ADR-0088 role (executive -> GovCon, manager -> CMMI-DEV L3 + PM, security -> CMMC + RMF, developer -> general) + the idle-engagement visibility branch. - P-TRIV.3 (ADR-0176): banks deepened to 100/100/100 + 50 executive (350 questions, duplicate-free, spread-checked); the executive INTEL WIRE - curated defense/intel RSS fetched first-party server-side, scan-gated FAIL-CLOSED through the real sidecar (findings or a dead scanner drop the batch), host-only egress SecurityEvents per reach-out, fail-quiet offline, headlines rendered as escaped text interleaved between questions; 45s park timeout via a neutral skip() keeps the idle wire streaming. 66 trivia/news tests + demos P-TRIV.1/.2/.3 green (P-TRIV.3 includes a live 40-headline fetch through the real scanner); tsc + license clean; the only local failures are the 6 pre-existing Windows path-sep tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…le-escaping alert Sequential decode passes let '&lt;' decode twice (to '<') after the tag-strip had already run. One alternation over the original text means produced characters are never re-scanned; a regression test pins the property. (The ticker esc()'d every character regardless - this closes the hygiene gap, not an exploitable XSS.) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A word-game ticker in the status bar's idle gap (between the Gov chip and the gate-active pill) that keeps the user learning while they wait - visible only during the boredom windows: agent turns streaming past an 8s grace, and idle sessions (empty composer + past sessions or an unlocked Knowledge Graph) past 15s. One keystroke hides it; right-click dismisses permanently (undo toast). Score tile joins the metrics rail; lifetime tally in localStorage. Letters render in the single LUCID accent color.
Role-aware content (ADR-0088 roles)
350 questions total, shape-gated, duplicate-free across banks, answer-position spread pinned by tests.
The INTEL WIRE's security posture
skip()(no score impact) so the idle wire truly streamsVerified
66 trivia/news tests +
demo-P-TRIV.1/.2/.3green (the .3 demo includes a LIVE 40-headline fetch through the real scanner); tsc + license clean; verified live in the dev renderer (idle wake, keystroke hide, role switch retargets content, INTEL line scrolls between questions). Local Windows shows only the 6 pre-existing path-sep test failures (fs_browse + lucid_acp).ADRs 0174/0175/0176 + PROGRESS entries included.
🤖 Generated with Claude Code