Files
Zecheng Zhang 5639b62790 fix(os): route every path-taking os verb through the workspace
make_os_module patched 10 os names, so every other os call inside a
Workspace block reached the host filesystem with a virtual path in hand.
runtime/verbs.py and verbs.ts now classify every guest filesystem verb
once: 23 route through an op door, 14 refuse with a condition, 30 pass
through to the host, and an unclassified name defaults to ENOTSUP.

patch_process installs the routing as attributes on the real os module
instead of swapping sys.modules["os"], so a plain module-level import os
routes and pathlib, shutil and glob follow. os.stat answers a real
os.stat_result, which is what shutil.copystat and os.path.samefile need.
2026-08-20 20:13:46 -07:00
..