Sparkle Mac build registers the works.oficina.memoria URL scheme
Human
Prompt
Delete native/scripts/register-url-scheme.py and its call in build-mac.sh, and add "url_schemes": ["works.oficina.memoria"] to native/mac-updates.json instead; rebuild Mac (with --updates-config) + iOS simulator, verify the scheme is registered, run make ci, push, update the hub description/tasks. Don't merge.
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
mac-updates.json declares url_schemes [works.oficina.memoria]; rastrillo main's bundle-mac.py writes it to CFBundleURLTypes, so the Sparkle build now receives works.oficina.memoria:// and the approval page's "Return to Memoria" works there. README notes bundle IDs, names and the scheme. Replaces the earlier memoria-local register-url-scheme.py helper, which never landed.
Agent notes
Verified: build-mac.sh --updates-config mac-updates.json gives CFBundleURLTypes (CFBundleURLName works.oficina.memoria), codesign --verify --deep --strict passes, and lsregister -f then -dump shows 'claimed schemes: works.oficina.memoria:' (unregistered again). A plain build-mac.sh without --updates-config registers no scheme: the declaration lives only in the JSON.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+10
−1
native/README.md+8 −0native/mac-updates.json+2 −1
CI passed — run details
CI log
=== vet === go vet ./... go vet -tags browser ./internal/memoriatest/ === fmt === === test === go test ./... ? amadan.net/oficina/memoria/cmd/memoria [no test files] ? amadan.net/oficina/memoria/cmd/memoria-contract [no test files] ok amadan.net/oficina/memoria/internal/memoria 11.295s ok amadan.net/oficina/memoria/internal/memoria/chunk (cached) ok amadan.net/oficina/memoria/internal/memoria/fact (cached) ? amadan.net/oficina/memoria/internal/memoria/icons [no test files] ok amadan.net/oficina/memoria/internal/memoria/index (cached) ok amadan.net/oficina/memoria/internal/memoria/notion (cached) ok amadan.net/oficina/memoria/internal/memoria/provider (cached) ok amadan.net/oficina/memoria/internal/memoria/query (cached) ok amadan.net/oficina/memoria/internal/memoria/seal (cached) ok amadan.net/oficina/memoria/internal/memoria/sibling (cached) ? amadan.net/oficina/memoria/internal/memoria/teamstate [no test files] ok amadan.net/oficina/memoria/internal/memoriatest 5.041s ? amadan.net/oficina/memoria/scripts/writeestilo [no test files] ? amadan.net/oficina/memoria/tools/bench [no test files] ? amadan.net/oficina/memoria/tools/drive [no test files] ? amadan.net/oficina/memoria/tools/seed [no test files] ? amadan.net/oficina/memoria/tools/vendorassets [no test files] === migration-check === go tool rastrillo migration check rastrillo migration check: models and migrations agree
diff --git a/native/README.md b/native/README.md| index 075fab9..6053176 100644 |
| --- a/native/README.md |
| +++ b/native/README.md |
| @@ -8,6 +8,14 @@ native columns and sheets. iPad uses the wider split layout. Both appearances |
| use system typography and controls. Credentials stay in the per-app Keychain; |
| responses and generated answers are held in memory. |
| +Every build is `works.oficina.memoria` (Sparkle Mac, App Store Mac and iOS); |
| +the iOS review fixture is `works.oficina.memoria.review`. Finder, the Dock, |
| +Spotlight and the home screen say "Oficina Memoria"; the app's own windows and |
| +the Mac menu bar say "Memoria". The Sparkle build registers the |
| +`works.oficina.memoria` URL scheme from `url_schemes` in |
| +`native/mac-updates.json`, so build it with `--updates-config mac-updates.json` |
| +when sign-in needs the browser's "Return to Memoria" link. |
| + |
| Build Mac with `native/scripts/build-mac.sh`; build the simulator app with |
| `native/scripts/build-iphone.sh`. For a physical device use |
| `OFICINA_DEVELOPMENT_TEAM=<team> native/scripts/build-iphone.sh device`. Generate |
diff --git a/native/mac-updates.json b/native/mac-updates.json| index 360324d..a8e4ad0 100644 |
| --- a/native/mac-updates.json |
| +++ b/native/mac-updates.json |
| @@ -2,5 +2,6 @@ |
| "bundle_id": "works.oficina.memoria", |
| "feed_url": "https://raw.amadan.net/oficina/native-releases/main/memoria/appcast.xml", |
| "public_ed_key": "/FxO7cZnM7P5c9ZrUPUJvpCnR65sNmrzte+I5vHarE8=", |
| - "keychain_account": "oficina" |
| + "keychain_account": "oficina", |
| + "url_schemes": ["works.oficina.memoria"] |
| } |