Files
Athena-Deck/docs/ATHENA_HANDOFF.md
T

373 lines
24 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Athena Deck: specialist handoff · 1 November 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.
## Dreaming enabled for all 21 profiles · 4 November 2026
Michael explicitly requested installation/activation for all 21 existing bots.
Catalog `hermes-dreaming` 3.8.3, pinned at
`b89b733433641ba68cc5d90fe0ca977deeb61bfe`, is installed and enabled in each;
one memory-only job per profile runs daily, staggered 03:00–03:40 Europe/Berlin.
No Holographic/fact store, history ingestion, cloud judge or extra service.
The local privacy overlay prevents even the initial transcript read when no
chat is authorized; a frozen-source admission gate blocks drift before import.
Night jobs have only the memory toolset, inherited model selection and local
result/failure delivery. The ordinary model/MCP/tool/speech/SSH policies remain
unchanged; no service/model restart or native Mac patch was performed.
All 21 real prechecks passed without calling a model; the Athena-Deck job also
ran successfully through the native scheduler with its wake gate closed.
428/428 fleet checks and 784 Deck tests pass; the patched upstream suite ran
927 tests with 3 skipped, plus seven local privacy/admission regressions passed.
The first scheduled night and actual LLM memory consolidation remain untested;
this is not automatic extraction of new facts from chat history. No blind plugin
update: preserve/rebase the overlay and refresh admission only after review.
See [source pins, exact schedule, checks and native restore/update boundaries](maintenance/hermes-dreaming-2026-11-03/README.md).
## Hermes fleet repair · 3 November 2026
Michael's requested settings repair is applied and independently checked across
all 21 current profiles, including the concurrently added/renamed DNS-Netbot.
428/428 settings/role/resolver checks pass; all 21 Vision clients resolve without
an inference call. Restricted API toolsets match their role-scoped CLI choices;
models, MCP filters, canonical chat overrides and schedules were preserved.
The existing Cron Bulletin package now passes plugin discovery and its 16 Python
and 6 Node tests. Only unused uv package cache was pruned; no restart, model
switch, production MCP/assigned-SSH-target operation, notification or Mac patch
was performed. The unchanged Deck synthetic rootsuite also passes 784 tests;
the new settings-audit evaluator passes its ten regression tests.
**Still open:** npm security findings require a separately authorized supported
Hermes/gateway update. A current upstream lockfile fixes undici but does not
clear the reported minimatch advisory. William's prior mail-job failure records
a gateway shutdown; it was not erased or retried. Configuration/metadata checks
are not native-client, real-image or delivery acceptance. See the
[repair, actual checks, repeatable audit and restore limits](maintenance/hermes-fleet-repair-2026-11-03/README.md).
This supersedes the interrupted Vision-enablement status in older sections,
not their separate Deck/Anna activation or acceptance boundaries.
## Git publication of the accumulated integration
Michael requested publication of the accumulated Basalt/GPU-speech/shared-Qwen
working tree. The coupled server, schemas, scheduler, runtimes, UI and recipes
are published together after 784 passing local tests and source/credential
checks. See [scope, actual checks and remaining limits](maintenance/git-publication-basalt-speech.md).
Git publication does not grant activation authority or close the pending real
atelier acceptance below. Hermes vision-tool enablement remains a separate,
interrupted task; no profile configuration was changed by this publication.
## Shared Qwen TTS/Atelier: live, final authenticated GPU check pending
Michael requested the separate `Qwen1.7B Stimmklonen` atelier profile to reuse
Anna's already loaded TTS worker, retaining it on profile selection rather than
evicting TTS or entering exclusive voice mode. Activated after his explicit Go
and normal authenticated zero-counter drain. Deck now runs healthy image
`athena-deck-standalone:shared-qwen`; the existing atelier container is also
updated and healthy, preserving its canonical backup-compatible image tag,
sandbox, mounts, environment values and all protected Deck settings.
784 tests pass and the actual new image's isolated full Server constructor
passes. Both real browser UIs were tested with a synthetic fixture. Actual
Basalt answer and Anna speech passed after restoration; one TTS process remains
on the RTX 3060. Anna → clone → Anna GPU proof is still pending, not inferred
from the synthetic same-PID test.
`POST /api/v1/voice/select` only retains an existing shared owner; it never cold
loads or switches modes. Shared clone work uses TTS FIFO admission and
request-local conditioning without changing Anna's preset or publication.
See [implementation, actual checks, native update/restore and open acceptance](maintenance/shared-qwen/README.md).
Preserve pre-existing working-tree changes. That activation itself performed no
commit/push; the later Git publication is recorded above.
The actual live atelier had newer Seed-VC/cancel functionality than the Deck
source copy; it was preserved and merged into the repository and candidate.
The final candidate is `/opt/athena-deck-dev/shared-qwen-activation-v2`; v1 was
never activated and must not be used. Do not repeat prepare/apply: the update
has already happened. The final readback caught only reordered Docker Env
entries; identical unique key/value pairs and all other exact guards passed.
The remaining gate is the expected post-restart management login: HTTP 401,
browser at regular login, no vault login. The voice profile remains unpublished
for API-token use; do not enable it or bypass management auth to test it. Retain
the existing Go for bounded real atelier acceptance, without another restart.
After Michael's next login signal, execute `maintenance/shared-qwen/accept_gui.py`
inside browser_exec (not as a NAS CLI). Synthetic reference and baseline PIDs
are in the own scratch `shared-qwen-acceptance/`; restore.py already ran and
must not be repeated unnecessarily. Then verify final Anna speech and unchanged
worker PIDs. Do not rerun the old ASR overlay.
## Qwen-ASR RTX 3060: prefix correction activated and API verified
The first GPU rollout returned empty transcription. Its incorrect assistant
prefix `<|asr_text|>` has now been replaced by the model's `<asr_text>` marker
in the healthy running image `athena-deck-standalone:qwen-asr-protocol-fix`.
Normal authenticated GUI drain was used; all active/waiting counters were
explicitly zero. The correction overlay passed an isolated full Server
constructor and 81 relevant local tests. Installed/image source hashes and
all five protected settings files were verified, without profile changes.
Real bounded API acceptance passed: Basalt answered after restoration, Anna
produced 2.56 seconds of mono 24 kHz WAV, and Qwen-ASR returned exactly
`Der blaue Schlüssel liegt auf dem Tisch.` in 0.44688 seconds. The whole
restoration/acceptance took 37.61669 seconds; this is not a benchmark. Actual
GPU process metadata confirms ASR, Anna and vision on the RTX 3060 and Basalt
on the RTX 5080. Microphone capture and Hermes/Mac delivery remain untested.
The management login was supplied and the existing Go used for this correction;
the restart invalidates that session again, but API acceptance required no new
login. Do not repeat activation or register a duplicate profile. Host workflow:
`docs/maintenance/qwen-asr-protocol-fix.py`; existing initial activation record
under `/opt/athena-deck-dev/asr-gpu-activation` must remain untouched. NAS client:
`docs/maintenance/qwen-asr-gpu-accept.py`. See
[completed correction and remaining limits](maintenance/qwen-asr-protocol-fix.md).
Earlier preparation-only stage (superseded above): no app update/restart, endpoint publication or
GPU-ASR/model test. GPU STT opt-in `stt_device`, profile/preset/backup validation,
editor and guarded scheduler/lifecycle paths are prepared locally. Existing
CUDA build supports SM86/SM120; existing 0.6B Q8 model and audio encoder reused.
173 targeted tests and synthetic real-browser editor/save checks passed. Saved
profile template: `deploy/qwen-asr-3060-profile.json`; it is not registered in
the running old Deck. Parakeet remains the published STT. Follow the explicit
update/restore/activation boundaries in [GPU-ASR recipe](../deploy/QWEN_ASR_GPU.md).
No GPU functionality, VRAM peak or native full restore acceptance claimed.
## Latest implementation checkpoint: Basalt dashboard telemetry
The dashboard/Pulse fix is now **activated**, image
`athena-deck-standalone:basalt-telemetry`, healthy. Existing Basalt/Qwen profile
restored; real concurrent-slot/rate/cache API checks and Anna speech succeeded.
Source/image hashes and all protected settings verified unchanged. Final live
dashboard/global-counter readback awaits normal re-login after the restart;
no further activation Go is required. Native Mac/full-restore acceptance open.
48 targeted Python tests, existing Pulse tests (5 Python / 2 Node), synthetic
real-browser DOM checks and the pinned upstream's real HTTP/auth CPU-mock test
passed before activation. New content-free `basalt_serve.py` /
`basalt_telemetry.py` supply the shared contract without scraping request
history. Management browser requires login again; no saved vault login.
[Checks, execution environment and remaining gates](maintenance/basalt-deck-integration/TELEMETRY.md).
The preceding TTS endpoint/RAM task was completed separately; its verified
API results and cleanup are in [the Anna endpoint record](maintenance/qwen-anna-existing-gpu/README.md).
Older Strata/Basalt candidate sections below are historical snapshots, not a
reason to switch the current runtime back or repeat old tests.
## 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 · 1 November 2026
Strata v0.2.9 / engine 0.1.55, pinned
`c62d5e3a15b40ea51c96aae9e8d36928965f53ab`, activated after Michael's new Go
and normal authenticated GUI drain. The old active source/venv/build installation
was fully removed; the verified candidate source was moved into the production
runtime, not left as a second installation. Actual current Kikiri/Anna app base
was preserved in a recipe-only image. Native/canonical/in-image source pins agree.
**Short acceptance only, as requested:** 13 actual synthetic streaming checks
passed in 140.09 seconds, including the initial model load. Solo output512:
64.8 backend decode tok/s; simultaneous2×512 outputs:12.3075 seconds total,
83.20 end-to-end output tok/s. Two separate7420-token contexts and their cached
follow-ups passed,7427 tokens reused per follow-up. A60047-token fresh document
returned both markers in31.7225 seconds. JSON, isolated generated-code tests,
mock-tool call/result and fenced-tool nonexecution passed. No old-engine run,
variant matrix, long soak or general speed/quality equivalence claim.
Original Qwen dual profile is loaded; split16, GPU order3060→5080, two262144-token
slots, groups`auto`, batch-MTP off and solo MTP on remain unchanged. All captured
profile/endpoint/audio/CPU/reasoning hashes and worker fields match. TTS/STT
loaded, backend healthy, Deck/API running and healthy.33 relevant local tests
also pass. Qwen must remain loaded again; this maintenance Go is not permission
for later restarts, model switches or tests.
[Activation, evidence, short acceptance and limits](maintenance/strata-029-staged-2026-11-01/README.md).
Subsequent bounded Linux-default A/B completed A/B/B but not the final A after
a foreground transport timeout; 27 synthetic test requests recorded. Defaults
on: parallel pair12.8005s; off:13.1114s median of two blocks. Solo and30K prefill
essentially unchanged. No setting adopted; original Qwen/TTS/STT and all protected
settings restored and verified within663.355s including reload. Small differences
are indicative only because the counterbalanced repeat is incomplete. Both arms
logged layer-major fallback on the30K prompt (891MiB free for the super-chunk).
[Evidence, interruption, cleanup and limits](maintenance/strata-029-linux-ab-2026-11-01/README.md).
Earlier broad v0.2.7 tuning is historical, not repeated for0.2.9:
[results](maintenance/strata-027-staged-2026-10-27/RESULTS.md),
[profile controls](maintenance/strata-pipeline-config-2026-10-28/README.md).
Native full fresh-host/restore acceptance remains open; DeepSeek/vision only
built and version/hash checked, not model-tested during this update. Two
simultaneously full context slots and long-term stability were not tested.
## Separately removable Basalt candidate · 1 November 2026
**New local Deck integration, not deployed:** own Basalt worker/runtime,
catalogue/profile/preset/API/UI and backup recipe added. 174 targeted offline
tests and isolated real-browser editor/payload checks passed. No model load,
production restart, profile activation or candidate move. Managed adoption on
the desired Samsung SSD, new native combined build/model acceptance and full
restore remain open. Central live-rate telemetry is not yet wired; TTS/vision
unchanged. [Development checks and activation limits](maintenance/basalt-deck-integration/README.md),
[native recipe](../deploy/BASALT_NATIVE.md).
Latest small64K chat comparison completed both engines: two64000-token archives,
three short parallel rounds, eight real requests per engine all completed.
Basalt fresh read+ack25.669s versus Strata64.882s; first answer pair2.738s versus
35.160s because Strata re-read one64132-token context (cache_n0), not Basalt.
Steady rounds2+3 first-visible median0.704s versus1.268s, response median2.206s
versus2.977s, client-observed write median33.27 versus26.06 tok/s. Do not quote
Basalt's fragmented backend65/68tok/s counters as whole short-response rates.
Actual context about64K, existing262144-per-slot maxima unchanged. Original
Qwen/TTS/STT loaded,12 hashes/image/start unchanged; no Basalt activation.
[Small-chat results and raw data](maintenance/basalt-candidate-2026-11-01/CHAT64_RESULTS.md).
Latest direct near-limit repeat completed: **Basalt full/full decoding proven**,
two261632-token inputs,504 outputs each,25.629s simultaneous generation and five
actual both-decoding snapshots. Entire read+answers199.993s; answer pair27.833s,
backend18.9/19.6 tok/s. Same Strata workload stopped as explicitly requested at
232.254s, still reading its second document; no Strata full-pair output rate.
First-input rates4056.0 versus1949.1 tok/s. Same source GSQ-RCO IQ3_XXS GGUFs:
both actual file sizes and converter fingerprints match the Basalt sources;
not a full tensor/precision equivalence claim. Current original Qwen/TTS/STT
loaded,12 hashes/image/start unchanged; Basalt stopped, no permanent activation.
[Latest paired results and raw evidence](maintenance/basalt-candidate-2026-11-01/PAIRED_RESULTS.md).
Earlier separately authorized near-limit attempt was **incomplete**, original
Strata/Qwen/TTS/STT restored. Two261632-token fresh inputs completed at4405.1
and2465.4 backend tok/s; one504-token full-context output17.5 tok/s. First output
pair rejected for missing8-token API slack; corrected pair timed out while another
context re-prefilled. No simultaneous full/full decode or capacity-OOM conclusion.
Twelve hashes/image/start unchanged, restored890.271s into900s window. No further
model test/activation Go. [Actual evidence and harness limits](maintenance/basalt-candidate-2026-11-01/FULL_CONTEXT_RESULTS.md).
The8470-entry manifest below is the earlier short-test snapshot, not the enlarged
candidate tree after this attempt.
Separate build and one explicitly authorized short model test completed;
**Basalt stopped, original Strata/Qwen active again.** Basalt 0.1.0,
pinned `9175e7a3211bda355c02e804c7c107b15b8ea89f`, separate root
`/opt/athena-deck-dev/basalt-candidate-9175e7a3211b`; source, venv, binaries and
caches all owned there. Four tools built, 62 selected CPU tests passed; Python
fixtures 645 passed/2 skipped; 9 local safety/manifest tests passed. Native
engine help/library resolution also passed directly on Debian. Recovered after
Hermes restart without rebuilding; original binary hashes preserved. Builder
removed, 12 production hashes and image/start unchanged; Qwen/TTS/STT loaded.
Official IQ3_XXS pack pinned in `model-source.json`, 79867643037 bytes, whole
SHA-256/header verified. Eleven actual requests passed in43.42s after33.08s
load. Historical optimized Strata reference: solo64.8→71.4 backend tok/s;
parallel pair12.3075→13.7656s (worse);60047-token document31.7225→12.0572s
(better). Basalt is5080+RAM only, not a controlled same-hardware comparison.
No new variants or permanent activation. Restored/verified within382.507s;
normal GUI stop/start, no Deck restart; restoration probe is not a benchmark.
Cleanup fixture and real-candidate dry-run passed; manifest independently
checked against all8470 file/link entries,76.09GiB including weights and caches.
Shared CUDA/image are not removed.
**This source accepts SM120 cards only, including peer tier; no RTX 3060.**
This Go is consumed; future model testing/activation needs a new Go. Candidate
retained separately, no Deck registration/native server/systemd/full-restore claim.
[Results and restoration](maintenance/basalt-candidate-2026-11-01/RESULTS.md),
[build, native limits and guarded removal](maintenance/basalt-candidate-2026-11-01/README.md).
## 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.