Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

prepare prime agent 0.10.0 release (#3441)

kt846656dc63c0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 013237e844..97a182e73e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -943,12 +943,9 @@ jobs:
# The rendered installer pairs: the repo files' defaults ARE the
# official domain, so the publish render only stamps the build's
- # R2 base + channel default into the served copies. All renders
- # publish on every cut (TS parity: a changed installer ships with
- # whichever channel publishes, so the served scripts never go
- # stale between releases) — the sh pair (install.sh /
- # install-beta.sh) and the Windows PowerShell pair (install.ps1 /
- # install-beta.ps1).
+ # R2 base + channel default into the served copies. Production
+ # install.sh and install.ps1 publish only on stable cuts. Explicit
+ # install-beta.sh and install-beta.ps1 remain the beta entry points.
render_installer() {
channel="$1"
sed -e "s|^DOWNLOAD_BASE_URL_DEFAULT=.*|DOWNLOAD_BASE_URL_DEFAULT=\"${INSTALL_BASE_URL}\"|" \
@@ -959,7 +956,7 @@ jobs:
}
# The Windows-native render of the same installer (install.ps1):
- # the same base + channel stamps, the same publish-every-cut rule.
+ # the same base + channel stamps and channel publication rules.
# The Windows-idiomatic entry is
# irm <base>/install.ps1 | iex
# while Git-Bash users run the install-rust.sh form above.
@@ -1091,15 +1088,6 @@ jobs:
--endpoint-url "$R2_ENDPOINT_URL" \
--content-type text/plain \
--cache-control no-cache
- # The beta route also uploads the stable PowerShell render
- # (install.ps1, the Windows entry point — the installer's
- # Windows channel fallback rides the stable channel default).
- # install.sh stays stable-only; a beta cut never overwrites it.
- render_installer_ps1 stable
- aws s3 cp /tmp/install-stable.ps1 "s3://${R2_BUCKET}/install.ps1" \
- --endpoint-url "$R2_ENDPOINT_URL" \
- --content-type text/plain \
- --cache-control no-cache
echo "beta channel advanced to ${RELEASE_VERSION} at ${INSTALL_BASE_URL}"
fi
fi
diff --git a/.github/workflows/windows-runtime-triage.yml b/.github/workflows/windows-runtime-triage.yml
index c07e8bba5e..d8a3f17cea 100644
--- a/.github/workflows/windows-runtime-triage.yml
+++ b/.github/workflows/windows-runtime-triage.yml
@@ -211,11 +211,9 @@ jobs:
run: |
pwsh -NoProfile -File scripts/release/test_windows_install.ps1 2>&1 | Tee-Object -FilePath win-install-e2e.log
exit $LASTEXITCODE
- # The Windows channel-fallback regression (the local-channel unit test
- # for the stable->beta fallback the plain one-liner rides): a stable
- # channel without a win32-x64 row falls back to beta with the notice,
- # and an explicitly requested channel refuses with the beta route.
- - name: windows channel-fallback unit (install.ps1 stable->beta)
+ # Production defaults stay on stable, including when its artifact is
+ # missing. Explicit beta installs remain supported independently.
+ - name: windows installer channel selection (stable default, explicit beta)
id: channel_fallback
continue-on-error: true
shell: pwsh
@@ -223,11 +221,11 @@ jobs:
pwsh -NoProfile -File scripts/release/test_windows_channel_fallback.ps1 2>&1 | Tee-Object -FilePath win-channel-fallback.log
exit $LASTEXITCODE
# THE RAW ONE-LINER on the real channel, end to end: install.ps1
- # itself from raw.githubusercontent (the ref under test - on main it
- # is the README's shipped command), then the pointer, the manifest,
+ # itself from raw.githubusercontent (the ref under test, before its
+ # publication to the README's production endpoint), then the manifest,
# the win32-x64 tarball, and its sums from the real bucket, the real
- # default prefix ($HOME\.local), the real stable->beta Windows
- # fallback, and the launcher answering --version. The transcript
+ # default prefix ($HOME\.local), the stable channel, and the launcher
+ # answering --version. The transcript
# (win-raw-one-liner.log) is the evidence: the install transcript,
# the --version output, and the exit codes.
- name: the raw one-liner on the real channel (irm | iex)
diff --git a/Cargo.lock b/Cargo.lock
index 69e03714a8..4c27011da1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1215,7 +1215,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]]
name = "pa-agent"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"futures",
@@ -1228,7 +1228,7 @@ dependencies = [
[[package]]
name = "pa-ai"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"base64",
@@ -1256,7 +1256,7 @@ dependencies = [
[[package]]
name = "pa-cli"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"base64",
@@ -1286,7 +1286,7 @@ dependencies = [
[[package]]
name = "pa-core"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"base64",
@@ -1325,7 +1325,7 @@ dependencies = [
[[package]]
name = "pa-daemon"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"filetime",
@@ -1351,7 +1351,7 @@ dependencies = [
[[package]]
name = "pa-models"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"hex",
"hmac",
@@ -1369,7 +1369,7 @@ dependencies = [
[[package]]
name = "pa-telemetry"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"reqwest",
@@ -1384,7 +1384,7 @@ dependencies = [
[[package]]
name = "pa-tui"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"base64",
@@ -1409,7 +1409,7 @@ dependencies = [
[[package]]
name = "pa-types"
-version = "0.9.8"
+version = "0.10.0"
dependencies = [
"anyhow",
"libc",
diff --git a/Cargo.toml b/Cargo.toml
index cd8879d760..ee0d46b260 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,7 +19,7 @@ members = [
crossterm = { path = "vendor/crossterm" }
[workspace.package]
-version = "0.9.8"
+version = "0.10.0"
edition = "2021"
license = "MIT"
diff --git a/README.md b/README.md
index 34a2d46718..7f306dbcae 100644
--- a/README.md
+++ b/README.md
@@ -49,10 +49,10 @@ curl -fsSL https://app.primeintellect.ai/prime-agent/install.sh | sh
On Windows, install from PowerShell:
```powershell
-irm https://raw.githubusercontent.com/PrimeIntellect-ai/prime-agent/main/install.ps1 | iex
+irm https://app.primeintellect.ai/prime-agent/install.ps1 | iex
```
-Windows builds ship on the beta channel for now; when the stable channel has no Windows build, the installer falls back to the beta channel and says so. Only this copy of `install.ps1` comes from GitHub — the version pointers, platform tarballs, and checksums it downloads come from the release channel's own base.
+The Windows installer downloads the latest stable Windows x64 build and verifies its checksum before installation.
## Why Prime Agent
diff --git a/crates/pa-cli/tests/release_workflow.rs b/crates/pa-cli/tests/release_workflow.rs
index 7f49828451..3e3d1e8054 100644
--- a/crates/pa-cli/tests/release_workflow.rs
+++ b/crates/pa-cli/tests/release_workflow.rs
@@ -827,10 +827,10 @@ fn zero_artifacts_fail_loudly_instead_of_verifying_nothing() {
);
}
-/// The publish's beta route serves install.ps1 (the stable render — the
-/// Windows entry point) and never overwrites install.sh (stable-only).
+/// Production installer updates require a stable release on both platforms;
+/// beta releases publish only the explicitly selected beta installer pair.
#[test]
-fn the_beta_route_publishes_the_windows_entry_point() {
+fn production_installers_are_published_only_by_stable_releases() {
let text = fs::read_to_string(repo_root().join(".github/workflows/release.yml"))
.expect("read release.yml");
let workflow: Workflow = serde_yaml::from_str(&text).expect("release.yml parses as YAML");
@@ -860,14 +860,6 @@ fn the_beta_route_publishes_the_windows_entry_point() {
.expect("the publish names the stable channel block");
let beta_block = &publish[beta_start..stable_start];
let stable_block = &publish[stable_start..];
- assert!(
- beta_block.contains("render_installer_ps1 stable"),
- "the beta route must render the stable-channel Windows installer"
- );
- assert!(
- beta_block.contains(r#"aws s3 cp /tmp/install-stable.ps1 "s3://${R2_BUCKET}/install.ps1""#),
- "the beta route must upload install.ps1 to the bucket root"
- );
assert!(
beta_block.contains("render_installer beta")
&& beta_block.contains("aws s3 cp /tmp/install-beta.ps1")
@@ -875,13 +867,16 @@ fn the_beta_route_publishes_the_windows_entry_point() {
"the beta route keeps its own installer pair"
);
assert!(
- !beta_block.contains("aws s3 cp /tmp/install-stable.sh"),
- "a beta cut must never overwrite install.sh - the TS 0.9.8 funnel bootstraps through it"
+ !beta_block.contains("aws s3 cp /tmp/install-stable.sh")
+ && !beta_block.contains("aws s3 cp /tmp/install-stable.ps1"),
+ "beta releases must preserve both production installers"
);
assert!(
stable_block
- .contains(r#"aws s3 cp /tmp/install-stable.ps1 "s3://${R2_BUCKET}/install.ps1""#),
- "the stable route keeps its install.ps1 upload"
+ .contains(r#"aws s3 cp /tmp/install-stable.ps1 "s3://${R2_BUCKET}/install.ps1""#)
+ && stable_block
+ .contains(r#"aws s3 cp /tmp/install-stable.sh "s3://${R2_BUCKET}/install.sh""#),
+ "stable releases publish both production installers"
);
}
diff --git a/install.ps1 b/install.ps1
index ade134768c..a5573d8118 100644
--- a/install.ps1
+++ b/install.ps1
@@ -1,10 +1,8 @@
# install.ps1 — the Windows-native installer for Prime Agent (Rust build).
#
-# THE ONE-LINER (the repo copy's defaults are the channel's own bucket-root
-# base + the stable channel, so the raw form works out of the box — the
-# README's Windows command):
+# THE ONE-LINER (the production endpoint serves the stable installer):
#
-# irm https://raw.githubusercontent.com/PrimeIntellect-ai/prime-agent/main/install.ps1 | iex
+# irm https://app.primeintellect.ai/prime-agent/install.ps1 | iex
#
# The release pipeline's publish step renders this file to <base>/install.ps1
# (the stable channel) and <base>/install-beta.ps1 (the beta channel), the
@@ -20,16 +18,13 @@
# or <base>/beta) gives the version, the channel manifest (<base>/latest.json
# or <base>/beta.json) gives this platform's artifact row, and the versioned
# release prefix serves the tarball plus its SHA256SUMS; the checksum is
-# verified before anything is published. The channel carries no GitHub
-# surface: every file this installer READS comes from the base — the one
-# GitHub fetch on the Windows route is this script itself (the README's raw
-# copy), and the sh route has none.
+# verified before anything is published. Every file this installer reads
+# comes from the download base. CI may fetch this script from a GitHub ref
+# to verify changes before they reach the production installer endpoint.
#
-# THE WINDOWS CHANNEL FALLBACK: the stable releases predate Windows
-# support, so the stable manifest carries no win32-x64 row until the first
-# stable release ships one; a default-channel Windows install falls back
-# to the beta channel with a printed notice, and a channel asked for by
-# name refuses instead (the beta route spelled out).
+# CHANNEL SELECTION: the production installer uses stable. A missing
+# platform artifact is a release error, not permission to switch channels.
+# Beta remains available through an explicit channel selection.
#
# NO TYPESCRIPT TAKEOVER STEPS: the TypeScript product never shipped a
# Windows build, so there is no TS daemon, native install, or npm package
@@ -264,9 +259,8 @@ function ExpectedFileName($version, $platform) {
# PAIR, retrying once on a version mismatch (the publish writes the
# manifest first and the pointer second: a read between the two writes sees
# the old pointer with the new manifest — a transient window, not a broken
-# channel — install-rust.sh's consistency retry). The pair reader is a
-# function so the Windows channel fallback below re-resolves the beta
-# channel through the same retry discipline.
+# channel — install-rust.sh's consistency retry). Both explicitly selected
+# channels use the same pair reader and retry discipline.
function Read-ChannelPair($channelName) {
$pairPointer = $channelName
$pairManifestName = if ($channelName -eq 'beta') { 'beta.json' } else { 'latest.json' }
@@ -333,27 +327,8 @@ if ($versionPin) {
$version = $pair.Version
$manifest = $pair.Manifest
$row = Find-PlatformRow $manifest $version
- # THE WINDOWS CHANNEL FALLBACK (the operator's real-machine report,
- # 2026-10-02): the plain one-liner threw "no artifact row for platform
- # win32-x64 in the stable manifest" - the stable releases predate
- # Windows support, and the win32-x64 build ships on the beta channel
- # only. A channel the user asked for BY NAME gets the honest refusal
- # (the beta route spelled out); the DEFAULT channel falls back to beta
- # with a printed notice, so the plain one-liner just works.
if (-not $row) {
- if ($channelRequested -and $channelRequested -ne 'beta') {
- Fail ('the explicitly requested ' + $channelRequested + ' channel ships no ' + $platform + ' build yet; Windows builds ride the beta channel - re-run with the beta channel: ' + '$env:PRIME_AGENT_RELEASE_CHANNEL = ''beta''; irm https://raw.githubusercontent.com/PrimeIntellect-ai/prime-agent/main/install.ps1 | iex')
- } elseif ($channel -ne 'beta') {
- Write-Host "$channel does not ship Windows builds yet; installing from the beta channel"
- $channel = 'beta'
- $pair = Read-ChannelPair $channel
- $version = $pair.Version
- $manifest = $pair.Manifest
- $row = Find-PlatformRow $manifest $version
- if (-not $row) { Fail "no artifact row for platform $platform in the $channel manifest either (the Windows fallback found no beta build)" }
- } else {
- Fail "no artifact row for platform $platform in the $channel manifest"
- }
+ Fail "no artifact row for platform $platform in the $channel manifest; the installer will not switch release channels automatically"
}
if ($row.sha256 -notmatch '^[0-9a-f]{64}$') { Fail "the channel manifest's sha256 for $(ExpectedFileName $version $platform) is malformed" }
Write-Host "installing prime-agent $version from the $channel channel ($platform)"
diff --git a/scripts/release/fold_changelog.py b/scripts/release/fold_changelog.py
index 87ed91c948..00eddb2843 100644
--- a/scripts/release/fold_changelog.py
+++ b/scripts/release/fold_changelog.py
@@ -19,10 +19,9 @@ Fragments:
- README.md is not a fragment (the pattern's explanation lives there).
The changelog:
-- a missing CHANGELOG.md is seeded here: a header pointing at the TS
- product's changelogs (packages/*/CHANGELOG.md on `main`) for the pre-0.10.0
- history - the rust version line starts at 0.10.0 and does not back-fill
- 0.9.x content.
+- a missing CHANGELOG.md is seeded here: a header pointing at the
+ TypeScript product's changelogs on the v0.9.8 tag for historical notes;
+ Rust releases do not back-fill that content.
- a stray `## [Unreleased]` section is absorbed into the new section (an
old-style entry is never stranded).
- folding a version that already has a section is refused (a double fold).
@@ -57,15 +56,12 @@ UNRELEASED_RE = re.compile(
r"(^|\n)## \[Unreleased\][ \t]*\n?([\s\S]*?)(?=\n## \[|$)")
SECTION_START_RE = re.compile(r"^## \[", re.M)
-# The seed header: written when CHANGELOG.md does not exist yet. The rust
-# version line starts at 0.10.0 and continues the TS product's history; every
-# release before it stays recorded in the TS changelogs.
+# The seed header: written when CHANGELOG.md does not exist yet. Historical
+# TypeScript release notes stay linked to their immutable release tag.
SEED_HEADER = """# Changelog
-Release notes for Prime Agent (the Rust port). The version line starts at
-0.10.0 and continues the TypeScript product's release history; every release
-before 0.10.0 is recorded in the TS changelogs (packages/*/CHANGELOG.md on the
-`main` branch of this repository).
+Release notes for Prime Agent. Historical TypeScript release notes are
+recorded in the [TypeScript changelog](https://github.com/PrimeIntellect-ai/prime-agent/blob/v0.9.8/packages/coding-agent/CHANGELOG.md).
"""
diff --git a/scripts/release/test_windows_channel_fallback.ps1 b/scripts/release/test_windows_channel_fallback.ps1
index 122c4890aa..b855767c6c 100644
--- a/scripts/release/test_windows_channel_fallback.ps1
+++ b/scripts/release/test_windows_channel_fallback.ps1
@@ -1,23 +1,7 @@
-# test_windows_channel_fallback.ps1 — the install.ps1 Windows channel-fallback
-# regression test (the windows battery's third install gate).
-#
-# WHAT IT PROVES (the operator's real-machine report, 2026-10-02: the plain
-# one-liner threw "no artifact row for platform win32-x64 in the stable
-# manifest"):
-# 1. a default-channel install against a stable channel that carries no
-# win32-x64 row falls back to beta, prints the notice, and publishes
-# the beta payload (the .prime-agent-install marker names beta);
-# 2. an explicitly requested channel without a win32-x64 row refuses with
-# the beta one-liner spelled out — the fallback never overrides a
-# channel the user asked for by name.
-#
-# The payload is a stub tarball (a placeholder prime-agent.exe): this test
-# exercises the channel resolution and the fallback, not the binary — the
-# real-binary proof is the install e2e beside it (test_windows_install.ps1),
-# and the real-channel proof is the raw one-liner check in the same battery.
-#
-# Usage (from the repo root, on windows-latest):
-# pwsh -NoProfile -File scripts/release/test_windows_channel_fallback.ps1
+# Windows installer channel-selection regression: missing stable artifacts
+# must fail, explicit beta must work, and the production default stays stable.
+# Uses a local HTTP fixture with a stub payload; the Windows runtime battery
+# separately verifies the real executable and production one-liner.
$ErrorActionPreference = 'Stop'
@@ -43,10 +27,7 @@ $artifact = Join-Path $scratch $artifactFile
if ($LASTEXITCODE -ne 0) { throw 'the stub artifact build failed (tar)' }
$artifactSha = (Get-FileHash -LiteralPath $artifact -Algorithm SHA256).Hash.ToLower()
-# The local channel: the stable pointer + manifest WITHOUT a win32-x64 row
-# (the real stable channel's shape while Windows rides the beta channel
-# only), the beta pointer + manifest WITH the row, the versioned release
-# prefix with the artifact + its sums.
+# Start with a missing stable artifact and an available beta artifact.
$channel = Join-Path $scratch 'channel'
$releaseDir = Join-Path $channel "releases\v$betaVersion"
New-Item -ItemType Directory -Path $releaseDir -Force | Out-Null
@@ -124,44 +105,51 @@ try {
}
}
- # Case 1: the default channel falls back to beta and installs.
- $prefixA = Join-Path $scratch 'prefix-a'
- New-Item -ItemType Directory -Path $prefixA | Out-Null
- $runA = Invoke-Installer -Channel $null -Prefix $prefixA
- if ($runA.Exit -ne 0) {
- $runA.Lines | Write-Host
- throw "the default-channel install failed (exit $($runA.Exit))"
- }
- $transcriptA = $runA.Lines -join [Environment]::NewLine
- if ($transcriptA -notmatch [regex]::Escape("stable does not ship Windows builds yet; installing from the beta channel")) {
- throw 'the fallback notice is missing from the default-channel transcript'
- }
- if ($transcriptA -notmatch [regex]::Escape("installing prime-agent $betaVersion from the beta channel ($platform)")) {
- throw 'the default-channel install did not resolve the beta channel'
+ foreach ($selection in @('default', 'stable')) {
+ $prefix = Join-Path $scratch "prefix-missing-$selection"
+ $knob = if ($selection -eq 'default') { $null } else { $selection }
+ $run = Invoke-Installer -ChannelKnob $knob -Prefix $prefix
+ $transcript = $run.Lines -join [Environment]::NewLine
+ if ($run.Exit -eq 0 -or $transcript -notmatch [regex]::Escape('no artifact row for platform win32-x64 in the stable manifest')) {
+ $run.Lines | Write-Host
+ throw "$selection must refuse the missing stable artifact"
+ }
+ if (Test-Path (Join-Path $prefix 'share\prime-agent\prime-agent.exe')) {
+ throw "$selection unexpectedly published a payload"
+ }
}
- $markerPath = Join-Path $prefixA 'share\prime-agent\.prime-agent-install'
- if (-not (Test-Path $markerPath -PathType Leaf)) { throw "the install marker is missing: $markerPath" }
- $marker = Get-Content -LiteralPath $markerPath -Raw
- if ($marker -ne "install-rust.sh channel beta`nversion $betaVersion") { throw "the install marker says '$marker' instead of the beta channel" }
- if (-not (Test-Path (Join-Path $prefixA 'share\prime-agent\prime-agent.exe') -PathType Leaf)) { throw 'the beta payload is missing from the default-channel install' }
- # Case 2: an explicitly requested channel refuses with the beta route.
- $prefixB = Join-Path $scratch 'prefix-b'
- New-Item -ItemType Directory -Path $prefixB | Out-Null
- $runB = Invoke-Installer -Channel 'stable' -Prefix $prefixB
- if ($runB.Exit -eq 0) {
- $runB.Lines | Write-Host
- throw 'the explicitly requested stable channel must refuse (no win32-x64 row)'
+ # Explicit beta succeeds independently of the incomplete stable release.
+ $prefixBeta = Join-Path $scratch 'prefix-beta'
+ $runBeta = Invoke-Installer -ChannelKnob 'beta' -Prefix $prefixBeta
+ if ($runBeta.Exit -ne 0) {
+ $runBeta.Lines | Write-Host
+ throw 'the explicit beta install failed'
}
- $transcriptB = $runB.Lines -join [Environment]::NewLine
- if ($transcriptB -notmatch [regex]::Escape('the explicitly requested stable channel ships no win32-x64 build yet')) {
- throw 'the explicit-channel refusal is missing its headline'
+ $marker = Get-Content -LiteralPath (Join-Path $prefixBeta 'share\prime-agent\.prime-agent-install') -Raw
+ if ($marker -ne "install-rust.sh channel beta`nversion $betaVersion") { throw "unexpected beta marker: $marker" }
+
+ # Publish stable and verify the production default selects its artifact.
+ $stableFile = "prime-agent-$stableVersion-$platform.tar.gz"
+ $stableDir = Join-Path $channel "releases\v$stableVersion"
+ New-Item -ItemType Directory -Path $stableDir -Force | Out-Null
+ Copy-Item -LiteralPath (Join-Path $releaseDir $artifactFile) -Destination (Join-Path $stableDir $stableFile)
+ Set-Content -LiteralPath (Join-Path $stableDir 'SHA256SUMS') -Value "$artifactSha $stableFile"
+ $stableRow = '{"platform": "' + $platform + '", "file": "' + $stableFile + '", "sha256": "' + $artifactSha + '"}'
+ Set-Content -LiteralPath (Join-Path $channel 'latest.json') -Value ('{"version": "v' + $stableVersion + '", "binaries": [' + $stableRow + '], "binaries_v2": [' + $stableRow + ']}')
+ $prefixStable = Join-Path $scratch 'prefix-stable'
+ $runStable = Invoke-Installer -ChannelKnob $null -Prefix $prefixStable
+ if ($runStable.Exit -ne 0) {
+ $runStable.Lines | Write-Host
+ throw 'the default stable install failed'
}
- if ($transcriptB -notmatch [regex]::Escape('$env:PRIME_AGENT_RELEASE_CHANNEL = ''beta''; irm https://raw.githubusercontent.com/PrimeIntellect-ai/prime-agent/main/install.ps1 | iex')) {
- throw 'the explicit-channel refusal does not spell out the beta one-liner'
+ $marker = Get-Content -LiteralPath (Join-Path $prefixStable 'share\prime-agent\.prime-agent-install') -Raw
+ if ($marker -ne "install-rust.sh channel stable`nversion $stableVersion") { throw "unexpected stable marker: $marker" }
+ foreach ($prefix in @($prefixBeta, $prefixStable)) {
+ if (-not (Test-Path (Join-Path $prefix 'share\prime-agent\prime-agent.exe') -PathType Leaf)) { throw "missing payload in $prefix" }
}
- Write-Host "WIN_CHANNEL_FALLBACK default->beta=$betaVersion notice+marker verified; explicit-stable refused with the beta route"
+ Write-Host "WIN_CHANNEL_SELECTION default=$stableVersion explicit-beta=$betaVersion; missing stable artifacts refused"
} finally {
Stop-Process -Id $server.Id -Force -ErrorAction SilentlyContinue
# The User PATH: strip ONLY the entries this test added - the ones