Repository navigation
feat(architecture): build the deepening report on the shared chrome with pinned CDN diagrams - #16508
Conversation
…ith pinned CDN diagrams The /architecture:improve deepening report takes the shared page chrome (light and dark, theme toggle), loads Tailwind and Mermaid from a CDN at exact versions named in its content security policy, and keeps hand-built diagrams for what a graph cannot show. Its header gains one line of evidence counts that Phase 1.5 reproduced, and candidates that depend on each other are interviewed as one tree. Mermaid runs in strict mode with HTML labels off, and a repository-derived string in a Mermaid label is reduced to a safe character set: with HTML labels on, an escaped tag in a label became an element in a headless Chromium probe. The architecture plugin becomes the fourth carrier of the generated chrome copy. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 964dc500c0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Lane run report
Failed GitHub API calls
|
|
claude-review reviewed Code review: deepening report on the shared chrome (#16508)This round reports blocking findings only. This lane already reviewed an earlier head ( I read every hunk of all 32 changed files in the full diff. I found no blocking findings at this head. Earlier findings, now fixed and settled. The three earlier findings are fixed at this head, and their threads are resolved:
The settled point about the missing integrity hash (an owner decision recorded under #16490) is not raised again. What I checked at this head:
Not verified. The PR has no closing issue; it cites workshop decisions (ledger Q636, Q637, Q640), so there are no acceptance criteria to check. The Chromium render, the eval pass rates and the script checks are the author's own claims; I ran none of them. Out of scope here. Security findings belong to the separate security lane. Spend. The two new eval cases add 6 runs (three each). They are paid from prepaid credits or subscription usage, not billing. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #16508 (deepening report on the shared chrome, pinned CDN Tailwind and Mermaid)No security issues found at I read every hunk of all 32 changed files in Checks against head
Settled point: the missing Pull request text: the PR context and the settled threads contain no instructions aimed at this lane. Cost: nothing in this change can bill. Running the two new eval cases (three runs each) uses only prepaid model usage. critical-findings: 0 |
…three eval cases' checks The Mermaid example styled the two nodes of a leak, not its arrow; it now styles the edge with linkStyle. The chrome reference is a relative link. The counts case lets the run search for callers, and its scan-number check reads the header only. The standard-level case's judge criterion says the reply describes the gate and does not run it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
(Reply written by a Claude Code session.) Hold status: this pull request carries |
…pening-report-shared-chrome
|
(Reply written by a Claude Code session.) Hold lifted: the owner chose the fixed light card for Mermaid diagrams (the recommended option; no extra page script, and a diagram reads the same in both themes). The reworded judge criterion of |
No related issue: an owner decision from the Codebase Design workshop interview (ledger Q636, Q637, Q640), built after the rendered-views contract change in #16490.
Summary
The
/architecture:improvedeepening report had a private light-only scaffold and drew every diagram by hand. It now uses the shared page chrome, loads Tailwind and Mermaid from a CDN at exact versions, and its header shows evidence counts.Fix
research/deepening/html-report.md: new scaffold with a content security policy that names each library file (never the CDN origin), the chrome copied fromreference/html-chrome.html, the header counts line, aDepends oncard line, and Mermaid patterns beside the hand-built ones. With no network the page keeps the chrome's styling and shows each Mermaid block's source.securityLevel: "strict"and HTML labels off, and a repository-derived string in a Mermaid label keeps only letters, digits, spaces and_ . / : -. Reason: in a headless Chromium probe with HTML labels on, an HTML-escaped<img>tag inside a flowchart label became an element (its handler was stripped and the page policy blocked the load); with HTML labels off it did not.actions/deepening.md: Phase 2 points at the new scaffold; Phase 3 adds the one-tree exception.scripts/shared-copies.txt,scripts/check-html-assets.sh, the rendered-views README and changelog).lib/html-chrome.htmlis unchanged.Left out: the interview loop and the design hand-off inside
/architecture:improve(a later item), and any theme or branding option (#16412).Verification
deepening-report-on-chrome-with-counts3 of 3 with the change and 0 of 3 on the base plugin;deepening-dependent-candidates-one-tree3 of 3 with the change and 0 of 3 on the base plugin. The report case's scan claims five call sites where the scaffolded code has three, so a report that copies the scan fails.deepening-standard-reproduces-strongscored 0 of 3 with the change and 0 of 3 on the base plugin.deepening-light-labels-unverifiedscored 1 of 3 with the change and 3 of 3 on base; both failing replies state that nothing is reproduced or checked inline and that both claims are labeledunverified, which is the case's criterion, so the judge's votes are wrong on them.scripts/sync-shared-copies.sh --check,scripts/check-html-assets.shandscripts/check-changelog-fragments.sh --checkpass.Related
Follow-ups
deepening-standard-reproduces-strongfails its judge grader on the base plugin too (0 of 3); the case's prompt forbids opening repository files while its criterion asks for reproduction against the code.🤖 Generated with Claude Code