Skip to content

ci: publish verified fork desktop artifacts on merge - #8

Merged
moomooskycow merged 8 commits into
mainfrom
ci/fork-cd
Oct 1, 2026
Merged

moomooskycow merged 8 commits into
mainfrom
ci/fork-cd

Conversation

@moomooskycow

@moomooskycow moomooskycow commented Sep 30, 2026 •

Copy link
Copy Markdown

Purpose and authorization

Phaedrus explicitly authorizes routine continuous deployment on merge. This replaces dispatch-only fork desktop publication with successful default-branch push CI → exact-revision fork signed updater artifacts → installed-artifact smoke → healthy static updater channel. Normal review/CI/merge, signing trust, privacy, credential, recording and database boundaries remain.

Native prerequisite PR #7 landed through normal green CI. This owned cutover is rebased on its real default-branch commit fafa4933c1f5f097152ddd46b0a61ab2693197ea; the complete diff is being freshly reviewed and normal gates rerun on exact head bee8694. Prior-head approvals are not reused as final merge approval.

Gate provenance

  • self-build.yml dispatch-only fork build: Jackson Prowell, f3ae85fb2 (2026-04-22); rolling internal-latest: 17550b60d (2026-04-23). The dispatch implementation is not an explicit written requirement for Phaedrus's per-release human approval. Existing Mac ad-hoc signing and Intel retirement are retained.
  • Inherited upstream publish readiness comment: Richie McIlroy, b56204223f (2024-10-04); dispatch inputs: Brendan Allan, 1ef5c93581 (2025-02-18). No inspected owner decision, README/AGENTS or history mandates per-release human approval. PR docs: point Our Deployment at r90group #6 was owner-label documentation only.
  • The upstream CrabNebula/Discord/Apple/SignPath pipeline is replaced, not made to publish under upstream identities.

Implementation

  • Production signing/publication runs only after successful same-repository default-branch push CI, never automatically against PR source. The newly added PR preview arm and every PR-only trigger/conditional/artifact-inventory scaffold were removed conservatively; normal existing native CI and independent review still precede merge. No fake key or new preview framework replaces it. This subtracts our new check, not an existing required gate.
  • First-parent source-ancestry ordinals generate increasing stable actual Tauri application and installer versions. They are stable per SHA and independent of out-of-order CI completion; Windows patch/minor rollover preserves native bounds. No manual version/tag step.
  • Existing fork public key 9F5E1BA2F201819F was obtained from the authenticated real prepare job's public-only certificate artifact and is pinned in production config. Key material—not incidental untrusted comment wording—is compared against the existing credential. No key rotation. Private bytes stay in environment/anonymous pipes, not private-key files. Public certificate is consumed by signature verification; signed checksum/source inventory precedes publication.
  • Each source SHA gets an immutable candidate. Native downloaded installers are installed/launched with fresh profiles; onboarding title, actual native version, checksums, screenshots and logs provide smoke evidence. Mac also verifies the updater archive's codesign/version and executable match to the installed DMG, and asserts arm64.
  • Only both healthy targets enter internal-latest/latest.json with exact source/version and immutable fork artifact URLs. Before promotion, the actual published signed inventory is authenticated against the exact-source pinned fork key and every published payload is hashed. The candidate must contain no unlisted payload asset and exactly one signed updater per platform. The real endpoint is read back with a bounded propagation wait; prior manifest/tag/body restore on error. Never-healthy candidates are withdrawn on failed walks or promotions; previously healthy current/superseded immutable releases remain available for rollback. Attempts retain distinct smoke evidence.
  • Healthy promotions queue without cancelling pending revisions. Current GitHub supports concurrency.queue: max (100 pending), provider documentation. Released actionlint 1.7.12 has not implemented this documented key (open upstream support PR #654); no suppression or scanner modification was made. Real GitHub accepted the workflow as run 36799611223. Normal repository CI/scanners still must pass.
  • Legacy clients embedding upstream updater trust must install the current fork installer once; remote trust migration, signing bypass and first-launch consent bypass are not attempted. Existing Railway GitHub App runtime deployment remains separate.
  • GitHub hook 689911713 routes default-branch workflow/deployment failures to signed R90 Kaylee agent intake, never a human inbox. alert-route-probe.yml deliberately fails without publishing or touching user data. Actual intake readback is attached after the probe.

Observed verification — final main-only source bee8694

  • 4 targeted Vitest tests passed, including actual Git ancestry generated in reverse completion order and requested-source stability after HEAD changes.
  • Scoped Biome and both shell syntax checks passed. Actionlint 1.7.12 reports only its unsupported documented queue field; it was not ignored or modified.
  • System One strict staged gates passed. Workflow diffs received tests_missing advisory; the genuine signed-inventory/tamper consumer smoke below covers the new trust boundary without source-text/wiring tests. The final main-only YAML parsed and removed preview/self-build-reference search returned no matches. Semantic gate's erroneous added-test warning (no tests changed) was reported to QA, not suppressed.
  • Throwaway actual Rust semver 1.0.27 consumer (the locked Tauri updater dependency) accepted all 302 strict-greater generated transitions, including Windows rollover. Removed.
  • Updated supplied-certificate Minisign consumer verified both updater signatures and signed inventory. Deliberately tampered signed payload failed with Signature verification failed. Disposable fixtures removed. Encrypted-key anonymous-pipe consumption was observed separately.
  • Real authenticated prepare 36799611223, job 110171104277, passed in 1m2s, including the source-ancestry tests and exact production signing-root check. Actual Windows production installer build job 110171383990 passed in 52m2s. Mac build was cancelled by the next source push, not observed as a compiler failure. Native startup/screenshots and live publication are not claimed complete.
  • Primary locked source inspected: tauri-codegen 2.4.0 emits native PackageInfo.version from config.version with Cargo fallback only when absent; updater 2.9.0 reads that native version and compares Rust semver with strict > by default. Its static JSON deserializer tolerates extra source_revision metadata. tauri-build 2.4.1 updates numeric Windows PE PRODUCTVERSION from config.version, while tauri-winres 0.3.3 leaves the separate display string at Cargo base; Windows smoke therefore checks numeric ProductMajor/Minor/Build parts and requires fourth part zero.
  • New published-byte verification was exercised with an actual disposable signed inventory and payload: authentic signature and checksum passed; mutated payload and rewritten inventory failed with exit1, the latter reporting Signature verification failed. All synthetic keys and files were removed.
  • The actual inline promotion script rejected an adversarial unlisted updater asset before any external command. Disposable fixture removed. The final main-only source is rebased and pushed; fresh exact-head review, normal existing CI, actual merged publication/native smoke and agent-route readback remain required. Obsolete owned PR-signing preview36805836994 was cancelled deliberately after subtracting that arm; no existing required check was bypassed.

Implementation native metadata: openai-codex/gpt-6.1-sol / max, no fallback. Requested high was overridden by native per-task effort mapping; parent is disclosing the mismatch and filed QA, with no harness/persistent configuration edits. Independent reviewer is explicitly anthropic/claude-sonnet-5-5 / high. Fresh explicit review decisions only apply to their exact named heads. Final rebased-head approval, normal green CI, merged revision, real fork publication/static endpoint, native screenshots and deliberate agent-route failure readback must be observed before declaring this work complete.

@moomooskycow

Copy link
Copy Markdown
Author

Candidate head: d1977bbc61e5f19065cd3749e193a3e66c7ae474.

Observed local gates:

  • Actionlint for changed publication/probe workflows: passed (including ShellCheck after using sha256sum -- *).
  • bash -n for both shell entrypoints: passed.
  • Scoped Biome 2.2.0 on affected desktop TS/JSON: no fixes.
  • System One dedicated OpenRouter --strict --staged: passed with advisory taste/verification warnings; no blocking findings. Its initial real disk-secret-persistence finding was repaired by passing the key over an anonymous memory pipe. No harness source changed.
  • Real Minisign 0.12 consumer proof: encoded valid signatures accepted; mutated signed payload rejects with Signature verification failed. Also exercised an encrypted disposable private key/password through the same memory-pipe consumer: success. All disposable fixtures removed.

Fresh independent Sonnet 5.5/high first round requested changes (not an approval). Candidate repairs cover authenticated draft recovery/idempotent creation, cancelled smoke withdrawal, native build+install PR validation, legacy channel migration, promotion rollback/readback, per-revision publication, native title/binary-source assertions and explicit recovery commands. A fresh exact-head second round is running; final post-prerequisite head needs its own explicit review. Do not infer approval from CLI exit status.

Native jobs and normal CI are running on this PR. Final merged fork publication, both screenshot inspections and deliberate default-branch agent-intake proof remain required before completion. Existing native CI repair remains independently owned PR #7.

@moomooskycow

Copy link
Copy Markdown
Author

Independent review receipt for exact head d1977bbc61e5f19065cd3749e193a3e66c7ae474:

  • Reviewer: fresh native anthropic/claude-sonnet-5-5, thinking high, no session/extensions/skills/rules/tools.
  • Input: PR intent/context and exact complete diff; explicit no-tools/untrusted-diff instruction.
  • Returned verdict: approve, with nonblocking findings. This is explicit JSON approval, not an inference from exit 0.
  • Conclusion: no blocking defects in supplied patch; fork identity, memory-only credential handling, candidate resolution, complete drafts before publication, per-SHA retention, serialized/ancestry-checked channel, rollback and fail-closed native smoke judged sound.

Nonblocking review follow-through is being committed: preserve attempt-specific smoke evidence / replace retry build artifacts safely, use native portable macOS checksum inventory, cancel superseded PR builds while retaining main publications, and document rerun-all recovery rather than claiming read-only tokens can retrieve withdrawn drafts. Native TCC/title/screenshot capability and actual installed versions remain facts to establish through the PR smoke, not inferred passes. No extra signing/security privileges are granted.

This approval does not authorize an unreviewed new head or bypass PR #7/native CI. The final rebased head will receive a fresh independent review after normal native gates and real surface evidence.

@moomooskycow
moomooskycow changed the base branch from main to fix/native-rust-cache-targets September 30, 2026 23:50
@moomooskycow

Copy link
Copy Markdown
Author

Fresh independent exact-head review

Reviewed head: 90530df over stacked merge-base 1caeda6. Explicit decision: APPROVE, no blockers. Native session metadata—not assigned effort or process exit status—confirms model_change: anthropic/claude-sonnet-5-5, resolvedModelIsFallback: false, and thinking_level_change: high (2026-10-01T01:15:30Z).

Command: omp -p --session-dir <owned temporary review directory> --no-title --no-extensions --no-skills --no-rules --no-tools --no-lsp --model anthropic/claude-sonnet-5-5 --thinking high @<exact-head review input>.

The prior request_changes on bb78c84 correctly identified out-of-order CI completion making GITHUB_RUN_NUMBER versions regress along source ancestry. This head replaces that source with first-parent Git ancestry and adds an actual Git consumer regression. Four targeted tests passed. The existing fork public certificate is now pinned/credential-checked and consumed by real signature verification; valid supplied-certificate fixtures passed and tampering failed. No native deployment or screenshots are inferred from these proofs.

Advisories retained for actual native/runtime observation: Windows checksum format, native onboarding window/TCC assumptions, real main-only draft/publish/manifest API paths, momentary static-channel replacement 404, Dependabot secret restrictions, and immutable-release settings. Small follow-through makes both GNU checksum markers acceptable, records every smoke-healthy immutable candidate's manifest before the stale-source early-return, and documents immutable-run tooling repair limits. These changes require their own final head review.

This approval does not cover PR7's foreign native changes. No merge yet: rebase after PR7 lands normally, obtain fresh exact-head approval, await normal green CI and native smoke, then observe the actual merged fork publication/endpoint and agent-only failure probe. Released actionlint's documented queue-key schema gap is disclosed, not suppressed; GitHub's actual workflow parser accepts the file.

@moomooskycow
moomooskycow changed the base branch from fix/native-rust-cache-targets to main October 1, 2026 02:25
@moomooskycow

Copy link
Copy Markdown
Author

Fresh final rebased independent review

Exact reviewed head: 4f92d90 over default branch fafa493, after PR #7 landed through normal green CI. Explicit fresh decision: APPROVE, no blockers. The complete owned diff and actual final CI/production configuration were supplied; stacked-head approvals are not reused.

Actual isolated native review session metadata confirms anthropic/claude-sonnet-5-5 / high, resolvedModelIsFallback:false, timestamp 2026-10-01T02:26:18.505Z. Command: omp -p --session-dir <owned review directory> --no-title --no-extensions --no-skills --no-rules --no-tools --no-lsp --model anthropic/claude-sonnet-5-5 --thinking high @<exact-head input>.

This is static approval, not native deployment proof. Normal exact-head CI36805836980 and production-config preview36805836994 must complete green before exact reviewed-head merge. Screenshots need inspection, especially fresh-install onboarding title/visibility on both native runners. Do not grant or bypass Screen Recording/privacy permissions to make a smoke pass. Publication and alert-route probe must then be observed from the actual merged source.

Resolved earlier concerns: first-parent source ancestry, not CI run order, controls actual native versions; production fork key is pinned and checked against the existing secret without private-key files; Windows smoke compares native numeric PE product-version fields, not Cargo-derived display text; published checksum inventory is authenticated with the pinned signing root before promotion, every payload is hashed, unlisted assets are rejected and updater artifacts must be unique. Real disposable cryptographic/tamper and adversarial extra-asset checks passed; fixtures were removed. The real90530 Windows production installer build succeeded; no Mac startup screenshot or live release is inferred.

Remaining advisories are recorded: existing same-repo write-access secret trust and Dependabot restrictions, in-flight cancelled CI cannot publish, static GitHub asset replacement can briefly return404, endpoint propagation/legacy archive/rollback API paths require real observation, and current actionlint's queue-key schema lag must not be hidden or required scanners bypassed. Ordinary native consent and private recordings/backend data remain untouched.

@moomooskycow

Copy link
Copy Markdown
Author

Fresh final main-only exact-head review

Exact head bee8694, over normally merged native prerequisite/default base fafa493. Fresh complete independent review explicitly APPROVE, no blockers. Native primary session metadata confirms anthropic/claude-sonnet-5-5 / high, resolvedModelIsFallback:false, 2026-10-01T02:47:26.198Z. Prior4f92 approval is not reused.

Conservative credential cutover: production signing/publication now runs only after successful same-repository default-branch push CI. The newly invented PR-signing preview arm and all its PR-only trigger/concurrency/guard/artifact-inventory scaffolding were deleted, not replaced by fake keys or another preview framework. The obsolete owned preview run36805836994 was cancelled. This removes our new check, not an existing required gate; normal native CI and independent review remain intact. An unnecessary build-tool GITHUB_TOKEN environment value was also removed.

Exact-head normal CI36807348816 must go green before normal --match-head-commit merge. The workflow then automatically builds/signs/publishes the actual merged source and walks downloaded native installers. Crypto/inventory/unique updater/source/native-version/healthy-channel contracts remain; no scanner/admin merge/privacy-consent bypass is authorized. Actual screenshots, real static manifest/source/version and deliberate agent alert-route receipt are required after merge, not inferred from static approval.

Observed pre-merge proofs and limits remain in the PR body. Review advisories include first-parent/Cargo-base invariants, legacy archive/rollback/readback API observation, static asset replacement's short404 window, existing persisted checkout-token trust, and unobserved native window/title/screenshot assumptions. The inline promotion is intentionally kept on existing GitHub/Tauri primitives rather than expanding to a new framework; full real behavior still must be walked. No current-head live deploy or native smoke is claimed yet.

@moomooskycow
moomooskycow merged commit eb7ca4b into main Oct 1, 2026
13 checks passed
@moomooskycow

moomooskycow commented Oct 1, 2026 •

Copy link
Copy Markdown
Author

Actual post-merge deployment observation

This PR merged normally at exact reviewed head bee86941905f265381ba95ceb05746b1c8ad69c1, resulting default revision eb7ca4b191dcca92f9d932d73fdfafe55177c8af. Main CI36809970889 passed and automatically triggered publication36811119394 for that exact source.

Actual prepare/key-root verification passed. Actual Windows x64 production installer build110206433423 passed52m52s. Mac ARM production build110206433362 reached the90minute platform deadline: compilation logged through03:48:44 before silence and05:05:47 cancellation. Native provider workflow/job conclusions are cancelled, not failure/timed_out, and actual intake has no receipt because cancelled events are excluded. Candidate publication, both native download/install/startup smoke and healthy-channel promotion were skipped. No completed current-source desktop deployment or native smoke is claimed. The existing release was not replaced with an unverified source.

Repair PR9 owns the bounded debuginfo hypothesis and shared real optimized production native build entrypoint with credential-free PR --no-bundle preflight. It also introduces an80minute real producer deadline inside the unchanged90minute job so actual overdue compiler trees terminate and fail before platform cancellation; this repairs the missing failure signal without changing the cancellation policy, direct webhook emission, new grants or fake probes. Fat LTO, single codegen unit, size optimization, standard native runners/target triples, signing identity, private trusted-main signing and actual installed-app/privacy boundaries remain. It must pass fresh exact-head independent review, ordinary native CI and subsequent actual automatic publication/smoke/promotion; no manual release approval, timeout bump, fake signing key, paid runner or bypass.

The deliberate failure route probe36810011277 has actual signed stored intake receipt r90group:fd6995e9d57be7d2e153875c557703bccffb8f808de7b53a91d97294cd638d59, received2026-10-01T03:20:02.324Z, naturally triaged done/test2026-10-01T03:23:03.609Z without ticket/human inbox. It preceded the later exact alert_route_probe: yes directive, so observed marker/name classification is not proof of that emitted exact tag. A separate hook-delivery HTTP200 was not observed; the signed stored receipt was. No further probes emitted.

@moomooskycow

Copy link
Copy Markdown
Author

Completed real automatic fork desktop deployment

Source: dc0e92208e5a8c5944033117be3fc12cc71aa858 — repair PR9 merged normally from exact independently reviewed head 288dbecbb52a057a0fab7c48367b7237835b487c; fresh Sonnet5.5/high review, no fallback, and normal native PR CI36821733710 passed before merge. Main push CI36824645589 passed and automatically triggered the real publication, without a dispatch or human release approval.

Deploy: publish36827618997 completed success for that exact source; native version 0.4.3091.

  • Apple Silicon real optimized/ad-hoc-signed bundle build110257046042:25m39s.
  • Windows x64 real installer/updater-signing build110257045938:37m31s.
  • Actual updater signatures and signed checksum inventory verified; complete immutable candidate release110268307334 published.
  • Downloaded-published-candidate install/launch smoke passed: Mac110268609593/43s and Windows110268609569/54s.
  • Published bytes re-downloaded and authenticated against pinned existing fork signing root, then healthy-channel promotion110268899872 passed/42s. Reject correctly skipped.

Immutable deployment: release id 400740299, public/non-draft prerelease internal-dc0e92208e5a8c5944033117be3fc12cc71aa858, target_commitish exactly the source above. Real Mac DMG and signed Cap.app.tar.gz, Windows Cap_0.4.3091_x64-setup.exe plus signature, source/target manifests, public fork key, authenticated SHA256SUMS and immutable latest.json are published.

Post-deploy readback: unauthenticated plain healthy updater endpoint returned version:0.4.3091, source_revision:dc0e92208e5a8c5944033117be3fc12cc71aa858, both real immutable native updater URLs and signatures. Parent independently observed this same run/readback.

Real native surface proof: downloaded both smoke artifacts and visually inspected their actual screenshots: macOS and Windows each rendered the real blue-cloud Welcome to Cap / Get Started onboarding window, not just a title or log. Both installed-app result.json records bind version0.4.3091 and the exact source; Mac additionally confirms arm64/ad-hoc codesign and updater archive's exact installed-binary/version match. Startup logs confirm executable-adjacent real cap-muxer. Mac artifact 11147346067 smoke-aarch64-apple-darwin-1; Windows artifact 11147243475 smoke-x86_64-pc-windows-msvc-1, retained on the deploy run. Windows runner logged a software-renderer warning but displayed the actual surface; no warning was suppressed.

Loud agent-facing failure evidence: existing real default-branch CI36784226990 has native signed intake receipt r90group:8491cdcba50dcf458cda8afe22d47c28f6c72380677240d877e4faf8b4e57004, received2026-09-30T22:19:51.405Z, naturally triaged done/incident→INF100 at2026-09-30T22:23:15.049Z. Native Habitat confirmed INF100 Done/revision2, id fe1bdc1c-d709-4d3e-985d-fa43ba8a01c6, independently owned PR7 preserved. No UI URL was returned, so none is guessed. The earlier deliberate probe36810011277 also has signed receipt and done/test triage, but predates the exact-tag directive and does not prove an emitted alert_route_probe: yes or separately observed hook HTTP200.

The previous unsuccessful publisher36811119394 concluded cancelled and had no intake receipt; it is not claimed alerted. The shared80minute actual process deadline now exits124 before the unchanged90minute native job cancellation boundary. Actual local Bash smoke and nested compiler regression proved failure classification/tree termination; both genuine native CI platforms also passed those tests. No classifier broadening, new grant, direct webhook or new probe.

Preserved boundaries/limits: existing fork updater identity unchanged; Mac ad-hoc, not notarized/DeveloperID; Windows not Authenticode-signed. Smoke used disposable fresh install and exercised startup, not private recordings/authenticated uploads/Railway runtime or end-user OS-consent flows. Mac runner already reported OS grants; workflow did not grant them. Legacy upstream-trust clients still need one explicit fork-installer install. No paid runner, timeout bump, scanner/admin bypass or fake key.

Implementation requested Sol/high; actual implementation route Sol/max without fallback was disclosed. Actual independent exact-head review is Sonnet5.5/high/no fallback. Existing README/AGENTS define the clean automatic-publication procedure; no harness source was modified. Owned cleanup follows this observed complete deployment, while foreign canonical fix/native-rust-ci is preserved.

@moomooskycow
moomooskycow deleted the ci/fork-cd branch October 1, 2026 07:56
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