Skip to content

chore(licence): migrate Cargo.toml from PMPL-1.0 to MPL-2.0#37

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/mpl-2-0-migration
May 27, 2026
Merged

chore(licence): migrate Cargo.toml from PMPL-1.0 to MPL-2.0#37
hyperpolymath merged 1 commit into
mainfrom
claude/mpl-2-0-migration

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

  • Updates Cargo.toml license field from PMPL-1.0 to MPL-2.0.
  • Closes the SPDX-vs-manifest mismatch flagged by standards#196 (estate licence-debt audit, 2026-05-26).
  • Aligns this repo with the estate policy of MPL-1.0/PMPL-1.0 → MPL-2.0 migration.

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

  • standards#196 — licence debt audit
  • standards#201 — licence-consistency CI check (will catch future drift)

🤖 Generated with Claude Code

…-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>
@hyperpolymath hyperpolymath enabled auto-merge (squash) May 26, 2026 13:23
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 43 issues detected

Severity Count
🔴 Critical 4
🟠 High 26
🟡 Medium 13

⚠️ Action Required: Critical security issues found!

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

@hyperpolymath hyperpolymath merged commit 359d7f6 into main May 27, 2026
19 of 22 checks passed
@hyperpolymath hyperpolymath deleted the claude/mpl-2-0-migration branch May 27, 2026 12:03
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