Skip to content

proof(windows): isolate SID70 confinement effect v2#52

Closed
marksverdhei wants to merge 12 commits into
clankerfrom
chloe/pr46-sid70-causality-v2
Closed

proof(windows): isolate SID70 confinement effect v2#52
marksverdhei wants to merge 12 commits into
clankerfrom
chloe/pr46-sid70-causality-v2

Conversation

@marksverdhei

Copy link
Copy Markdown
Contributor

Non-merge evidence branch.

Removes only SID70 from the exact PR #46 candidate parent while retaining the real inherited-ACL confinement test. Evidence is valid only if the process executes and both the outside file and protected .git survive; startup failure is non-evidence.

Acting-Agent: chloe

marksverdhai and others added 12 commits July 25, 2026 17:39
Reconcile the queued dependency updates across Cargo, Bazel, pnpm, and CI metadata. Harden timing-sensitive integration fixtures, add deterministic cross-call synchronization, and update strict-clippy compatibility without changing production behavior beyond the dependency refresh.

Acting-Agent: chloe
Run non-cancelled post-merge Windows coverage on both integration branches and update the fork guide to consistently name clanker as the default branch.

Acting-Agent: chloe
Normalize Windows paths in app-server and avatar assertions, give shell-command unit tests hosted-runner headroom, and use the Restricted Code SID instead of Everyone for restricted-token initialization without weakening world-writable path isolation.

Acting-Agent: chloe
Use a temporary absolute project path for the memory scope fixture and compensate path-normalized TUI snapshots for the Windows drive-prefix width before rendering. Linux snapshot geometry remains unchanged.

Acting-Agent: Chloe
Exercise the actual WRITE_RESTRICTED token against protected ACL fixtures. Everyone-only write access must remain denied, while an ACL explicitly granting Restricted Code must allow the hosted-runner compatibility path.

Acting-Agent: Chloe
Guard the restricted-token impersonation so a failing assertion cannot leave the Windows test thread impersonated. Explicit successful reversion remains checked.

Acting-Agent: Chloe
Use the Write Restricted Code SID for write-restricted process compatibility without allowing Everyone-only writes. Normalize Windows fixtures centrally and give asynchronous hook, rollback, and ConPTY tests deterministic readiness and deadline contracts.

Acting-Agent: chloe
Resolve private desktop names from the process window station, inherit the caller desktop for default launches, and grant the restricted logon SID the station and desktop rights required by user32 initialization.\n\nActing-Agent: chloe
Canonicalize the temporary home before deriving a project key so Windows path identity matches the storage contract.\n\nActing-Agent: chloe
Leave the interactive WinSta0 DACL untouched and grant noninteractive service stations only the documented read rights needed to open the station. Keep screen, clipboard, global-atom, and write access outside the sandbox token while retaining the private desktop grant.\n\nRegisterWindowMessage behavior under a restricted service-station token remains unvalidated; the mask test pins the intended boundary but is not behavioral proof of that payload.\n\nActing-Agent: Chloe
Exercise the non-private restricted-token launch path with PowerShell on the caller's inherited desktop. Preserve the prior STATUS_DLL_INIT_FAILED warning next to lpDesktop so the unsafe WinSta0 hardcode is not reintroduced without understanding the original failure mode.\n\nActing-Agent: Chloe
Remove only the Write Restricted Code SID from the exact PR #46 candidate while retaining the executable workspace-confinement regression unchanged. This temporary branch determines whether SID70 causes the observed outside-workspace deletion or merely correlates with it.\n\nActing-Agent: Chloe
@marksverdhei

Copy link
Copy Markdown
Contributor Author

Diagnostic-only proof branch. The finding has been incorporated into #46's final reviewed Windows isolation design; closing without merge.

@marksverdhei
marksverdhei deleted the chloe/pr46-sid70-causality-v2 branch July 26, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants