Commit 3ec7fdf
committed
feat(windows): Windows Gap Closure (v2.0 milestone)
Squash of 212 commits on windows-squash that delivered Windows/Unix
parity for everyday CLI usage, network policy, and developer tooling.
Milestone: v2.0 Windows Gap Closure (tag `v2.0` on source branch).
Shipped 2026-04-18. See .planning/milestones/v2.0-ROADMAP.md for the
full 11-phase, 29-plan archive.
Scope:
- Phase 5: Windows detach readiness fix (WaitNamedPipeW readiness
probe in run_detached_launch).
- Phase 6: WFP enforcement activation — SID-based kernel filtering
promoted to primary network backend; driver gate removed; duplicate
activation path cleaned.
- Phase 7: Quick wins — `nono wrap` (Direct strategy + Job Object +
WFP) and `nono logs` / `nono inspect` / `nono prune` session
commands on Windows.
- Phase 8: Interactive `nono shell` via ConPTY (CreatePseudoConsole)
inside Job Object + WFP sandbox on Windows 10 build 17763+.
- Phase 9: Port-granular WFP policy (--allow-port with bind/connect
independence) + proxy credential injection (--network-profile /
--credential / --upstream-proxy).
- Phase 10: `nono learn` on Windows via ETW (ferrisetw + Win32-format
path conversion, file + network events, admin-gated).
- Phase 11 (stretch): Runtime capability expansion over named pipe
with constant-time token auth + interactive approval.
- Phase 12: Milestone bookkeeping cleanup.
- Phase 13: v2.0 human verification UAT — 10 items resolved to
terminal verdicts (3 pass, 7 waived).
- Phase 14: v2.0 fix pass (detached-console-grandchild partial fix +
help-text correction + runbook flag repair).
- Phase 15: Detached Console + ConPTY architecture investigation —
direction-b closure of the v2.0 carry-forward (gated PTY-disable +
null-token + AppID WFP on detached Windows path only). 5-row smoke
gate pass; 4 Phase 13 UAT items promoted to pass.
Also includes earlier upstream sync work (WSL2 feature matrix +
security hardening, release 0.26.0-0.29.1 bookkeeping, keystore
file:// URI support, macOS proxy NO_PROXY fix, other fork
maintenance) that lived on the same branch.
Security-critical notes:
- Direction-b scoped waivers for detached Windows path: Low-IL
isolation waived on detached path (Job Object + filesystem sandbox
remain primary); per-session-SID WFP replaced by AppID WFP on
detached path (still kernel-enforced; requires nono-wfp-service).
Non-detached path keeps WRITE_RESTRICTED + session-SID + ConPTY
unchanged.
- WRITE_RESTRICTED narrows the restricting-SID access-check gate to
writes only so DLL loads and console init aren't blocked.
- All paths canonicalized at grant time; path-component comparison
(not string starts_with) used throughout to prevent
`/home-evil/...` style escapes.
191 files changed, +50,204 / -5,244.
Supersedes pre-squash branches:
- pr/windows-epic12-clean-v2 (PR nolabs-ai#555)
- pr555/windows-epic12-clean-v3 (PR nolabs-ai#583)
- win-101-windows-build-foundation (PR nolabs-ai#530)
Signed-off-by: oscarmackjr-twg <oscar.mack.jr@gmail.com>1 parent 063ebad commit 3ec7fdf
191 files changed
Lines changed: 50350 additions & 5244 deletions
File tree
- .github/workflows
- .planning
- milestones
- bindings/c
- src
- crates
- nono-cli
- data
- windows
- src
- bin
- config
- exec_strategy_windows
- exec_strategy
- profile
- tests
- nono-proxy
- src
- nono
- schema
- src
- sandbox
- supervisor
- trust
- undo
- tests
- docs
- cli
- development
- features
- getting_started
- internals
- usage
- qa-profiles
- scripts
- tests
- tests
- integration
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
127 | 345 | | |
128 | 346 | | |
129 | 347 | | |
| |||
0 commit comments