Skip to content

chore: untrack .claude/launch.json + bump submodule pointer to merged ui#3 - #250

Merged
thinkclay merged 2 commits into
mainfrom
claude/post-merge-cleanup
May 19, 2026
Merged

thinkclay merged 2 commits into
mainfrom
claude/post-merge-cleanup

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Summary

Two-commit hygiene branch following the #249 platform-safety merge:

  1. Untrack .claude/launch.json — the file is already covered by the .claude/ rule in .gitignore, but it predates the rule and was therefore still tracked. Once a file is in git, gitignore stops applying. Removing it from the index brings the actual git state into alignment with the team's stated intent. The file stays on each developer's disk where they already had it; only the tracked copy is removed.

  2. Bump packages/ui submodule pointer to include the merged Scaffald/ui#3 (commit 5067e50). The previous pointer (7907ee6) was the unmerged PR HEAD; this advances to the merge commit so submodule history matches its remote main.

Why this isn't part of #249

Both are zero-risk hygiene changes that surfaced after #249 landed:

Note on pre-commit hook

The submodule-pointer commit was made with SKIP_PRECOMMIT=1 because the hook has a false-positive on submodule-only diffs: packages/ui (the submodule path being staged) substring-matches every error line inside packages/ui/..., so pre-existing lint warnings on ui/main get attributed to the pointer bump. Worth filing as a hook bug — the path-segment matcher should treat submodule entries differently from in-tree paths. Submodule typecheck/lint were already validated during Scaffald/ui#3's review.

Test plan

  • pnpm prepush stamps HEAD without fork bomb
  • After merge: .claude/launch.json no longer appears in git status after local edits
  • After merge: git submodule status shows the merge commit (5067e50) for packages/ui
  • No CI regression (submodule pointer bump only — no source changes)

🤖 Generated with Claude Code

thinkclay and others added 2 commits May 19, 2026 11:22
The file predates the `.claude/` ignore rule (added later in
.gitignore). It has only ever been edited by one developer, and the
team's intent — per the existing ignore rule — is that everything
under `.claude/` is per-developer config. Removing it from the index
brings the actual git state into alignment with the gitignore.

The file stays on each developer's disk where they already had it;
this commit only removes the tracked copy. Future edits no longer
pollute `git status` or trip `gh pr create`'s uncommitted-changes
warning.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
…ns PR

Pulls in Scaffald/ui#3 (5067e50, merged) which split `useSidebarState`
and `useAccessibilityInfo` into Metro platform extensions
(`.web.ts` / `.native.ts`). The companion to UNI-Construct#249.

The previous pointer (7907ee6) was the unmerged PR HEAD; this advances
to the merge commit so the submodule history matches its remote main.

Skipping pre-commit: the hook attributes pre-existing
`lint/suspicious/noExplicitAny` warnings in Tooltip.tsx (already on
ui/main, untouched by this commit) to the submodule path bump because
`packages/ui` matches every path inside the submodule. Submodule
typecheck/lint were already validated locally during PR #3's review.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@thinkclay
thinkclay merged commit 8e8cbf3 into main May 19, 2026
3 of 11 checks passed
@thinkclay
thinkclay deleted the claude/post-merge-cleanup branch May 19, 2026 15:25
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