Files
Athena-Deck/docs/ATHENA_HANDOFF.md
T

137 lines
8.7 KiB
Markdown

# Athena Deck: specialist handoff · 28 October 2026
Start here before working on Michael's Athena server or Athena Deck. This is a
curated project handoff, not imported chat history. Read applicable `AGENTS.md`,
then the current source and relevant linked documentation; verify live state
again before changing anything. Historical notes do not override current facts.
## Systems and trusted locations
| System | Role and location |
| --- | --- |
| Athena | Debian server, `athena.scc.kit.edu`, LAN `192.168.1.212`; SSH root through the operator-provided profile key. |
| Athena Deck | Model/runtime manager and common authenticated API; current production is the existing `athena-deck-dev` container. Native Debian/systemd installation remains a design requirement, not a completed migration. |
| Canonical server source | `/opt/athena-deck-dev/source`; installation `/opt/athena-deck-dev/runtime`, state below `runtime/state`. Do not confuse source, installed image, runtime binaries and private model data. |
| Gitea | `michael/Athena-Deck`, `ssh://git@192.168.1.2:33/michael/Athena-Deck.git`, canonical branch `main`. Git publication does not deploy software. |
| Hermes gateway | Existing `Hermes-Agent-Desktop` on the NAS `192.168.1.2`; bot profile `/opt/data/profiles/athena-deck`, local checkout `workspace/Athena-Deck`, own terminal HOME `home`. |
| Mac / Conduit | Remote clients of that NAS gateway. The agent runs on the NAS, not the Mac. Do not patch clients or assume dashboard extensions appear natively in them. |
Deck UI: `https://athena.casaderoll.de/`; LAN management port 8108.
OpenAI-compatible API: `http://192.168.1.212:8120/v1`, protected by the existing
API key. Use Hermes' inherited managed provider/secret mechanisms; never dump
keys, obtain broad admin tokens from another service or invent a dashboard login.
Management UI sessions and API access have different authority. A missing idle
counter is not proof of idle. Read the documented authenticated drain semantics.
## Shared Hermes image routing · 28 October 2026
The central `bildgenerierung` skill is linked into all 19 discovered profiles;
19/19 fresh-process Hermes skill-loader checks passed. Athena remains the default;
explicit ChatGPT/OpenAI image requests require a separate subscription-backed tool.
That separate image route is not yet configured or functionally verified. No image,
provider change or restart was performed. The existing fleet audit reports
362/395 checks passed, with 33 deviations left untouched, not a clean acceptance.
[Distribution, routing rules, checks and restore limits](maintenance/hermes-shared-image-skill-2026-10-28/README.md).
## Latest completed Strata update · 28 October 2026
Strata v0.2.7 / engine 0.1.52, pinned
`5e8a4cca7d690ac60ca37eb09e7d0e010099ad6d`, is activated after Michael's Go.
The Qwen dual profile is loaded and tested; GPU order/split16, two
262144-token slots and unrelated protected user settings remain unchanged. TTS/STT are
loaded, Deck/API healthy and owned test containers gone. Qwen must remain loaded
again; this completed maintenance Go is not permission for later restarts/tests.
37 arms screened, 36 completed after correcting an invalid prefill-pipe argument.
Focused repeated/64K/128K/near-256K/cache/arrival checks passed. Pipeline without
batch-MTP was subsequently **explicitly approved and activated** through new
per-profile controls: `strata_batch_groups="auto"`, `strata_batch_mtp=false`.
Existing other profiles retain legacy defaults; solo MTP remains enabled.
[Configuration rollout and live acceptance](maintenance/strata-pipeline-config-2026-10-28/README.md).
Quality: 120 actual answers, blind scored;
24 isolated fixed code tests passed, with remaining semantic/diagnostic caveats.
[Full result and evidence](maintenance/strata-027-staged-2026-10-27/RESULTS.md).
Native full fresh-host/restore acceptance remains open; DeepSeek/vision only
built and version/hash checked, not model-tested during this update.
## Earlier verified Strata and hardware snapshot
Checked read-only at setup on 27 October 2026:
- Ryzen 5 5600, 64 GiB installed RAM; Debian kernel `6.12.107+deb13-amd64`.
- RTX 3060, 12 GiB, PCI `04:00.0`, UUID `GPU-4834d9d7-5b61-3004-1fb3-4ae49d482d4b`.
- RTX 5080, about 16 GiB, PCI `08:00.0`, UUID `GPU-8ad38c6c-5a01-9d8e-1dfa-ed662ad78fbe`.
- Current Strata release **v0.2.6**, engine **0.1.51**, source commit
`4b9e05a2a806a3fe24f7b2560d98626c37dade35`. Source pin and earlier verified
production activation agree. Read the live state before future work.
- Active Qwen IQ3_XXS profile `flash-next-strata-iq3-dual`, two slots of 262144
context tokens. GPU order **3060, then 5080**, layer split 16; the final
layers/head/MTP are on the 5080. Do not infer the first GPU is the main one.
- Current saved profile: layer splitting, auto GPU offload, **1024 MiB reserve
on each GPU**, six configured threads. These are observations, not tuning
instructions or proof of optimality.
- Saved CPU masks: Strata `0,1,2,3,6,7,8,9`; CPU speech `2,3,4,5,8,9,10,11`;
deliberately shared CPUs `2,3,8,9`. Do not silently rewrite this allocation.
Read [native Strata recipe](../deploy/STRATA_NATIVE.md),
[v0.2.6 activation/evidence](maintenance/strata-026-staged-2026-10-26/README.md)
and [system history](CURRENT_SYSTEM.md). Existing weights, expert packs, MTP and
CPU vision assets are private/runtime state, not files to commit into Git.
Use official pinned releases, never silently switch to main or a different quant.
## RTX 3060 unlock
The unofficial native DKMS GPU-unlock module was installed and boot-verified
after Michael's explicit Go and manual cold start. Only the 3060 is targeted;
the 5080 is excluded. Driver/power limits were preserved. The boot verification,
exact firmware/initramfs/DKMS recipe and recovery considerations are in
[the unlock record](maintenance/gpu-unlock-prepared-2026-10-26/README.md).
One matched 256K pair measured prefill 1748.6 → 1891.2 tokens/s and decode
54.0 → 52.4 tokens/s. Cold-boot/cache/adaptive placement confounds remain: this
is **not proof of a general unlock speedup** or full numerical/stability testing.
Do not reload/reset GPUs, drivers or modules during model work. The unlock is
not an automatic Strata prerequisite or an already verified full restore feature.
## Rules for work and publication
- Development and operations are in scope when assigned by Michael. No service,
host, container or gateway restart, model unload/switch or production
activation without a separate explicit Go. At handoff Qwen must stay loaded.
- Never interrupt active or queued requests. Read actual counters and scope
before any approved maintenance; unknown state is not idle.
- After appropriate successful checks, task-scoped commits and pushes to `main`
are authorized. Fetch remote changes first; preserve unrelated edits. No
force-push, history rewrite or automatic deployment from a Git push.
- Tests use synthetic data and temporary local test services. Do not run an
installer, maintenance recipe, real benchmark or inference just because it
appears in documentation. Separate input/prefill and output/decode timings;
record cache, load and concurrency conditions. Never divide all tokens by
wall time and call it backend decode speed.
- Goal product is native Debian/systemd plus a complete protected restore.
Document explicit versions, source pins, paths and dependencies. Current
container operation is not permission to migrate or restart it.
- Keep secrets/weights/audio/private chat output out of Git and model prompts.
Use the key by path, not by reading its contents into reasoning or memory.
## Absolute VPN exclusion
Never open, read, search, copy, back up, hash or disclose any file named
`vpn.auth`, regardless of host, folder or access method. Never read private VPN
configuration, including `/mnt/nvme-storage/appdata/OpenVPN-KIT/` or `/vpn`.
Exclude those paths before any recursion, archive, inventory or content search.
Never inspect, exec, start, stop, update, recreate or configure VPN containers,
including OpenVPN-KIT and GluetunVPN. Root/SSH/Docker/general maintenance access
does not lift this prohibition. These are binding work rules, not OS isolation.
## Work intentionally retained in the original Codex chat
The ongoing Anna/Kikiri training and TTS integration stay in the original chat.
Do not continue that work, activate its candidate, retrain, install another TTS
service or use its old GPU-training permission. Historical TTS documents in this
repository are context only. Existing shared Hermes speech access remains as-is.
Bootstrap knowledge belongs in this profile's own project/Strata/maintenance
skills. Personal preferences belong in USER; memory holds only short anchors.
Do not fill memory with technical procedures or claim a whole chat was imported.