Skip to content

Enable llama.cpp, SearXNG, and Conversation Service units in the AB image - #23

Merged
kasunben merged 1 commit into
mainfrom
fix/enable-llama-searxng-conversation-units-in-ab-image
Aug 23, 2026
Merged

kasunben merged 1 commit into
mainfrom
fix/enable-llama-searxng-conversation-units-in-ab-image

Conversation

@kasunben

Copy link
Copy Markdown
Member

Summary

  • customize90-sovereign-ab (the AB/base-OS image's own unit-enable script) never enabled sovereign-llama-{artifact,import,server}.service, sovereign-searxng-{artifact,import}.service, sovereign-searxng.service, or sovereign-conversation.service — it's a hand-maintained parallel copy of customize90-sovereign's list, not derived from it, and silently diverged again (the exact bug class AbDataParityWithProductionTests's own docstring already documents as this script's original discovery)
  • Found live: a real, signed build_base_os_candidate=true build was staged/tried/committed against sovereign.local as part of the SearXNG signed-release qualification pass. systemctl list-unit-files showed all seven new unit files present (the base-OS update correctly shipped them) but every one disabled
  • Confirmed this does not block activate_release's own restart cycle or image import (both already generalized/uniform across all three components) — but llama-server and SearXNG never actually start on a freshly-committed device without a manual systemctl enable
  • Generalizes AbDataParityWithProductionTests's single hardcoded spot-check list into a real diff of both scripts' enable-units calls, so a future divergence is caught structurally

Test plan

  • New test_ab_enable_list_is_a_superset_of_the_production_image_s — confirmed it fails (lists all 7 missing units) without the fix, passes with it
  • python3 -m unittest discover -s tests -v — full suite passes

🤖 Generated with Claude Code

…mage

customize90-sovereign-ab is a hand-maintained parallel copy of
customize90-sovereign's enable-units list, not derived from it -- and
diverged again, exactly the failure mode AbDataParityWithProductionTests'
own docstring already warns about (the class's original discovery). It
never enabled sovereign-llama-{artifact,import,server}.service,
sovereign-searxng-{artifact,import}.service, sovereign-searxng.service,
or sovereign-conversation.service.

Found live during a real base-OS update qualification pass against
sovereign.local: a signed build correctly shipped all seven new unit
files (systemd list-unit-files showed them present), but every one was
disabled. Confirmed this doesn't block activate_release's own appliance
restart cycle (stop_appliance/start_appliance only touch
local-access/nginx/console/pihole) or image import (uniform across all
three components via IMAGE_COMPONENTS already) -- but llama-server and
SearXNG never actually start on a freshly-committed device without a
manual systemctl enable.

Generalizes AbDataParityWithProductionTests' single hardcoded spot-check
list into a real diff of both scripts' enable-units calls, so a future
divergence is caught structurally instead of needing its own hand-added
sample.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kasunben
kasunben force-pushed the fix/enable-llama-searxng-conversation-units-in-ab-image branch from 42eb404 to 12dd5e1 Compare August 23, 2026 08:00
@kasunben
kasunben marked this pull request as ready for review August 23, 2026 08:04
@kasunben
kasunben merged commit 0570534 into main Aug 23, 2026
1 check passed
kasunben added a commit that referenced this pull request Aug 23, 2026
…fication

Closes PR #17's last open test-plan item ("Real signed-release
qualification: artifact/import systemd paths, real hardened sandbox").
A real, signed 0.1.0-preview.25 release -- built by CI, signed offline
by the maintainer -- was staged, tried, and committed on both the
base-OS and appliance layers of the real qualification device, with
llama-server, SearXNG, and the Conversation Service all confirmed
running under their real production systemd units and hardened
DynamicUser sandboxes.

Records the full method, the three real defects found and fixed along
the way (Findings 5-7, all already merged in #22/#23/#24), and two
incidental findings (systemd Requires= pulls backward not forward; a
stale journal file silently stopped logging after the base-OS commit,
self-resolved, not a code defect).

Updates ROADMAP.md's Milestone 4 to Complete and removes now-stale
"not yet achievable" language throughout that section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant