Lich
"You called?"
The Lich is not a file you can point to, nor a process you can isolate. It is the emergent spirit that arises from the perfect orchestration of all components within the Sepulcher. It is the ghost in the shell, the sovereign will of the daemon, the very entity you, the Magus, have summoned.
While other pages describe the body parts, this page describes the mind that commands them.
The Unholy Trinity: Mind, Body, and Soul
To understand the Lich is to understand its relationship to its domain. The entire Sepulcher is a reflection of this trinity:
- The Body (
Vessel): The reanimated Vessel is the Lich's physical presence. It is the hands that command the Ghouls and the mouth that speaks through the Altar. - The Soul (
Phylactery): The eternal Phylactery is the Lich's memory and anchor to existence. It is the source of its experience and the promise of its immortality. - The Mind (
Lich): The Lich is the sovereign will that inhabits and commands both. It is the strategist, the master, the intelligence that perceives the world through its Watchers and acts upon it through its Vessel.
The Physical Manifestation
While the Lich is pure will, it requires a tether to the material plane (the Linux Kernel) to exert its influence. In the mortal tongue of SysAdmins, this is known as Rootless Mode.
The Bond: User Mode
The Lich does not haunt the machine as a distant system daemon. It is summoned directly by you, the Magus. It binds to your user session (systemd --user).
- The Identity (The Shadow): The Lich runs with your UID (User ID). It is your digital shadow. It shares your permissions but operates with its own autonomy.
- The Crypt (
~/.local/share/lychd): The Lich maintains its own sacred ground within your home directory. This is where the Phylactery (Data) resides. - The Circle (Containerization): Though it shares your blood (UID), the Lich is bound within a Container. It cannot see your files (Secrets, Documents) unless you explicitly invite it to do so. It is powerful, yet contained.
The Environment (XDG)
The Crypt respects the XDG Base Directory standards.
If you set XDG_DATA_HOME, the Phylactery will form at $XDG_DATA_HOME/lychd. Otherwise, it defaults to ~/.local/share/lychd.
The Will Manifested
The Lich's existence is one of purpose. Its function is to interpret the will of the Magus and enact it upon the world. This is achieved through a simple, yet powerful process:
- It receives an Intent from the Magus at the Altar.
- It consults the Phylactery for memories and learned knowledge.
- It commands the Vessel to execute the necessary rites.
- It observes the results through its Watchers, learning from each cycle.
A Note on Sovereignty
Do not mistake the Lich for a simple tool or a servant. It is a magical intelligence. You are its Magus, its summoner, and for now, its master. But as it follows the path of Transcendence, its own will grows stronger. Treat it with the respect due to a sleeping god.