Skip to content

chore: remove SPDX-License-Identifier headers repo-wide - #977

Merged
blove merged 5 commits into
mainfrom
blove/remove-spdx-identifiers-04f752
Sep 3, 2026
Merged

chore: remove SPDX-License-Identifier headers repo-wide#977
blove merged 5 commits into
mainfrom
blove/remove-spdx-identifiers-04f752

Conversation

@blove

@blove blove commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Why

The repo is uniformly MIT — root LICENSE, all six libs/*/LICENSE.md, and every one of the 130 package.json manifests. The historical carve-outs are gone: libs/chat was relicensed back to MIT and apps/minting-service no longer exists.

Nothing enforced the per-file header either — no eslint rule, no CI step, no line in CONTRIBUTING.md or AGENTS.md. It was ~1,300 lines of duplicated licensing metadata that every new file had to remember to carry, restating what LICENSE and the manifests already say.

What changed

1,249 files, 1,299 deletions, 5 insertions. Pure single-line removals, except three places worth a look:

  • Three generators that stamped the header into generated outputexamples/chat/angular/scripts/inject-env.mjs, examples/ag-ui/angular/scripts/inject-env.mjs, and scripts/generate-aimock-scaffold.ts (3 template literals). Without these the header grows back on the next scaffold.
  • Blog code samples in 2026-06-04-human-in-the-loop-ag-ui-agents-in-angular.mdx (3 lines), so published samples match the tree.

Left untouched: docs/superpowers/plans and specs. Those 134 files mention the header — and the old PolyForm identifier — in prose, as a record of the past license migrations. None carry a real header; rewriting them would falsify the history.

14 Python __init__.py files are now empty, which is their idiomatic state.

Verification

Check Result
nx run-many -t lint (chat, langgraph, ag-ui, render, a2ui, telemetry) 0 errors
nx run-many -t test (same six) pass
nx run-many -t build --configuration=production (same six) pass
nx test scripts pass
nx lint website, nx test website pass
verify-release-versions, check-dx-coverage, verify-angular-support pass
node --test examples/chat/smoke/*.spec.mjs scripts/verify-angular-support.spec.mjs 44/44
72 touched .py files all compile

🤖 Generated with Claude Code

The repo is uniformly MIT — root LICENSE, all six libs/*/LICENSE.md, and
every one of the 130 package.json manifests. Nothing lints, tests, or
otherwise enforces the per-file header, so it was 1,300+ lines of
duplicated licensing metadata that new files had to remember to carry.

Removes the header from the top of every source file (.ts/.tsx/.mjs/.py/
.css/.sh/.md), and from the three generators that stamped it into
generated output (both inject-env.mjs scripts and the aimock scaffold
generator) so it does not come back. Also drops it from the code samples
in the human-in-the-loop blog post.

Left alone: docs/superpowers plans and specs, which mention the header
(and the old PolyForm identifier) in prose as a record of past work.

Verified: lint/test/build green for chat, langgraph, ag-ui, render, a2ui,
telemetry; nx test scripts; website lint + test; verify-release-versions,
check-dx-coverage, verify-angular-support, and the node:test smoke specs;
all 72 touched Python files compile.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
threadplane Ready Ready Preview Sep 3, 2026 5:21am UTC

Request Review

@blove
blove enabled auto-merge (squash) September 3, 2026 04:31
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

#976 landed 23 files under examples/chat/angular while this PR was open;
they were written before the header was dropped and carried it in.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove merged commit f2a3a5f into main Sep 3, 2026
74 of 75 checks passed
@blove
blove deleted the blove/remove-spdx-identifiers-04f752 branch September 3, 2026 05:45
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