Skip to content

fix: consolidate licenses/ into LICENSES/ to break case collision - #200

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/consolidate-licenses-dir
Apr 30, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/consolidate-licenses-dir

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Closes the second case-collision flagged in docs/governance/CRG-AUDIT-2026-04-18.adoc:93 ("three parallel license-text locations"). After #199 (license/ removal) and this PR, only LICENSES/ remains.

Two tracked directories at the repo root had case-only-different names:

  • LICENSES/ (uppercase) — 2 files: MPL-2.0.txt, PMPL-1.0-or-later.txt
  • licenses/ (lowercase) — 4 files: MPL-2.0-EN.txt, MPL-2.0-NL.txt, PALIMPSEST-EN.txt, PALIMPSEST-NL.txt

On Windows (case-insensitive filesystem) the two paths fold together; only one set of files survives in the working tree, hiding the other. On case-sensitive systems both exist, but parallel licence-text directories with different case is itself confusing.

No filename collisions between the two directories — each of the 4 lowercase files has a distinct name from the 2 uppercase files, so consolidation is a clean directory rename.

Changes

  • git mv each of the 4 files from licenses/<name> → LICENSES/<name>. The licenses/ directory becomes untracked.
  • docs/STANDARDIZATION-CHECKLIST.scm:20 — required-file path licenses/MPL-2.0-EN.txt → LICENSES/MPL-2.0-EN.txt.
  • docs/ADA-TUI-AUDIT-SPEC.adoc:94 — required-directory entry licenses/ → LICENSES/.

Independence from #199

Both PRs are scoped to non-overlapping line edits:

Whichever merges first, the other should rebase cleanly.

Out of scope

  • docs/governance/CRG-AUDIT-2026-04-18.adoc is a dated snapshot (2026-04-18) and is not modified — its description was accurate as of its date.
  • README.adoc:546 references https://opensource.org/licenses/MPL-2.0 — that's the OSI URL, not a repo path, so left untouched.

Test plan

  • git ls-files | grep -i license shows only LICENSE and LICENSES/... after this PR (no licenses/ paths).
  • No filename collisions between source and destination (MPL-2.0.txt vs MPL-2.0-EN.txt are distinct).
  • Inbound references updated (only two found via grep: STANDARDIZATION-CHECKLIST.scm:20, ADA-TUI-AUDIT-SPEC.adoc:94).
  • After fix: remove license/PMPL-1.0.txt to break LICENSE / license/ case collision #199 also merges: git status is clean on a fresh Windows clone (no D LICENSE and no hidden directory contents).

Two tracked directories with case-only-different names existed at the
repository root:

- LICENSES/ — uppercase. 2 files: MPL-2.0.txt, PMPL-1.0-or-later.txt
- licenses/ — lowercase. 4 files: MPL-2.0-EN.txt, MPL-2.0-NL.txt,
  PALIMPSEST-EN.txt, PALIMPSEST-NL.txt

On Windows (case-insensitive filesystem) the two paths fold together
and only one survives in the working tree, hiding the other's files.
On case-sensitive systems both exist, but having two parallel
licence-text directories with different case is itself confusing
(see docs/governance/CRG-AUDIT-2026-04-18.adoc:93).

There are no filename collisions between the two directories — each
of the 4 files in licenses/ has a distinct name from the 2 in
LICENSES/, so the consolidation is a clean directory rename.

Changes:
- git mv each of the 4 files from licenses/<name> to
  LICENSES/<name>. The licenses/ directory becomes empty and is no
  longer tracked.
- docs/STANDARDIZATION-CHECKLIST.scm:20 — required-file path
  "licenses/MPL-2.0-EN.txt" -> "LICENSES/MPL-2.0-EN.txt".
- docs/ADA-TUI-AUDIT-SPEC.adoc:94 — required-directory entry
  "licenses/" -> "LICENSES/".

Out of scope:
- README.adoc:19 still references license/PMPL-1.0.txt; that path is
  removed by #199, which this PR is independent of. Whichever lands
  first, the other should rebase cleanly (no overlapping line edits).
- docs/governance/CRG-AUDIT-2026-04-18.adoc is a dated snapshot and
  remains unmodified; its description of the pre-existing state is
  still accurate as of its date.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@hyperpolymath
hyperpolymath merged commit bfedebb into main Apr 30, 2026
44 of 69 checks passed
@hyperpolymath
hyperpolymath deleted the claude/consolidate-licenses-dir branch April 30, 2026 06:41
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