Skip to content

chore(policy): MPL-1.0 is flag-only, never rewritten by an agent - #796

Merged
hyperpolymath merged 2 commits into
mainfrom
chore/mpl-flag-only
Nov 14, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
chore/mpl-flag-only

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

.claude/CLAUDE.md told agents to rewrite MPL-1.0 / MPL-1.0-or-later to MPL-2.0 "wherever encountered (code + docs)". That is a standing SPDX sweep, and the standards licence policy forbids it: licence edits are manual, per file and owner-only. The owner ruled on 2026-11-14 that the rule here becomes flag-only.

This change was meant to ride on #794, but that PR merged a few minutes before the commit was pushed, so it comes separately.

Changes

The three places that said "rewrite" now say "flag to the owner, never rewrite":

  • the policy-refresh note;
  • the BANNED rows;
  • enforcement rule 8.

No SPDX header or LICENSE file is touched.

Testing

tools/ci/governance-standalone.sh: exit 0.


Generated by Claude Code

.claude/CLAUDE.md told agents to rewrite MPL-1.0 / MPL-1.0-or-later to
MPL-2.0 "wherever encountered (code + docs)", a standing SPDX sweep. The
standards licence policy forbids that: licence edits are manual, per file
and owner-only. The owner ruled on 2026-11-14 that the rule here becomes
flag-only. The three places that said "rewrite" (the policy note, the
BANNED rows and enforcement rule 8) now say "flag to the owner, never
rewrite". No SPDX header or LICENSE file is touched.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZnvMV5Ghe7LUf3oc6N
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 14, 2026 22:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T22:26:35.310262Z 47f9da9 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-14T22:27:01.240346Z 47f9da9 Draft marked ready
ℹ️ 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.

Repository owner deleted a comment from coderabbitai Bot Nov 14, 2026
@hyperpolymath
hyperpolymath merged commit aea7de8 into main Nov 14, 2026
8 checks passed
@hyperpolymath
hyperpolymath deleted the chore/mpl-flag-only branch November 14, 2026 22:24
@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47f9da9865

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude/CLAUDE.md
6. **No Python, no exceptions** - The SaltStack exception is removed (owner ruling 2026-11-14). Any Python must be rewritten or removed.
7. **No Kotlin/Swift for mobile** - Use Tauri 2.0+ or Dioxus.
8. **MPL-1.0 / MPL-1.0-or-later are non-conforming** - Rewrite to MPL-2.0 in SPDX headers and LICENSE files when encountered (Hypatia's `validate_license` flags both).
8. **MPL-1.0 / MPL-1.0-or-later are non-conforming: flag, never rewrite** - Report each to the owner (Hypatia's `validate_license` flags both). Licence and SPDX changes are manual, per file and owner-only; an agent never edits them (owner ruling 2026-11-14, matching the standards licence policy).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Align the governance gate with the flag-only policy

When a PR contains an MPL-1.0 header, .github/workflows/governance.yml:41 runs tools/ci/governance-standalone.sh, whose lines 38 and 45 still say the header must be rewritten to MPL-2.0 and emit that rewrite as the CI remediation. That directly contradicts this new owner-only rule and can prompt an agent or contributor to make the prohibited licence edit; update the gate's comment and diagnostic to instruct reporting the file to the owner instead.

Useful? React with 👍 / 👎.

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.

3 participants