ARCHITECTURE / DESIGN + PROTOTYPE

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.

TARGET SYSTEM MODEL

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.

AEGISFS / PROPOSED ARCHITECTUREWINDOWS LOCAL FIXED NTFS
UNTRUSTED CALLERS

File Manager + future client apps

Public validation, opaque request IDs, client SDK, no privileged filesystem handles.

AUTHENTICATED CHANNEL · PLANNED

Named Pipe IPC

OS client identity, per-request authorization, server-authenticity controls still require validation.

requestsresults
TRUSTED BROKER BOUNDARY — PROPOSED

Cross-Process Security Broker

Verified volume identity
Admission / generation gate
Operation registry + drain
Crash classification / recovery
Planned Windows Service isolation · broker-owned native handles
NATIVE LAYER

Rust + Windows native APIs

Handle-relative operations and identity checks inside the authorized boundary.

PROTECTED STATE

NTFS records + coordinator

Fencing identity, lifecycle journal, operation history, generation state; ACL design pending validation.

Prototype concepts tested Privilege boundary remains proposed
TECHNICAL PILLARS

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.

01 / IDENTITY

Verified volume binding

Local fixed NTFS scope, stable volume identity and root file identity, checked where authority is exercised.

Native foundation under development
02 / OWNERSHIP

Single authority per volume

Competing brokers must not simultaneously grant filesystem authority. A scratch prototype demonstrates cooperative exclusion.

Simulated prototype evidence
03 / LIFECYCLE

Atomic admission and drain

New work stops at drain; registered in-flight operations finish before normal ownership release.

Simulated prototype evidence
04 / GENERATIONS

Stale 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 pending
05 / RECOVERY

Fail closed after uncertainty

Unexpected termination enters recovery-required state. Automatic restart does not itself authorize recovery.

Real crash guarantee pending
06 / ISOLATION

Windows-enforced boundary

Dedicated service identity, narrowly scoped pipe ACLs, token verification and protected state are proposed, not yet exercised.

Service implementation not run
WHY A BROKER?

Cross-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
FIVE PROBLEM GROUPS
  1. Conflicting authority across processes
  2. Lock ownership and race conditions
  3. In-flight work and orderly shutdown
  4. Stale generations and late writes
  5. Crash uncertainty and human-authorized recovery

Prototype results support the first three at simulation level. The remaining guarantees require OS-level evidence.

Security boundary disclosure. Module privacy, service process separation, and a successful simulation are not security certifications. AegisFS V1.0 is Windows-local/fixed-NTFS focused; network and removable storage are outside its initial scope.