A PR body sanitizer is planned as a reusable workflow in streetsidesoftware/actions. It will expose hidden text in a PR body as a code block flagged as untrusted, so reviewers can see it before merge.
That exposed block must not reach the release notes, or the hidden text gets published after all. Once the sanitizer's block format is settled:
Depends on the sanitizer's design in streetsidesoftware/actions.
Agent instructions
The sanitizer in streetsidesoftware/actions exposes hidden text in PR bodies as a marked, untrusted block. Read its documented block format first; if it isn't documented, stop and ask. In scripts/lib/clean-release-body.mts, remove that block from each PR body the way <details><summary>For maintainers</summary> blocks are removed (outside code, nesting-aware), add cases to scripts/check-clean-release-body.mts (removed in prose, kept inside a code block, next to a For maintainers block), and update docs/releasing.md ("Cleaning PR bodies") and .claude/skills/release-notes/SKILL.md. Run node ./scripts/check-clean-release-body.mts, pnpm run lint-ci, and pnpm run check-spelling. Title: chore:.
A PR body sanitizer is planned as a reusable workflow in streetsidesoftware/actions. It will expose hidden text in a PR body as a code block flagged as untrusted, so reviewers can see it before merge.
That exposed block must not reach the release notes, or the hidden text gets published after all. Once the sanitizer's block format is settled:
scripts/lib/clean-release-body.mts, the same way "For maintainers" blocks are removed.scripts/check-clean-release-body.mts, including a block shown inside a code block, which must be kept.docs/releasing.md("Cleaning PR bodies") and in therelease-notesskill.Depends on the sanitizer's design in streetsidesoftware/actions.
Agent instructions
The sanitizer in streetsidesoftware/actions exposes hidden text in PR bodies as a marked, untrusted block. Read its documented block format first; if it isn't documented, stop and ask. In scripts/lib/clean-release-body.mts, remove that block from each PR body the way
<details><summary>For maintainers</summary>blocks are removed (outside code, nesting-aware), add cases to scripts/check-clean-release-body.mts (removed in prose, kept inside a code block, next to a For maintainers block), and update docs/releasing.md ("Cleaning PR bodies") and .claude/skills/release-notes/SKILL.md. Runnode ./scripts/check-clean-release-body.mts,pnpm run lint-ci, andpnpm run check-spelling. Title:chore:.