Repository navigation
Description
Objective
Make the packaged ProPR Connect desktop smoke launch the real Windows ARM64 artifact as an ordinary user from a controlled, authenticated, user-readable staging root. Keep all diagnostics path-free and bounded.
Authoritative evidence
PR #1988 was intentionally merged only into transport sub-epic 1953-epic-desktop-transport-api at merge commit 1af8b44c1eb300dd807729c31e9b23c68dea3647; propagation to the top epic remains blocked.
Exact Windows ARM64 job 99993860820 in run 33549108145 proves the PS5.1 helper/owner/DACL regression and target-native packaging both pass. The subsequent ordinary-user smoke starts its Node harness but spawn of the expected packaged executable fails immediately with ENOENT, and the raw workspace, executable, and user-data paths enter the CI log. This does not prove an absent package: the packaging step completed successfully. It must distinguish output-layout mismatch from alternate-user path/access failure.
Required correction
- Before alternate-credential execution, verify the target package root and executable from the privileged workflow context using exact canonical path, non-link directory/file type, target architecture, and expected package layout checks. Emit only a fixed category on failure.
- Stage the complete packaged application tree, including resources required by Electron, into a fresh canonical root under the runner temporary directory whose exact leaf policy and parent identity are validated. Grant only the generated ordinary user, SYSTEM, and Administrators the minimum required read/execute/traverse access; the ordinary user must not gain write access to the package tree.
- Pass the staged root to the smoke harness through a narrowly scoped, strictly validated contract. Accept only an absolute canonical root under the authenticated runner-temp parent with the exact generated leaf; reject reparse points, symlinks, path escapes, unexpected owners/types, and arbitrary environment-selected roots.
- Under the ordinary-user token, independently prove the executable exists, is a non-link regular file, and is readable/executable before spawning it. Preserve
shell:false, argument arrays, exact architecture, and the isolated user-data/config authority fixture. - Replace raw
spawn/filesystem errors with a small fixed allowlist such as artifact-missing, artifact-inaccessible, artifact-type, architecture-mismatch, or spawn-failed. Never emit a raw path, argument vector, username, SID, environment value, exception message, stack, or command line. - Clean the staged tree and temporary account through bounded, ownership-checked cleanup without masking the primary outcome.
- Do not weaken the ACL helper, canonical bridge, owner preservation, ordinary-user requirement, packaged executable requirement, or Connect discovery proof. Do not target or merge into
mainor the top desktop epic.
Tests and gates
Add deterministic staging-root/path/reparse/access/redaction regressions and a failure-before-spawn regression. Require the real ordinary-user packaged smoke to pass on Windows ARM64 and x64, with the target-native artifact and exact Connect ready proof. Retain Full Suite, Audit/package, Native Windows durability, ordinary-user Windows discovery, and all Darwin/Linux packaged gates.
Coordinate with the sibling Windows packaged lifecycle correction so work remains isolated: this issue owns privileged staging, staged-root validation, and pre-spawn accessibility; lifecycle readiness/timeout/tree shutdown owns the other correction.
Blocking #1953, #2035, and final #1950 integration. Do not merge the generated PR automatically; it requires exact-head CI, Ultrafix, and independent audit.
Activity
propr-dev commentedon Sep 1, 2026
❌ Failed to process this issue
Error Category: git error
Error Message: Repository integry/propr is corrupted but has active worktrees: error: cannot lock ref 'refs/remotes/origin/1952-epic-electron-runtime-app': is at e3149c2 but expected ee6eb2f
From https://github.com/integry/propr
! ee6eb2f..e3149c2 1952-epic-electron-runtime-app -> origin/1952-epic-electron-runtime-app (unable to update local ref)
This appears to be a Git-related issue. The system may have encountered a corrupted repository or git operation failure. The issue will be automatically retried, and any corrupted repositories will be cleaned up.
Processing Stage: Pre-processing (before AI analysis)
Technical Details
The system will automatically retry this task. If the issue persists, please contact support.
propr-dev commentedon Sep 1, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol2050/gpt-5.6-sol-stage-packaged-windows-ar-20260901-2205-sr81953-epic-desktop-transport-apiissue-2050-20260901-2205-gpt-5.6-sol-sr8🔍 Track Task Execution
fix(ai): Resolve issue #2050 - Stage packaged Windows ARM64 desktop a…
integry commentedon Sep 4, 2026
Implemented by #2056, merged into
1953-epic-desktop-transport-api(c2f4c71). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.