Critical:
- XSS: DOMPurify sanitizes all marked.parse() output before innerHTML
High:
- L6 reject gates commit: rejected output shows "Output Rejected" card
instead of showing the answer as committed
- Per-run state reset: lastBaseline, polishedAnswer, lastReportId,
lastJudge all cleared at start of each pipeline run
Medium:
- Audit tab: provenance event includes real P/L/E/S component scores
- Mobile: judge comparison stacks to 1 column on narrow screens
- renderMd fallback uses esc() for safety when marked unavailable
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Model pills, m* labels, judge collapsible, color-coded answers
Backend:
- Each layer event includes model name (flash/pro/internal)
- Scores event includes m* index and total candidate count
Frontend:
- Model pills on each layer header (violet for internal, teal for external)
- Score card shows "m* = candidate m3 of 3"
- LLM Judge is now collapsible (click header to toggle)
- Answer previews have color-coded highlights:
safety keywords (red underline), evidence keywords (teal underline),
[N] citations (teal bold)
- Legend showing color meanings above answers
- References CSS ensures each ref on its own line
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- CHANGELOG.md with versions v0.5.0 through v0.9.0
- New "Changelog" tab in nav bar
- /api/changelog endpoint serves markdown content
- Rendered with marked.js, styled with serif headings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix double-quote typo in layer body HTML breaking collapsibles
- Use inline chevron ▶ instead of CSS ::after (avoids flex conflict)
- Layers auto-expand when running, collapse when done
- Evidence cards now show eScore badges (high/mid/low) with color
- Evidence items are clickable links with year display
- Review card shows answer preview + "waiting for decision" indicator
- Simplify candidate display (count only, not full text)
- Add pastel background CSS vars for constraint colors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Major UX overhaul: polished answers, judge, blocking review, collapsibles
- Add credentials:'include' to fetch so cookies auto-attach
- Read _sessionToken from localStorage at app.js startup
- Add CSS rules to show sun in dark mode, moon in light mode
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rebuild frontend: site design system, tabs, split CSS/JS/HTML