- Installation tokens for a write are minted for the write's repository (a transfer's also for its target); reads across repos and pushes to a contributor's fork keep the installation-wide token. Reading the app's keys checks the secrets file's mode like every other reader.
- The app's git credential helper is set for https://github.com only, after every configured helper is dropped.
- jev children get only the search path, home, locale, temp, cache, TLS and proxy variables and Jev's own.
- Git on the cached clones names the repository with GIT_DIR, runs with safe.bareRepository=explicit and reads attributes from the empty tree.
- The sandbox denies /proc and the credential directory in the absolute (//path) form as well.
- The scrub hides hex keys that are not digests, URL user:password, three-part dotted tokens and credentials inside hex or base64.
- The dashboard unit sees the settings file, releases, the bare repo and .local read-only.
- post-receive resolves the pushed commit once and the hook deploys that commit; the image build runs pnpm installs without install scripts.
Debian's /var/lock is a symlink, which cannot overwrite the runtime image's
directory during COPY, and apt state has no business in the production layer.
The dev image has no curl, and the dependency closure was lost to apt-cache's
indented output. Flatten it, download every package, and chroot the result so a
missing library fails the build instead of the container.
The dev variant of dhi.io/node:26 supplies bash, apt and npm in the build stages;
the production stage is the runtime variant, which has no shell, so the packages
the process needs are unpacked into a rootfs by a tools stage and copied in as
files. Whatever the image runs is now Node plus those exact binaries.
The dev variant is deliberate: the image needs bash for its entrypoint and apt to
install git, gh, bubblewrap and sqlite3 for the pipeline, which the runtime
variant does not carry. CI now logs in to dhi.io to pull the base.