You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ux(human): make the summary header match the finding taxonomy — split unknown classes, canonical tokens, shown/total denominator #4322
Part of #4316 (epic(ux)). Verified on main @ 54e867a9e, 2026-09-27. Classification: verified_current. All-state search summary header unknown, summary taxonomy: no prior owner.
Problem
The per-run denominator line — the only place a human sees class totals — diverges from the product's core taxonomy in three ways (crates/ripr/src/output/human.rs:150-160):
Three unknown classes collapse into one bucket: static_unknown + infection_unknown + propagation_unknown are summed (lines 157-159). A mixed run (3 infection + 5 propagation) is indistinguishable from 8 of either — yet the distinction is exactly what tells the user which discriminator machinery is missing, and JSON keeps them separate.
Header tokens diverge from finding vocabulary: the header says weak and unrevealed where findings say weakly_exposed and reachable_unrevealed. Grepping the header tokens against finding lines (or the spec vocabulary) fails.
No shown/total denominator: probes does not reconcile with visible findings when --suppression-policy removes some (buckets decrement, probes does not; the suppressed count only appears later in the policy block). A reader summing the header cannot tell whether counts are pre- or post-suppression.
Verified behaviorally on fixtures/all_no_path_disclosure: Summary: 1 probe(s), 0 exposed, 0 weak, 0 unrevealed, 1 no path, 0 unknown — vocabulary mismatch visible on any run.
Expected
Per-class denominators with canonical tokens and an explicit shown/total, e.g.:
Delivered by #4934 (squash-merged to main as 9f89f6c8f; branch deleted; synced onto #4924's landed base a2c403d06 via merge 5505a51cb). All four acceptance boxes verified this session:
Header names all seven classes with canonical tokens — render_header_summary renders exposed, weakly_exposed, reachable_unrevealed, no_static_path, infection_unknown, propagation_unknown, static_unknown (unknowns split, no summed bucket); pinned by summary_header_names_every_class_with_its_canonical_token, whose per-class distinct counts bind token and position and whose ExposureClass::as_str() loop fails if a class is renamed or added without extending the header. Rendered witness: actual human.txt for all_no_path_disclosure reads Summary: 1 probe(s), 0 exposed, 0 weakly_exposed, 0 reachable_unrevealed, 1 no_static_path, 0 infection_unknown, 0 propagation_unknown, 0 static_unknown; 1 of 1 finding(s) shown — the issue's expected sketch verbatim.
Shown/total denominator present and reflects suppression — per-class buckets count unsuppressed findings; summary.findings stays the total; ; {shown} of {total} finding(s) shown appended. Pinned by summary_header_shown_total_denominator_reflects_suppression (; 1 of 2 finding(s) shown with one suppressed finding).
Human goldens re-blessed in the same PR; JSON untouched — 275 human.txt + 73 human-full.txt (where human-full goldens exist) one-line Summary swaps + bless CHANGELOGs; no check.json in the delta.
gates green — on the synced head 5505a51cb: cargo test -p ripr --lib human:: 115 passed / 0 failed; cargo fmt --check clean; cargo clippy -p ripr --all-targets -- -D warnings clean; cargo xtask goldens check exit 0 (624 comparisons pass, 0 drift, violations "None detected"); cargo xtask dogfood exit 0. Hosted required check Ripr Rust Small Result pass on that head (run 36763705867); review threads resolved with dispositions (0 unresolved at merge).
Review residual (non-acceptance): the worktree replay-note shorthand flagged on both PRs is recorded as a follow-up on #4321's reconciliation comment. Parent epic #4316 remains open for the rest of the family.
Activity
ux(human): make the summary header match the finding taxonomy — canon…
EffortlessSteven commentedon Sep 30, 2026
Delivered by #4934 (squash-merged to
mainas9f89f6c8f; branch deleted; synced onto #4924's landed basea2c403d06via merge5505a51cb). All four acceptance boxes verified this session:render_header_summaryrendersexposed,weakly_exposed,reachable_unrevealed,no_static_path,infection_unknown,propagation_unknown,static_unknown(unknowns split, no summed bucket); pinned bysummary_header_names_every_class_with_its_canonical_token, whose per-class distinct counts bind token and position and whoseExposureClass::as_str()loop fails if a class is renamed or added without extending the header. Rendered witness: actualhuman.txtforall_no_path_disclosurereadsSummary: 1 probe(s), 0 exposed, 0 weakly_exposed, 0 reachable_unrevealed, 1 no_static_path, 0 infection_unknown, 0 propagation_unknown, 0 static_unknown; 1 of 1 finding(s) shown— the issue's expected sketch verbatim.summary.findingsstays the total;; {shown} of {total} finding(s) shownappended. Pinned bysummary_header_shown_total_denominator_reflects_suppression(; 1 of 2 finding(s) shownwith one suppressed finding).human.txt+ 73human-full.txt(where human-full goldens exist) one-lineSummaryswaps + bless CHANGELOGs; nocheck.jsonin the delta.5505a51cb:cargo test -p ripr --lib human::115 passed / 0 failed;cargo fmt --checkclean;cargo clippy -p ripr --all-targets -- -D warningsclean;cargo xtask goldens checkexit 0 (624 comparisons pass, 0 drift, violations "None detected");cargo xtask dogfoodexit 0. Hosted required checkRipr Rust Small Resultpass on that head (run 36763705867); review threads resolved with dispositions (0 unresolved at merge).Review residual (non-acceptance): the worktree replay-note shorthand flagged on both PRs is recorded as a follow-up on #4321's reconciliation comment. Parent epic #4316 remains open for the rest of the family.
fix(human): reconcile digest header and Hidden count denominators (#5017