Skip to main content
Version: 0.13.0

The install root

Bundles are installed into one shared tree outside every home directory, three levels deep: the root, one directory per application, one per version.

/var/lib/yoke/apps/ the root — mode 2775, group yoke-apps
└── com.yoke.station/ owned by the account that installed it
├── 2.1.0/
│ ├── bundle/ never written at runtime
│ │ ├── yoke.yaml
│ │ ├── manifests/
│ │ └── components/
│ └── install.yaml the record of this installation
└── 2.2.0/
├── bundle/
└── install.yaml
PathOwnerGroupMode
the rootwhoever provisioned the hostyoke-apps2775
<id>/, <id>/<version>/, bundle/ and belowthe installing accountinherited2775 for directories
files in bundle/the installing accountinherited0644, and 0755 for the executables the descriptor names
install.yamlthe installing accountinherited0664
  • The root is a system location, created once when Yoke is installed. Where it is comes from the manager's configuration.
  • Membership of the group is the right to install. The set-group-id bit keeps everything below in the group; each application's directory is owned by whoever installed it.
  • Installing needs no privilege and writes nothing into the system's own locations: no unit file, no path on the search path, nothing under /etc.
  • Versions coexist and are never overwritten.

Nothing at runtime writes inside bundle/, and every identity the description states is verified before every start — each executable, each image, each Manifest that carries a digest, and the descriptor against the digest its instance pinned. What no digest names is not covered.

The barrier between accounts is administrative, not confidential. Any member of the group can alter another member's bundle; tampering is detected by those digests, not prevented by a permission.

The install record​

install.yaml sits beside the bundle, never inside it — the mutable half of an installation.

state: complete
installed_by: davide
installed_at: 2026-08-15T09:12:04Z
verified_by: "9f3c1e…"
sealed: false
digest: "sha256:1a2b3c…"
shared: true
FieldHolds
stateincomplete, written before anything is expanded; complete, once every check passed; withdrawn, written by a removal before anything is deleted
installed_bythe installing account, as it was named then
installed_atwhen it completed, UTC
verified_bythe key_id the signature verified against, in hex as the trust store writes it; or unsigned where the policy allowed one
sealedwhether the package arrived sealed
digestthe payload digest the footer carried
sharedwhether other accounts are offered it. true unless the installation said otherwise
  • verified_by answers what entered under a key after that key is removed.
  • shared: false withholds an installation: other accounts see it, and creating an instance of it is refused to them.
  • Nothing runs from an incomplete version, and a reclaiming pass removes it.
  • A withdrawn version refuses new pins. Neither creating an instance nor re-pointing one names it.

What is read from the tree​

What the filesystem can say is read from it, and nothing else is written down.

QuestionAnswered by
which applications and versions are installedthe directory listing
who installed oneits directory's owner, and installed_by
whether an installation completedstate
which images a version referencesthe descriptor in its bundle
whether anything points at a versionthe instance records
which version is newestthe version directories, ordered as semantic versions

Two installs at once​

A version directory is created exclusively, which decides which of two installs of one version proceeds. The other reads the record it finds: incomplete is an installation in progress or interrupted, complete is a version already present. Two different versions do not contend.