Skip to content

test(phoenix-key): prove Windows installer lifecycle - #133

Merged
Bboy9090 merged 11 commits into
mainfrom
agent/phoenix-key-windows-lifecycle-v1
Jul 24, 2026
Merged

Bboy9090 merged 11 commits into
mainfrom
agent/phoenix-key-windows-lifecycle-v1

Conversation

@Bboy9090

@Bboy9090 Bboy9090 commented Jul 23, 2026 •

Copy link
Copy Markdown
Owner

Purpose

Add the first real Windows lifecycle receipts for Phoenix Key installers after producer PR #130 establishes deterministic build receipts.

This PR is stacked on agent/phoenix-key-artifact-receipts-v1 and does not merge or modify main directly.

Implemented

  • installed-executable --smoke-test mode
  • versioned bws.phoenix-key-installed-smoke/v1 receipt
  • compile-time source commit identity
  • smoke mode exits before Tauri startup
  • hardware scan, media planning, and physical write remain uninvoked/disabled
  • Rust unit test for the smoke receipt safety boundary
  • same-build source artifact receipt and unsigned-signature observations
  • one Windows installer build shared by lifecycle jobs
  • separate clean Windows runners for MSI and NSIS
  • silent install, installed launch, silent uninstall, and cleanup verification
  • installed executable path, size, and SHA-256 capture
  • versioned bws.app-lifecycle/v1 receipts and checksums
  • source-to-installer-to-lifecycle linkage validation
  • failure receipts, best-effort cleanup, concurrency cancellation, and Rust caching

Canonical same-commit validation

Source head:

f68c2cb917ec1d800956232de7ea99e60cdb94f7

Workflow:

Phoenix Key Windows Lifecycle
run_id: 30042136932
run_number: 9
result: PASS

All jobs passed:

  • source artifact receipt generator test
  • installed smoke receipt Rust test
  • MSI and NSIS build
  • unsigned Authenticode observation
  • same-commit source receipt generation
  • MSI clean-runner lifecycle
  • NSIS clean-runner lifecycle

Same-build source artifact evidence

Retained artifact:

artifact_id: 8577704770
name: phoenix-key-windows-lifecycle-inputs
archive_size: 2,951,947 bytes
archive_sha256: 519023bb0db192c3237cf00ddb740c5ac059c38e41778b0fcb7854e396b86726
expires: 2026-08-22

Source receipt:

schema: bws.source-app-artifact/v1
source_commit: f68c2cb917ec1d800956232de7ea99e60cdb94f7
workflow: Phoenix Key Windows Lifecycle
receipt_sha256: 6fd65f06ef4cef46b1c272cbf32c1b104fb7a48d50aad2e3c6c1a395ca0e22d0
checksum verification: PASS

Both installers report NotSigned, with no signer or timestamp certificate.

MSI lifecycle evidence

artifact_id: 8577720087
archive_size: 24,009 bytes
archive_sha256: 44793dc45d3af107cdfe7a5a366b12c119904147b0de759b418a88a53feecae2
expires: 2026-08-22
Field Value
Installer Phoenix Key_3.1.0_x64_en-US.msi
Installer size 1,974,272 bytes
Installer SHA-256 24b87ad13d8fb7426ef8653e7ce31c1a27195b57c296e884327895910d0496ae
Install exit 0
Installed path C:\Program Files\Phoenix Key\Phoenix Key.exe
Installed executable size 4,324,352 bytes
Installed executable SHA-256 0430360d981ff055787590c58d438c9dbb1948acfba4e0aa606e4e5df5f36176
Launch exit 0
Uninstall exit 0
Registration remaining false
Executable remaining false

NSIS lifecycle evidence

artifact_id: 8577717699
archive_size: 2,018 bytes
archive_sha256: 7c2768b1b21918fab39d0668f3f5b9775ecba5abc3ced91046af2e0bb0a4360c
expires: 2026-08-22
Field Value
Installer Phoenix Key_3.1.0_x64-setup.exe
Installer size 1,275,255 bytes
Installer SHA-256 cd3f3070c58557b4039f5c7c3aad7e1630025c2746a6eb793a91fa5b1c9dda57
Install exit 0
Installed path C:\Users\runneradmin\AppData\Local\Phoenix Key\Phoenix Key.exe
Installed executable size 4,324,352 bytes
Installed executable SHA-256 0430360d981ff055787590c58d438c9dbb1948acfba4e0aa606e4e5df5f36176
Launch exit 0
Uninstall exit 0
Registration remaining false
Executable remaining false

The source receipt installer hashes exactly match both lifecycle receipts. MSI and NSIS install the same executable payload hash.

Installed smoke safety proof

Both installed applications emitted:

schema_version: bws.phoenix-key-installed-smoke/v1
app_id: phoenix-usb-creator
version: 3.1.0
source_commit: f68c2cb917ec1d800956232de7ea99e60cdb94f7
hardware_scan: not-invoked
media_plan: not-invoked
physical_write: disabled
browser_hardware_fabrication: prohibited
status: pass

Proven classification

source build: verified unsigned preview
install: pass
launch: pass
uninstall: pass
update: not-run
rollback: not-run
artifact_class: unsigned-preview-lifecycle-partial
release_eligible: false

Update and rollback require a second version and declared rollback mechanism. Signing, signature verification, ARCWYRE embedding, and release promotion remain separate gates.

Dependency

@Bboy9090
Bboy9090 marked this pull request as ready for review July 23, 2026 20:23
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Bboy9090
Bboy9090 changed the base branch from agent/phoenix-key-artifact-receipts-v1 to main July 24, 2026 00:50
@Bboy9090
Bboy9090 merged commit 9a24cf9 into main Jul 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant