Skip to content

[2205 by GPT-5.6 Sol] Resolve existing Codex host credentials consistently in containerized desktop setup - #2208

Merged
integry merged 3 commits into
1950-epic-cross-platform-dskfrom
2205/gpt-5.6-sol-resolve-existing-codex-ho-20260907-2142-bl5
Sep 7, 2026
Merged

integry merged 3 commits into
1950-epic-cross-platform-dskfrom
2205/gpt-5.6-sol-resolve-existing-codex-ho-20260907-2142-bl5

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2205

Branch: 2205/gpt-5.6-sol-resolve-existing-codex-ho-20260907-2142-bl5
Commits: ✅ Changes committed (fc7dee9)


AI Processing Completed

Execution Details:

Summary:
Implemented the GitHub #2205 fix.

  • Codex’s default ~/.codex now resolves through CODEX_CONFIG_PATH, falling back to HOST_CODEX_DIR, rather than container /root.
  • Explicit absolute custom paths and managed credentials remain isolated and unchanged.
  • Ambiguous custom tilde paths, missing mappings, and unavailable directories fail with actionable errors before Docker launches.
  • Login, health checks, and execution now use consistent resolution.
  • Added regression coverage for host/backend HOME mismatch, custom paths, managed credentials, absent mappings, unavailable mounts, and health status.

Key changes: configManagerAgents.ts, codexDockerArgsBuilder.ts, CodexAgent.ts, and agentLoginDocker.ts.

Validation passed:

  • Core and API typechecks
  • Core and API lint
  • Core build
  • 46 focused tests

No visual preview was generated because this is backend/runtime behavior without a rendered UI change.

Detailed Logs:

  • Conversation: 80 messages
  • Session: 01a07dd3-3293-7222-9d93-8fc764376d36

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2205-2026-09-07T21-58-37-493Z-conversation.json
  • output: /tmp/claude-logs/issue-2205-2026-09-07T21-58-37-493Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #2205.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…s consistent

Implemented by ProPR AI using gpt-5.6-sol model.

Implementation completed successfully.
@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=9 max=2

@propr-dev propr-dev Bot added the ultrafix label Sep 7, 2026
@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 9/10, max cycles: 2)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent exactfc7dee9 validation: core build PASS;46/46 focused configManagerAgents/contextAnalysisRuntime/agentLoginRoutes tests PASS under Node22.23.2. Reviewed default mapping resolution, explicit custom/managed path preservation, and metadata-only availability checks. Logs /tmp/propr-2208-core-build.log and /tmp/propr-2208-focused-tests.log. This is code/test evidence; actual default-path desktop runtime acceptance awaits integration/rebuild. Ultrafix review active.

@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-5.6-sol

Overall Evaluation

The PR correctly centralizes Codex credential-path resolution and preserves explicit and managed paths, but it needs minor changes before merge because interactive login can still use or create the wrong directory in two cases.

✅ Correct mapping precedence — CODEX_CONFIG_PATH takes precedence over HOST_CODEX_DIR, avoiding expansion against the backend user’s HOME.

✅ Credential isolation preserved — Explicit absolute paths and ProPR-managed credential paths are not replaced by the provider-wide mapping.

✅ Runtime fail-fast coverage — Execution and health checks verify that the resolved credential directory exists before invoking Docker.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Login skips availability validation

  • Required behavior: Unavailable Codex credential directories must fail with an actionable error before Docker launches, consistently across login, health checks, and execution.
  • Evidence: packages/api/services/agentLoginDocker.ts:96 — the new default-Codex branch resolves and syntactically validates the mapped path but never calls assertCodexConfigPathAvailable; the login session subsequently passes it to Docker, whose -v behavior can materialize a missing empty directory.
  • Minimum fix: Validate resolved non-managed Codex login directories with assertCodexConfigPathAvailable and translate AgentConfigPathUnavailableError into AgentLoginInputError; continue allowing the session manager to create only ProPR-managed directories.

F2: 🔴 Docker detection regresses without flag

  • Required behavior: A containerized backend without a Codex host mapping must fail instead of resolving ~/.codex against the backend account.
  • Evidence: packages/core/src/config/configManagerAgents.ts:64 — isContainerizedEnvironment recognizes only PROPR_CONTAINERIZED, while the new API Codex branch delegates to this helper and bypasses the API’s existing /.dockerenv detection.
  • Minimum fix: Preserve actual-container detection when resolving the Codex default, either by centralizing /.dockerenv detection in the resolver or explicitly passing container status from callers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Tailor availability guidance

The error in packages/core/src/config/configManagerAgents.ts:159 always recommends changing HOST_CODEX_DIR, even when the unavailable path is an explicit custom or managed path that deliberately ignores that mapping. Source-aware guidance would reduce operator confusion, but this is non-blocking because the error identifies the failing path and safely stops execution.

Score

The main resolution design and tests are strong, and no current check has failed, but two localized login/container-detection regressions remain; six checks are also still pending.

Score: 6/10


🤖 Review Details

  • Model: GPT-5.6 Sol
  • Time: 3m 27s
  • Tokens: 54,612 (48,316 in / 6,296 out)
  • Cost: $0.38

View Task


💡 Next step: Comment /fix to address F# merge blockers only.
F# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. Suggestions require a separate ordinary follow-up request.

🤖 Review by ProPR

@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/fix F1 F2

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 34d875b

Addressed 1 AI review comment (IDs: 5576046350)

Summary of Changes

Implemented only F1 and F2.

  • Codex login now validates all non-managed credential directories before Docker starts and reports AgentLoginInputError when unavailable.
  • Managed login directories remain creatable by the session manager.
  • Codex path resolution now detects real Docker environments through /.dockerenv, even without PROPR_CONTAINERIZED.
  • Added regression coverage for both findings.

Validation passed:

  • 48 focused tests
  • Core/API typechecks
  • Core/API lint
  • Core build
  • git diff --check

No visual preview was generated because these are backend runtime changes. No commit was created.


🤖 Implementation Details

  • Model: GPT-5.6 Sol (high)
  • Requested By: @integry
  • Time: 9m 53s
  • Tokens: 1,884,926 (1,872,635 in / 12,291 out)
  • Cost: $1.62
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5576057355✓

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Full test suite.

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Redis startup: success
  • Full test suite: failure
View Test Output

> [email protected] test:full:prepared
> npm run test:server


> [email protected] test:server
> node scripts/run-test-suite.mjs


[1/410] apps/desktop/scripts/acceptance-artifacts.test.mjs
TAP version 13
# Subtest: packaged acceptance artifact contract
    # Subtest: has exactly 60 deterministic unique names and physical dimensions
    ok 1 - has exactly 60 deterministic unique names and physical dimensions
      ---
      duration_ms: 3.37083
      type: 'test'
      ...
    # Subtest: writes and verifies the complete strict 60-entry manifest and supporting set
    ok 2 - writes and verifies the complete strict 60-entry manifest and supporting set
      ---
      duration_ms: 125.274714
      type: 'test'
      ...
    # Subtest: scans full persisted surfaces and OCR-recognized rendered pixels
    ok 3 - scans full persisted surfaces and OCR-recognized rendered pixels
      ---
      duration_ms: 3.944243
      type: 'test'
      ...
    # Subtest: keeps generic matching within printable binary runs and exact sentinel scanning raw
    ok 4 - keeps generic matching within printable binary runs and exact sentinel scanning raw
      ---
      duration_ms: 6.378527
      type: 'test'
      ...
    # Subtest: fails closed on missing, mutated, and unexpected artifact data
    ok 5 - fails closed on missing, mutated, and unexpected artifact data
      ---
      duration_ms: 113.009537
      type: 'test'
      ...
    # Subtest: only recursively removes a dedicated non-link allowlisted leaf
    ok 6 - only recursively removes a dedicated non-link allowlisted leaf
      ---
      duration_ms: 6.382076
      type: 'test'
      ...
    # Subtest: authorizes the standard macOS temporary-directory alias by canonical parent identity
    ok 7 - authorizes the standard macOS temporary-directory alias by canonical parent identity # SKIP macOS-only /var alias regression
      ---
      duration_ms: 0.111108
      type: 'test'
      ...
    1..7
ok 1 - packaged acceptance artifact contract
  ---
  duration_ms: 259.971594
  type: 'suite'
  ...
1..1
# tests 7
# suites 1
# pass 6
# fail 0
# cancelled 0
# skipped 1
# todo 0
# duration_ms 481.478968

[2/410] apps/desktop/scripts/assert-windows-mvp-package.test.mjs
TAP version 13
# Subtest: Windows MVP ASAR main entry
    # Subtest: uses the rooted listPackage representation accepted by extractFile
    ok 1 - uses the rooted listPackage representation accepted by extractFile
      ---
      duration_ms: 28.67769
      type: 'test'
      ...
    # Subtest: preserves the Windows separator after removing the one archive root
    ok 2 - preserves the Windows separator after removing the one archive root
      ---
      duration_ms: 0.223468
      type: 'test'
      ...
    # Subtest: rejects traversal, duplicate entries, and case-colliding main paths
    ok 3 - rejects traversal, duplicate entries, and case-colliding main paths
      ---
      duration_ms: 0.707665
      type: 'test'
      ...
    1..3
ok 1 - Windows MVP ASAR main entry
  ---
  duration_ms: 30.73472
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 292.72704

[3/410] apps/desktop/scripts/build-windows-machine-installer.test.mjs
TAP version 13
# Subtest: sets explicit Windows-1252 MSI and summary code pages in probe and production WXS
ok 1 - sets explicit Windows-1252 MSI and summary code pages in probe and production WXS
  ---
  duration_ms: 2.662844
  type: 'test'
  ...
# Subtest: accepts the exact MSI ProductVersion boundary and retains version and upgrade identity in WXS
ok 2 - accepts the exact MSI ProductVersion boundary and retains version and upgrade identity in WXS
  ---
  duration_ms: 0.535242
  type: 'test'
  ...
# Subtest: rejects every unsupported ProductVersion at the direct installer builder entry point
ok 3 - rejects every unsupported ProductVersion at the direct installer builder entry point
  ---
  duration_ms: 2.047452
  type: 'test'
  ...
# Subtest: uses per-machine scope without explicitly authoring the derived ALLUSERS property
ok 4 - uses per-machine scope without explicitly authoring the derived ALLUSERS property
  ---
  duration_ms: 0.483064
  type: 'test'
  ...
# Subtest: authors the complete per-machine Start Menu contract for x64 and ARM64
ok 5 - authors the complete per-machine Start Menu contract for x64 and ARM64
  ---
  duration_ms: 1.044115
  type: 'test'
  ...
# Subtest: selects only the installed x64 WiX directory or an explicit ARM64 build directory
ok 6 - selects only the installed x64 WiX directory or an explicit ARM64 build directory
  ---
  duration_ms: 0.768168
  type: 'test'
  ...
# Subtest: uses a ten-minute timeout only for production Light
ok 7 - uses a ten-minute timeout only for production Light
  ---
  duration_ms: 0.329407
  type: 'test'
  ...
# Subtest: keeps WiX processes and their emitted diagnostics bounded
ok 8 - keeps WiX processes and their emitted diagnostics bounded
  ---
  duration_ms: 0.21904
  type: 'test'
  ...
# Subtest: emits WiX v3 default registry values without empty Name attributes
ok 9 - emits WiX v3 default registry values without empty Name attributes
  ---
  duration_ms: 0.533699
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 241.512615

[4/410] apps/desktop/scripts/desktop-icon-assets.test.mjs
TAP version 13
# Subtest: desktop native icon assets
    # Subtest: wires the native assets into Forge, runtime BrowserWindow creation, and CI package checks
    ok 1 - wires the native assets into Forge, runtime BrowserWindow creation, and CI package checks
      ---
      duration_ms: 4.804192
      type: 'test'
      ...
    # Subtest: are reproducibly derived from the pinned canonical ProPR PWA mark
    ok 2 - are reproducibly derived from the pinned canonical ProPR PWA mark
      ---
      duration_ms: 200.377879
      type: 'test'
      ...
    # Subtest: verifies packaged Linux runtime and launcher icon surfaces
    ok 3 - verifies packaged Linux runtime and launcher icon surfaces
      ---
      duration_ms: 7.081543
      type: 'test'
      ...
    # Subtest: follows Electron Packager macOS metadata and requires canonical ICNS bytes
    ok 4 - follows Electron Packager macOS metadata and requires canonical ICNS bytes
      ---
      duration_ms: 25.516092
      type: 'test'
      ...
    1..4
ok 1 - desktop native icon assets
  ---
  duration_ms: 238.941642
  type: 'suite'
  ...
1..1
# tests 4
# suites 1
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 602.595611

[5/410] apps/desktop/scripts/desktop-runtime-manifest.test.mjs
TAP version 13
# Subtest: desktop runtime manifest alignment
    # Subtest: normalizes generated and packaged manifests for ordinary-user reads
    ok 1 - normalizes generated and packaged manifests for ordinary-user reads
      ---
      duration_ms: 2.301059
      type: 'test'
      ...
    # Subtest: creates a source-local manifest without claiming unpublished images
    ok 2 - creates a source-local manifest without claiming unpublished images
      ---
      duration_ms: 0.465391
      type: 'test'
      ...
    # Subtest: requires published release images to bind the exact commit tag and digest
    ok 3 - requires published release images to bind the exact commit tag and digest
      ---
      duration_ms: 0.709248
      type: 'test'
      ...
    # Subtest: rejects a manifest from another source or compatibility contract
    ok 4 - rejects a manifest from another source or compatibility contract
      ---
      duration_ms: 0.27753
      type: 'test'
      ...
    # Subtest: requires the separately resolved release tag to match its configured digest
    ok 5 - requires the separately resolved release tag to match its configured digest
      ---
      duration_ms: 0.489566
      type: 'test'
      ...
    # Subtest: requires both supported Linux architectures in every published runtime image
    ok 6 - requires both supported Linux architectures in every published runtime image
      ---
      duration_ms: 0.222005
      type: 'test'
      ...
    1..6
ok 1 - desktop runtime manifest alignment
  ---
  duration_ms: 5.866824
  type: 'suite'
  ...
# Subtest: desktop source runtime build inputs
    # Subtest: copies the client workspace manifest and source into the UI image build
    ok 1 - copies the client workspace manifest and source into the UI image build
      ---
      duration_ms: 0.460873
      type: 'test'
      ...
    # Subtest: makes the isolated smoke data root private independently of caller umask
    ok 2 - makes the isolated smoke data root private independently of caller umask
      ---
      duration_ms: 0.462877
      type: 'test'
      ...
    1..2
ok 2 - desktop source runtime build inputs
  ---
  duration_ms: 1.348114
  type: 'suite'
  ...
1..2
# tests 8
# suites 2
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 238.792514

[6/410] apps/desktop/scripts/electron-frame-semantics.test.mjs
TAP version 13
# Downloading Electron binary...
# Subtest: Electron BrowserWindow lifecycle semantics
    # Subtest: keeps initial frame identity stable and invalidates the window getter after destruction
    ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
      ---
      duration_ms: 4976.103297
      type: 'test'
      ...
    1..1
ok 1 - Electron BrowserWindow lifecycle semantics
  ---
  duration_ms: 4977.212535
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7108.027062

[7/410] apps/desktop/scripts/packaged-acceptance-current-user.test.mjs
TAP version 13
# Subtest: packaged scoped current-user request URL
    # Subtest: accepts one canonical bounded desktop generation parameter
    ok 1 - accepts one canonical bounded desktop generation parameter
      ---
      duration_ms: 1.011775
      type: 'test'
      ...
    # Subtest: rejects hosted, non-GET, duplicate, unrelated, and unbounded query forms
    ok 2 - rejects hosted, non-GET, duplicate, unrelated, and unbounded query forms
      ---
      duration_ms: 0.502351
      type: 'test'
      ...
    # Subtest: matches only the canonical bounded generation expected by an ordinary packaged launch
    ok 3 - matches only the canonical bounded generation expected by an ordinary packaged launch
      ---
      duration_ms: 0.345287
      type: 'test'
      ...
    1..3
ok 1 - packaged scoped current-user request URL
  ---
  duration_ms: 2.729644
  type: 'suite'
  ...
# Subtest: packaged current-user fixture request shapes
    # Subtest: distinguishes the exact main probe from renderer-scoped validation
    ok 1 - distinguishes the exact main probe from renderer-scoped validation
      ---
      duration_ms: 0.836447
      type: 'test'
      ...
    # Subtest: rejects cross-assigned, duplicate, extra, and noncanonical encoded forms
    ok 2 - rejects cross-assigned, duplicate, extra, and noncanonical encoded forms
      ---
      duration_ms: 0.286356
      type: 'test'
      ...
    1..2
ok 2 - packaged current-user fixture request shapes
  ---
  duration_ms: 1.303892
  type: 'suite'
  ...
# Subtest: packaged revoked authorization console correlation
    # Subtest: correlates exactly one console error to the deliberate scoped request
    ok 1 - correlates exactly one console error to the deliberate scoped request
      ---
      duration_ms: 0.433893
      type: 'test'
      ...
    # Subtest: rejects a stale console scope generation
    ok 2 - rejects a stale console scope generation
      ---
      duration_ms: 0.324468
      type: 'test'
      ...
    # Subtest: rejects duplicate console errors and duplicate revoked requests
    ok 3 - rejects duplicate console errors and duplicate revoked requests
      ---
      duration_ms: 0.200956
      type: 'test'
      ...
    # Subtest: rejects unmatched request generations and occurrences
    ok 4 - rejects unmatched request generations and occurrences
      ---
      duration_ms: 0.185939
      type: 'test'
      ...
    1..4
ok 3 - packaged revoked authorization console correlation
  ---
  duration_ms: 1.638119
  type: 'suite'
  ...
# Subtest: packaged current-user acceptance correlation
    # Subtest: diagnoses a correlated zero-scope record
    ok 1 - diagnoses a correlated zero-scope record
      ---
      duration_ms: 0.412793
      type: 'test'
      ...
    # Subtest: diagnoses a correlated duplicate-scope record
    ok 2 - diagnoses a correlated duplicate-scope record
      ---
      duration_ms: 0.11183
      type: 'test'
      ...
    # Subtest: diagnoses a correlated no-binding record
    ok 3 - diagnoses a correlated no-binding record
      ---
      duration_ms: 0.115436
      type: 'test'
      ...
    # Subtest: diagnoses a correlated stale-scope record
    ok 4 - diagnoses a correlated stale-scope record
      ---
      duration_ms: 0.099506
      type: 'test'
      ...
    # Subtest: accepts the current scope with main-only bearer custody
    ok 5 - accepts the current scope with main-only bearer custody
      ---
      duration_ms: 0.15999
      type: 'test'
      ...
    # Subtest: rejects a main or upstream record from another renderer generation
    ok 6 - rejects a main or upstream record from another renderer generation
      ---
      duration_ms: 0.115747
      type: 'test'
      ...
    # Subtest: correlates main evidence by journey and upstream evidence by renderer request origin
    ok 7 - correlates main evidence by journey and upstream evidence by renderer request origin
      ---
      duration_ms: 0.120055
      type: 'test'
      ...
    # Subtest: diagnoses upstream bearer custody after correlating the fixture record
    ok 8 - diagnoses upstream bearer custody after correlating the fixture record
      ---
      duration_ms: 0.105338
      type: 'test'
      ...
    1..8
ok 4 - packaged current-user acceptance correlation
  ---
  duration_ms: 1.45771
  type: 'suite'
  ...
# Subtest: packaged current-user strict failure diagnostics
    # Subtest: reports fixed bounded Local Network Access decision counts
    ok 1 - reports fixed bounded Local Network Access decision counts
      ---
      duration_ms: 0.653334
      type: 'test'
      ...
    # Subtest: reports fixed bounded phase counts without retaining request secrets
    ok 2 - reports fixed bounded phase counts without retaining request secrets
      ---
      duration_ms: 0.436587
      type: 'test'
      ...
    1..2
ok 5 - packaged current-user strict failure diagnostics
  ---
  duration_ms: 1.255201
  type: 'suite'
  ...
1..5
# tests 19
# suites 5
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 454.567193

[8/410] apps/desktop/scripts/packaged-acceptance-renderer.test.mjs
TAP version 13
# Subtest: packaged acceptance renderer discovery
    # Subtest: waits deterministically when CDP precedes the first Electron renderer page
    ok 1 - waits deterministically when CDP precedes the first Electron renderer page
      ---
      duration_ms: 1.772608
      type: 'test'
      ...
    # Subtest: rejects process exit while waiting and removes its listeners
    ok 2 - rejects process exit while waiting and removes its listeners
      ---
      duration_ms: 0.674082
      type: 'test'
      ...
    # Subtest: rejects a strictly bounded timeout when no renderer target appears
    ok 3 - rejects a strictly bounded timeout when no renderer target appears
      ---
      duration_ms: 4.119924
      type: 'test'
      ...
    1..3
ok 1 - packaged acceptance renderer discovery
  ---
  duration_ms: 7.601833
  type: 'suite'
  ...
# Subtest: packaged acceptance renderer variants
    # Subtest: fails closed unless the real Chromium boundary has its exact explicit opt-in
    ok 1 - fails closed unless the real Chromium boundary has its exact explicit opt-in
      ---
      duration_ms: 0.462997
      type: 'test'
      ...
    # Subtest: configures and captures all five variants when Browser.getWindowForTarget is unavailable
    ok 2 - configures and captures all five variants when Browser.getWindowForTarget is unavailable
      ---
      duration_ms: 3.306581
      type: 'test'
      ...
    # Subtest: proves packaged Electron zoom-200 from webFrame acknowledgement and independent renderer geometry
    ok 3 - proves packaged Electron zoom-200 from webFrame acknowledgement and independent renderer geometry
      ---
      duration_ms: 0.486982
      type: 'test'
      ...
    # Subtest: fails closed on a wrong or malformed Electron zoom acknowledgement
    ok 4 - fails closed on a wrong or malformed Electron zoom acknowledgement
      ---
      duration_ms: 0.524793
      type: 'test'
      ...
    # Subtest: fails closed on renderer geometry mismatch and an unstable measurement timeout
    ok 5 - fails closed on renderer geometry mismatch and an unstable measurement timeout
      ---
      duration_ms: 2.201663
      type: 'test'
      ...
    # Subtest: fails closed on arbitrary layout spans, invalid insets, and exact renderer/CDP visual mismatches
    ok 6 - fails closed on arbitrary layout spans, invalid insets, and exact renderer/CDP visual mismatches
      ---
      duration_ms: 1.851317
      type: 'test'
      ...
    # Subtest: real Chromium existing-target axe boundary
    ok 7 - real Chromium existing-target axe boundary # SKIP Real Chromium is owned by the required predecessor (PROPR_DESKTOP_REAL_CHROMIUM_BOUNDARY=1)
      ---
      duration_ms: 0.072996
      type: 'suite'
      ...
    1..7
ok 2 - packaged acceptance renderer variants
  ---
  duration_ms: 9.532769
  type: 'suite'
  ...
1..2
# tests 9
# suites 3
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 835.715389

[9/410] apps/desktop/scripts/packaged-acceptance-socket.test.mjs
TAP version 13
# Subtest: packaged acceptance Socket.IO application synchronization
    # Subtest: uses the exact production subscription event and emits only from its one-shot handler
    ok 1 - uses the exact production subscription event and emits only from its one-shot handler
      ---
      duration_ms: 0.987119
      type: 'test'
      ...
    # Subtest: records a bounded duplicate subscription without producing another fixture event
    ok 2 - records a bounded duplicate subscription without producing another fixture event
      ---
      duration_ms: 0.213179
      type: 'test'
      ...
    # Subtest: requires exact connection, subscription, emit, and renderer-observation counts
    ok 3 - requires exact connection, subscription, emit, and renderer-observation counts
      ---
      duration_ms: 0.336219
      type: 'test'
      ...
    1..3
ok 1 - packaged acceptance Socket.IO application synchronization
  ---
  duration_ms: 2.587935
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 234.942702

[10/410] apps/desktop/scripts/packaged-acceptance-stats.test.mjs
TAP version 13
# Subtest: packaged acceptance stats fixtures
    # Subtest: returns the paginated draft shape consumed by the dashboard header
    ok 1 - returns the paginated draft shape consumed by the dashboard header
      ---
      duration_ms: 2.905821
      type: 'test'
      ...
    # Subtest: dispatches exact stats pathnames before the unchanged generic fallback
    ok 2 - dispatches exact stats pathnames before the unchanged generic fallback
      ---
      duration_ms: 0.88138
      type: 'test'
      ...
    # Subtest: matches TaskStatsResponse and the fields synchronously mapped by Dashboard and TaskStatsChart
    ok 3 - matches TaskStatsResponse and the fields synchronously mapped by Dashboard and TaskStatsChart
      ---
      duration_ms: 1.430358
      type: 'test'
      ...
    # Subtest: matches StatsOverviewResponse and RepositoryStatsResponse consumer contracts
    ok 4 - matches StatsOverviewResponse and RepositoryStatsResponse consumer contracts
      ---
      duration_ms: 1.897453
      type: 'test'
      ...
    1..4
ok 1 - packaged acceptance stats fixtures
  ---
  duration_ms: 8.410637
  type: 'suite'
  ...
1..1
# tests 4
# suites 1
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 235.327274

[11/410] apps/desktop/scripts/packaged-connect-evidence.test.mjs
TAP version 13
# Subtest: packaged Connect aggregate evidence
    # Subtest: accepts the complete fixed protocol evidence
    ok 1 - accepts the complete fixed protocol evidence
      ---
      duration_ms: 1.676179
      type: 'test'
      ...
    # Subtest: accepts valid rotated Socket.IO bindings alongside the expected stale-auth rejection
    ok 2 - accepts valid rotated Socket.IO bindings alongside the expected stale-auth rejection
      ---
      duration_ms: 0.997202
      type: 'test'
      ...
    # Subtest: requires exactly eight pair discoveries and two fresh-process reprobe discoveries
    ok 3 - requires exactly eight pair discoveries and two fresh-process reprobe discoveries
      ---
      duration_ms: 0.305632
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DISCOVERY_COUNT_MISMATCH
    ok 4 - reports only fixed evidence for DISCOVERY_COUNT_MISMATCH
      ---
      duration_ms: 0.380773
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DISCOVERY_AUTHORIZATION_PRESENT
    ok 5 - reports only fixed evidence for DISCOVERY_AUTHORIZATION_PRESENT
      ---
      duration_ms: 0.16587
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_START_MISSING
    ok 6 - reports only fixed evidence for PAIRING_START_MISSING
      ---
      duration_ms: 0.198942
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_START_DUPLICATE
    ok 7 - reports only fixed evidence for PAIRING_START_DUPLICATE
      ---
      duration_ms: 0.23491
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_BROWSER_COUNT_MISMATCH
    ok 8 - reports only fixed evidence for PAIRING_BROWSER_COUNT_MISMATCH
      ---
      duration_ms: 0.176591
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_EXPIRY_POLL_PRESENT
    ok 9 - reports only fixed evidence for PAIRING_EXPIRY_POLL_PRESENT
      ---
      duration_ms: 0.243326
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_CANCEL_POLL_PRESENT
    ok 10 - reports only fixed evidence for PAIRING_CANCEL_POLL_PRESENT
      ---
      duration_ms: 0.384491
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_SUCCESS_POLL_COUNT_MISMATCH
    ok 11 - reports only fixed evidence for PAIRING_SUCCESS_POLL_COUNT_MISMATCH
      ---
      duration_ms: 0.123711
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_POLL_COUNT_MISMATCH
    ok 12 - reports only fixed evidence for PAIRING_POLL_COUNT_MISMATCH
      ---
      duration_ms: 0.152325
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_ACTIVATION_COUNT_MISMATCH
    ok 13 - reports only fixed evidence for PAIRING_ACTIVATION_COUNT_MISMATCH
      ---
      duration_ms: 0.108503
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_METHOD_MISMATCH
    ok 14 - reports only fixed evidence for PAIRING_METHOD_MISMATCH
      ---
      duration_ms: 0.099066
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_BROWSER_CREDENTIAL_PRESENT
    ok 15 - reports only fixed evidence for PAIRING_BROWSER_CREDENTIAL_PRESENT
      ---
      duration_ms: 0.097814
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_INTENT_SEQUENCE_MISMATCH
    ok 16 - reports only fixed evidence for PAIRING_INTENT_SEQUENCE_MISMATCH
      ---
      duration_ms: 0.113443
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_LIFECYCLE_ISOLATION_FAILED
    ok 17 - reports only fixed evidence for PAIRING_LIFECYCLE_ISOLATION_FAILED
      ---
      duration_ms: 0.091061
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_REQUEST_AFTER_TERMINAL
    ok 18 - reports only fixed evidence for PAIRING_REQUEST_AFTER_TERMINAL
      ---
      duration_ms: 0.949237
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DELAYED_APPROVAL_READINESS_MISSING
    ok 19 - reports only fixed evidence for DELAYED_APPROVAL_READINESS_MISSING
      ---
      duration_ms: 0.119584
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for BOOTSTRAP_AUTHORIZATION_PRESENT
    ok 20 - reports only fixed evidence for BOOTSTRAP_AUTHORIZATION_PRESENT
      ---
      duration_ms: 0.091601
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for AUTHENTICATED_REST_COUNT_MISMATCH
    ok 21 - reports only fixed evidence for AUTHENTICATED_REST_COUNT_MISMATCH
      ---
      duration_ms: 0.209823
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for AUTHENTICATED_SOCKET_COUNT_MISMATCH
    ok 22 - reports only fixed evidence for AUTHENTICATED_SOCKET_COUNT_MISMATCH
      ---
      duration_ms: 0.082976
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for REST_SCOPE_MISMATCH
    ok 23 - reports only fixed evidence for REST_SCOPE_MISMATCH
      ---
      duration_ms: 0.076423
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_MISSING
    ok 24 - reports only fixed evidence for SOCKET_SCOPE_MISSING
      ---
      duration_ms: 0.070582
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_BINDING_MISMATCH
    ok 25 - reports only fixed evidence for SOCKET_SCOPE_BINDING_MISMATCH
      ---
      duration_ms: 0.114304
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_ROTATION_MISMATCH
    ok 26 - reports only fixed evidence for SOCKET_SCOPE_ROTATION_MISMATCH
      ---
      duration_ms: 0.076984
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PLAINTEXT_CREDENTIAL_PERSISTED
    ok 27 - reports only fixed evidence for PLAINTEXT_CREDENTIAL_PERSISTED
      ---
      duration_ms: 0.072676
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PUBLIC_IDENTITY_MISSING
    ok 28 - reports only fixed evidence for PUBLIC_IDENTITY_MISSING
      ---
      duration_ms: 0.070752
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PUBLIC_IDENTITY_ORDER_MISMATCH
    ok 29 - reports only fixed evidence for PUBLIC_IDENTITY_ORDER_MISMATCH
      ---
      duration_ms: 0.06912
      type: 'test'
      ...
    1..29
ok 1 - packaged Connect aggregate evidence
  ---
  duration_ms: 9.41364
  type: 'suite'
  ...
1..1
# tests 29
# suites 1
# pass 29
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 252.280236

[12/410] apps/desktop/scripts/packaged-connect-launch.test.mjs
TAP version 13
# Subtest: packaged Connect launch boundary
    # Subtest: passes the one effective Linux argv through the actual binary spawn
    ok 1 - passes the one effective Linux argv through the actual binary spawn
      ---
      duration_ms: 1.63379
      type: 'test'
      ...
    # Subtest: does not add the Linux password-store selection on Darwin
    ok 2 - does not add the Linux password-store selection on Darwin
      ---
      duration_ms: 0.169257
      type: 'test'
      ...
    # Subtest: the lifecycle and real binary spawn share the derived argv source
    ok 3 - the lifecycle and real binary spawn share the derived argv source
      ---
      duration_ms: 6.981742
      type: 'test'
      ...
    1..3
ok 1 - packaged Connect launch boundary
  ---
  duration_ms: 10.14819
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 228.920146

[13/410] apps/desktop/scripts/packaged-connect-lifecycle.test.mjs
TAP version 13
# Subtest: packaged Connect bounded child lifecycle
    # Subtest: requires exact starts and approvals, no negative poll, one success poll, and one activation
    ok 1 - requires exact starts and approvals, no negative poll, one success poll, and one activation
      ---
      duration_ms: 10.137651
      type: 'test'
      ...
    # Subtest: accepts an exact ready proof followed by a clean exit
    ok 2 - accepts an exact ready proof followed by a clean exit
      ---
      duration_ms: 5.267783
      type: 'test'
      ...
    # Subtest: requires and preserves the expected fixed storage-backend report before readiness
    ok 3 - requires and preserves the expected fixed storage-backend report before readiness
      ---
      duration_ms: 13.592881
      type: 'test'
      ...
    # Subtest: does not accept an intermediate discovery milestone as terminal readiness
    ok 4 - does not accept an intermediate discovery milestone as terminal readiness
      ---
      duration_ms: 1.077858
      type: 'test'
      ...
    # Subtest: returns only exact allowlisted journey stages
    ok 5 - returns only exact allowlisted journey stages
      ---
      duration_ms: 2.27511
      type: 'test'
      ...
    # Subtest: retains the latest bounded journey stage when earlier diagnostics fill the cap
    ok 6 - retains the latest bounded journey stage when earlier diagnostics fill the cap
      ---
      duration_ms: 1.827772
      type: 'test'
      ...
    # Subtest: retains only fixed terminal journey failure evidence when diagnostics fill the cap
    ok 7 - retains only fixed terminal journey failure evidence when diagnostics fill the cap
      ---
      duration_ms: 3.739153
      type: 'test'
      ...
    # Subtest: drops non-allowlisted terminal journey failure fields
    ok 8 - drops non-allowlisted terminal journey failure fields
      ---
      duration_ms: 1.185419
      type: 'test'
      ...
    # Subtest: returns only fixed secret-free Local Network Access decision evidence
    ok 9 - returns only fixed secret-free Local Network Access decision evidence
      ---
      duration_ms: 1.63421
      type: 'test'
      ...
    # Subtest: fails closed when an otherwise allowlisted journey stage contains a secret
    ok 10 - fails closed when an otherwise allowlisted journey stage contains a secret
      ---
      duration_ms: 1.144322
      type: 'test'
      ...
    # Subtest: publishes the sole terminal READY only after each real journey phase
    ok 11 - publishes the sole terminal READY only after each real journey phase
      ---
      duration_ms: 4.753202
      type: 'test'
      ...
    # Subtest: forces a ready app with a hung descendant through an exact bounded taskkill invocation
    ok 12 - forces a ready app with a hung descendant through an exact bounded taskkill invocation
      ---
      duration_ms: 5.463599
      type: 'test'
      ...
    # Subtest: keeps timeout-before-ready primary while terminating and draining the tree
    ok 13 - keeps timeout-before-ready primary while terminating and draining the tree
      ---
      duration_ms: 15.43013
      type: 'test'
      ...
    # Subtest: classifies asynchronous spawn errors without exposing their message
    ok 14 - classifies asynchronous spawn errors without exposing their message
      ---
      duration_ms: 5.809677
      type: 'test'
      ...
    # Subtest: settles close/timeout races once and never upgrades an early exit to success
    ok 15 - settles close/timeout races once and never upgrades an early exit to success
      ---
      duration_ms: 0.667851
      type: 'test'
      ...
    # Subtest: accepts a clean post-proof close racing a taskkill no-process result
    ok 16 - accepts a clean post-proof close racing a taskkill no-process result
      ---
      duration_ms: 6.072039
      type: 'test'
      ...
    # Subtest: rejects malformed, partial, truncated, and extra-field ready records
    ok 17 - rejects malformed, partial, truncated, and extra-field ready records
      ---
      duration_ms: 10.531048
      type: 'test'
      ...
    # Subtest: terminates an exact-event record whose platform proof is invalid
    ok 18 - terminates an exact-event record whose platform proof is invalid
      ---
      duration_ms: 2.557957
      type: 'test'
      ...
    # Subtest: fails after proof when Windows tree termination cannot be proven
    ok 19 - fails after proof when Windows tree termination cannot be proven
      ---
      duration_ms: 6.145517
      type: 'test'
      ...
    # Subtest: never returns secret-bearing raw output or non-allowlisted record fields
    ok 20 - never returns secret-bearing raw output or non-allowlisted record fields
      ---
      duration_ms: 1.213281
      type: 'test'
      ...
    # Subtest: revokes success when sensitive output arrives after the exact ready proof
    ok 21 - revokes success when sensitive output arrives after the exact ready proof
      ---
      duration_ms: 2.009884
      type: 'test'
      ...
    # Subtest: rejects a JSON-escaped Windows path in a non-allowlisted record before readiness
    ok 22 - rejects a JSON-escaped Windows path in a non-allowlisted record before readiness
      ---
      duration_ms: 1.026101
      type: 'test'
      ...
    # Subtest: revokes success for a JSON-escaped Windows path after the exact ready proof
    ok 23 - revokes success for a JSON-escaped Windows path after the exact ready proof
      ---
      duration_ms: 0.841235
      type: 'test'
      ...
    # Subtest: revokes success when a JSON-escaped Windows path follows the record-count cap
    ok 24 - revokes success when a JSON-escaped Windows path follows the record-count cap
      ---
      duration_ms: 3.142043
      type: 'test'
      ...
    # Subtest: revokes success when a JSON-escaped Windows path follows the byte cap
    ok 25 - revokes success when a JSON-escaped Windows path follows the byte cap
      ---
      duration_ms: 4.772937
      type: 'test'
      ...
    1..25
ok 1 - packaged Connect bounded child lifecycle
  ---
  duration_ms: 115.022565
  type: 'suite'
  ...
# Subtest: packaged Connect fixture cleanup
    # Subtest: closes the journey fixture once and tolerates only the already-stopped server condition
    ok 1 - closes the journey fixture once and tolerates only the already-stopped server condition
      ---
      duration_ms: 0.81742
      type: 'test'
      ...
    # Subtest: retries a transient Windows EBUSY only inside the authorized fixture
    ok 2 - retries a transient Windows EBUSY only inside the authorized fixture
      ---
      duration_ms: 4.003045
      type: 'test'
      ...
    # Subtest: redacts cleanup failure and preserves the primary lifecycle outcome
    ok 3 - redacts cleanup failure and preserves the primary lifecycle outcome
      ---
      duration_ms: 2.350821
      type: 'test'
      ...
    # Subtest: bounds a never-settling removal and preserves the primary result
    ok 4 - bounds a never-settling removal and preserves the primary result
      ---
      duration_ms: 10.321576
      type: 'test'
      ...
    # Subtest: bounds a never-settling authorization call as a fixed cleanup failure
    ok 5 - bounds a never-settling authorization call as a fixed cleanup failure
      ---
      duration_ms: 9.76303
      type: 'test'
      ...
    # Subtest: isolates default Windows filesystem cleanup from the harness process
    ok 6 - isolates default Windows filesystem cleanup from the harness process
      ---
      duration_ms: 42.559353
      type: 'test'
      ...
    # Subtest: refuses a link, renamed leaf, or fixture outside the canonical temporary parent
    ok 7 - refuses a link, renamed leaf, or fixture outside the canonical temporary parent
      ---
      duration_ms: 0.52871
      type: 'test'
      ...
    1..7
ok 2 - packaged Connect fixture cleanup
  ---
  duration_ms: 70.778059
  type: 'suite'
  ...
1..2
# tests 32
# suites 2
# pass 32
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 405.646158

[14/410] apps/desktop/scripts/packaged-connect-platform.test.mjs
TAP version 13
# Subtest: packaged Connect target-native credential setup
    # Subtest: Linux retains one isolated unlocked libsecret session and rejects plaintext fallback
    ok 1 - Linux retains one isolated unlocked libsecret session and rejects plaintext fallback
      ---
      duration_ms: 5.661135
      type: 'test'
      ...
    # Subtest: inspects the ordinary unsigned package before adding the Darwin-only acceptance identity
    ok 2 - inspects the ordinary unsigned package before adding the Darwin-only acceptance identity
      ---
      duration_ms: 0.74755
      type: 'test'
      ...
    # Subtest: Darwin creates one ephemeral certificate-backed identity and proves it across both launches
    ok 3 - Darwin creates one ephemeral certificate-backed identity and proves it across both launches
      ---
      duration_ms: 0.915945
      type: 'test'
      ...
    # Subtest: Darwin root signing sets, but never preserves, the required identifier
    ok 4 - Darwin root signing sets, but never preserves, the required identifier
      ---
      duration_ms: 0.246641
      type: 'test'
      ...
    # Subtest: Darwin emits only allowlisted fixed stage markers around every blocking phase
    ok 5 - Darwin emits only allowlisted fixed stage markers around every blocking phase
      ---
      duration_ms: 15.023336
      type: 'test'
      ...
    # Subtest: Darwin bounds setup, nested signing, verification, journey, cleanup, and the wrapper
    ok 6 - Darwin bounds setup, nested signing, verification, journey, cleanup, and the wrapper
      ---
      duration_ms: 0.509574
      type: 'test'
      ...
    # Subtest: Darwin failure diagnostics are fixed, classified, and secret-safe
    ok 7 - Darwin failure diagnostics are fixed, classified, and secret-safe
      ---
      duration_ms: 0.677268
      type: 'test'
      ...
    # Subtest: Darwin restores keychain state and deletes identity, credentials, and files on every exit
    ok 8 - Darwin restores keychain state and deletes identity, credentials, and files on every exit
      ---
      duration_ms: 0.536835
      type: 'test'
      ...
    # Subtest: Darwin smoke has no static or production identity and does not widen or pre-seed Safe Storage
    ok 9 - Darwin smoke has no static or production identity and does not widen or pre-seed Safe Storage
      ---
      duration_ms: 4.827639
      type: 'test'
      ...
    1..9
ok 1 - packaged Connect target-native credential setup
  ---
  duration_ms: 31.041303
  type: 'suite'
  ...
1..1
# tests 9
# suites 1
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 264.695962

[15/410] apps/desktop/scripts/packaged-layout.test.mjs
TAP version 13
# Subtest: packaged desktop event parsing
    # Subtest: returns the first full record for the exact matching event
    ok 1 - returns the first full record for the exact matching event
      ---
      duration_ms: 1.315052
      type: 'test'
      ...
    # Subtest: returns undefined when the event is absent
    ok 2 - returns undefined when the event is absent
      ---
      duration_ms: 0.273412
      type: 'test'
      ...
    1..2
ok 1 - packaged desktop event parsing
  ---
  duration_ms: 2.668116
  type: 'suite'
  ...
# Subtest: packaged desktop layout assertions
    # Subtest: retains the exact 1280x820 Linux Xvfb proof
    ok 1 - retains the exact 1280x820 Linux Xvfb proof
      ---
      duration_ms: 1.545554
      type: 'test'
      ...
    # Subtest: accepts a safe 1024x720 Windows display clamp with intact contained content
    ok 2 - accepts a safe 1024x720 Windows display clamp with intact contained content
      ---
      duration_ms: 0.212858
      type: 'test'
      ...
    # Subtest: rejects unsafe Windows clamps and content outside the visible work area
    ok 3 - rejects unsafe Windows clamps and content outside the visible work area
      ---
      duration_ms: 0.224861
      type: 'test'
      ...
    1..3
ok 2 - packaged desktop layout assertions
  ---
  duration_ms: 2.304034
  type: 'suite'
  ...
1..2
# tests 5
# suites 2
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 231.199257

[16/410] apps/desktop/scripts/packaged-smoke-support.test.mjs
TAP version 13
# Subtest: packaged smoke native window layout
    # Subtest: accepts the preferred size while retaining responsive containment
    ok 1 - accepts the preferred size while retaining responsive containment
      ---
      duration_ms: 1.344517
      type: 'test'
      ...
    # Subtest: accepts the 1024x720-clamped size while retaining responsive containment
    ok 2 - accepts the 1024x720-clamped size while retaining responsive containment
      ---
      duration_ms: 0.177582
      type: 'test'
      ...
    # Subtest: accepts the configured minimum size while retaining responsive containment
    ok 3 - accepts the configured minimum size while retaining responsive containment
      ---
      duration_ms: 0.14987
      type: 'test'
      ...
    # Subtest: accepts the undersized work area while retaining responsive containment
    ok 4 - accepts the undersized work area while retaining responsive containment
      ---
      duration_ms: 0.128811
      type: 'test'
      ...
    # Subtest: rejects an unclamped window or a viewport inconsistent with native content chrome
    ok 5 - rejects an unclamped window or a viewport inconsistent with native content chrome
      ---
      duration_ms: 0.497531
      type: 'test'
      ...
    # Subtest: accepts actual reduced native sizing only when both minimum constraints are exercised
    ok 6 - accepts actual reduced native sizing only when both minimum constraints are exercised
      ---
      duration_ms: 0.294882
      type: 'test'
      ...
    1..6
ok 1 - packaged smoke native window layout
  ---
  duration_ms: 3.959363
  type: 'suite'
  ...
# Subtest: packaged smoke child environment
    # Subtest: preserves a validated runner HOME only for an explicit native macOS Keychain context
    ok 1 - preserves a validated runner HOME only for an explicit native macOS Keychain context
      ---
      duration_ms: 22.333817
      type: 'test'
      ...
    # Subtest: defines four isolated launches with exact per-mode environment, argv, and marker contracts
    ok 2 - defines four isolated launches with exact per-mode environment, argv, and marker contracts
      ---
      duration_ms: 1.522221
      type: 'test'
      ...
    # Subtest: passes only platform launch inputs and private profile paths from a hostile parent
    ok 3 - passes only platform launch inputs and private profile paths from a hostile parent
      ---
      duration_ms: 9.981269
      type: 'test'
      ...
    # Subtest: keeps cleanup bounded to the generated profile root
    ok 4 - keeps cleanup bounded to the generated profile root
      ---
      duration_ms: 13.936765
      type: 'test'
      ...
    # Subtest: accepts only a normalized absolute Windows SystemRoot directory
    ok 5 - accepts only a normalized absolute Windows SystemRoot directory
      ---
      duration_ms: 1.785514
      type: 'test'
      ...
    # Subtest: contains no parent environment spread, enumeration, denylist, PATH, or shell launch
    ok 6 - contains no parent environment spread, enumeration, denylist, PATH, or shell launch
      ---
      duration_ms: 4.957282
      type: 'test'
      ...
    # Subtest: serves each named fixture identity paired with its persisted credential
    ok 7 - serves each named fixture identity paired with its persisted credential
      ---
      duration_ms: 2.082702
      type: 'test'
      ...
    # Subtest: requires the adjacent packaged spawn options with LF or CRLF source
    ok 8 - requires the adjacent packaged spawn options with LF or CRLF source
      ---
      duration_ms: 1.648907
      type: 'test'
      ...
    1..8
ok 2 - packaged smoke child environment
  ---
  duration_ms: 58.879447
  type: 'suite'
  ...
1..2
# tests 14
# suites 2
# pass 14
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 304.740336

[17/410] apps/desktop/scripts/release-architecture.test.mjs
TAP version 13
# Subtest: machine-wide Windows artifacts require a real MSI compound file
ok 1 - machine-wide Windows artifacts require a real MSI compound file
  ---
  duration_ms: 8.553616
  type: 'test'
  ...
# Subtest: administrative MSI payload inspection
    # Subtest: uses exact fixed native extractor argv and minimal environments
    ok 1 - uses exact fixed native extractor argv and minimal environments
      ---
      duration_ms: 1.455385
      type: 'test'
      ...
    # Subtest: accepts only the canonical application with the one administrative root prefix
    ok 2 - accepts only the canonical application with the one administrative root prefix
      ---
      duration_ms: 10.546146
      type: 'test'
      ...
    # Subtest: rejects path escapes and case collisions from the Linux listing before extraction
    ok 3 - rejects path escapes and case collisions from the Linux listing before extraction
      ---
      duration_ms: 0.994001
      type: 'test'
      ...
    # Subtest: uses fixed missing and duplicate canonical-app codes with bounded counts
    ok 4 - uses fixed missing and duplicate canonical-app codes with bounded counts
      ---
      duration_ms: 7.485726
      type: 'test'
      ...
    # Subtest: distinguishes authority resources, unsafe trees, and architecture mismatch without path data
    ok 5 - distinguishes authority resources, unsafe trees, and architecture mismatch without path data
      ---
      duration_ms: 10.004252
      type: 'test'
      ...
    # Subtest: maps extractor failures to one redacted tool code
    ok 6 - maps extractor failures to one redacted tool code
      ---
      duration_ms: 2.790394
      type: 'test'
      ...
    # Subtest: retains compound-file, per-machine scope, and canonical PE evidence across extraction
    ok 7 - retains compound-file, per-machine scope, and canonical PE evidence across extraction
      ---
      duration_ms: 5.829382
      type: 'test'
      ...
    # Subtest: fails closed on extractor nonzero, stderr, output overflow, and timeout
    ok 8 - fails closed on extractor nonzero, stderr, output overflow, and timeout
      ---
      duration_ms: 135.366155
      type: 'test'
      ...
    1..8
ok 2 - administrative MSI payload inspection
  ---
  duration_ms: 175.502864
  type: 'suite'
  ...
# Subtest: DEB and RPM executable layouts
    # Subtest: accept only the canonical regular ELF payload and documented launcher symlink
    ok 1 - accept only the canonical regular ELF payload and documented launcher symlink
      ---
      duration_ms: 17.628687
      type: 'test'
      ...
    # Subtest: reject missing and extra payload names for both package formats
    ok 2 - reject missing and extra payload names for both package formats
      ---
      duration_ms: 17.081222
      type: 'test'
      ...
    # Subtest: reject unexpected same-name file types and non-ELF or cross-architecture payloads
    ok 3 - reject unexpected same-name file types and non-ELF or cross-architecture payloads
      ---
      duration_ms: 17.925705
      type: 'test'
      ...
    # Subtest: reject launcher escapes, cycles, and targets other than the canonical payload
    ok 4 - reject launcher escapes, cycles, and targets other than the canonical payload
      ---
      duration_ms: 13.103898
      type: 'test'
      ...
    # Subtest: reject special files with the executable name
    ok 5 - reject special files with the executable name
      ---
      duration_ms: 22.042542
      type: 'test'
      ...
    1..5
ok 3 - DEB and RPM executable layouts
  ---
  duration_ms: 88.13752
  type: 'suite'
  ...
# Subtest: DMG application layout
    # Subtest: accepts the real Forge tree with its install link and nested Electron helper bundles
    ok 1 - accepts the real Forge tree with its install link and nested Electron helper bundles
      ---
      duration_ms: 16.341405
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper bundle
    ok 2 - rejects a symbolic-link canonical helper bundle
      ---
      duration_ms: 8.072307
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper executable ancestor
    ok 3 - rejects a symbolic-link canonical helper executable ancestor
      ---
      duration_ms: 9.160979
      type: 'test'
      ...
    # Subtest: rejects every symbolic link outside canonical framework internals
    ok 4 - rejects every symbolic link outside canonical framework internals
      ---
      duration_ms: 14.243674
      type: 'test'
      ...
    # Subtest: rejects escaping, cyclic, missing, and case-mismatched framework symbolic links
    ok 5 - rejects escaping, cyclic, missing, and case-mismatched framework symbolic links
      ---
      duration_ms: 50.377085
      type: 'test'
      ...
    # Subtest: never treats Linux 7z sanitized install-link output as native layout evidence
    ok 6 - never treats Linux 7z sanitized install-link output as native layout evidence
      ---
      duration_ms: 10.134864
      type: 'test'
      ...
    # Subtest: rejects wrong bundles, alternate same-name executables, and canonical symlink escapes
    ok 7 - rejects wrong bundles, alternate same-name executables, and canonical symlink escapes
      ---
      duration_ms: 16.691846
      type: 'test'
      ...
    # Subtest: rejects alternate top-level application bundles
    ok 8 - rejects alternate top-level application bundles
      ---
      duration_ms: 8.425496
      type: 'test'
      ...
    # Subtest: rejects unsafe links inside the canonical application bundle
    ok 9 - rejects unsafe links inside the canonical application bundle
      ---
      duration_ms: 13.433229
      type: 'test'
      ...
    # Subtest: rejects non-helper nested application bundles
    ok 10 - rejects non-helper nested application bundles
      ---
      duration_ms: 13.035535
      type: 'test'
      ...
    # Subtest: rejects case-colliding top-level entries when the filesystem permits them
    ok 11 - rejects case-colliding top-level entries when the filesystem permits them
      ---
      duration_ms: 8.56697
      type: 'test'
      ...
    # Subtest: rejects special files inside the canonical application bundle
    ok 12 - rejects special files inside the canonical application bundle
      ---
      duration_ms: 17.0053
      type: 'test'
      ...
    1..12
ok 4 - DMG application layout
  ---
  duration_ms: 186.126924
  type: 'suite'
  ...
1..4
# tests 26
# suites 3
# pass 26
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 679.779134

[18/410] apps/desktop/scripts/release-artifacts.test.mjs
TAP version 13
# Subtest: desktop release artifacts
    # Subtest: dry-runs the canonical macOS/Linux profile through finalize and signed update metadata
    ok 1 - dry-runs the canonical macOS/Linux profile through finalize and signed update metadata
      ---
      duration_ms: 104.898618
      type: 'test'
      ...
    # Subtest: fails closed for missing profiles and rejects Windows fragments in the macOS/Linux profile
    ok 2 - fails closed for missing profiles and rejects Windows fragments in the macOS/Linux profile
      ---
      duration_ms: 72.641763
      type: 'test'
      ...
    # Subtest: stages named artifacts and finalizes unsigned validation metadata
    ok 3 - stages named artifacts and finalizes unsigned validation metadata
      ---
      duration_ms: 59.978131
      type: 'test'
      ...
    # Subtest: rejects extensionless, doubled-extension, case-conflicting, duplicate, wrong-kind, stale, and mixed-target names
    ok 4 - rejects extensionless, doubled-extension, case-conflicting, duplicate, wrong-kind, stale, and mixed-target names
      ---
      duration_ms: 259.712891
      type: 'test'
      ...
    # Subtest: rejects altered DMG bytes even when fragment artifact metadata is rewritten
    ok 5 - rejects altered DMG bytes even when fragment artifact metadata is rewritten
      ---
      duration_ms: 29.859938
      type: 'test'
      ...
    # Subtest: rejects permanent DMG replacement or in-place mutation during held inspection without emitting evidence
    ok 6 - rejects permanent DMG replacement or in-place mutation during held inspection without emitting evidence
      ---
      duration_ms: 11.56841
      type: 'test'
      ...
    # Subtest: keeps held A bytes, evidence, and publication stable when original and public pathnames change during inspection
    ok 7 - keeps held A bytes, evidence, and publication stable when original and public pathnames change during inspection
      ---
      duration_ms: 10.126931
      type: 'test'
      ...
    # Subtest: continues to reject a mutable pathname passed directly to DMG inspection
    ok 8 - continues to reject a mutable pathname passed directly to DMG inspection
      ---
      duration_ms: 0.312154
      type: 'test'
      ...
    # Subtest: requires explicit fixture authority for Windows-hosted DMG evidence tests
    ok 9 - requires explicit fixture authority for Windows-hosted DMG evidence tests # SKIP
      ---
      duration_ms: 0.128391
      type: 'test'
      ...
    # Subtest: accepts real Darwin mode-0700 directory and mode-0600 single-link file authority
    ok 10 - accepts real Darwin mode-0700 directory and mode-0600 single-link file authority # SKIP
      ---
      duration_ms: 0.295704
      type: 'test'
      ...
    # Subtest: rejects native Darwin broad mode, foreign owner, extra link, replacement type, and symlink with fixed authority codes
    ok 11 - rejects native Darwin broad mode, foreign owner, extra link, replacement type, and symlink with fixed authority codes # SKIP
      ---
      duration_ms: 0.061535
      type: 'test'
      ...
    # Subtest: accepts native xattr/ctime-only change when held bytes and identity are unchanged
    ok 12 - accepts native xattr/ctime-only change when held bytes and identity are unchanged # SKIP
      ---
      duration_ms: 0.040406
      type: 'test'
      ...
    # Subtest: does not emit claimed DMG layout evidence without the native-validation marker
    ok 13 - does not emit claimed DMG layout evidence without the native-validation marker
      ---
      duration_ms: 9.714126
      type: 'test'
      ...
    # Subtest: strictly rejects missing, mixed, stale, malformed, or fabricated native DMG evidence
    ok 14 - strictly rejects missing, mixed, stale, malformed, or fabricated native DMG evidence
      ---
      duration_ms: 346.659273
      type: 'test'
      ...
    # Subtest: rejects native DMG evidence copied between x64 and arm64 fragments
    ok 15 - rejects native DMG evidence copied between x64 and arm64 fragments
      ---
      duration_ms: 34.185999
      type: 'test'
      ...
    # Subtest: rejects duplicate target fragments before aggregation
    ok 16 - rejects duplicate target fragments before aggregation
      ---
      duration_ms: 25.094188
      type: 'test'
      ...
    # Subtest: rejects either Windows fragment when the installed ordinary-user application gate was skipped
    ok 17 - rejects either Windows fragment when the installed ordinary-user application gate was skipped
      ---
      duration_ms: 79.40348
      type: 'test'
      ...
    # Subtest: fails closed when trusted update signing configuration is incomplete
    ok 18 - fails closed when trusted update signing configuration is incomplete
      ---
      duration_ms: 80.469852
      type: 'test'
      ...
    # Subtest: signs cryptographically bound feeds only in the trusted release phase
    ok 19 - signs cryptographically bound feeds only in the trusted release phase
      ---
      duration_ms: 58.799294
      type: 'test'
      ...
    # Subtest: refuses to sign a renamed extensionless distributable
    ok 20 - refuses to sign a renamed extensionless distributable
      ---
      duration_ms: 40.027264
      type: 'test'
      ...
    # Subtest: refuses to sign when artifact bytes changed after unsigned finalization
    ok 21 - refuses to sign when artifact bytes changed after unsigned finalization
      ---
      duration_ms: 41.167759
      type: 'test'
      ...
    # Subtest: rejects unsigned production metadata and actual signer mismatches
    ok 22 - rejects unsigned production metadata and actual signer mismatches
      ---
      duration_ms: 94.629371
      type: 'test'
      ...
    # Subtest: rejects mixed Windows signers and tampered fingerprint evidence
    ok 23 - rejects mixed Windows signers and tampered fingerprint evidence
      ---
      duration_ms: 60.262929
      type: 'test'
      ...
    # Subtest: parses x64 and arm64 ELF, PE, and Mach-O executable fixtures
    ok 24 - parses x64 and arm64 ELF, PE, and Mach-O executable fixtures
      ---
      duration_ms: 1.225675
      type: 'test'
      ...
    # Subtest: derives Windows target architecture from the full NUPKG independently of its supported bootstrapper
    ok 25 - derives Windows target architecture from the full NUPKG independently of its supported bootstrapper
      ---
      duration_ms: 12.292375
      type: 'test'
      ...
    # Subtest: binds ZIP and NUPKG executables to exact maker-specific canonical paths
    ok 26 - binds ZIP and NUPKG executables to exact maker-specific canonical paths
      ---
      duration_ms: 3.682611
      type: 'test'
      ...
    # Subtest: rejects missing, corrupt, mismatched, and ambiguous packaged Windows authority helpers
    ok 27 - rejects missing, corrupt, mismatched, and ambiguous packaged Windows authority helpers
      ---
      duration_ms: 6.450948
      type: 'test'
      ...
    # Subtest: accepts only the real Forge macOS framework-internal symbolic-link layout
    ok 28 - accepts only the real Forge macOS framework-internal symbolic-link layout
      ---
      duration_ms: 5.227287
      type: 'test'
      ...
    # Subtest: rejects hostile macOS ZIP symbolic links before trusting their payloads
    ok 29 - rejects hostile macOS ZIP symbolic links before trusting their payloads
      ---
      duration_ms: 19.36017
      type: 'test'
      ...
    # Subtest: rejects unsafe, duplicate, shadowed, forged, alternate, and noncanonical archive layouts
    ok 30 - rejects unsafe, duplicate, shadowed, forged, alternate, and noncanonical archive layouts
      ---
      duration_ms: 5.940034
      type: 'test'
      ...
    # Subtest: rejects cross-labeled package architectures at staging and finalization
    ok 31 - rejects cross-labeled package architectures at staging and finalization
      ---
      duration_ms: 37.799022
      type: 'test'
      ...
    1..31
ok 1 - desktop release artifacts
  ---
  duration_ms: 1514.616928
  type: 'suite'
  ...
1..1
# tests 31
# suites 1
# pass 27
# fail 0
# cancelled 0
# skipped 4
# todo 0
# duration_ms 1750.641914

[19/410] apps/desktop/scripts/release-preflight.test.mjs
TAP version 13
# Subtest: desktop release preflight
    # Subtest: accepts only a new immutable tag reachable from protected main and a protected environment
    ok 1 - accepts only a new immutable tag reachable from protected main and a protected environment
      ---
      duration_ms: 3.501296
      type: 'test'
      ...
    # Subtest: accepts an authorization-visible bypass list and fails closed for hidden or denied ruleset details
    ok 2 - accepts an authorization-visible bypass list and fails closed for hidden or denied ruleset details
      ---
      duration_ms: 1.376497
      type: 'test'
      ...
    # Subtest: paginates repository rulesets and reads every full rule definition
    ok 3 - paginates repository rulesets and reads every full rule definition
      ---
      duration_ms: 4.260137
      type: 'test'
      ...
    # Subtest: requires an exact active bypass-free update and deletion tag rul

...(truncated)

View Workflow

@integry integry mentioned this pull request Sep 7, 2026
11 of 14 tasks
@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Additional concrete full-suite regression at fc7dee9, run34165032728: only failing test is test/reviewContextScoutRuntime.test.ts, Codex scout Docker args disable shell access and omit review credentials. It uses nonexistent /tmp/codex-scout-config; new assertCodexConfigPathAvailable correctly rejects it. Please update this test fixture to create/clean an owned temporary credential directory and retain the scout security assertions. Do not weaken production availability checks or use real credentials. Include this test in validation alongside current F1/F2 work.

Implemented only F1 and F2.

- Codex login now validates all non-managed credential directories before Docker starts and reports `AgentLoginInputError` when unavailable.
- Managed login directories remain creatable by the session manager.
- Codex path resolution now detects real Docker environments through `/.dockerenv`, even without `PROPR_CONTAINERIZED`.
- Added regression coverage for both findings.

Validation passed:

- 48 focused tests
- Core/API typechecks
- Core/API lint
- Core build
- `git diff --check`

No visual preview was generated because these are backend runtime changes. No commit was created.

PR: #2208
Comment by: @integry (ID: 5576057355)
Model: gpt-5.6-sol
@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 90337c6

Processed 2 comments:

  • Comment 1 by @github-actions[bot] (ID: 5576102954✓)
  • Comment 2 by @integry (ID: 5576131927✓)

Summary of Changes

Updated reviewContextScoutRuntime.test.ts.

  • Codex scout fixture now creates an owned temporary credential directory.
  • Directory is cleaned in finally.
  • Existing shell-access and credential-leak assertions remain intact.
  • Production availability checks were unchanged.

Validation:

  • 45 targeted scout/F1/F2 tests passed
  • Root TypeScript typecheck passed
  • git diff --check passed

No preview generated because this is non-visual test scaffolding. No commit created.


🤖 Implementation Details

  • Model: GPT-5.6 Sol (high)
  • Requested By: @github-actions[bot], @integry
  • Time: 3m 35s
  • Tokens: 509,982 (506,599 in / 3,383 out)
  • Cost: $0.65
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 5576102954✓, 5576131927✓

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root inspected34d875bc F1/F2 delta: non-managed Codex login paths now use availability validation with AgentLoginInputError translation, managed path handling remains before that branch; actual process.env resolution detects /.dockerenv as well as explicit flag. Independent core build and48/48 focused config/runtime/login tests PASS. Logs /tmp/propr-2208-34d-core.log and /tmp/propr-2208-34d-tests.log. Scout fixture follow-up is still active separately; this is not full-suite or final-head approval.

…sor/worktrees/integry/propr/pr-2208-followup-2026-09-07T22-16-21/test/reviewContextScoutRuntime.test.ts:363).

Updated [reviewContextScoutRuntime.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-2208-followup-2026-09-07T22-16-21/test/reviewContextScoutRuntime.test.ts:363).

- Codex scout fixture now creates an owned temporary credential directory.
- Directory is cleaned in `finally`.
- Existing shell-access and credential-leak assertions remain intact.
- Production availability checks were unchanged.

Validation:

- 45 targeted scout/F1/F2 tests passed
- Root TypeScript typecheck passed
- `git diff --check` passed

No preview generated because this is non-visual test scaffolding. No commit created.

PR: #2208
Comment by: @github-actions[bot] (ID: 5576102954)
Comment by: @integry (ID: 5576131927)
Model: gpt-5.6-sol
@integry

integry commented Sep 7, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@integry integry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent exact90337c6 combined focused suite PASS60/60 using Node22 --import tsx --experimental-test-module-mocks: config paths, context runtime, login routes and reviewContextScoutRuntime. The initial attempt omitted required module-mock flag and was corrected; no source change. Scout delta only replaces nonexistent static directory with owned mkdtemp/finally cleanup; all security assertions retained. Prior F1/F2 inspected and48 tests pass. Log /tmp/propr-2208-903-tests.log. Final review/CI still pending.

@propr-dev

propr-dev Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-5.6-sol

Overall Evaluation

This PR correctly resolves Codex’s portable credential path through the host mapping while preserving custom and managed paths. It is ready to merge within scope, conditional on the ten pending checks completing successfully.

✅ Consistent path handling — Execution, health checks, and interactive login now share the same Codex path resolution and availability validation.

✅ Safe mapping precedence — CODEX_CONFIG_PATH takes precedence over HOST_CODEX_DIR, while explicit absolute and managed paths remain isolated.

✅ Regression repaired — The scout test now creates and cleans an owned temporary directory without weakening its credential and shell-security assertions.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Tailor availability guidance

packages/core/src/config/configManagerAgents.ts always recommends correcting HOST_CODEX_DIR when a credential directory is unavailable, including for explicit custom paths. Tailoring the message to the path source would make remediation clearer, but the current behavior fails safely and is not a merge blocker.

Score

The implementation satisfies the objective with strong coverage across runtime, login, health, managed credentials, and scout security behavior. No code blocker or current check failure is known, though all current checks remain pending.

Score: 9/10


🤖 Review Details

  • Model: GPT-5.6 Sol
  • Time: 2m 19s
  • Tokens: 53,184 (49,046 in / 4,138 out)
  • Cost: $0.37

View Task


💡 Next step: Comment /fix to address F# merge blockers only.
F# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. Suggestions require a separate ordinary follow-up request.

🤖 Review by ProPR

@integry
integry merged commit a1cf599 into 1950-epic-cross-platform-dsk Sep 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant