Repository navigation
Fix/design verdicts panel - #40
Merged
Merged
Conversation
Agents write the Design verdict as a full sentence, and the page put the whole sentence inside a badge: badges don't wrap, so on the architecture diagram card it ran out of the box, and the Design verdicts panel was a wrap of long coloured pills in no particular order. - report/architecture.split_design_verdict: sentence -> (label, reason), label from classify_design_verdict so it always matches the badge colour (Sound / Sound with conditions / Not sound / Not applicable / Unclear). - Design verdicts panel: a table of the 5 most recent reviews, newest first -- project, label badge, reason (clamped to two lines, full text in the tooltip), review date -- with "Latest N of M projects". - Diagram card: label badge with the reason as wrapping text below it. - Rows link to the successful review the verdict came from, not the project's latest run (which may have failed). - "Projects not cleanly Sound" compares the label, not the sentence. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The "Unreviewed & stale" panel lists only the five most recently active projects (by last run), with "Latest N of M" and a link to the full table when more exist. - "By project" ends with a Review status column for every project: Current / Stale (Nd) / Trust boundary changed / No successful review, from the same stale list the dashboard already computes -- so trimming the panel hides nothing. - unreviewed_and_stale_projects (and boundary-changed rows) now carry last_activity_at so lists can be ordered by recency. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…TRIDE - New info_tip macro (_macros.html): a small (i) button in a widget's top-right corner that opens a short explanation of what the widget shows, where the number comes from, and what to do about it. Built on <details>, so it works without inline script under the portal CSP; interactive.js keeps one open at a time and closes it on an outside click or Escape (focus returns to the button). - All 12 Threat Modeling widgets get one. - Model depth mix: each count now carries its name and meaning (Full = whole system, Feature-level = one feature or data flow, Lightweight = fast checklist pass), the model total, and a hint when lightweight models outnumber full ones. - STRIDE x asset-class matrix: full names for S/T/R/I/D/E (legend and hover) and a colour key (none / 1-2 / 3+). Co-Authored-By: Claude Opus 5.5 <[email protected]>
WebKit always lays a <details> out as a block, so the inline info button under "Models needing rework" and "Recurring threat patterns" dropped to its own line. The heading is now a flex row (heading-with-info), which keeps the button after the last word in every browser. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Threat-modeling cards match that pattern: each widget says what it counts, and a list longer than ten rows scrolls inside the card. Co-authored-by: Cursor <[email protected]>
Full falsified-assumption and post-build lists move to their own pages, and STRIDE coverage shows one project at a time. Co-authored-by: Cursor <[email protected]>
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 does this change, and why?
Testing
pytest testspassesruff check .passes