Skip to content

docs(license): restore root LICENSE (MPL-2.0) for GitHub license detection - #8

Merged
erinepshovel-code merged 1 commit into
mainfrom
repair/tiwcg-root-license
Sep 27, 2026
Merged

erinepshovel-code merged 1 commit into
mainfrom
repair/tiwcg-root-license

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Collaborator

Cause

#7 (merged 2026-09-27 09:25 PT) at first added a root LICENSE, but its final commit ("drop root LICENSE, keep LICENSES/MPL-2.0.txt") removed it before the squash merge. That left LICENSES/MPL-2.0.txt as the only copy. GitHub's license detection reads only the repo root, so tiwcg shows no license (gh api repos/The-Interdependency/tiwcg --jq .license returns null). The local licensee in #7 still found MPL-2.0 because it also scans LICENSES/, which GitHub doesn't.

Fix

Add a root LICENSE that is byte-identical to LICENSES/MPL-2.0.txt. Nothing else changes. The README link to LICENSES/MPL-2.0.txt still works, so I left it as is. REUSE.toml is unchanged.

Verification

  • cmp LICENSE LICENSES/MPL-2.0.txt: identical
  • sha256 of both files: 3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04, the same as the official text at https://www.mozilla.org/media/MPL/2.0/index.txt
  • reuse lint: output is byte-identical to main, exit 1 both times. This is non-compliant on purpose: 46/146 files are licensed, the only used license is MPL-2.0, and there are no bad, missing or unused licenses.
  • licensee detect .: MPL-2.0, and LICENSE matches exactly at 100%
  • Tests: compileall passes, engine has 50 tests OK, render has 4 tests OK

hmmm: the REUSE layout and GitHub's root-only detection want different places for the same text, so the text now lives in both.

The final commit of #7 dropped the root LICENSE and kept only
LICENSES/MPL-2.0.txt. GitHub's license detection reads only the repo
root, so tiwcg showed no license. Add a root LICENSE byte-identical to
LICENSES/MPL-2.0.txt (the official MPL-2.0 text).
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T16:30:49.971195Z 4a268ac PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@erinepshovel-code
erinepshovel-code merged commit 25add51 into main Sep 27, 2026
5 checks passed
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