feat/xfce-terminal-fallback #75

Merged
clawdie merged 5 commits from feat/xfce-terminal-fallback into main 2026-11-17 09:24:29 +01:00
Owner
No description provided.
Tests: clawdie-terminal, xfce-session-inner (37), dual-head-layout (69), syntax, format, dates, and okf passed. Full CI stopped at wiki-lint on pre-existing docs/website/node_modules links; graphical runtime not tested.
The 0.15.1-p6 validation run reported 4 FAILs on a correctly built image. All four
are validator defects, not image defects: I reproduced exactly that set of four
against a synthetic root that mimics the built image, and each has a mechanical
cause.

1. hostname. The check asserted `hostname="clawdie-live"`, but build.sh:3001 pins
   the live hostname to `usb.clawdie.home.arpa` (so startx/xauth get a real FQDN)
   and keeps `clawdie-live` only as an /etc/hosts alias. The assertion could never
   pass on a built image. It now asserts the build's hostname and also checks the
   `clawdie-live` hosts alias the old check implicitly protected.

2. sshd / ssh drop-in includes. Inside single quotes `'\\*\\.conf'` stays
   double-escaped, so grep -E demanded a literal backslash followed by any
   character and never matched `Include /etc/ssh/sshd_config.d/*.conf`. Both
   checks now use `\*\.conf([[:space:]]|$)`, matching build.sh's own regex and
   refusing a near-miss such as `*.conf.bak`.

3. dangling symlink. The loop used `[ ! -e "$_lnk" ]`, which resolves an absolute
   in-image target (`/usr/local/bin/pi -> /opt/clawdie/npm-global/bin/pi`) against
   the *host* root, so every absolute /usr/local/bin symlink was dangling. It now
   reads the link target and resolves it one hop inside $ROOT (absolute targets
   are prefixed with $ROOT); unreadable targets fail closed with the target shown.

scripts/tests/validate-live-image-live-root-test.sh builds a synthetic live root
and covers both directions: the four checks pass on the image's real shape, and
they still fail on a wrong hostname, a symlink whose in-image target is missing,
and a near-miss include line. Against the previous validator the test fails on its
first case. Wired into ci-checks.sh.

Gates: ci-checks.sh rc 0 (live-root gate PASS), freebsd-portability 7/7,
markdown/date gates clean.
- Set /commands/custom/override=false in xfce4-keyboard-shortcuts.xml and bump panel stamp v5 -> v6 so Ctrl+Alt+T, Alt+F2, Print, and Super+E survive alongside Fn brightness keys (D1).
- Default LANG=C.UTF-8 when unset/C, run wmctrl under LC_ALL=C.UTF-8 so UTF-8 em-dash window titles ('Clawdie — Max2') never degrade to 'N/A', and start single-head xterm maximized (-maximized, utf8Title, metaSendsEscape) so btop gets >=60x24 at 1920x1080 and Alt chords emit Escape instead of C1 bytes (D2).
- Drop sponsorBlocker@ajay.app from Firefox ExtensionSettings while keeping Bitwarden (navbar, https://vault.clawdie.si), uBlock Origin, and I-still-don't-care-about-cookies tab-free on first launch (D4).
- Clamp live/VM vfs.zfs.arc_max to physmem/2 on <=4 GiB systems to prevent OpenZFS EINVAL, and fall back to WORK_IMG physical size when OpenZFS cp block-cloning reports 512B (00a, D5).

Gates: scripts/ci-checks.sh rc=0 (all unit, portability, and validator suites green).
- Hash both clawdie and root when --live-default-password is set on dev builds, and let clawdie-password-setup auto-complete .secured + password-setup-done + runtime machine-id + per-boot TOTP when /etc/clawdie-image-manifest stamps build_channel=dev and live_default_password=yes (failing closed on release or missing hashes) (D8).
- Default browser.startup.homepage to about:blank in Firefox policies.json alongside SI_PHYSICAL_MAP '&' fix so offline first launch opens cleanly (D9).
- Switch clawdie-sysctl and docs from deprecated vfs.zfs.arc_max alias to FreeBSD 15 canonical vfs.zfs.arc.max (D11).

Gates: check-format.sh, check-okf.sh (64/0), password-setup-test.sh (37/0), and scripts/ci-checks.sh rc=0.
feat(live): add clawdie-live-selfcheck and route-vs-reachability OpenViking honesty
Some checks failed
format-check / gates (pull_request) Failing after 30s
b5696428e3
- Distinguish missing default route ('no route'), staged/hydrated credentials with route present ('staged'/'hydrated (...; remote unverified)'), degraded ov errors, and verified >0 vectors ('healthy (...; embeddings verified)') in clawdie-system-probe, fixing a latent 'Errors: 0' substring false-positive in the process.
- Add read-only /usr/local/bin/clawdie-live-selfcheck (--json / table) consolidating 32-hex machine-id convergence, .secured + password-setup-done receipts, lineage/manifest check, OpenViking offline honesty, offline jev_probe --dry-run, fail-loud explicit herdr mux check, live desktop/SSH/Firefox contracts, and optional X11 XKB check.
- Fix explicit CLAWDIE_MUX_BACKEND=herdr/tmux in terminal-firstboot-wrapper.sh so missing binaries also fail loudly instead of falling through to resolve_mux_backend's tmux fallback.

Gates: clawdie-live-selfcheck-test.sh (6/0), system-probe-gpu-test.sh (16/0), max2-herdr-layout-test.sh (37/0), and scripts/ci-checks.sh rc=0.
clawdie deleted branch feat/xfce-terminal-fallback 2026-11-17 09:24:29 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawdie/clawdie-iso!75
No description provided.