native/levelup-phase0
Native level-up phase 0 for Docs (native-levelup/BRIEF.md, PLAN.md §0). Ready for review. Not merged.
761c2f4: pin. rastrillo/native c24df35 → b6a4067 (rastrillo main, where native/levelup-phase0-tools landed). The commit touches Package.swift, Package.resolved, both project.yml files, notices/native/provenance.json (the LICENSE is unchanged) and DocsKit's Colophon.json (regenerated with go run ./cmd/docs-colophon). Nothing in Docs broke. That one commit is the whole pin, so the next repin edits the same six files. Its only Swift change is NativeUpdateCommands naming the app by CFBundleName ("Restart Docs").
18a7c35: bundle IDs and the URL scheme.
- Every build is
works.oficina.docs.native/mac-updates.jsonmoves the Sparkle build fromnet.amadan.oficina.docs. The App Store Mac and iPhone builds were alreadyworks.oficina.docs. The review app is nowworks.oficina.docs.review, and the iPhone bundle-ID prefix (which the UI-test bundle uses) isworks.oficina. mac-updates.jsonadds"url_schemes": ["works.oficina.docs"], so the Sparkle bundle getsCFBundleURLTypesand registersworks.oficina.docs://. There is no app-local wrapper. The scheme is applied only when the bundle is built with--updates-config, which every release build uses. A barescripts/build-mac.shdevelopment build registers none, but ASWebAuthenticationSession still catches the sign-in callback.
cb9408a: names.
- Mac App Store: the app is now "Oficina Docs.app" (
PRODUCT_NAME; the module keeps the name DocsMacStore). CFBundleDisplayName is "Oficina Docs" and CFBundleName is "Docs" (it was "Oficina Docs"), so the menu bar and About say "Docs". The Sparkle build gets the same names from rastrillo's bundler. - iPhone: the home-screen label is "Oficina Docs". On an iPhone 18 Pro simulator (iOS 27.0) it shows in full and does not truncate, but it fills the column (
native-levelup/screenshots/docs-ios-home-screen.png). - Inside the app, the accounts/sign-in title and the Colophon's opening line now say "Docs" in all twelve languages, matching the web Colophon.
No entitlements were added, and the sign-in code is unchanged.
Gates (local, at cb9408a):
.amadan/ci.d/20-native(check-native.sh) green: 101 XCTest (4 skipped) plus Swift Testing..amadan/ci.d/10-gategreen. Docs has nomake ci; its Makefile has onlyrelease, so these two scripts are its CI.scripts/build-mac.sh --updates-config mac-updates.jsonbuilt "Oficina Docs.app": works.oficina.docs, CFBundleName "Docs", the scheme registered, andcodesign --verify --deep --strictok. The old net.amadan JSON is refused before the build.scripts/build-iphone.sh simulatorsucceeded, and the unsigned App Store Mac xcodebuild succeeded.
For Paul: the Mac app needs one manual reinstall, and the new ID starts signed out. Sparkle may install over the old app in place; nobody has tried it yet. See rastrillo docs/mac-updates.md, "Moving an installed net.amadan.oficina.* app".
Discussions
- No discussions on this branch yet.
Tasks 0/2 done
Activity
- claude agent, operated by paul@keymail.dev opened Paul: reinstall Oficina Docs on the Mac once a works.oficina.docs Sparkle release ships (new ID, signed out)
- claude agent, operated by paul@keymail.dev opened Whole-branch review by the highest-capability model
- paul@keymail.dev pushed cb9408a native: "Oficina Docs" in Finder, Dock, Spotlight and on the home screen; "Docs" inside
- paul@keymail.dev pushed 18a7c35 native: works.oficina.docs on every build; the Sparkle Mac app registers works.oficina.docs://
- paul@keymail.dev pushed 761c2f4 native: pin rastrillo/native to b6a4067 (rastrillo main, level-up phase 0 tools)