Repository navigation
Description
Existing issue check
- I searched open and closed issues. None tracks the preview's version or layout.
Problem or outcome
consolebook-preview.conary.io runs a build from 2026-09-01, before 0.1.0 (/api/health reports "version":"0.0.0"). It uses a hand-made layout: consolebook-preview.service, /srv/consolebook-preview, and its own service account. So the preview shows none of 0.1.0/0.2.0, and it never exercises the installer, systemd unit, upgrade path, or backup copies that agencies get. docs/preview.md describes that old layout, and it says the app does not set Secure cookies, which is out of date since ADR 0025.
Outcome
The preview is a stock installation made by the released installer:
- v0.2.0, installed from the release tarball whose attestation was verified on install: pin the one-line installer to a release and decide on archive signing #95;
--public-url https://consolebook-preview.conary.io, so the app setsSecureitself;- a backup copy directory on a different filesystem from the data directory (
/datavs/), so ADR 0024 copies run on a real systemd host; - listening on
127.0.0.1:7770, so nginx (TLS, Basic Auth, headers) is unchanged.
The old install is removed: its service, executable, data, and account. The maintainer confirmed no one was using it and that it need not be kept. docs/preview.md describes the new layout and how to upgrade it.
Acceptance criteria
-
systemctl status consolebookis active./api/healthreports0.2.0and databaseok. The public HTTPS address answers401with the Basic Auth challenge. - Read-only
doctor --backup-copy-dirreports healthy once the first copy exists. - The old unit,
/srv/consolebook-preview, and theconsolebook-previewaccount are gone. - A runbook PR describes the installer layout. The setup code never appears in an issue, PR, or log excerpt.
Execution record
- Authority: the maintainer, 2026-10-15, in a local session on remi. They chose "Reinstall via installer" for the preview, and added: "you don't need to keep the old install. no one was using it." Deployment authority covers the preview host only. No owner effort budget.
- Next action: stop and disable
consolebook-preview.service, then run the installer.
Activity
TusanHomichi commentedon Oct 15, 2026
Reinstalled on 2026-10-15. The integrator ran it on remi.
install.sh(sha25668730e83…) andconsolebook-linux-x86_64.tar.gz(sha256fcee4901…), the v0.2.0 release assets whose attestations were verified on install: pin the one-line installer to a release and decide on archive signing #95. Both were re-checked by hash before running.sudo sh install.sh --from consolebook-linux-x86_64.tar.gz --public-url https://consolebook-preview.conary.io --backup-dir /data/consolebook-backup-copies. The installer exited 0 and printed "Installed consolebook 0.2.0 (e4fc1d3)". Its output, including the setup code, is kept root-only on the host and is not reproduced here./usr/local/bin/consolebook(sha256790f0428…)/var/lib/consolebookon/(ext4)/data/consolebook-backup-copieson a separate xfs filesystem/etc/consolebook/consolebook.envconsolebook.serviceplusconsolebook.service.d/paths.conf127.0.0.1:7770, so nginx is unchangedVerification:
systemctl is-active consolebookreportsactive;is-enabledreportsenabled./api/healthreturns{"status":"ok","version":"0.2.0","commit":"e4fc1d397259","database":"ok"}.https://consolebook-preview.conary.io/returns401with the Basic Auth challenge.5857a471…).doctor --backup-copy-dir /data/consolebook-backup-copies(read-only) exited 0. Every line isok, including "migrations 16 applied, up to date", "integrity ok", and "backup copy current". The one exception iswarn initialization not initialized, which is expected until first-run setup is finished.Old install removed (the maintainer confirmed it was unused).
consolebook-preview.servicewas disabled, then its unit file deleted and systemd reloaded./srv/consolebook-preview(executable, data, backups) and theconsolebook-previewaccount are gone.Found: the installer's unit is less hardened than the old hand-made one (
systemd-analyze security6.8 vs 4.0), filed as #125.Remaining: the maintainer finishes first-run setup in the browser (agency name, first administrator), then signs in once through the public address. Separately, a runbook PR describes this layout in
docs/preview.md.TusanHomichi commentedon Oct 15, 2026
Authority update (2026-10-15): the maintainer granted standing permission to manage PRs end to end: "you have standing permission to manage PRs end to end and that includes merging and cleaning up old branches". The integrator merges once required checks are green on the current head and every review thread is resolved (squash only; no admin bypass of a failing check), then verifies the merged revision and removes the branch and worktree. Deployments and releases are not covered.
docs(preview): describe the stock installer layout (#127)
TusanHomichi commentedon Oct 15, 2026
Merged in #127 as
6042decccf0a65dd8084cbee1ce58751cbc27b44(squash, single parente4fc1d3). Its treea1f0f306is identical to the candidated79c48bthe local proof ran on (7/7 gates, 61/61 browser tests, receipt sha256b8309eab…). Hosted:fmt-clippy-test,build-x86_64,build-aarch64, and CodeQL (4 languages) passed. Codex review completed with no findings. Branch and worktree removed. Authority: the maintainer's standing PR permission (2026-10-15).