Expand description
One command for a fresh machine that should share the tracker.
ljos cloud up installs the release binaries into ~/.local/bin,
checks the published SHA-256 sums, puts that directory first on PATH,
writes the harness MCP command, and clones LJOS_TRACKER_REMOTE.
The command is the bare name when PATH already runs this install, and
the absolute path when another copy or none would run. It writes a
webhook wake for each LJOS_WAKE_<SEAT>_URL. Entries this command
writes are marked source = "env"; any other wake stays. When
LJOS_CLOUD_AGE_SECRET names an environment variable, it writes that
variable’s age identity for scope cloud to a mode 0600 file. On a
cloud VM it also installs the release’s packset-embed and the ONNX
Runtime it links. A later boot with the binaries already installed
refreshes the clone, rewrites env-owned wakes, and refreshes the scope
cloud identity from the named secret.
Constants§
- CLOUD_
AGE_ SECRET - Names the environment variable that holds the age identity for scope
cloud. The value is an identity file asage-keygenwrites it, not a path. The identity stays out of the tracker.
Functions§
- any_
cloud_ marker - Whether anything
ljos cloud upleaves behind is here: the guard file or the push allowlist, whatever it holds. For a refusal that must fail closed;cloud_seatwants the exact rules. - cloud_
age_ row - What
ljos doctorsays about the age identity for scopecloud. - cloud_
seat - Whether this machine is a cloud seat. The guard file holds the refusals
ljos cloud upwrites now, or the patterns an older ljos wrote for the same three refusals. Reason text and order do not matter. A box that never ran it has no such file, so finish exports no deeds. - default_
seat - The seat this boot should write under.
- guard_
row - What
ljos doctorsays about the cloud guard refusals cloud seats need. The current patterns areokwhatever their reason text says. A known older file is stale. Anything else that is present differs. - mcp_row
- What
ljos doctorsays about the harness MCP command. - merge_
org_ cli - git’s org merge driver. The merged text replaces
ours. - missing_
mcp_ line - The stderr line when a configured MCP command does not exist.
Nonewhen there is no config, or the command is there. - prepare_
seat_ key - The seat’s signing key, created on first use. This is not the machine
key at
~/.config/deedar/host.key. - reap_
gone_ owners - Hand back
STARTEDclaims whose owner is gone and whose claim is older thanleaseseconds. No-op unlessLJOS_TRACKER_GIT=push. The release is committed and pushed like any other tracker write. - replace_
stale_ guard - Replace a cloud guard file from an older ljos with the rules this ljos
writes. A missing file stays missing. A file that is not one of those
versions stays as it was written;
ljos cloud upis what replaces that. - run_
seat - The seat a run with id
runtakes when it boots withLJOS_SEATset tobase, asdefault_seatnames it there. - up
- Install binaries, point the harness at them, and clone the shared tracker.
- up_at
- Install binaries, point the harness at them, and clone the shared tracker.
- write_
push_ allowlist - Replace the push allowlist
ljos cloud upwrites.codeandtrackerare remote URLs. Branch names are the short names (develop).