Skip to content

fix(ci): correct the provenance claim in the remediation PR body - #3847

Merged
rossnelson merged 1 commit into
mainfrom
fix-remediation-pr-body
Aug 20, 2026
Merged

fix(ci): correct the provenance claim in the remediation PR body#3847
rossnelson merged 1 commit into
mainfrom
fix-remediation-pr-body

Conversation

@rossnelson

Copy link
Copy Markdown
Collaborator

Description & motivation 💭

The first real apply run published draft pull request #3846. Its body holds two faults.

It misattributes authorship. The body states that Claude authored the change. #3845 moved that work to the deterministic planner, and no model touches the manifest now. A security remediation must not make a false claim about who wrote it.

The newlines are literal. The body was built as body="...\n\n..." inside double quotes. Bash reads no escape there, so GitHub received one long line holding a backslash and an n. #3846 shows this.

The change

The body now comes from a quoted heredoc, so the text holds real newlines. Its lines carry the indentation of the run block, which YAML strips, so the shell receives the heredoc at column zero.

The new text names the deterministic planner, states that no model authored the change, and lists the checks that ran before the publishing job received a write credential.

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

The workflow file parses and prettier reports no problem. 77 tests pass, unaffected.

The body was extracted from the parsed workflow and run through bash with RUN_URL set. The output holds real line breaks, expands the run URL, and contains no literal backslash and n.

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

After this merges, open Actions, select Weekly On-Call Review, and run it with the mode apply and the channel C0BPXR260DA. The run updates #3846 in place, so the body should render as paragraphs.

Checklists

Merge Checklist

Issue(s) closed

Part of UI-138. The per-alert table with advisory links and resolved versions is still open.

Docs

Any docs updates needed?

No.

The published body states that Claude authored the change. That is false since
the planner took over the manifest. Pull request 3846 carries the false claim
now. A security remediation must not misattribute its own authorship.

The body also held `\n` inside double quotes. Bash does not read an escape
there, so the text reached GitHub as one line with a literal backslash and n.
Pull request 3846 shows that too.

The body now comes from a quoted heredoc, so the text holds real newlines. Its
lines carry the indentation of the run block, which YAML strips, so the shell
receives the heredoc at column zero.

The new text names the deterministic planner, states that no model authored the
change, and lists the checks that ran before the publishing job received a write
credential.

This is the smaller half of UI-138. The per-alert table with advisory links and
resolved versions is still open.

Refs UI-138
@rossnelson
rossnelson requested a review from a team as a code owner August 20, 2026 13:56
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview Aug 20, 2026 1:57pm

Request Review

@rossnelson
rossnelson merged commit d6823cc into main Aug 20, 2026
26 checks passed
@rossnelson
rossnelson deleted the fix-remediation-pr-body branch August 20, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant