Installing and approving
boarding tasks P4.6-3 and P4.6-5 landed. The signed index is task P4.6-4
Two verbs, deliberately separate:
acpilot ext add --from ~/src/acpilot-pack --activate work# install: link, verify, record; approve: this profile may use itInstalling changes the disk. Activating changes what one profile’s loaders see.
Neither touches your config.toml, agents.toml, or lsp.toml. That is why
acpilot profile diff work personal can still explain every value afterwards.
The store
Section titled “The store”~/.local/share/acpilot/extensions/ acpilot.paper/ 1.0.0/ # the extension, exactly as installed 1.0.0.sha256 # sha256:<64 hex characters>Install is atomic and ordered, so nothing unverified is ever visible:
flowchart TD
copy["copy into .staging/"] --> load["load the copy<br/>manifest, paths, assets"]
load -->|invalid| discard["discard staging<br/>nothing installed"]
load -->|ok| hash["SHA-256 over the sorted tree"]
hash --> rename["rename into <id>/<version>/"]
rename --> record["write <version>.sha256"]
record --> ready["Ready"]
The hash covers a canonical stream. The stream has a format tag, then every file sorted by path. Each file is a length-prefixed path followed by length-prefixed contents. The hash does not depend on directory order. A file whose contents look like a path cannot be confused with a path. The store refuses symlinks and non-UTF-8 names rather than hashing them differently on different hosts.
Blocked means invisible
Section titled “Blocked means invisible”A version whose bytes do not match its record is Blocked. The store does not
warn about it and does not load it with a caveat. Every loader treats it as if
it were not installed: ext why, the registries, and the daemon’s future routes.
acpilot ext verify --all names it and prints both checksums.
$ acpilot ext verify --allok acpilot.paper@1.0.0blocked acpilot.pack@1.0.0: checksum mismatch: recorded sha256:9f2c…, computed sha256:41aa…1 of 2 versions blocked$ echo $?1| Situation | Result |
|---|---|
| Bytes changed | Blocked, mismatch printed |
| Record missing | Blocked, “not installed by the store” |
| Record malformed | Blocked, name the format |
| Hash matches but manifest is broken | Blocked, name the parse error |
| Directory named like a version but isn’t | Blocked, name the path |
The store also refuses to activate a blocked extension. Approval is a statement about known bytes. There are no known bytes to approve.
Approval is per profile
Section titled “Approval is per profile”schema_version = 1active = ["acpilot.rust-pack", "you.hangar"]Precedence, lowest to highest:
flowchart LR
builtin["built-in themes<br/>and presets"] --> ext["activated<br/>extensions"]
ext --> own["profile's own<br/>lsp.toml / agents.toml"]
own --> effective["effective value<br/>for this profile"]
Within one layer, two things claiming the same id is an error. Two activated
packs that both ship rust-analyzer is a bug in one of them. Across layers, the
higher layer wins, and the daemon records the chain:
$ acpilot ext why rust-analyzer --profile worklanguage server rust-analyzer command profile-analyzer args ["--log-file", "/tmp/ra.log"] languages rust from profile lsp.toml (wins) overridden extension acpilot.rust-pack 1.2.0 overridden built-in acpilot.language-servers 1.0.0Themes are not presets. An id is an identity, so no layer can replace
acpilot.night-flight and make every screenshot in this manual a lie. An
activated theme may extends a built-in and inherit its unset tokens.
Deactivating is a file edit, and every resolution re-reads the file. There is no
cached registry to invalidate, so the next answer is the correct one. The daemon
event that tells attached UIs to re-read (extension.changed) is the mod-shop
phase’s task P4.6-10.
Pruning
Section titled “Pruning”acpilot ext prune removes versions no profile activates, with a floor. It never
removes the newest version of an id, because a store with no activated version
should not lose a fresh install.
$ acpilot ext prune --dry-runwould remove acpilot.rust-pack@1.1.0$ acpilot ext pruneremoved acpilot.rust-pack@1.1.0What is still missing
Section titled “What is still missing”The signed static index (mod shop phase, task P4.6-4) with per-version download
URLs and a signature over the list. Until then the marketplace is the
curated list in this repository. Installing means checking out
a repository and pointing ext add --from at it. The verification is the same.
The manual step is one extra command.
Vibecoded, on purpose. While I am a software developer, I lack the time to hand-code all my ideas, and as a result this project is vibecoded withFreebuff.