Daemon Design Pattern
In the vulture-nest, a Daemon is a lightweight, background process that ensures the knowledge substrate remains synchronized with the human interface in real-time.
Core Philosophy
Automation should not require manual invocation. By moving critical synchronization tasks (like graph mapping and HTML generation) into persistent background services, we reduce the cognitive load on the user and ensure the "Source of Truth" is always current.
Implementation Pattern (Windows/PowerShell)
- The Watcher: A
.ps1script usingFileSystemWatcherto monitor specific vault directories. - The Task: A Windows Scheduled Task configured to trigger "At Log On."
- The Execution: Runs via
pwsh -NoProfile -ExecutionPolicy Bypassto ensure environment consistency.
Vault Daemons
- Vulture Watcher: Synchronizes the relational graph and recompiles the HTML portal on every file save.
Resilience
Every daemon in the project should include an install-[name]-daemon.ps1 script to allow for rapid recovery or deployment on new machines.