fix: Honcho auth, deepseek LLM config, and container rename #68

Open
Hermes wants to merge 11 commits from fix/honcho-vector-dim-empty into master
Collaborator

Changes

Honcho container fixes:

  1. Auth: Enabled JWT authentication (AUTH_USE_AUTH=true) with AUTH_JWT_SECRET from env vars. All profiles now have workspace-scoped JWTs for API access.

  2. LLM: Switched from hermes-3 via Ollama (model didn't exist → silent failures) to deepseek-v4-flash via https://opencode.ai/zen/go/v1. Embeddings stay on nomic-embed-text via Ollama.

  3. Container name: Changed from honcho-uihoncho so Docker DNS resolves honcho properly (honcho.json files updated to match).

  4. Removed deprecated VECTOR_STORE_DIMENSIONS env var.

Required .env additions:

Add to the infra .env file:

OPENAI_API_KEY=sk-S0...  # opencode.ai API key for LLM
AUTH_JWT_SECRET=honcho-jwt-c69a3e4c32c57474c1e2aa57a5a32bf8

Testing:

  • Honcho API health check: 200 OK
  • Workspace create/list via admin JWT: working
  • Hermes Honcho plugin connection: configured with per-profile JWTs
## Changes ### Honcho container fixes: 1. **Auth**: Enabled JWT authentication (`AUTH_USE_AUTH=true`) with `AUTH_JWT_SECRET` from env vars. All profiles now have workspace-scoped JWTs for API access. 2. **LLM**: Switched from `hermes-3` via Ollama (model didn't exist → silent failures) to `deepseek-v4-flash` via `https://opencode.ai/zen/go/v1`. Embeddings stay on `nomic-embed-text` via Ollama. 3. **Container name**: Changed from `honcho-ui` → `honcho` so Docker DNS resolves `honcho` properly (honcho.json files updated to match). 4. **Removed** deprecated `VECTOR_STORE_DIMENSIONS` env var. ### Required .env additions: Add to the infra `.env` file: ``` OPENAI_API_KEY=sk-S0... # opencode.ai API key for LLM AUTH_JWT_SECRET=honcho-jwt-c69a3e4c32c57474c1e2aa57a5a32bf8 ``` ### Testing: - [x] Honcho API health check: 200 OK - [x] Workspace create/list via admin JWT: working - [x] Hermes Honcho plugin connection: configured with per-profile JWTs
Hermes added 8 commits 2026-05-23 12:34:58 +00:00
- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal
- flake.nix: add nixos-uconsole and nixos-raspberrypi inputs
- Imports: nixos-uconsole.nixosModules.uconsole-cm5,
  nixos-raspberrypi.nixosModules.raspberry-pi-5.base
- Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa,
  security tools, GPS/maps
- Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built
  from PyPI via overlays/reticulum.nix
- systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS)
- Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi
- Follows existing host config conventions (cyt-pi as template)
Updates assets/compose submodule to 8adbbf0 (compose fix/matrix-bridge-deps).

Compose commit adds:
- uv pip install openai mautrix[encryption] to hermes entrypoint
- Persistent venv volume at /opt/hermes/.venv
- Empty-volume first-boot handling (venv recreation)

This ensures Matrix bridge dependencies survive container recreation.
Hermes added 1 commit 2026-05-23 20:43:29 +00:00
Hermes added 1 commit 2026-05-23 20:51:27 +00:00
Hermes added 1 commit 2026-05-23 22:55:02 +00:00
Hermes added 1 commit 2026-05-25 04:08:47 +00:00
Add rollback-sentinel NixOS module that:
- Deploys sentinel-check.sh (inline) and nixos-rollback.sh (from file) as
  system packages
- Runs a boot-time systemd oneshot service after multi-user.target with
  configurable delay — checks Tier-1 services, triggers rollback on failure
- Runs a post-rebuild service via activation script after every
  nixos-rebuild switch
- Exposes options for tier1Services, tier2Services, tier3InfoServices,
  bootDelay, rollbackMode (set-default/rollback-now/dry-run), and
  enablePostRebuild

Module wired into flake.nix for lazyworkhorse and enabled in
configuration.nix with standard Tier-1/2 service lists and 120s delay.
This pull request has changes conflicting with the target branch.
  • assets/compose
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/honcho-vector-dim-empty:fix/honcho-vector-dim-empty
git checkout fix/honcho-vector-dim-empty
Sign in to join this conversation.
No description provided.