Skip to content

core: deepen session filesystem module#67

Merged
fosskar merged 2 commits into
age-subprocess-hardeningfrom
session-filesystem
Jul 22, 2026
Merged

core: deepen session filesystem module#67
fosskar merged 2 commits into
age-subprocess-hardeningfrom
session-filesystem

Conversation

@fosskar

@fosskar fosskar commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace Wiremap with a deep SessionFilesystem module owning adapters, discovery, translation, freeze policy, and contained mutation
  • internalize the path-map Resolver and move behavioral tests to the filesystem interface
  • bound header probing at 64 KiB, skip descendant symlinks, and reject lexical or symlinked write/read escapes
  • preserve mapped exclude symmetry and DECISIONS §9 artifact ordering

Performance

10,000-session release benchmark, median of seven scans:

  • baseline: 39.293 ms, RSS +2,712 KiB
  • new module: 23.494 ms, RSS +260 KiB

Temporary benchmark harness removed.

Verification

  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace — 240 passed
  • nix fmt -- --ci

Stacked on age-subprocess-hardening.

@fosskar
fosskar merged commit ea710e0 into age-subprocess-hardening Jul 22, 2026
1 of 2 checks passed
@fosskar
fosskar deleted the session-filesystem branch July 22, 2026 16:48
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.

1 participant