From c7d4a52c8ebbdb2c9be878d238be3c120a34d933 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:41:53 -0800 Subject: [PATCH 1/4] Update bonsplit submodule to latest after force-push --- vendor/bonsplit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/bonsplit b/vendor/bonsplit index a8834d85..1d41e7b9 160000 --- a/vendor/bonsplit +++ b/vendor/bonsplit @@ -1 +1 @@ -Subproject commit a8834d85a64939deb2c0b178688f0e6592b32b69 +Subproject commit 1d41e7b9ecfd310e6d780c2d93e74a34d759edc8 From e322403f9bc7edaaa8df832e52f0f3facf77d339 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:53:57 -0800 Subject: [PATCH 2/4] Always show close button on active tab Re-applies lost change from a8834d8 (commit was orphaned by a force-push on the bonsplit submodule). --- vendor/bonsplit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/bonsplit b/vendor/bonsplit index 1d41e7b9..2702b704 160000 --- a/vendor/bonsplit +++ b/vendor/bonsplit @@ -1 +1 @@ -Subproject commit 1d41e7b9ecfd310e6d780c2d93e74a34d759edc8 +Subproject commit 2702b70437a83b12f0245d15e7928b02e50386ad From 893e1a5d4b460f80cdd2b0f83b46c6fe2b23a719 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Tue, 17 Feb 2026 22:10:07 -0800 Subject: [PATCH 3/4] Fix ghostty submodule pointer to existing commit Reverts ghostty to 5a987a14 (the state before 50fce94 pointed it at orphaned commit eac00f3 which no longer exists on the remote). --- ghostty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghostty b/ghostty index eac00f33..efb0b03d 160000 --- a/ghostty +++ b/ghostty @@ -1 +1 @@ -Subproject commit eac00f33d6dc3af98546b045d89c5dde0a6a2ef6 +Subproject commit efb0b03d11e267192b234431ac8a0b986724057e From 3b4c6f124b39ee10c857212a6f40c1214f8573d3 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Tue, 17 Feb 2026 22:14:32 -0800 Subject: [PATCH 4/4] Add submodule safety rule to CLAUDE.md Instructs AI agents to always push submodule commits to remote main before updating the parent pointer, preventing orphaned commits. --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index afbbd593..d168661f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -88,6 +88,7 @@ tail -f /tmp/cmux-debug.log ## Pitfalls - Do not add an app-level display link or manual `ghostty_surface_draw` loop; rely on Ghostty wakeups/renderer to avoid typing lag. +- **Submodule safety:** When modifying a submodule (ghostty, vendor/bonsplit, etc.), always push the submodule commit to its remote `main` branch BEFORE committing the updated pointer in the parent repo. Never commit on a detached HEAD or temporary branch — the commit will be orphaned and lost. Verify with: `cd && git merge-base --is-ancestor HEAD origin/main`. ## E2E mac UI tests