Repository navigation
Match Windows card attention and context-safe actions - #958
Merged
Merged
Conversation
Use display-state attention for the warm face and halo, align Inspect to the leading body row, and restore source-derived action weight and padding without changing recovery identities. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Preserve the existing card styling while integrating merged main and PR #956. Uncommitted feature changes remain preserved in the retained continuation stash and sealed snapshot for three-way restoration. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Align attention, leading card actions and recovery precedence with the Mac reference. Keep retype and ZIP actions context-bound and retain exact native ownership, input and persistence checks. Current unfiltered canonical: 684 required units passed, 2188 actual executions. Native/raster parity limits and prior failures remain documented. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Signed-off-by: Colin Neilens <[email protected]> Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Signed-off-by: Colin Neilens <[email protected]> Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
Use lowerCamelCase for the Swift status while preserving the explicit wire value and exit75. Apply the repository formatter only to the three implicated product files and protect wire encoding with a regression test. Signed-off-by: Colin Neilens <[email protected]> Co-authored-by: Copilot App <[email protected]> Signed-off-by: Colin Neilens <[email protected]>
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Align Windows graph-card attention styling and leading recovery actions with the macOS reference, while keeping card context-menu retype and ZIP transfer operations bound to their original graph, card and native ownership context. This is a bounded implementation and validation change, not a declaration of complete card parity.
Changes
outcomeUnknownwhile explicitly preserving wire value"outcome_unknown"and exit code 75, with a raw-value/JSON regression.Test plan
These are historical original implementation TDD results at af7e998, not fresh merged-source closure. The command spelling below replaces the retained absolute pinned executable/provider paths with their bootstrap environment variables to avoid exposing private paths; it is an explicitly path-normalized transcription, not a claim that the variable-spelled command was executed verbatim. Commands ran from
graphcode-windowswithGRAPHCODE_NATIVE_PAINT_TESTS=1. The private evidence map retains the exact original spelling and raw RED/GREEN log bindings.RED: & $env:GRAPHCODE_ZIG0152 test src\GraphCanvas.zig -target x86_64-windows-msvc -lc -luser32 -lgdi32 -lgdiplus "-I$env:GRAPHCODE_WINGHOSTTY_ROOT\include" --test-filter "cards paired review" -> 0 passed, 0 skipped, 4 behavioral failures: needsAttention TestUnexpectedResult, expected leading x46 found x135, bold/padded pixel mismatch and production face mismatch; additional Wire-padding case separately failed before its fix
GREEN: & $env:GRAPHCODE_ZIG0152 test src\GraphCanvas.zig -target x86_64-windows-msvc -lc -luser32 -lgdi32 -lgdiplus "-I$env:GRAPHCODE_WINGHOSTTY_ROOT\include" --test-filter "cards paired review" -> 5 passed, zero skipped after implementation and the separately RED Wire-padding case
REGRESSION: & $env:GRAPHCODE_ZIG0152 test src\GraphCanvas.zig -target x86_64-windows-msvc -lc -luser32 -lgdi32 -lgdiplus "-I$env:GRAPHCODE_WINGHOSTTY_ROOT\include" --test-filter "chrome 764" --test-filter "cards paired review" -> 11 passed, zero skipped at the original implementation checkpoint; not final merged-source proof
Current-source local qualification is complete. The candidate is c101541, tree f4e7409bac5e2a75ec78305334f71ae14177ab93. Historical TDD above remains tied to its original implementation checkpoint. Current local results do not waive the actual PR-head required hosted checks or establish whole-card parity.
Current compiledc101 closure: the exact SDK 10.0.403 Release build passed on its first attempt with zero warnings/errors. The first default unfiltered compiled invocation in a clean validation checkout at the current candidate passed 684/684 unique positive units: 683 direct units executed 2,188 checks, with one separately host-derived proof that is not additional execution. Complete/full coverage, exact PASS/execution markers, sealed 1,255-source/11-output/355-input-reference closure and held-root/reader/job cleanup were verified. Execution ran 16:10:28.044 to 16:27:41.543 UTC-08:00, exit 0. Earlier compiled366 and compiled86 successes remain historical rather than being relabeled as this result.
Public-safe path-normalized spelling, not a claim of verbatim execution:
& .\Tools\windows\ValidationRunner\bin\Release\net10.0-windows\ValidationRunner.exe --repository-root $repositoryRoot --artifact-root $artifactRoot-> exit 0, 684/684 positive unique units, 2,188 direct checks plus one separately derived proof; no selectors or physical opt-ins. The private evidence map retains the actual executable, checkout and artifact-root arguments.Formatting follow-up and toolchain distinction: old86 hosted Linux Swift 6.2 and macOS formatting failed on the three implicated Windows Swift product files; the observed macOS SwiftLint output was warnings only. Pinned LOCAL Windows Swift 6.3.3 reproduced 83 strict-format diagnostics, matching the hosted Linux file/line/column/rule set exactly (83/83, zero differences). The full strict command
& $formatter lint --recursive --strict --configuration .swift-format GraphcodeKit graphcode graphcode-cli graphcodedreturned exit 1 with those 83 diagnostics before the correction, then exit 0 afterward. Here$formatteris the pinned 6.3.3 toolchain-shipped formatter, and the spelling is path-normalized rather than verbatim. No Linux 6.2 formatter ran locally, no formatter configuration was weakened, and new-head hosted requirements remain mandatory.Current affected Windows Swift composition (73+74): run73 passed all 205 XCTest cases plus 6 Swift Testing cases, including 42 card-transfer cases and the explicit raw-value/JSON/exit75 regression, and built the CLI Release product. Its frozen 1,255 source files match committed c101 byte-for-byte. Run74 reused those tests and that CLI output without rerunning either, then executed only the missing canonical production pieces: daemon Release, release-bin lookup, atomic layout with 32 runtime DLLs plus both executables, the unchanged full redirected-profile regression, owned daemon/singleton and the newly built CLI's
projectssmoke. The installed CLI matched the run73-produced binary. The daemon build command actually ran with unchanged-input cache reuse; this is not a clean-rebuild claim. Run74 executed 16:05:54.937 to 16:06:12.274 UTC-08:00 with six held launches, all reader/job/profile/source/runtime closures positive. Singleton exit 1 withdaemon is already runningwas expected; CLI exit 0 printedno projects yet. First-daemon exit 124 was an intentional held-owner stop after successful smokes, not spontaneous failure. This additive composition is CI-equivalent, not a literal stockswift-productiontask invocation.Public-safe path-normalized supplied commands, not claims of verbatim execution or independent native argv observation:
& "$swiftBin\swift-test.exe" --package-path $repositoryRoot --disable-automatic-resolution --cache-path "$artifactRoot\cache" --config-path "$artifactRoot\config" --security-path "$artifactRoot\security"-> exit 0, 205 XCTest plus 6 Swift Testing passed.& "$swiftBin\swift-build.exe" --package-path $repositoryRoot --disable-automatic-resolution --cache-path "$artifactRoot\cache" --config-path "$artifactRoot\config" --security-path "$artifactRoot\security" --configuration release --product graphcode-> exit 0, CLI Release built.& "$swiftBin\swift-build.exe" --package-path $repositoryRoot --disable-automatic-resolution --cache-path "$artifactRoot\cache" --config-path "$artifactRoot\config" --security-path "$artifactRoot\security" --configuration release --product graphcoded-> exit 0, daemon Release command passed.& "$swiftBin\swift-build.exe" --package-path $repositoryRoot --disable-automatic-resolution --cache-path "$artifactRoot\cache" --config-path "$artifactRoot\config" --security-path "$artifactRoot\security" --configuration release --show-bin-path-> exit 0, owned Release path returned.pwsh -NoProfile -File Tools\windows\Tests\RedirectedUserProfileDaemon.Tests.ps1 -DaemonExecutable "$smokeRoot\bin\graphcoded.exe" -ScratchRoot "$artifactRoot\redirected"-> exit 0, full redirected-profile regression PASS and nested daemon exit 0.& "$smokeRoot\bin\graphcoded.exe"-> first daemon remained available; second instance exited 1 with expected singleton rejection. Run74& "$smokeRoot\bin\graphcode.exe" projects-> exit 0, actualno projects yetresponse, followed by intentional owned first-daemon stop.The supplied command mapping comes from the sealed executed production70 scaffold adapted for owned bindings and 73 reuse, retaining explicit child
Environment.Removeafter overlays and existing budgets. Its originalRecord-Launchreturned null image/argv fields for all six run74 processes, so those fields are not independent argv attestation. Held process identity and job/reader cleanup remain authoritative. Offline-cache clone refusals underprotocol.allow=never, Git alternate-object normalization diagnostics and unhandled-file warnings are retained; no warning-free production claim is made.Preserved follow-up failures: run71 failed before any process launch when an overbroad file census attempted to hash a gitlink directory. Run72 executed 205 XCTest cases with 193 passed and 12
invalidPipeNamefailures; all 42 transfer cases and 6 Swift Testing cases passed, and CLI Release was correctly not launched afterward. A process-level null environment assignment left an actual emptyGRAPHCODE_SOCKETkey. Run73 used production70's existing explicit child-environment removal mechanism, with unchanged product source and budgets, then passed the full suite. These failures remain separately retained, not overwritten or claimed as behavioral RED for the wire-value preservation regression.Other earned, source-bound evidence: unit58's full unsharded run at 147dcca passed all 65 sections with 64 Zig invocations, 68 positive summaries, the native group once with 280 checks and zero failures, and a passing stock count-1 partition. Its unchanged native/Zig inputs retain scoped evidence, not a fresh c101 unit execution. Historical production70 at 70fa5be passed 204 XCTest plus 6 Swift Testing tests, both release products, 32 runtime DLLs, redirected-home regression, singleton rejection and CLI smoke; all nine held launches closed. That result remains historical and is superseded for affected Swift inputs by 73+74 above, not relabeled current.
Bounded native observations: the coordinator verified Main Inspect/workspace-return, Goal Reply, Composite Reply/nested-return and exact ordered 12-child restoration from the targeted action run; these establish bounded in-memory semantics, not whole-role persistence or parity. Targeted a53 and the source ledger also retain bounded native-primary export/import, daemon readback, connected-edge Cancel, Recovery and stale-mode observations, with their original failure limits and unchanged native-input reuse, not a fresh c101 action campaign. Both corrected read-only endpoint routes passed actual native checks during the later failed normal run; that does not make the whole run green. Endpoint and Settings oracle contracts executed 47 cases with one intended RED failure before correction, not 47 failures; selected GREEN results are not full canonical evidence.
Retained ordinary failures/nonexecution: normal55 failed when an oracle read
Current.Nameinstead of the endpoint value; the screenshot's correct read-only fields do not support a product-value failure inference. Normal60 then failed on a lower off-viewport Settings assertion. At the historical normal61/63 checkpoints the test-only scroll/reacquire correction had no actual Settings runtime proof because foreground admission failed first; the distinct current86 normal69 proof below supersedes that limitation, not those retained failures. Normal59 and whole62 were prepared but never launched; nonexecution is not a test result.Distinct assisted failures: assisted64 timed out despite one Maximize, with no native foreground admission. Assisted65 timed out without the planned TitleBar action ever being attempted because cue delivery failed; it is not an activation-failure observation. Assisted66 ran 11:47:04.757 to 11:48:14.010 PST and exited 1 at the unchanged 60-second admission timeout: a fresh observation showed the healthy visible root was not foreground, one indexed TitleBar click was actually attempted, and the native waiter still emitted no admitted marker. The final foreground observation remained the desktop host. No transient or continuous foreground behavior is inferred between those observations. No whole-body or Settings proof, assisted green, normal green or waiver follows. Reported source/runtime/profile fingerprints, held-root/job/reader-EOF and DPI cleanup remained positive.
Viewport correction and retained ordinary integration: the earlier two-file test-only change at86 targets the already-owned Settings viewport for wheel delivery rather than the sheet root; product code was unchanged by that correction. The owner recorded 47 executed contract cases with one intended RED failure, then 47/47 GREEN, 40/40 UI PowerShell cases, one affected GraphCanvas consumer pass and a Release build with zero warnings/errors. A zero shell exit on the RED wrapper did not make its structured failing case pass.
Stock normal69 passed the full ordinary integration route at86, exit 0, from 14:59:56.352 to 15:05:43.420 UTC-08:00. It used the existing
validate.ps1 -Task windows-shell -SkipTrayLive -ShellPart integrationroute with pinned Swift and an owned validation root; both optional modes were absent, ordinary five-second guards and all phases remained in force, and no Computer Use action assisted the run. Evidence included 45 isolation cases, six separate positive one-test summaries, full Settings with 21 labels, 10 toggles and five panes, saved/return-saved checks, and node creation, sketch and multi-project coverage. Four native jobs, root/reader EOF, DPI, profile/isolation and source/runtime preservation checks closed. Fifty of its 51 input bindings remain unchanged; the one CLI Release binary binding is intentionally renewed by73+74. The unchanged native GUI/Zig inputs retain scoped normal69 evidence; no fresh c101 whole-GUI run is claimed. Nonfatal PTY-resize/CSI warnings remain retained; no empty-stderr claim is made.Public-safe path-normalized spelling, not a claim of verbatim execution:
pwsh -NoProfile -File Tools\windows\validate.ps1 -Task windows-shell -SkipTrayLive -ShellPart integration -ShellValidationRoot $env:CARDS_VALIDATION_ROOT -SwiftExecutable $env:GRAPHCODE_SWIFT633-> exit 0, full stock normal69 integration passed. The private evidence map retains the actual owned-root and pinned executable spelling; the process UTF-8 setting was an invocation-boundary measure, not a source or guard change.The distinct assisted68 native body also completed, but its original controller failed an additional JSON-decoding step. The owner attributes that boundary to CP437 console best-fit conversion versus valid JSON retained inside the child; the failure remains preserved rather than repaired into a passing controller result. Normal69 is the subsequent separate ordinary gate, not a relabeling of assisted68.
Remaining limits: current paired Windows card rasters are absent; high-DPI capture is explicitly deferred, not parity-green. Removed-node and whole-action-matrix gaps remain. macOS
make testandmake checkwere not run in this Windows validation session; the local Windows evidence above does not check those macOS checklist entries. Historical failures, final-source bindings and actual PR-head hosted required checks remain separate. Do not broaden the now-positive ordinary gate to whole-card parity. Source-owner runtime baseline is 140 paths: 126 unchanged plus 14 newly cataloged; these are evidence, not PR staging candidates. The original implementation chronology is documented above without making a blanket chronology attestation for every later contract.Checklist
git commit -s) per the DCOmake test)make check)