Purpose of this page: inventory everything that outlives the process, and who is allowed to touch each piece.
Layer 9 ⌂

External resources

Everything that exists after the process dies: the home directory, its SQLite file, the git binary, secret material, and model-provider APIs.

Resources

home/kanthord.db

One SQLite file holds all state. Migrations 0001–0008 bring it to the current schema.

home/

Git worktrees, the git operation journal, run/ scratch space, and keys.

git binary

Spawned by BinaryGit. Probed at startup before the daemon accepts work.

config file · master key

ConvictConfig reads the config; AesGcmCrypto encrypts credentials under the master key.

model-provider APIs (pi-ai)

Network calls made by PiAiModelCatalog on behalf of agent capabilities.

Inbound edges

FromMeaning
SQLite familyreads and writes the database file
BinaryGitspawns the git binary · manages home/
adaptersread secrets · call model APIs

Rules

  1. No layer above Layer 8 touches a resource directly. Every access goes through an interface.
  2. A test never shares a home. It creates its own mktemp directory and removes it.
  3. The home lock makes one daemon per home at a time.