Skip to content

chore: add copyright and SPDX headers - #229

Open
Caneryy wants to merge 2 commits into
Sub-Rosa-Issue:mainfrom
Caneryy:chore/issue-215-copyright-headers
Open

chore: add copyright and SPDX headers#229
Caneryy wants to merge 2 commits into
Sub-Rosa-Issue:mainfrom
Caneryy:chore/issue-215-copyright-headers

Conversation

@Caneryy

@Caneryy Caneryy commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds file-level license provenance across repository scripts and documentation for #215 and #216.

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 an Invalid or unexpected token syntax 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:

The 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 --check
  • Exact-header assertions for all 29 changed files
  • node --check for all 8 changed scripts
  • node --test scripts/check-deploy-docs.test.mjs scripts/check-fixture-sizes.test.mjs scripts/check-threat-model-anchors.test.mjs — 16/16 passed
  • node scripts/check-deploy-docs.mjs — passed after the documentation updates
  • node scripts/check-fixture-sizes.mjs — passed
  • node scripts/check-snapshots.mjs — passed
  • node scripts/check-threat-model-anchors.mjs docs/THREAT_MODEL.md — passed after the documentation updates

node scripts/check-links.js reports the pre-existing missing docs/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

@Caneryy Caneryy changed the title chore: add copyright headers to repository scripts chore: add copyright and SPDX headers Aug 26, 2026
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.

chore: add SPDX license headers to documentation files chore: add copyright headers to grant-scoring examples and repository scripts

1 participant