Skip to content

chore(license) + fix(tests): finish PMPL→MPL-2.0 stragglers; repair main's test-compile breakage#65

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/dazzling-albattani-ubS9r
Jun 19, 2026
Merged

chore(license) + fix(tests): finish PMPL→MPL-2.0 stragglers; repair main's test-compile breakage#65
hyperpolymath merged 2 commits into
mainfrom
claude/dazzling-albattani-ubS9r

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Two things (the test fix was folded in here because the one-branch-per-repo rule means it shares this branch — and because #65 couldn't go green without it).

1. License — finish the PMPL-1.0 → MPL-2.0 stragglers

The migration mostly landed earlier (a740439, #52); this clears the remnants, mirroring julia-the-viper's gap-006:

  • SPDX PMPL-1.0 → MPL-2.0 in scorecard.yml + secret-scanner.yml (codeql + README badge already done on main).
  • threat-model.a2ml: dropped the "fallback until PMPL is recognised" note.
  • Retired stale Palimpsest artifacts: PALIMPSEST.adoc (still claimed PMPL-1.0), LICENSE.txt (old PMPL text; canonical LICENSE is MPL-2.0), LICENSES/PMPL-1.0-or-later.txt. No file declares SPDX … PMPL anymore.

2. Tests — repair a pre-existing compile breakage on main

Not caused by the license change. main's "remediate UnboundedAllocation" commit mechanically rewrote fs::read_to_string(PATH) into a bounded File::open(...).take(...).read_to_string() form, but for multi-.join(...) paths it glued .and_then onto the path's .join(...) instead of File::open(...) and stranded a paren — leaving 9 sites that don't compile (mismatched/unexpected closing delimiter) in aspect_test / p2p_test / concurrency_test / e2e_test. That reddened all januskey CI (Rust Build + Unit Tests, E2E), not just this PR.

Fixed all 9: close File::open(FULL_PATH) before .and_then(...), drop the stray paren; kept the bounded-read form (respects the remediation's intent); cargo fmt normalized them. cargo test --workspace is fully green (all suites pass).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BJmfoz1ZS1Pejy9LLMY742

claude added 2 commits June 19, 2026 21:42
…re Palimpsest artifacts

The PMPL-1.0-or-later -> MPL-2.0 migration landed earlier (a740439, #52); this
clears the remaining stragglers, mirroring julia-the-viper's gap-006 resolution.

- SPDX-License-Identifier: PMPL-1.0 -> MPL-2.0 in scorecard.yml + secret-scanner.yml
  (codeql.yml + the README badge were already done on main).
- threat-model.a2ml: drop the "until PMPL is formally recognised" note (PMPL retired).
- Retire stale Palimpsest artifacts: PALIMPSEST.adoc (still claimed PMPL-1.0,
  contradicting the completed migration), LICENSE.txt (old PMPL license text;
  canonical LICENSE is already MPL-2.0), LICENSES/PMPL-1.0-or-later.txt (unused
  now that no file declares PMPL).

Canonical LICENSE (MPL-2.0) unchanged. Remaining minor follow-ups (NOTICE prose,
a k9 setup-example, guix/flake license fields) noted for a later pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJmfoz1ZS1Pejy9LLMY742
main's "remediate UnboundedAllocation" commit mechanically rewrote
fs::read_to_string(PATH) into a bounded File::open(...).take(...).read_to_string()
form, but for multi-.join(...) paths it glued `.and_then` onto the path's join
instead of File::open and stranded a paren -- leaving 9 test sites that don't
compile (mismatched/unexpected closing delimiter). This reddened ALL januskey CI
(Rust Build + Unit Tests, E2E), #65 included.

Repairs the 9 sites in aspect_test / p2p_test / concurrency_test / e2e_test:
close File::open(FULL_PATH) before .and_then(...), drop the stray paren. Kept
the bounded-read form (respects the remediation's intent); cargo fmt normalized
the expressions. cargo test --workspace green (all suites pass).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJmfoz1ZS1Pejy9LLMY742
@hyperpolymath hyperpolymath changed the title chore(license): finish PMPL-1.0 → MPL-2.0 stragglers; retire Palimpsest artifacts chore(license) + fix(tests): finish PMPL→MPL-2.0 stragglers; repair main's test-compile breakage Jun 19, 2026
@hyperpolymath hyperpolymath marked this pull request as ready for review June 19, 2026 22:38
@hyperpolymath hyperpolymath merged commit 26d656e into main Jun 19, 2026
17 checks passed
@hyperpolymath hyperpolymath deleted the claude/dazzling-albattani-ubS9r branch June 19, 2026 22:39
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.

2 participants