Repository navigation
Done
Copy link
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Description
Refs: #17718
Blocked by: #17718
Problem
#17718 keeps rendered-view CDN libraries on exact-version pins with SRI hashes (owner decision, architecture docs/owner-decisions.md line 284). Nothing keeps those pins current, and no security alert reaches them: Dependabot reads package manifests, not <script src> URLs in markdown or HTML (supported ecosystems).
Decision
The owner chose Dependabot as the keep-current mechanism, 2026-11-20 ~10:5x PM EST, verbatim: "Go with recommendations." The recommendation read: a manifest-only package.json that Dependabot bumps, a sync script that writes the URLs, SRI hashes and CSP from it, and a CI check that fails on drift.
Change
- A manifest-only directory (
package.jsonplus lock file, no install step) pinning exactmermaidand@tailwindcss/browser, the libraries the rendered views load today. - A Dependabot
npmentry for that directory in.github/dependabot.yml, in the same per-directory shape as the existing npm entries. - A sync script that reads the manifest and writes each CDN URL, its
integrity="sha384-..."hash and the CSP source into every file that loads from the CDN: todayplugins/architecture/skills/improve/research/deepening/html-report.mdand the two eval samples underplugins/architecture/evals/deepening-report-on-chrome-with-counts/samples/. The hash is computed over the exact file the URL serves. - A CI check, run in an existing lane job, that fails when any of those files differs from what the sync script writes.
Done when
- A Dependabot npm entry covers the manifest directory, and the manifest pins both libraries at the versions the views load.
- Running the sync script on an unchanged tree changes no file.
- Changing a version in the manifest and running the sync script updates every CDN URL, SRI hash and CSP source, and the views still render in headless Chromium.
- The CI check fails on a tree whose view URL or hash differs from the manifest, and passes after the sync script runs.
- A Dependabot PR bumping the manifest gets its views synced before merge by the pr-unblock dependency route (the D408 shape): the route runs the sync script on Dependabot's PR in a job with no token, inside a pinned container, with network to fetch each file it hashes, the way fix(pr-pipeline): relock the directory a Dependabot group left behind, with uv in a tokenless container #17301 relocks the second Playwright pip directory. No session pushes to the Dependabot PR (R698).
Related
- rendered-views: add SRI hashes to exact-version CDN pins #17718: SRI hashes on the exact pins (this item builds on it)
- fix(rendered-views): pin CDN libraries to a major version, not an exact one #17742: closed; major-version ranges were rejected
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Type
Fields
Work status
confirmed
Priority
medium
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: #17718
Blast radius: a new manifest-only directory, one Dependabot entry, a sync script, a CI check in an existing lane job, a pr-unblock dependency route, and the three CDN-loading files in the architecture plugin. Maintainers and CI read it.
Reversible: yes; revert the change and the pins go back to hand-maintained.
Open questions: none
I understood this as: keep the rendered-view CDN pins current by having Dependabot bump a manifest-only package.json for mermaid and @tailwindcss/browser. A sync script then rewrites the URLs, SRI hashes and CSP sources. A CI drift check and the pr-unblock route cover Dependabot's PRs. The design and done-when are exact, so nothing is missing. The issue names #17718 as a blocker and that issue is still open, so this work waits on it. No merged pull request already covers it.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane yet: blocker #17718 is not closed by a listed human or a merge.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"5321b5b2e81baec5afdc19b2cd27b463058c631d844a93d6267b46a34a720dd9","body_sha256":"5a3c078096221d497a4f3f7e0d2081a36ea6700bd29c6c2393706d6b52443dca"}
melodic-automation-lanes commentedon Nov 21, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44886436585, the work-resolve-issue run that
agent-readystarted, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T08:48:36Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or thekill-switchwait.github-actions commentedon Nov 21, 2026
melodic-automation-lanes commentedon Nov 21, 2026
The work-resolve-issue lane stopped on this issue (
patch-protected-path): the change needs a path the issue lane may not push, which a maintainer session builds by hand.It added
host-runand set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.In the run's words:
What the run says it did not do:
Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44922172089
To hand it back to the lane, remove
host-runand set Work status to agent-ready again.kyle-sexton commentedon Nov 23, 2026
Decision recorded.
Q140, the pr-unblock route for cdn-pins bump PRs (done-when 5). Options put to the owner: (A) approve a narrow allow class: only the files sync.mjs rewrites, and only when the pushed diff equals sync.mjs output; (B) no widening: drop the Dependabot entry, bumps stay manual via sync.mjs; (C) keep PR 18281 held.
The owner, typed in a session at 2026-11-23T01:59:42Z, verbatim: "Go with the recommendation." (recommendation: A)
Owner-decisions row: https://github.com/melodic-software/architecture/blob/4cf90acc1006b2e35650c7bf72742172e9c0aa25/docs/owner-decisions.md#L352
Next: a session build adds that narrow allow class for done-when 5; PR 18281 (done-when 1-4) merges after it.
feat(pr-unblock): sync the CDN pins on a Dependabot manifest bump
kyle-sexton commentedon Nov 23, 2026
Decision recorded.
Q151, the
cdn-pinsallow-class path list (done-when 5, PR #18336). Options put to the owner: (A) approve the full list: every filesync.mjsrewrites, read from the base branch'slib/cdn-pins/pins.jsontargets[], pluspins.jsonitself; (B) restrict to the files shown for Q140; (C) hold both PRs.The owner, typed in a session on 2026-11-23 at about 13:58Z, verbatim: "go w/ recommendations" (recommendation: A)
Owner-decisions row: https://github.com/melodic-software/architecture/blob/4c069f099ad558b73727e801f469c45ca9f9a909/docs/owner-decisions.md#L359
Q154, unattended merge of a CDN-pin bump carrying the lane's sync commit (done-when 5, PR #18336). Options put to the owner: (A) both dependency merge gates (pr-unblock's verdict gate and the pr-merge twin) admit a commit only when it is a single-parent lanes App commit changing only the base branch's
pins.jsonand itstargets[]paths, each modified in place, with the push-identity check still binding and a failed read refusing; (B) a person merges each CDN bump.The owner, typed in a session on 2026-11-23 at about 16:2xZ, verbatim: "go w/ recommendations" (recommendation: A)
Owner-decisions row: https://github.com/melodic-software/architecture/blob/4c069f099ad558b73727e801f469c45ca9f9a909/docs/owner-decisions.md#L367
Next: PR #18336 builds both; PR #18281 (done-when 1-4) merges after it.