chore(licence): migrate Cargo.toml from PMPL-1.0 to MPL-2.0#37
Merged
Conversation
…-2.0 Closes part of Item 2 of the 2026-05-26 estate tech-debt audit follow-up (hyperpolymath/standards#196). The estate-wide policy is 'MPL-1.0/PMPL-1.0 -> MPL-2.0' (see estate language policy memory). This PR migrates the manifest's declared license field; the LICENSE file's Palimpsest preamble (if present) is unchanged, and the MPL-2.0 body text it wraps is the load-bearing licence. The licence-consistency CI check landed in standards#201 catches future SPDX-vs-manifest drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 43 issues detected
View findings[
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "expect() in hot path (1 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/src/types.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unwrap_or(0) with dangerous default (1 occurrences, CWE-754)",
"type": "unwrap_dangerous_default",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/src/mlp.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "unwrap_or(0) with dangerous default (1 occurrences, CWE-754)",
"type": "unwrap_dangerous_default",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/src/sensor.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "expect() in hot path (8 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/src/persistence.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "panic! macro causes unrecoverable crash (26 occurrences, CWE-754)",
"type": "panic_macro",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/src/persistence.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (3 occurrences, CWE-494)",
"type": "shell_download_then_run",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/setup.sh",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"line": 204,
"reason": "Secret found: Generic API key",
"type": "secret_detected",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/SECURITY.md",
"action": "revoke_rotate_and_purge",
"rule_module": "security_errors",
"severity": "critical"
},
{
"line": 205,
"reason": "Secret found: Generic API key",
"type": "secret_detected",
"file": "/home/runner/work/heterogenous-mobile-computing/heterogenous-mobile-computing/SECURITY.md",
"action": "revoke_rotate_and_purge",
"rule_module": "security_errors",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cargo.tomllicense field fromPMPL-1.0toMPL-2.0.MPL-1.0/PMPL-1.0 → MPL-2.0migration.What this PR does NOT do
This is the manifest field only. The LICENSE file (if it carries a Palimpsest preamble) keeps that preamble — the load-bearing MPL-2.0 text is unchanged.
Companion
🤖 Generated with Claude Code