native: review fixture uses works.oficina.sheets.review; correct menu-name comments
Human
Prompt
Coordinator: Fable reviewed Sheets native/levelup-phase0 @e6bfed6: APPROVE AFTER FIXES. Required: internal/sheets/native_review_test.go:89 still says bundle := "net.amadan.oficina.sheets.review"; change to "works.oficina.sheets.review" (matches native/ios/project.yml:68). Optional, only if tiny: correct the comments at native/macos/project.yml:22-23 and test-mac-bundle.py:25-27 that say CFBundleName drives the About/Hide/Quit menu items — a probe confirmed SwiftUI uses CFBundleDisplayName there ("Quit Oficina Sheets"); a shared rastrillo fix is planned. Commit via the amadan workflow, run GOTOOLCHAIN=go1.26.5 make test, push, report the tip. Don't merge. Also delete any build products you still hold — disk is at 45 GB free.From this commit's own message. The prompt ledger has no entries for it — which is what a squashed, rebased or amended commit looks like, and what every commit looks like in a repo without a ledger.
Summary
The iOS simulator review fixture in internal/sheets/native_review_test.go looked up the review app as net.amadan.oficina.sheets.review; it is works.oficina.sheets.review since d0583cb (native/ios/project.yml). The comments in native/macos/project.yml and test-mac-bundle.py no longer claim CFBundleName drives the About/Hide/Quit items: a probe showed SwiftUI reads CFBundleDisplayName there, so they say 'Oficina Sheets' until the shared rastrillo fix.
Agent notes
Fixes from the Fable review of e6bfed6 (APPROVE AFTER FIXES).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+7
−4
internal/sheets/native_review_test.go+1 −1native/macos/project.yml+3 −1native/scripts/test-mac-bundle.py+3 −2
CI passed — run details
diff --git a/internal/sheets/native_review_test.go b/internal/sheets/native_review_test.go| index 4bf21af..9765b97 100644 |
| --- a/internal/sheets/native_review_test.go |
| +++ b/internal/sheets/native_review_test.go |
| @@ -86,7 +86,7 @@ func TestNativeReview(t *testing.T) { |
| } |
| return |
| } |
| - bundle := "net.amadan.oficina.sheets.review" |
| + bundle := "works.oficina.sheets.review" |
| run := func(args ...string) []byte { |
| t.Helper() |
| out, err := exec.CommandContext(t.Context(), "xcrun", append([]string{"simctl"}, args...)...).CombinedOutput() |
diff --git a/native/macos/project.yml b/native/macos/project.yml| index 2106cdf..7ca38d3 100644 |
| --- a/native/macos/project.yml |
| +++ b/native/macos/project.yml |
| @@ -20,7 +20,9 @@ targets: |
| type: application |
| platform: macOS |
| # The .app file name, which Finder, the Dock and Spotlight show (Paul, |
| - # 2026-11-14). CFBundleName stays the plain name the menu bar uses. |
| + # 2026-11-14). CFBundleName is the plain short name, as rastrillo's |
| + # bundler writes it; SwiftUI's About/Hide/Quit items read |
| + # CFBundleDisplayName, so they still say "Oficina Sheets". |
| productName: Oficina Sheets |
| sources: |
| - ../apple/Sources/SheetsApp |
diff --git a/native/scripts/test-mac-bundle.py b/native/scripts/test-mac-bundle.py| index 5d6894e..355a10d 100644 |
| --- a/native/scripts/test-mac-bundle.py |
| +++ b/native/scripts/test-mac-bundle.py |
| @@ -23,8 +23,9 @@ with tempfile.TemporaryDirectory(prefix="oficina-sheets-launch-") as directory: |
| app = apps[0] |
| info = plistlib.loads((app / "Contents/Info.plist").read_bytes()) |
| # Paul, 2026-11-14: works.oficina.* on every build, "Oficina Sheets" where |
| - # Finder looks, plain "Sheets" in the menu bar, and the sign-in scheme |
| - # registered so the browser's callback reaches the app. |
| + # Finder looks, CFBundleName the plain short name "Sheets" (SwiftUI's |
| + # About/Hide/Quit items read the display name, not this), and the sign-in |
| + # scheme registered so the browser's callback reaches the app. |
| assert info["CFBundleIdentifier"] == "works.oficina.sheets", info["CFBundleIdentifier"] |
| assert app.name == "Oficina Sheets.app" and info["CFBundleDisplayName"] == "Oficina Sheets", app.name |
| assert info["CFBundleName"] == "Sheets", info["CFBundleName"] |