chore: add copyright and SPDX headers - #229
Open
Caneryy wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds file-level license provenance across repository scripts and documentation for #215 and #216.
// Copyright (c) 2026 Sub Rosa contributorsto all 8 repository scripts from chore: add copyright headers to grant-scoring examples and repository scripts #215 that exist on the currentmainbranch.<!-- SPDX-License-Identifier: MIT -->as the first line of all 21 documentation files from chore: add SPDX license headers to documentation files #216 that exist on the currentmainbranch.Correct handling of Node shebangs
Four scripts start with a Node shebang. Their copyright notice is placed immediately after the shebang because Node only accepts
#!at byte zero; moving the shebang to line 2 produces anInvalid or unexpected tokensyntax error. Files without shebangs receive the notice on line 1.Targets absent from the current base branch
Several paths named by the issues were deleted before these issues were opened:
examples/grant-scoring/src/*files from chore: add copyright headers to grant-scoring examples and repository scripts #215examples/grant-scoring/README.mdfrom chore: add SPDX license headers to documentation files #216docs/SCF_PLAN.mdfrom chore: add SPDX license headers to documentation files #216The grant-scoring surface was removed by
bc9c438(refactor: remove unfocused product surfaces). This PR deliberately avoids resurrecting deleted product or documentation surfaces solely to attach headers.Verification
git diff --checknode --checkfor all 8 changed scriptsnode --test scripts/check-deploy-docs.test.mjs scripts/check-fixture-sizes.test.mjs scripts/check-threat-model-anchors.test.mjs— 16/16 passednode scripts/check-deploy-docs.mjs— passed after the documentation updatesnode scripts/check-fixture-sizes.mjs— passednode scripts/check-snapshots.mjs— passednode scripts/check-threat-model-anchors.mjs docs/THREAT_MODEL.md— passed after the documentation updatesnode scripts/check-links.jsreports the pre-existing missingdocs/SCF_PLAN.md, which is also one of the stale paths listed by #216. This PR does not restore deleted documentation or alter link-check behavior.Closes #215
Closes #216