docs: restore SECURITY.md on v2/main, so the next tree swap can't drop it - #1865
docs: restore SECURITY.md on v2/main, so the next tree swap can't drop it#1865cliffhall wants to merge 1 commit into
Conversation
…p it Closes #1864. SECURITY.md was restored to main in #1843 but never added to v2/main. Because v2/main is the develop branch merged into main at milestones, and the two share no common git ancestor, the next milestone merge would silently remove the security policy from the default branch a second time. Copied byte-for-byte from main (sha256 bbc8aaa5a33d481f902c1b7ac260a4c9c0d41dac5bb2916607222dd205dda924, 2633 bytes). No content changes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU
There was a problem hiding this comment.
Pull request overview
Restores the repository’s SECURITY.md on v2/main so that future milestone merges (which effectively swap trees due to unrelated histories) don’t silently drop the security policy from the default branch again.
Changes:
- Add
SECURITY.mdtov2/main(content matches the restored policy onmain). - Document supported version/package support expectations (v2 single-package vs v1 sub-packages).
- Provide guidance for reporting vulnerabilities via GitHub Security Advisories rather than public channels.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Superseded by #1867 — same commit, same content. This PR was auto-closed by GitHub when its head branch was renamed #1867's description also corrects a claim made here: this PR said |
Closes #1864.
Follow-up to #1843, and the same reasoning that moved #1851 onto
v2/main.The gap
SECURITY.mdwas restored tomainin #1843, but it was never added tov2/main.v2/mainis the develop branch, merged intomainat milestone releases — and the two share no common git ancestor (git merge-base main v2/mainreturns nothing; the v2 tree swap created unrelated histories). So the next milestone merge re-swaps the tree and silently removes the security policy from the default branch a second time.The change
Copied byte-for-byte from
main— sha256bbc8aaa5a33d481f902c1b7ac260a4c9c0d41dac5bb2916607222dd205dda924, 2633 bytes, verified after the copy. No content changes: #1843 already wrote this file for the post-swap world, so it describes the v2 single-package model and thev1-latestdist-tag correctly as-is.Testing
No source files are touched, so no
validate/coveragegate measures this change.npx prettier --check SECURITY.mdpasses.Note
.github/workflows/claude.yml(#1851) and this file are the two known instances. Anything else restored directly tomainafter the swap is suspect for the same reason — a sweep is probably worth doing separately.🤖 Generated with Claude Code
https://claude.ai/code/session_01YAt8rqxysNbhYWLhoRm3fU