Make dev app identity opt-in#932
Conversation
Keep release app identity as the default for all configurations and require explicit dev switches for side-by-side local builds. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Codex review: found issues before merge. Reviewed July 6, 2026, 7:02 PM ET / 23:02 UTC. Summary Reproducibility: yes. for the PR finding via source inspection: on the PR head, the advertised dev WinApp command still passes the tracked release Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Land the opt-in dev identity flow only after dev WinApp activation uses a matching dev manifest or no longer advertises that mode, with maintainer-confirmed default identity semantics. Do we have a high-confidence way to reproduce the issue? Yes for the PR finding via source inspection: on the PR head, the advertised dev WinApp command still passes the tracked release Is this the best way to solve the issue? No, not yet. Marker validation covers the direct local launch path, but dev WinApp activation needs a matching manifest or the unsupported path should be hidden before this is the narrow maintainable solution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 856c620d2cca. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
Summary
build.ps1 -DevBuildandrun-app-local.ps1 -Devapp-identity.txtfor normal build output so-NoBuildcannot launch the wrong identityValidation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore— 2697 passed / 31 skippeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore— 1579 passeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~InstallerIssAssertionTests— 12 passed./build.ps1 -Project WinUI -DevBuildReal behavior proof
app-identity.txt=release;./run-app-local.ps1 -NoBuild -DryRunreportsIdentity: Release (default).app-identity.txt=dev;./run-app-local.ps1 -NoBuild -Dev -DryRunreportsIdentity: Dev (opt-in)../run-app-local.ps1 -NoBuild -Dev -DryRunrejects release output, and./run-app-local.ps1 -NoBuild -DryRunrejects dev output withBuild output identity ... does not match requested ....