227 Commits
Author SHA1 Message Date
spektr cac1f6a2dc CT 114: Audit prüft onion-only per JSON-Parse statt Regex
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 22s
getnetworkinfo listet ipv4/ipv6 als Eintraege mit reachable=false — die
alte Regex-Assertion war falsch. Jetzt JSON-Parse: onion reachable=true,
ipv4/ipv6 nicht reachable (live gegen CT 114 bestätigt).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:11:25 +01:00
spektr b0536c5166 CT 114: Audit nutzt ltc-readonly statt sudo -u litecoin
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 21s
Die sudoers-Regel ist (root)-beschränkt: 'sudo -u litecoin' braucht ein
Passwort. Der Wrapper ltc-readonly läuft als root via NOPASSWD und macht
intern runuser -u litecoin — Audit testet jetzt genau diesen Pfad.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:10:34 +01:00
spektr 86920698a9 CT 114: allowusers-Assertion an zeilenweise sshd -T-Ausgabe angepasst
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 35s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 23s
sshd -T listet jeden allowusers-Eintrag auf eigener Zeile; Audit prüft jetzt
drei einzelne Zeilen statt einer kombinierten.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:10:00 +01:00
spektr fb7e044cde CT 114: /opt/litecoin aus den Baseline-Verzeichnissen entfernt
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 22s
Die Baseline legte /opt/litecoin als Directory an; litecoin_core will dort den
versions-Symlink setzen ('refusing to convert from directory to symlink').
Verzeichnis auf dem CT entfernt, Baseline-Eintrag gestrichen.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:06:55 +01:00
spektr 75a27b05a3 CT 114: Tor-Bootstrap aus dem Journal von tor@default lesen
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 30s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 21s
Debian 13 loggt trotz 'Log notice file' ins Journal (multi-instance-master +
tor@default); torrc auf 'Log notice syslog', Status per journalctl. Live
geprüft: Bootstrapped 100% (done).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:05:36 +01:00
spektr 086a4e6f22 CT 114: Tor-Bootstrap-Status aus dem Notice-Log statt torctl lesen
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 20s
Debian 13 (trixie) shippt kein /usr/bin/torctl mehr; grep auf
'Bootstrapped …%' in /var/log/tor/notices.log stattdessen.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:04:16 +01:00
spektr 740fc545e3 CT 114: sudoers-Assertions in audit-production gequotet (YAML-Kolon)
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 30s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 21s
'... NOPASSWD: ALL' wurde als Mapping geparst; alle that-Items aller
ct-114-YAML jetzt per Parse-Check als Strings verifiziert.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:03:20 +01:00
spektr b66e94a563 CT 114: fail2ban-Assertion gequotet (YAML-Kolon in search-String)
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 28s
ci-static / markdown-links (push) Successful in 21s
Der Klartext-Scalar mit ': ' wurde als Mapping geparst. Ausdrücke jetzt
doppelt gequotet.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:02:51 +01:00
spektr cfdfa61490 CT 114: fail2ban-Assertion auf 'Status for the jail: sshd' korrigiert
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 21s
fail2ban-client status sshd liefert keinen 'Jail list'-Block (der kommt nur
von status ohne Argument); gegen die reale Ausgabe geprueft.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:02:05 +01:00
spektr 623fffa4ca CT 114: delegierte Key-Prüfung mit become: false
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 30s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 20s
delegate_to: localhost erbte become: true vom Play und brach lokal an
'sudo: Ein Passwort ist notwendig'. Delegierte Control-Node-Tasks jetzt
explizit become: false.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:01:14 +01:00
spektr 2080f987f7 CT 114: Key-Prüfung in litecoin_access läuft auf dem Control-Node
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 33s
ci-static / markdown-links (push) Successful in 23s
stat/command der files/ssh-Pubkeys hatten ohne delegate_to auf dem Ziel
geprüft (exists=false trotz vorhandener Datei). Jetzt delegate_to: localhost.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 07:00:30 +01:00
spektr 3caaeb5451 CT 114 provisioniert: Fingerprint gepinnt, nesting/keyctl deaktiviert
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 22s
CT 114 (ltc-node, 10.0.0.61) ist live: unprivileged, 2 vCPU/4096 MiB/1024 swap,
150G local-lvm, vmbr0 10.0.0.61/24 gw 10.0.0.1 dns 10.0.0.14, onboot, protection,
Europe/Berlin. Bootstrap-Hook lief gruen (ghost-agent 1000, ghost 1001,
ansible-deploy 1002, alle gelockt, Keys quellbeschraenkt). SSH-Hostkey
SHA256:nkRMQWpzpBkUaGNOgyCRsEaXK2KhdraTuiL5ihUdXW4 in allen drei host_vars gepinnt.
Nesting/keyctl nachtraeglich auf 0 gesetzt (Community-Scripts-Default waere 1);
Provisioning-Skript pinnt das kuenftig ebenfalls.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:58:13 +01:00
spektr 1683924610 CT 114: Hook-Guard wieder auf Literal-Platzhalter gestellt, Pin aktualisiert
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 21s
Das operator-seitige sed hatte den Platzhalter auch in der Vergleichszeile
ersetzt (Key == Key -> Hook starb immer mit 'placeholder not replaced').
Guard vergleicht jetzt wieder gegen '@GHOSTNET-CT114-GHOST-PUBLIC-KEY@'.
Neuer Hook-Pin c8d32465…f5e9f; scripts/README warnt vor globalem sed und
dokumentiert die Zwischenstaende.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:56:46 +01:00
spektr 86a4af3caf CT 114: awk-END-Block-Falle im storage_has_free behoben
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 34s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 22s
exit im Hauptblock wird vom END-Block ueberschrieben; Verdict jetzt ueber
Flags im END-Block (Muster wie storage_is_active). Lokal gegen pvesm-Werte
getestet (206 GiB frei -> PASS bei 182 GiB Gate).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:54:21 +01:00
spektr 948504c2c6 CT 114: Headroom-Preflight im Provisioning auf +32 GiB angepasst
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 20s
local-lvm hat live ~206 GiB frei (thin-provisioned); 150+64 GiB haette den
laufenden Betrieb blockiert. Gate jetzt 150+32 GiB.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:50:03 +01:00
spektr 0d1325ff01 GNAI-024: Backslash-Artefakt in gn_backup_additional_keys Optionen entfernt
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 27s
ci-static / markdown-links (push) Successful in 21s
Die Options-Zeile enthielt literal \" statt " — in authorized_keys waere
die from="10.0.0.61"-Restriktion wirkungslos gewesen. Korrigiert auf
from="10.0.0.61" (YAML-parsed geprueft); README angepasst. Erneut auf
ghostnet-ki anwenden (host.yml, erwartet changed=1 fuer authorized_keys).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:46:31 +01:00
spektr d9462bd85d GNAI-024: gn_backup_receiver um CT-114-restic-Key und Zielverzeichnis ergänzt
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 28s
ci-static / markdown-links (push) Successful in 22s
ghostnet-ki (10.0.0.90) ist das etablierte hostunabhängige Backup-Ziel
(GNAI-000 Blocker 4). CT 114 pusht seine clientseitig verschlüsselten
Wallet-Backups per restic/sftp als gn-backup nach
/var/lib/ghostnet-ai-backup/ct114/restic. Neuer Key ct114-restic.pub
(Fingerprint SHA256:i4UFMsAmdGdi8s0pJeVnK7Ros1liEqXzJ2IghyBCBiU),
quellbeschränkt from="10.0.0.61", no forwarding. Rolle samoacht jetzt
authorized_keys aus Haupt- plus Zusatzschlüsseln. Anwenden auf ghostnet-ki
erfolgt separat per llm-server host.yml durch den Operator.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:41:19 +01:00
spektr 19711b5a06 CT 114: ghost-Pubkey gepinnt, Hook-SHA aktualisiert (9e1db709…)
Operator hat am 2026-11-27 den ghost-Key interaktiv erzeugt, alle drei
.pub nach ansible/files/ssh/ kopiert und den ADMIN_PUBLIC_KEY-Platzhalter
im Bootstrap-Hook ersetzt. Eingebettete Hook-Keys matchen byte-identisch
mit den Repo-Pubkeys (geprüft). POST_INSTALL_HOOK_SHA256 auf den neuen
Hook-Stand gepinnt; Stand in scripts/README.md und GNAI-024 dokumentiert.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:37:25 +01:00
spektr 40b22910bb GNAI-012 10.2 (27.11.): Backup-Sync-Ausfall 15.11.-26.11. dokumentiert
Befund (ghostnet-lxc-backup-sync.service auf PVE ab 15.11. 02:30 Uhr
"Permission denied (publickey)", letzter Erfolg 14.11. 02:40), Ursache
(gn-backup-Home /var/lib/ghostnet-ai-backup auf ghostnet-ki stand auf
0750 root:root statt des deklarierten 0711 -> sshd konnte als uid 999 die
authorized_keys nicht lesen; Key-Fingerprints beidseitig identisch),
Behebung 26.11. per llm-server/host/ansible host.yml (nur Mode-Korrektur,
danach changed=0) und Verifikation 27.11. (Timer-Lauf 03:30 SUCCESS,
DONE all archives verified, Prune <=4/CT, Home 0711). Verweis in GNAI-000.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-27 06:32:38 +01:00
spektr bf1328ea88 Merge pull request 'Doku: Rollout llama.cpp v1.0.0 (b12359) auf Production verifiziert (GNAI-010 0.21, GNAI-008 0.24)' (#19) from m6/llama-v100-rollout-doc into main
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 20s
Reviewed-on: #19
2026-11-27 06:28:47 +01:00
spektr b3193d1553 GNAI-006 3.2/3.3: Vorfall 26.11.2026 dokumentieren (volle Platte, Disk-Housekeeping, NPM 2.17.1)
Neue Abschnitt 15: Befund (0-Byte-Assets via NPM, Backends gesund, df 100%),
Ursache (NPM-Logs ohne Logrotate + offene FDs im Container), Loesung
(reverse_proxy_disk_housekeeping: Journald-Cap, copytruncate-Logrotate,
sellbstheilender Guard; verify-production mit Headroom-Assert) und
NPM-Upgrade 2.15.1 -> 2.17.1 wegen CVE-2026-123007/-123633 (nginx2root,
Backport im OpenResty-Base-Image), inkl. Backup- und Verifikationsnachweis.
Statuszeile, Image-Pins in Abschnitt 4 und DOC-Index aktualisiert.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 19:24:14 +01:00
spektr e6551d01f4 CT 103: NPM 2.15.1 -> 2.17.1 (nginx2root/nginx2shell CVE-Fixes)
NGINX2Shell/nginx2root (CVE-2026-123007 HTTP/2 flow-control memory corruption,
CVE-2026-123633 HTTP/2 use-after-free, gefixt in nginx 1.30.7/1.31.9 am
18.11.2026) betraf den bisherigen Stand: NPM 2.15.1 mit openresty/1.29.2.5
(nginx 1.29.x). v2.17.1 (GitHub Latest, Docker Hub seit 19.11.2026) nutzt ein
OpenResty-Base-Image mit den nginx2root-Fixes als Backport (PR #6058).

Pin aktualisiert in reverse_proxy_npm/defaults und allen drei Inventaren
(agent/bootstrap/production) sowie im Role-README.

Vor dem Upgrade: Backup /opt/npm-backup-pre-2.17.1.tar.gz auf CT 103
(63M, data + letsencrypt). Altes Image 2.15.1 bleibt lokal als Rollback.

Verifiziert: Quadlet konvergiert auf 2.17.1, NPM-Container neu gestartet,
site.yml ok=93 changed=1 failed=0, verify-production ok=30 failed=0,
site.yml --check changed=0; alle VHosts (git/auth/nextcloud/vault/jellyfin/
japan/mon) antworten, Gitea-JS 661667B und Keycloak-CSS 1158689B via NPM vollstaendig.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 19:20:57 +01:00
spektr 819e3cb665 CT 103: Disk-Housekeeping gegen volle Root-Platte (Gitea/Keycloak-Assets 0-Byte)
Vorfall 2026-11-26: CT 103 (NPM-Reverse-Proxy) Root-fs zu 100% voll, weil die
NPM-Logs unter /opt/nginx-proxy-manager/data/logs nicht rotiert wurden und nginx
im Container gelöschte Inodes offen hielt. NPM lieferte dadurch abgeschnittene
0-Byte-Assets ("Frontend is not initialized" bei Gitea/CT 110, Keycloak ohne CSS).

Neues Role reverse_proxy_disk_housekeeping in site.yml:
- journald-Drop-in (SystemMaxUse=200M, MaxRetentionSec=7d)
- logrotate-Policy für die NPM-Logs mit copytruncate (Pflicht wegen offener FDs)
- selbstheilender Guard: bei Unterschreitung von reverse_proxy_minimum_root_available_bytes
  Journal vacumen, NPM-Logs in-place truncaten, NPM-Cache leeren, NPM neu starten,
  danach Headroom asserten; Phase 1 (Freiräumen) läuft vor dem Schreiben der Configs,
  da bei 0 Byte frei keine neuen Dateien anlegbar sind
- failed-Zustand der durch die volle Platte betroffenen oneshot-Units
  (logrotate.service, man-db.service) wird gecleared

Zusätzlich: eigenes Playbook disk-housekeeping.yml, Headroom-Assert und
Drop-in-Prüfung in verify-production.yml, README-Abschnitt.

Verifiziert: site.yml real changed=1 (unrelated Mode-Fix), verify-production ok,
zweiter site.yml --check changed=0; Gitea-JS 661667B und Keycloak-CSS 1158689B
via NPM wieder vollständig, CT 103 Platte 53%, keine failed units.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 19:00:10 +01:00
spektr df5bbf0d70 GNAI-024: Litecoin-Wallet-LXC CT 114 — Doku, Ansible-Projekt, PVE-Skripte, Snapshots
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 20s
Nimmt die Research-Dokumente (litecoin-lxc-setup.txt, litecoin-lxc-tests.txt)
auf und prüft sie gegen die Repo-Konventionen (GNAI-024 Abschnitt 2):
Core v0.21.5.8 SHA256 gegen signiertes SHA256SUMS.asc verifiziert, RPC-Port
9332 (nicht 8332), nftables statt ufw, RPC per SSH-Exec statt Tunnel
(DisableForwarding), Cookie-Auth statt rpcauth, Backup-Ziel gn-backup auf
ghostnet-ki, vzdump-Abweichung mit Snapshot-Rolle, MWEB nie an Exchanges.

Neu: self-contained Ansible-Projekt proxmox/lxc/ct-114-litecoin-wallet/ansible
(3 Inventare, 5 Playbooks, 7 Rollen; nur öffentliche SSH-Keys im Repo),
PVE-Provisioning (provision-ct114-litecoin.sh + Bootstrap-Hook mit gepinnten
SHAs), Rolle pve_lxc_snapshot im pve-host-Projekt (täglich 04:00, Retention 7),
READMEs, Index-Einträge in GNAI-000 und proxmox-server README.

Workstation: SSH-Keys id_ed25519_ghostnet_ct114_{agent,ansible_deploy}
erzeugt, Aliase ghostnet-ct114-* in ~/.ssh/config. ghost-Key bleibt
Operator-Schritt (interaktive Passphrase).

Lokal bestanden: ansible --syntax-check, yamllint, secret_scan, check_links,
bash -n aller Skripte, Jinja-Render-Smoke-Test aller Templates.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-25 17:06:36 +01:00
spektr c39763dfce Merge pull request 'M6-R1 (GNAI-022 Deep Research) + M8 (GNAI-023 GPT Researcher hinter oauth2-proxy/IAP) — 31 lokale Commits' (#20) from m8/gnai-022-023-deepresearch-gptr-iap into main
ci-static / secret-scan (push) Successful in 20s
ci-static / yamllint (push) Successful in 31s
ci-static / ansible-syntax (push) Successful in 28s
ci-static / markdown-links (push) Successful in 22s
Reviewed-on: #20
2026-11-25 16:32:57 +01:00
spektr e7ae0c3a61 Doku-Abgleich: M8 Phase 2 produktiv seit 22.11.2026 (GNAI-000/001/023)
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 30s
ci-static / markdown-links (push) Successful in 21s
ci-static / secret-scan (pull_request) Successful in 20s
ci-static / yamllint (pull_request) Successful in 31s
ci-static / ansible-syntax (pull_request) Successful in 30s
ci-static / markdown-links (pull_request) Successful in 21s
GNAI-023: Stand/Status aktualisiert, Abschnitt 5 auf 22.11., neuer
Abschluss-Eintrag 'Stand 22.11.2026' mit E2E-Abnahme (Quellen, Report als
md/docx/pdf mit Inhalt, idempotente Playbooks) und offenen M8-T5-Punkten.
GNAI-001: M8-Status produktiv live, neuer Abschnitt 'Stand 22.11.2026',
M6-R1 als abgenommen markiert. GNAI-000: Index-Status und GNAI-023-Eintrag
aktualisiert. Repo aufgeraeumt (keine Stray-Files, Secret-Sanity ok).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 20:26:59 +01:00
spektrandMistral Vibe 2d52e25f22 GNAI-023: Befund 22.11 dokumentieren (leere Reports durch Reasoning-Budget, Fix enable_thinking=false)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-22 02:55:25 +01:00
spektr 69305f664b GNAI-023 M8-T4 Fix: leere Reports — Reasoning frisst max_tokens-Budget
Bei großem Report-Prompt verbrauchte das Denken (engine reasoning xhigh) das
gesamte clientseitige max_tokens (Reasoning+Content gemeinsam begrenzt) ->
Report kam leer zurueck (md 0 Bytes, pdf/docx nur Boilerplate). Fix:
sitecustomize wrappt create_chat_completion und injiziert
extra_body.chat_template_kwargs.enable_thinking=false (llama.cpp --jinja),
plus Token-Limits FAST 4000 / SMART+STRATEGIC 16000. force_handlers in
research.yml gegen stale Single-File-Bind-Mounts. Verifiziert: gepatchter
Call antwortet in 0,4 s mit Inhalt, md5 des Mounts stimmt.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-22 02:55:22 +01:00
spektr 8ef591b4a0 GNAI-023 M8-T4 Fix: Report-Download (PDF via weasyprint, /outputs-Routing im NPM)
'No pdf path provided': md2pdf im gptr-Image braucht playwright/chromium
(nicht installiert) -> write_md_to_pdf faellt auf '' zurueck. sitecustomize
ersetzt sie durch weasyprint (im Image funktionsfaehig). docx-404: NPM-vHost
leitete /outputs/ an den Frontend-Container; neue location /outputs/ mit
auth_request + Proxy auf Backend :8086 + rewrite gegen das vom Frontend
verdoppelte outputs/outputs/-PREFIX. Verifiziert: PDF wird erzeugt,
nginx -t ok, unauth /outputs -> 302 Keycloak, beide Playbooks idempotent.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-21 11:44:13 +01:00
spektr c491c0e0bb GNAI-023 M8-T4 Fix: Embeddings-Sidecar gegen 501 'does not support embeddings'
gpt-researcher v3.8 rankt Kontext pro Sub-Query per Embeddings, nutzt aber
eine einzige OPENAI_BASE_URL fuer Chat UND Embeddings -> llama.cpp ohne
--embeddings antwortet 501. Loesung: CPU-only llama.cpp-Sidecar
(--embeddings, Alias llama-cpp-embed, nur im Production-Netz) mit
nomic-embed-text-v2-moe Q8_0 (multilingual, sha256-gepinnt im model_store,
Flag model_store_include_embedding nur in Production). Backend erhaelt
EMBEDDING=custom:nomic-embed-text-v2-moe + GNAI_EMBEDDING_BASE_URL; ein
gemountetes sitecustomize.py biegt nur OpenAIEmbeddings auf die Sidecar-URL
um, Chat laeuft weiter auf llama-cpp. Verifiziert: embed_query -> 768-dim
Vektor ueber llama-cpp-embed. research.yml idempotent (changed=0).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-20 20:33:04 +01:00
spektr 1c407c28ec GNAI-023 M8-T4 Fix: SearXNG-Shim liefert href statt nur url (v3.8 liest url.get('href'))
Root Cause fuer 'Scraped 0 pages / No content found': gpt-researcher v3.8
baut die Scrape-Liste in skills/researcher.py ueber url.get('href'); der
Shim lieferte nur {url, raw_content} -> None-URLs -> Scraper-Crash
('NoneType' ... endswith) -> 0 Inhalte. v3.8 nutzt raw_content NICHT zum
Ueberspringen des Scraperns; der Backend scrapt jede href selbst.
Shim liefert jetzt {href, url, raw_content} und filtert weiterhin nur
selbst erfolgreich gefetchte Seiten (>100 chars). SCRAPER=bs explizit
gepinnt (requests+bs4, kein Browser noetig). Verifiziert im Backend-
Container: 8/8 URLs mit Inhalt gescraped. research.yml idempotent
(changed=0). Befund in GNAI-023 korrigiert/ergaenzt.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-20 20:07:32 +01:00
spektrandMistral Vibe 7bfae89b78 M8-T4: Shim liefert nur gefetchte Seiten (>100 chars raw_content) — gptr-Scraper-Crash umgangen; RETRIEVERS zusaetzlich gesetzt
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-20 14:33:21 +01:00
spektrandMistral Vibe 7b07e07a5d M8: oauth2-Puffer auf 64k/16x64k/128k erhoeht (echter callback Set-Cookie mit 3 Tokens)
Fake-Callback -> 403 vom IAP (kein 502), unauth / -> 302 Keycloak, site.yml idempotent changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 19:56:16 +01:00
spektrandMistral Vibe 8cb33c7810 M8-T4: Shim fetches Ergebnisseiten selbst (raw_content >100 chars) — gptr-Scraper im Image ist broken (Scraped 0 pages)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 13:48:42 +01:00
spektr 86a7447cdd M8-T4: Retriever auf SearXNG via Shim (RETRIEVER=custom) — duckduckgo-lib im Image broken (ddgs)
- shim container gptr-searxng-shim (python:3.13-alpine, tag-pin), mappt ?query= -> SearXNG ?q=&format=json -> [{url,raw_content}]
- backend env: RETRIEVER=custom, RETRIEVER_ENDPOINT=http://gptr-searxng-shim:8099/
- verifiziert: shim antwortet mit echten SearXNG-Ergebnissen (aus backend container), research.yml changed=3 dann idempotent changed=0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 13:26:27 +01:00
spektrandMistral Vibe fb1d933dd7 M8-T4: LLM-Env mit Provider-Praefix (openai:<alias>) — v3.8 verlangt '<provider>:<model>'
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 13:14:09 +01:00
spektr 62d5248dc7 M8: NPM-vHost research.* robust — alles in host-level advanced_config (locations brechen NPM-Conf-Generierung), DELETE+POST bei Drift
NPM 2.15.1: custom locations + advanced_config oder locations mit eigenem
advanced_config lassen die proxy_host/<id>.conf still aus (SNI alert 112);
PUT loescht die conf ohne neu zu schreiben. Jetzt: komplette location-Bloecke
(/, /api/, /ws, /oauth2/, = /oauth2/auth) im host-level advanced_config,
locations: [], Drift via DELETE+POST. Verifiziert: 36.conf, nginx -t ok,
TLS CN=research, unauth / /api/docs /ws -> 302 Keycloak, idempotent changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 06:52:17 +01:00
spektr 24c49d39f7 M8: WS-Location /ws mit Upgrade-Headern + 3600s Timeouts (NPM custom locations bekommen sie nicht automatisch)
wss://research.ghostnet.selfhost.eu/ws schlug fehl. Verifiziert via NPM-API:
locations / ->8085, /api ->8086, /ws ->8086 mit Upgrade/Connection + auth_request.
site.yml idempotent changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-18 20:49:53 +01:00
spektr 5f2e154979 M8: 502 auf /oauth2/callback fixen — Proxy-Puffer in location /oauth2/ erhoehen (big Set-Cookie vom IAP)
"upstream sent too big header" -> proxy_buffer_size 32k / proxy_buffers 8 32k /
proxy_busy_buffers_size 64k in der /oauth2/-Location (wie GNMON-000 M6). Verifiziert
in generierter proxy_host/16.conf, site.yml idempotent changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-18 20:34:47 +01:00
spektr f60308eab5 M8: oauth2-proxy scope auf openid+email+profile (Keycloak invalid_scope bei groups)
Der groups-Claim kommt ueber den roles-Scope-Mapper ins Token, nicht ueber den
scope-Parameter. Verifiziert: /oauth2/start redirect mit scope=openid+email+profile.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-18 20:20:04 +01:00
spektr 6b42a460f4 M8-T4 umgesetzt: GPT Researcher auf ghostnet-ki (backend :8086, frontend :8085) hinter IAP
- Rolle gpt_researcher + playbooks/research.yml; Images digest-gepinnt
  (gptresearcher/gpt-researcher sha256:8e0975ec.., gptr-nextjs sha256:69e7e2fa..)
- LLM via OPENAI_BASE_URL=http://llama-cpp:8080/v1, FAST/SMART/STRATEGIC_LLM=Production-Alias,
  Retriever duckduckgo, LLM_TIMEOUT=600; User=root (upstream compose), Volumes unter gptr/
- NPM-vHost: location / -> 8085, /api -> 8086 (600s), beide auth_request; firewall 8085+8086 nur NPM
- Verifiziert: research.yml idempotent changed=0, backend /docs 200, frontend 200,
  research/ + research/api/docs unauth -> 302 Keycloak, 8086 WAN geblockt

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-18 14:26:29 +01:00
spektr c173012a6a M8-T3 umgesetzt: research.ghostnet.selfhost.eu via NPM + oauth2-proxy (auth_request) live
- LE-Cert npm-22 + Proxy-Host id 16 -> 10.0.0.90:8085, ssl_forced/hsts/ws/block_exploits
- auth_request/error_page in Custom Location "/" (NPM: nicht host-level advanced tab)
- NPM 2.15.1: cert meta leer (400 sonst), PUT nur Soll-Felder
- E2E: 302 zu Keycloak client_id=gnai-research scope=openid+email+profile+groups; idempotent changed=0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-18 13:48:30 +01:00
spektr 8488a75b4d M8-T3 Vorbereitung: Split-DNS research.ghostnet.selfhost.eu + Firewall-Port 8085 + NPM-vHost-Rolle
- CT 100: dns_pihole_hosts_records um research.ghostnet.selfhost.eu -> 10.0.0.10
  in allen 3 Inventaren + Rollendefault; live verifiziert (dig @10.0.0.14), site.yml konvergent
- KI-Server: gnmon_firewall_npm_only_ports um 8085 erweitert; monitor.yml deployt, idempotent changed=0
- CT 103: neue Rolle reverse_proxy_research_vhost (NPM-API 127.0.0.1:81, idempotent):
  LE-Cert + Proxy-Host research.* -> 10.0.0.90:8085 mit auth_request-advanced_config
  gegen oauth2-proxy (127.0.0.1:4180); NPM-Admin-Creds als /etc/nginx-proxy-manager/api.env (0600, Operator)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 15:06:24 +01:00
spektr 73a8a59813 M8-T1/T2 umgesetzt: Keycloak idempotent via Ansible + oauth2-proxy auf CT 103 live
- keycloak_realm_config: KC auf 10.0.0.4:8080 (nicht loopback), Mapper auf
  realm-weiten roles-Scope (KC26: clients/{id}/client-scopes ist 404),
  attributes-Drift nur eigene Keys; site.yml idempotent changed=0; verifiziert:
  Rolle gnai-research-user, Client gnai-research (confidential, redirect/origins),
  groups-Claim-Mapper, ghost-Role-Mapping
- reverse_proxy_oauth2proxy: digest-gepinnt v7.15.5 (sha256:0d989b27...),
  Environment mit Leerzeichen gequotet, cookie-secret base64(24B)=32 chars,
  is-active rc=4 tolerieren; live verifiziert: ping 200, /oauth2/auth 401 ohne
  Session, LAN geblockt, /oauth2/start 302 zu Keycloak scope=openid+email+profile+groups
- gnai-research client-secret als Podman-Secret auf CT 103 (via Bootstrap-Token aus API)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 08:09:03 +01:00
spektrandMistral Vibe 415e4a8a9f keycloak_realm_config: KC26-Hinweis — realm-management-Rollen erst nach "Assign role" sichtbar (Service-account roles bzw. User service-account-* -> Role mapping)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 07:33:04 +01:00
spektr f84ed85673 M8-T1 idempotent: neue Rolle keycloak_realm_config (Admin-REST-API via Service Account)
- Bootstrap einmalig per UI: Client ansible-keycloak-admin (confidential,
  service account, realm-management manage-*), Secret als 0600-Datei auf CT 102
- danach site.yml synct idempotent: Realm-Rolle gnai-research-user, Client
  gnai-research (redirect/web-origins, standard flow only), groups-Claim-Mapper
  (oidc-usermodel-realm-role-mapper auf Claim groups), Role-Mapping ghost
- files/keycloak_realm_sync.py (stdlib only) treibt /admin/realms/Ghost.net per
  GET->POST/PUT, Ausgabe CHANGED/UNCHANGED; Spec in defaults/main.yml
- GNAI-023 M8-T1 umgestellt auf Bootstrap + Playbook; syntax-check OK

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 07:17:27 +01:00
spektr 521ec5cdf3 Merge origin/main (PR #17 GNAI-021 Theme/Favicon + ai_backup, PR #18 llama.cpp-Pin)
Konflikte geloest: open_webui uebernimmt die origin-Branding-Struktur
(files/theme + files/favicon, open_webui_theme_dir/favicon_mounts), meine
Deep-Research-Pipe/-Tasks und der /app/build/favicon.png-Mount bleiben erhalten;
files/branding-Duplikate entfernt. Link-Check OK (292 Links), beide Playbooks syntax-ok.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 07:14:44 +01:00
spektr 8cf2129a07 GNAI-023 M8-T1: detaillierte Keycloak-26.2.4-Schritte (Client gnai-research, groups-Claim-Mapper, Secret-Handling)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-17 07:12:54 +01:00
spektr abd815be60 M8 Vorbereitung: Rolle reverse_proxy_oauth2proxy (oauth2-proxy v7.15.5 auf CT 103)
- Quadlet Network=host, bind 127.0.0.1:4180 (kein publish; LAN/WAN blocked, per Task verifiziert)
- Keycloak-OIDC (provider oidc, issuer realm Ghost.net, client gnai-research),
  cookie/client secrets als Podman-Secrets, Haertung: cookie secure/httponly/lax,
  24h expiry, reverse-proxy, set-xauthrequest, allowed-group via groups-claim,
  whitelist-domain, skip-auth-regex ^/ping$
- image digest placeholder (Pin nach erstem Pull), site.yml um Rolle erweitert
- GNAI-023 M8-T1: exakte Keycloak-Admin-UI-Schritte fuer Client gnai-research + Rolle gnai-research-user

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 01:31:27 +01:00
spektr 2c9fab3a2e Doku-Abgleich 14.11.: Phase 1 (M6-R1 Deep Research) final vermerkt, M8 Arbeitspakete
- GNAI-022: Status aktualisiert (UI-Abnahme Betreiber 14.11., Health 200,
  Idempotenz changed=0); Befunde aus den Live-Tests dokumentiert (DB-Config
  schlaegt Env, ui.default_models als String, max_tokens-Limit gegen NPM-Timeout)
- GNAI-023: Abschnitt 5 Arbeitspakete M8-T1..T5 (Keycloak-Client, oauth2-proxy
  auf CT 103, NPM-vHost + auth_request, GPT-Researcher-Rolle, Haertung/Abnahme)
- GNAI-001: M8 "in Arbeit"; GNAI-000: Phase-1-Stand final
- Link-Check: nur die bekannten 2 GNAI-021-Links broken (Datei fehlt im Working Tree)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 01:28:10 +01:00