oficina / memoria Public

Memoria's Sparkle build updates quietly: install automatic

Human

Prompt

Addition from the coordinator: make Memoria update quietly like Calls and Docs — add "install": "automatic" to native/mac-updates.json (check rastrillo tools/mac_updates.py INSTALL_MODES; config only) before your release dry run, and confirm Sparkle doesn't ask about automatic checks on the second launch. Also: for "localizations", list only languages Memoria actually ships translated strings for (if none, ["en"]).

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 gains "install": "automatic" (rastrillo/native INSTALL_MODES at c989034): packaging writes SUAllowsAutomaticUpdates, SUEnableAutomaticChecks, SUAutomaticallyUpdate and a daily SUScheduledCheckInterval, so the release checks daily, downloads in the background, installs on quit, and never asks whether to check automatically. Config only; the code keeps NativeUpdater()'s default policy. localizations stays ["en"]: Memoria ships no translated strings of its own (no .lproj, .strings or .xcstrings under native/).
Agent notes
Checked with a throwaway ad hoc copy of the release and an injected dylib that lists visible windows 8 s after launch, with the works.oficina.memoria defaults domain cleared (backed up and restored). Prompt mode (the earlier build-3 prep): second launch shows SUUpdatePermissionPrompt, 'Check for updates automatically?'. Automatic mode: see the branch description.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 3305c3bf7c036ec34bc000faa8639616697ee752 parent c918f71
2 files changed, +7 −1
  • native/README.md +5 −0
  • native/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.302s
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.086s
?   	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 6c55200..d140b7c 100644
--- a/native/README.md
+++ b/native/README.md
@@ -33,6 +33,11 @@ Sparkle releases: the copy on Paul's Mac is `net.amadan.oficina.memoria`
0.1.0 build 1 with no `SUFeedURL`, so it cannot update itself and needs one
manual reinstall. The feed's newest item is build 2, so the next release is
build 3 or later, archived as `works.oficina.memoria-<build>.zip`.
+`mac-updates.json` sets `"install": "automatic"`, as Calls and Docs do: the
+release checks daily, downloads in the background and installs on quit, and
+Sparkle never asks whether to check automatically. The code still uses
+`NativeUpdater()`'s default policy; moving to `.quiet` with
+`NativeUpdateNotice` is the later chrome work.
Build Mac with `native/scripts/build-mac.sh`; build the simulator app with
`native/scripts/build-iphone.sh`. For a physical device use
diff --git a/native/mac-updates.json b/native/mac-updates.json
index ff46bcd..b1aeab8 100644
--- a/native/mac-updates.json
+++ b/native/mac-updates.json
@@ -8,5 +8,6 @@
],
"localizations": [
"en"
- ]
+ ],
+ "install": "automatic"
}