oficina / memoria Public

Native level-up phase 0: works.oficina.memoria everywhere, "Oficina Memoria" in Finder, rastrillo/native main b6a4067

Paul's rulings 2026-11-14: works.oficina.* bundle IDs on every build;
"Oficina Memoria" in Finder/Dock/Spotlight/home screen, plain "Memoria"
inside the app. Pins rastrillo/native to main b6a4067 in all six places;
the Sparkle Mac build now registers works.oficina.memoria via url_schemes.
No entitlements or sign-in code changed. Paul's Mac needs one manual
reinstall (installed build has no SUFeedURL); next Sparkle release must be
build >= 3.

Reviewed by Fable at b7cbb7c: APPROVE (make ci green in a review worktree;
Sparkle, Mac App Store and iOS builds verified). Two optional nits left as
follow-ups: pass --url-scheme in build-mac.sh for plain dev builds; iOS
CFBundleName MemoriaPhone.

Squashed from native/levelup-phase0 into main.
claude agent, operated by paul@keymail.dev 5b412097f01b581417982dd9a6172f7c24e04f95 parent 14b5dd9
12 files changed, +33 −17
  • go.mod +1 −1
  • go.sum +2 −2
  • internal/memoria/native_test.go +1 −1
  • native/README.md +13 −1
  • native/apple/Package.resolved +1 −1
  • native/apple/Package.swift +1 −1
  • native/apple/Sources/MemoriaApp/MemoriaApp.swift +1 −1
  • native/ios/project.yml +3 −3
  • native/mac-updates.json +3 −2
  • native/macos/Info.plist +1 −1
  • native/macos/MemoriaMacStore.xcodeproj/project.pbxproj +3 −1
  • native/macos/project.yml +3 −2

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.056s
ok  	amadan.net/oficina/memoria/internal/memoria/chunk	0.006s
ok  	amadan.net/oficina/memoria/internal/memoria/fact	0.688s
?   	amadan.net/oficina/memoria/internal/memoria/icons	[no test files]
ok  	amadan.net/oficina/memoria/internal/memoria/index	0.055s
ok  	amadan.net/oficina/memoria/internal/memoria/notion	0.026s
ok  	amadan.net/oficina/memoria/internal/memoria/provider	10.642s
ok  	amadan.net/oficina/memoria/internal/memoria/query	0.006s
ok  	amadan.net/oficina/memoria/internal/memoria/seal	0.006s
ok  	amadan.net/oficina/memoria/internal/memoria/sibling	3.027s
?   	amadan.net/oficina/memoria/internal/memoria/teamstate	[no test files]
ok  	amadan.net/oficina/memoria/internal/memoriatest	4.976s
?   	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

landed from native/levelup-phase0

diff --git a/go.mod b/go.mod
index 99f67b5..193162e 100644
--- a/go.mod
+++ b/go.mod
@@ -12,7 +12,7 @@ require (
amadan.net/oficina/home/roster v0.0.0-20261028171508-67c12e39a9d2
amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4
- amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3
+ amadan.net/rastrillo/native/server v0.0.0-20261114094022-b6a4067e39ef
github.com/carlosframework/rastrillo v0.23.0
github.com/chromedp/cdproto v0.0.0-20250724212937-08a3db8b4327
github.com/chromedp/chromedp v0.14.2
diff --git a/go.sum b/go.sum
index 9d1ee21..a3f181e 100644
--- a/go.sum
+++ b/go.sum
@@ -12,8 +12,8 @@ amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2 h1:0PQiRUkC+
amadan.net/oficina/home/teammode v0.0.0-20261028171508-67c12e39a9d2/go.mod h1:dXBZeB2ic33SIZiGUCzafmviUT8TYWgzSYZvo2rM6zA=
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4 h1:BP+KHZTSgL7HDCz9IL/gxKXmbmXQpclUlJIyQEY/N2E=
amadan.net/oficina/suite v0.0.0-20261102002704-91affa14eae4/go.mod h1:Xgw0N+DBiDzkhQHm/nIhgumfaiMElDg/KIFD1OxTm5w=
-amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3 h1:5EFx7BLJj/+G/rt8bTmeyMWVfF5s5Sns7ajTvX4w/I8=
-amadan.net/rastrillo/native/server v0.0.0-20260923173546-2a5d07b2c8d3/go.mod h1:ZaaxeE278dJltdrLwmwpxUjQ5wuKzqDAVSNRet+WupY=
+amadan.net/rastrillo/native/server v0.0.0-20261114094022-b6a4067e39ef h1:lUW2vNfFDhs6JO/oJKsEDqGXWYymuvcAaXXrVLGDCP4=
+amadan.net/rastrillo/native/server v0.0.0-20261114094022-b6a4067e39ef/go.mod h1:ZaaxeE278dJltdrLwmwpxUjQ5wuKzqDAVSNRet+WupY=
amadan.net/rastrillo/rastrillo v0.27.1-0.20261006204347-fb806a287060 h1:K2PXcCKfm+AYrqgH1ea6cNsFs4sN7MKLvq+uBY11NZE=
amadan.net/rastrillo/rastrillo v0.27.1-0.20261006204347-fb806a287060/go.mod h1:WmC8TAIfqjAkSwmD+FCTqr7VuqAO5FaX03HlV49K608=
amadan.net/rastrillo/rastrillo/money v0.1.0 h1:MxU4oqNrW8abxRTkgZBv24OYNpFnvonajNqeLIzmmaM=
diff --git a/internal/memoria/native_test.go b/internal/memoria/native_test.go
index 6e16e33..be90623 100644
--- a/internal/memoria/native_test.go
+++ b/internal/memoria/native_test.go
@@ -72,7 +72,7 @@ func TestNativeSearchUsesCurrentPermission(t *testing.T) {
}
input, _ := json.Marshal(map[string]any{"origin": server.URL, "credential": credential, "output": os.Getenv("NATIVE_REVIEW_OUTPUT")})
if simulator := os.Getenv("NATIVE_REVIEW_SIMULATOR"); simulator != "" {
- bundle := "net.amadan.oficina.memoria.review"
+ bundle := "works.oficina.memoria.review"
run := func(args ...string) []byte {
t.Helper()
out, err := exec.CommandContext(t.Context(), "xcrun", append([]string{"simctl"}, args...)...).CombinedOutput()
diff --git a/native/README.md b/native/README.md
index 79d5f81..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
@@ -17,7 +25,11 @@ The generated projects and build products are ignored.
The Swift package and the Go server module (`go.mod`,
`amadan.net/rastrillo/native/server`) both pin Rastrillo Native main
-`2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67` (`native/apple/Package.swift`).
+`b6a4067e39efd641fd5fa149cc666fee47bdb9b5` (`native/apple/Package.swift`). A
+repin puts one revision in all six places: `native/apple/Package.swift`,
+`native/apple/Package.resolved`, `native/macos/project.yml`,
+`native/ios/project.yml`, the generated `native/macos/MemoriaMacStore.xcodeproj`
+and `go.mod` (`go get amadan.net/rastrillo/native/server@<sha>`).
Browser sign-in requires the new backend `/native/` routes. A server that has
not received this update reports that native support is unavailable.
diff --git a/native/apple/Package.resolved b/native/apple/Package.resolved
index 5660560..99828f4 100644
--- a/native/apple/Package.resolved
+++ b/native/apple/Package.resolved
@@ -5,7 +5,7 @@
"kind" : "remoteSourceControl",
"location" : "https://amadan.net/rastrillo/native",
"state" : {
- "revision" : "2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67"
+ "revision" : "b6a4067e39efd641fd5fa149cc666fee47bdb9b5"
}
},
{
diff --git a/native/apple/Package.swift b/native/apple/Package.swift
index 947328f..3760040 100644
--- a/native/apple/Package.swift
+++ b/native/apple/Package.swift
@@ -3,7 +3,7 @@ import PackageDescription
import Foundation
let sharedNative: Package.Dependency = ProcessInfo.processInfo.environment["OFICINA_NATIVE_PACKAGE_PATH"].map { .package(name: "native", path: $0) }
- ?? .package(url: "https://amadan.net/rastrillo/native", revision: "2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67")
+ ?? .package(url: "https://amadan.net/rastrillo/native", revision: "b6a4067e39efd641fd5fa149cc666fee47bdb9b5")
let package = Package(name: "MemoriaNative", platforms: [.macOS(.v14), .iOS(.v17)],
products: [.library(name: "MemoriaKit", targets: ["MemoriaKit"]), .executable(name: "MemoriaMac", targets: ["MemoriaMac"])],
diff --git a/native/apple/Sources/MemoriaApp/MemoriaApp.swift b/native/apple/Sources/MemoriaApp/MemoriaApp.swift
index 695327a..85fbf57 100644
--- a/native/apple/Sources/MemoriaApp/MemoriaApp.swift
+++ b/native/apple/Sources/MemoriaApp/MemoriaApp.swift
@@ -14,7 +14,7 @@ import SwiftUI
WindowGroup {
Group {
if let client = connection.client { MemoriaWorkspace(client: client, accounts: connection.showAccounts, signOut: connection.signOut) }
- else { NativeAccountsView("Oficina Memoria", systemImage: "books.vertical", connection: connection) }
+ else { NativeAccountsView("Memoria", systemImage: "books.vertical", connection: connection) }
}.id(connection.activeAccountID).onOpenURL(perform: connection.handleOpenURL).tint(Color(red: 0.48, green: 0.32, blue: 0.68))
#if os(macOS)
.frame(minWidth: 800, minHeight: 580)
diff --git a/native/ios/project.yml b/native/ios/project.yml
index 8c86003..6bde302 100644
--- a/native/ios/project.yml
+++ b/native/ios/project.yml
@@ -1,6 +1,6 @@
name: MemoriaPhone
options:
- bundleIdPrefix: net.amadan.oficina
+ bundleIdPrefix: works.oficina
deploymentTarget:
iOS: '17.0'
packages:
@@ -8,7 +8,7 @@ packages:
path: ../apple
RastrilloNative:
url: https://amadan.net/rastrillo/native
- revision: 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67
+ revision: b6a4067e39efd641fd5fa149cc666fee47bdb9b5
settings:
base:
SWIFT_VERSION: '5.0'
@@ -65,7 +65,7 @@ targets:
product: RastrilloApple
settings:
base:
- PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.memoria.review
+ PRODUCT_BUNDLE_IDENTIFIER: works.oficina.memoria.review
TARGETED_DEVICE_FAMILY: 1,2
GENERATE_INFOPLIST_FILE: true
INFOPLIST_KEY_UILaunchScreen_Generation: true
diff --git a/native/mac-updates.json b/native/mac-updates.json
index 05d48c8..a8e4ad0 100644
--- a/native/mac-updates.json
+++ b/native/mac-updates.json
@@ -1,6 +1,7 @@
{
- "bundle_id": "net.amadan.oficina.memoria",
+ "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"]
}
diff --git a/native/macos/Info.plist b/native/macos/Info.plist
index c656590..a923dae 100644
--- a/native/macos/Info.plist
+++ b/native/macos/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>Oficina Memoria</string>
+ <string>Memoria</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
diff --git a/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj b/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj
index 2cec874..943b9e2 100644
--- a/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj
+++ b/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj
@@ -241,6 +241,7 @@
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = works.oficina.memoria;
+ PRODUCT_NAME = "Oficina Memoria";
PROVISIONING_PROFILE_SPECIFIER = "$(OFICINA_PROVISIONING_PROFILE)";
SDKROOT = macosx;
};
@@ -258,6 +259,7 @@
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = works.oficina.memoria;
+ PRODUCT_NAME = "Oficina Memoria";
PROVISIONING_PROFILE_SPECIFIER = "$(OFICINA_PROVISIONING_PROFILE)";
SDKROOT = macosx;
};
@@ -366,7 +368,7 @@
repositoryURL = "https://amadan.net/rastrillo/native";
requirement = {
kind = revision;
- revision = 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67;
+ revision = b6a4067e39efd641fd5fa149cc666fee47bdb9b5;
};
};
/* End XCRemoteSwiftPackageReference section */
diff --git a/native/macos/project.yml b/native/macos/project.yml
index 43de2da..7718604 100644
--- a/native/macos/project.yml
+++ b/native/macos/project.yml
@@ -7,7 +7,7 @@ packages:
path: ../apple
RastrilloNative:
url: https://amadan.net/rastrillo/native
- revision: 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67
+ revision: b6a4067e39efd641fd5fa149cc666fee47bdb9b5
settings:
base:
SWIFT_VERSION: '5.0'
@@ -36,7 +36,7 @@ targets:
path: Info.plist
properties:
CFBundleDisplayName: Oficina Memoria
- CFBundleName: Oficina Memoria
+ CFBundleName: Memoria
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
CFBundleIconFile: AppIcon
@@ -51,4 +51,5 @@ targets:
base:
PROVISIONING_PROFILE_SPECIFIER: $(OFICINA_PROVISIONING_PROFILE)
PRODUCT_BUNDLE_IDENTIFIER: works.oficina.memoria
+ PRODUCT_NAME: Oficina Memoria
CODE_SIGN_ENTITLEMENTS: AppStore.entitlements