diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 21:35:02 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 21:35:02 +0200 |
| commit | d5b6e6f12c8c3c4551050f8fc7d19fb78d6b581b (patch) | |
| tree | 991280a07d4b732b80f3c628fea09f0d76f32676 /docs/session-notes | |
| parent | a7ae7212f5171ec5a4883a5772eed754f592a59f (diff) | |
fix(newos4): the virtual /sys entry leaked into listings, trees and counts (v4.6.88-90)
One phantom entry, three symptoms:
- ls() injected 'sys' whenever it was called without a path, so 'cd _agents; ls' advertised a
sys directory that does not exist, and list_files('_agents/sys') answered 'Directory not
found' — the reported false negative. Injection is now gated on dir === root.
- tree() pushed the same virtual name into the walk and dereferenced it, throwing mid-output on
every root listing. Guarded.
- _gatherFileInfo() walked into /sys and counted a synthetic subtree: 146 files / 114 dirs for a
44-file / 15-dir store. Virtual entries are skipped.
Verified: root still lists sys; _agents and skills do not; tree('') completes; world model total
(44) equals an independent walk of fs.root (44), agree: true.
Diffstat (limited to 'docs/session-notes')
0 files changed, 0 insertions, 0 deletions