Commit c0d01a5
feat(cicd_rules): add PMPL-1.0 + PMPL-1.0-or-later to @wrong_licenses (#381)
## Summary
- Adds `PMPL-1.0` and `PMPL-1.0-or-later` to
`cicd_rules/@wrong_licenses`.
- Closes a known detection gap surfaced in today's Hypatia rules audit:
the estate licence policy (2026-05-25) bans both MPL-1.0 and PMPL-1.0 in
favour of MPL-2.0, but the scanner only enforced MPL-1.0.
## Why
The estate-wide policy is "MPL-1.0 / PMPL-1.0 → MPL-2.0".
`standards#249` just migrated 25 reusable workflow files; without this
rule extension, the scanner could not catch the drift before merge. Now
it can.
## Test plan
- [x] Two new cases in `test/lang_policy_refresh_test.exs` (PMPL-1.0,
PMPL-1.0-or-later)
- [x] 15/15 tests pass via standalone elixir locally
- [ ] CI green
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ec44d75 commit c0d01a5
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
543 | 547 | | |
544 | 548 | | |
545 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
82 | 92 | | |
83 | 93 | | |
84 | 94 | | |
| |||
0 commit comments