Skip to content

Reorganize repo docs and scripts, fix Scripts/scripts case collision - #6

Merged
pedrobritx merged 1 commit into
mainfrom
claude/repo-reorg
Jul 2, 2026
Merged

pedrobritx merged 1 commit into
mainfrom
claude/repo-reorg

Conversation

@pedrobritx

@pedrobritx pedrobritx commented Jul 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Moved the 13 product/spec docs (AI_RULES.md, ARCHITECTURE.md, PRODUCT.md, REQUIREMENTS.md, ROADMAP.md, USER_FLOW.md, UI_GUIDELINES.md, DESIGN_SYSTEM.md, TERMINAL_AUTOMATION.md, BOOTABLE_USB_ENGINE.md, VMWARE_INTEGRATION.md, SECURITY.md→unchanged, ICON_GUIDELINES.md, VISION.md) from the repo root into docs/specs/, alongside the existing docs/adr/ and docs/site/.
  • Kept README.md, LICENSE.md, COMMERCIAL-LICENSE.md, CONTRIBUTING.md, and SECURITY.md at the root — these are the files GitHub's community-health detection looks for there, and docs-lint.yml's license-presence job does a literal test -f LICENSE.md / test -f COMMERCIAL-LICENSE.md against the repo root, so moving them would have broken CI.
  • Merged Scripts/ (build-app.sh, make-icns.sh) into the existing lowercase scripts/ directory. Having both Scripts/ and scripts/ at the repo root simultaneously is a latent bug: macOS and Windows default to case-insensitive filesystems, so a git checkout on either platform would fold the two directories together and could silently drop files. This repo is macOS-first, so it was only a matter of time before it bit someone.
  • Updated every real reference to a moved path so nothing points at a stale location: README.md, CONTRIBUTING.md, COMMERCIAL-LICENSE.md, Assets/Icon/README.md, Assets/Icon/generate_icon.py, the Prompts/*.md agent-prompt file lists, and .github/workflows/release-macos.yml.
  • Left backtick (non-hyperlink) filename mentions inside docs/adr/*.md untouched — ADRs are historical decision records and convention is not to edit their body text after acceptance; none of those mentions are functional links, so nothing is broken.
  • Added __pycache__/ and *.pyc to .gitignore since the repo now has Python tooling colocated under scripts/.

Test plan

  • Wrote and ran a script that parses every .md file's local relative links and confirms each one resolves to a real file — all pass.
  • Ran scripts/check_screen_parity.py locally — passes.
  • Verified the license-presence checks (test -f LICENSE.md, test -f COMMERCIAL-LICENSE.md, grep LICENSE.md README.md) still pass from the repo root.
  • bash -n on both moved shell scripts, python3 -m py_compile on both Python scripts, YAML syntax-checked the touched workflow.
  • Confirmed executable bits (build-app.sh, make-icns.sh) survived the git mv.
  • CI (docs-lint, parity, macOS build) — pending in this PR.

Notes

  • Did not touch Sources/, Tests/, or Package.swift — the repo's own ADRs and CONTRIBUTING.md describe a much larger, deliberate future migration (Sources/WInstallerApp → apps/macos/, plus a new shared Rust core/) tracked separately across docs/adr/0002, 0006, 0007. That's a distinct architectural phase, not a docs/files cleanup, so it's out of scope here.

Generated by Claude Code

Move the 13 product/spec docs (AI_RULES, ARCHITECTURE, PRODUCT, etc.)
from the repo root into docs/specs/, alongside the existing docs/adr/
and docs/site/. Keep README, LICENSE.md, COMMERCIAL-LICENSE.md,
CONTRIBUTING.md, and SECURITY.md at root, since GitHub's community
health file detection and the docs-lint license-presence check both
expect them there.

Merge Scripts/ (build-app.sh, make-icns.sh) into the existing lowercase
scripts/ directory. Having both Scripts/ and scripts/ at the repo root
is a latent bug: on the case-insensitive filesystem macOS and Windows
use by default, git checkout would fold the two into one directory and
silently drop files.

Update every real reference to a moved path (README, CONTRIBUTING,
COMMERCIAL-LICENSE, Assets/Icon/README, generate_icon.py, the Prompts/
agent-prompt file lists, and the release-macos.yml workflow) so nothing
links to a stale location. Verified all markdown links resolve and the
screen-parity/license-presence checks still pass locally.
@pedrobritx
pedrobritx marked this pull request as ready for review July 2, 2026 20:47
@pedrobritx
pedrobritx merged commit 7aa911e into main Jul 2, 2026
4 checks passed
@pedrobritx
pedrobritx deleted the claude/repo-reorg branch July 2, 2026 20:47
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