Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rove"
version = "0.1.1"
version = "0.1.2"
edition = "2024"
rust-version = "1.85"
description = "ARM-first phylogenetic likelihood kernel in Rust for morphological inference."
Expand Down
4 changes: 2 additions & 2 deletions apps/macos/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<key>CFBundleIdentifier</key><string>com.getcortexlabs.rove.preview</string>
<key>CFBundleExecutable</key><string>Rove</string>
<key>CFBundlePackageType</key><string>APPL</string>
<key>CFBundleShortVersionString</key><string>0.1.1</string>
<key>CFBundleVersion</key><string>2</string>
<key>CFBundleShortVersionString</key><string>0.1.2</string>
<key>CFBundleVersion</key><string>4</string>
<key>CFBundleIconFile</key><string>Rove</string>
<key>LSMinimumSystemVersion</key><string>14.0</string>
<key>NSHighResolutionCapable</key><true/>
Expand Down
32 changes: 31 additions & 1 deletion apps/macos/Sources/RoveApp/LaunchExperience.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,36 @@ struct RoveRelease: Identifiable {
var id: String { version }

static let all = [
RoveRelease(
version: "0.1.2",
headline: "A little more room to explore.",
introduction:
"More control over your analysis, more ways to open your results, and updates that come to you.",
highlights: [
ReleaseHighlight(
id: "analysis-controls", symbol: "slider.horizontal.3",
title: "Set your own pace.",
summary: "Choose your sampling plan and run up to 16 independent chains.",
detail:
"Use intermediate presets or enter your own step count and sampling interval. Configure comparison burn-in, execution options and the relaxed-clock sigma prior in the app. Review and History keep those choices with the analysis.",
action: "Try the example", destination: .example),
ReleaseHighlight(
id: "results-tools", symbol: "chart.xyaxis.line",
title: "Your results, within reach.",
summary:
"Open an external trace, import a completed CLI run or compare models from Review.",
detail:
"Trace diagnostics accept burn-in as a percentage or a number of samples. Model evidence has its own sampling interval and no longer needs an ordinary analysis first. Imported CLI runs are checked against their original matrix.",
action: "Open History", destination: .history),
ReleaseHighlight(
id: "native-updates", symbol: "arrow.triangle.2.circlepath",
title: "The next update comes to you.",
summary: "Check for signed updates from the Rove menu or Settings.",
detail:
"This first upgrade from 0.1.1 needs a manual DMG installation. After that, Rove can find and install updates itself. Active calculations delay installation; when your work finishes, you choose when to relaunch.",
action: "Explore the field guide", destination: .guide),
]
),
RoveRelease(
version: "0.1.1",
headline: "Trees from anywhere.",
Expand Down Expand Up @@ -86,7 +116,7 @@ struct RoveRelease: Identifiable {
"Review burn-in, ESS and agreement between chains before interpreting a tree. Rove can summarize posterior trees and export an annotated tree or an SVG figure.",
action: "Explore the field guide", destination: .guide),
]
)
),
]
}

Expand Down
13 changes: 13 additions & 0 deletions apps/macos/Sources/RoveApp/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1080,3 +1080,16 @@
"This setup has no posterior samples. Configure the power-posterior plan below to estimate model evidence." = "This setup has no posterior samples. Configure the power-posterior plan below to estimate model evidence.";
"Simulation limit: %@ attempts per character." = "Simulation limit: %@ attempts per character.";
"Power posteriors estimate the log marginal likelihood of the selected model: the probability of the matrix with every tree and parameter integrated out, priors included. The difference between two models is a log Bayes factor." = "Power posteriors estimate the log marginal likelihood of the selected model: the probability of the matrix with every tree and parameter integrated out, priors included. The difference between two models is a log Bayes factor.";

// Rove 0.1.2
"A little more room to explore." = "A little more room to explore.";
"More control over your analysis, more ways to open your results, and updates that come to you." = "More control over your analysis, more ways to open your results, and updates that come to you.";
"Set your own pace." = "Set your own pace.";
"Choose your sampling plan and run up to 16 independent chains." = "Choose your sampling plan and run up to 16 independent chains.";
"Use intermediate presets or enter your own step count and sampling interval. Configure comparison burn-in, execution options and the relaxed-clock sigma prior in the app. Review and History keep those choices with the analysis." = "Use intermediate presets or enter your own step count and sampling interval. Configure comparison burn-in, execution options and the relaxed-clock sigma prior in the app. Review and History keep those choices with the analysis.";
"Your results, within reach." = "Your results, within reach.";
"Open an external trace, import a completed CLI run or compare models from Review." = "Open an external trace, import a completed CLI run or compare models from Review.";
"Trace diagnostics accept burn-in as a percentage or a number of samples. Model evidence has its own sampling interval and no longer needs an ordinary analysis first. Imported CLI runs are checked against their original matrix." = "Trace diagnostics accept burn-in as a percentage or a number of samples. Model evidence has its own sampling interval and no longer needs an ordinary analysis first. Imported CLI runs are checked against their original matrix.";
"The next update comes to you." = "The next update comes to you.";
"Check for signed updates from the Rove menu or Settings." = "Check for signed updates from the Rove menu or Settings.";
"This first upgrade from 0.1.1 needs a manual DMG installation. After that, Rove can find and install updates itself. Active calculations delay installation; when your work finishes, you choose when to relaunch." = "This first upgrade from 0.1.1 needs a manual DMG installation. After that, Rove can find and install updates itself. Active calculations delay installation; when your work finishes, you choose when to relaunch.";
Original file line number Diff line number Diff line change
Expand Up @@ -1080,3 +1080,16 @@
"This setup has no posterior samples. Configure the power-posterior plan below to estimate model evidence." = "Esta configuração não tem amostras posteriores. Defina o plano de power posteriors abaixo para estimar a evidência do modelo.";
"Simulation limit: %@ attempts per character." = "Limite de simulação: %@ tentativas por caráter.";
"Power posteriors estimate the log marginal likelihood of the selected model: the probability of the matrix with every tree and parameter integrated out, priors included. The difference between two models is a log Bayes factor." = "Power posteriors estimam a log-verossimilhança marginal do modelo escolhido: a probabilidade da matriz integrando todas as árvores e parâmetros, incluindo os priors. A diferença entre dois modelos é um log fator de Bayes.";

// Rove 0.1.2
"A little more room to explore." = "Mais espaço para explorar.";
"More control over your analysis, more ways to open your results, and updates that come to you." = "Mais controle sobre a análise, mais formas de abrir seus resultados e atualizações que chegam até você.";
"Set your own pace." = "No seu ritmo.";
"Choose your sampling plan and run up to 16 independent chains." = "Escolha o plano de amostragem e rode até 16 cadeias independentes.";
"Use intermediate presets or enter your own step count and sampling interval. Configure comparison burn-in, execution options and the relaxed-clock sigma prior in the app. Review and History keep those choices with the analysis." = "Use as opções intermediárias ou defina a quantidade de passos e o intervalo de amostragem. Configure o burn-in da comparação, as opções de execução e o prior do sigma do relógio relaxado no app. A revisão e o Histórico guardam essas escolhas junto da análise.";
"Your results, within reach." = "Seus resultados, à mão.";
"Open an external trace, import a completed CLI run or compare models from Review." = "Abra um traço externo, importe uma execução concluída pela CLI ou compare modelos a partir da revisão.";
"Trace diagnostics accept burn-in as a percentage or a number of samples. Model evidence has its own sampling interval and no longer needs an ordinary analysis first. Imported CLI runs are checked against their original matrix." = "Os diagnósticos de traço aceitam burn-in em porcentagem ou número de amostras. A evidência do modelo tem seu próprio intervalo de amostragem e pode ser calculada sem rodar uma análise comum antes. As execuções importadas da CLI são conferidas com a matriz original.";
"The next update comes to you." = "A próxima atualização vem até você.";
"Check for signed updates from the Rove menu or Settings." = "Busque atualizações assinadas pelo menu do Rove ou pelas Configurações.";
"This first upgrade from 0.1.1 needs a manual DMG installation. After that, Rove can find and install updates itself. Active calculations delay installation; when your work finishes, you choose when to relaunch." = "Esta primeira atualização da versão 0.1.1 precisa ser instalada pelo DMG. Depois disso, o Rove pode buscar e instalar as próximas. A instalação espera os cálculos terminarem; você escolhe quando reiniciar o app.";
1 change: 1 addition & 0 deletions apps/macos/SparklePublicKey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kGuuFyGriLztA1+BuJAojKflcULKxWdqfZU7JJh9VDY=
17 changes: 11 additions & 6 deletions scripts/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ automatic downloads/install-on-quit off until the user chooses them in Settings.
Updates never cancel an analysis. An installation requested during active work
waits for another click in Settings or the Rove menu after the work finishes.

The [0.1.2 distribution record](release-checks/0.1.2.md) tracks the first signed
upgrade exercise and the remaining publication checks.

Before the first distribution using Sparkle:

1. Resolve the Swift package and use its `bin/generate_keys --account rove`
tool to generate a **Rove-specific** key in the release machine's Keychain.
Export a protected backup with `--account rove -x /secure/path/rove.key`.
Keep it outside the repository and restrict it to its owner. Never reuse
Lily's signing key. Losing this key requires a planned key migration.
2. Set `ROVE_SPARKLE_PUBLIC_KEY` to the generated public key when packaging.
1. The Rove-specific key is provisioned in the release machine's Keychain under
the `rove` account. Resolve the Swift package and use its
`bin/generate_keys --account rove -p` tool to confirm the public key matches
`apps/macos/SparklePublicKey.txt`. Keep its protected backup outside the
repository. Never regenerate the key for a release or reuse Lily's key.
Losing this key requires a planned key migration.
2. Distribution packaging reads `apps/macos/SparklePublicKey.txt` by default.
`ROVE_SPARKLE_PUBLIC_KEY` can override it for an isolated signing test.
The private key is never put in the bundle or passed as a command argument.
If packaging moves to CI, store the private key in its secret store and
supply it through a restricted temporary file.
Expand Down
1 change: 1 addition & 0 deletions scripts/package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if [[ -n "${NOTARY_PROFILE:-}" && -z "${CODESIGN_ID:-}" ]]; then
exit 2
fi
if [[ -n "${CODESIGN_ID:-}" ]]; then
export ROVE_SPARKLE_PUBLIC_KEY="${ROVE_SPARKLE_PUBLIC_KEY:-$(cat apps/macos/SparklePublicKey.txt)}"
: "${ROVE_SPARKLE_PUBLIC_KEY:?Set the Rove Ed25519 public key before packaging a distribution build}"
export ROVE_UPDATES_ENABLED=1
fi
Expand Down
71 changes: 71 additions & 0 deletions scripts/release-checks/0.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Rove 0.1.2 distribution checks

Issue: [#101](https://github.com/getcortexlabs/rove/issues/101)

Checked on an Apple Silicon Mac on November 2, 2026. The upgrade used a separate
app copy and a loopback feed. The public feed has not been changed.

## Package

- Version: `0.1.2`, build `4`, bundle ID `com.getcortexlabs.rove.preview`.
- Archive: `Rove-0.1.2.dmg`, 10,163,148 bytes.
- SHA-256: `7d0ce5777f73ba5c270f79fa5ca4b10527999be1da6b1f3f95e3c9bd8b1126d1`.
- App notarization: `50a0c6eb-a294-46e1-8d95-46bd716919fe`, accepted.
- DMG notarization: `a3755d67-381f-4045-a509-3e3f08b7a8a9`, accepted.
- The app and DMG were stapled and accepted by Gatekeeper. The feed generator
verified the archive signature against the public key embedded in the app.
- The Rove Ed25519 key has its own Keychain account and a protected backup outside
the repository. Only the public key is checked in.

## Upgrade exercise

The source copy used build `3` with the same bundle ID, signing identity and
application content as the candidate. It was signed, notarized and stapled
separately; submission `c9600451-ed55-49bf-ac3f-42ca32bc2dbb` was accepted.
Build 3 is a local installer fixture, not a published release or an old-engine
compatibility test. The destination was the exact final build-4 DMG above.

| Check | Result |
| --- | --- |
| Automatic discovery | Found build 4 through the local signed feed; the test made the previous check overdue. |
| Automatic download opt-in | Settings started with downloads off, allowed enabling them, and the opted-in background check downloaded the archive. |
| Skip and manual check | Skipping dismissed the offer. A subsequent manual check offered the same build again. |
| Installation and relaunch | The separate copy advanced from build 3 to 4 and relaunched. Its signature remained valid. |
| Existing data | The original four history entries, history folders and onboarding flag were unchanged after the first upgrade. Beta access remained active. |
| Active analysis | With a 100M-step example run active, requesting installation twice did not stop the calculation. Settings showed the pending update with installation disabled. |
| Explicit later installation | After cancelling only the test analysis at 39,886,848 steps, the installed copy remained at build 3. The Settings button became enabled; clicking it installed build 4 and relaunched. |
| Cleanup | The temporary run was moved out of the user's runs folder, the original four history entries were restored, and test updater preferences and the local server were removed. |

The targeted native suites passed 12 tests covering updater configuration,
signatures and tampering, nested engine activity, installation deferral,
preferences and launch experience. Other engine tools share the activity gate;
their nested-process behavior is covered by unit tests, not a separate manual
tool-installation exercise in this record.

## Release notifications

- Applied the release-notification migration to the existing D1 database.
- Set the same dedicated `ROVE_RELEASE_SECRET` in Pages and GitHub Actions.
- Redeployed the site's existing main commit `6f58135` with the new bindings.
- An invalid credential returned 401. The correct credential with an invalid
release ID returned 400, without creating a delivery queue or sending mail.
- The six backend release-mail tests, three notification-client tests and three
update-publishing tests passed. Backend tests use SQLite and a fake provider.
- Sent the production release-mail template in English and Portuguese to Resend's
controlled delivery addresses. Both receipts reached `delivered`. A third
message to its controlled rejection address reached `bounced`. The check used
the Rove sender and idempotent requests; no beta invitation was used or changed.
See [Resend's test-recipient documentation](https://resend.com/docs/dashboard/emails/send-test-emails).
These are simulated provider events, not proof of placement in a tester's inbox.

## Before publishing

- [ ] Review and merge the release-preparation PR.
- [x] Complete controlled provider delivery/bounce checks without mailing beta testers.
- [ ] Publish the real release with the exact archive above; verify its uploaded digest.
- [ ] Deploy the reviewed appcast only after its release asset is public.
- [ ] Check the beta notification workflow and provider delivery records for the release.

Users upgrading from 0.1.1 must install this DMG manually once. Their existing
binary cannot discover an updater that it does not contain. Keep #101 open until
the remaining rollout checks are complete.
Loading