Summary
The WASI VFS stat family of functions returns incomplete metadata, causing os-test stat tests to fail. Fields like st_dev, st_ino, st_nlink, st_mode (permission bits), and timestamps may not be properly populated.
Affected os-test cases
basic/sys_stat/fstat
basic/sys_stat/fstatat
basic/sys_stat/lstat
basic/sys_stat/stat
Expected behavior
stat structs should be fully populated with correct values matching POSIX expectations.
Context
Discovered via os-test POSIX conformance suite. Tracked in posix-exclusions.json as fail / implementation-gap.