Put authority where it
can be coordinated.
AegisFS explores a broker-centered model for Windows filesystem operations: clients request work; a verified central component controls admission, authority-bearing handles, in-flight operations, and recovery decisions.
A layered trust boundary.
This is a proposed architecture, not a deployed Windows Service. The coordination behavior has been simulated in a separate scratch prototype.
File Manager + future client apps
Public validation, opaque request IDs, client SDK, no privileged filesystem handles.
Named Pipe IPC
OS client identity, per-request authorization, server-authenticity controls still require validation.
Cross-Process Security Broker
Rust + Windows native APIs
Handle-relative operations and identity checks inside the authorized boundary.
NTFS records + coordinator
Fencing identity, lifecycle journal, operation history, generation state; ACL design pending validation.
What the design must get right.
The goal is not a single clever lock. It is a set of explicit security invariants across processes and failure states.
Verified volume binding
Local fixed NTFS scope, stable volume identity and root file identity, checked where authority is exercised.
Native foundation under developmentSingle authority per volume
Competing brokers must not simultaneously grant filesystem authority. A scratch prototype demonstrates cooperative exclusion.
Simulated prototype evidenceAtomic admission and drain
New work stops at drain; registered in-flight operations finish before normal ownership release.
Simulated prototype evidenceStale authority rejection
Generation binding limits future admissions. The harder question—already-issued kernel I/O and late effects—remains open.
Real native I/O proof pendingFail closed after uncertainty
Unexpected termination enters recovery-required state. Automatic restart does not itself authorize recovery.
Real crash guarantee pendingWindows-enforced boundary
Dedicated service identity, narrowly scoped pipe ACLs, token verification and protected state are proposed, not yet exercised.
Service implementation not runCross-process security is a systems problem.
Traditional per-process locks and state can fail to describe an entire process's in-flight work or safely coordinate recovery after a crash.
The proposed broker makes one subsystem responsible for admitting operations, maintaining an operation registry, and deciding whether the system can safely return to service.
Read the experiment results- Conflicting authority across processes
- Lock ownership and race conditions
- In-flight work and orderly shutdown
- Stale generations and late writes
- Crash uncertainty and human-authorized recovery
Prototype results support the first three at simulation level. The remaining guarantees require OS-level evidence.