Commit Graph
169 Commits
Author SHA1 Message Date
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 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 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
spektr c0e7652040 Fix: ui.default_models als komma-getrennten String (JSON-Liste crashte Chat.svelte)
"default_models.split is not a function" -> unendlicher Spinner. v0.13 erwartet
in ui.default_models einen String, den das Frontend per .split(",") parst.
DB jetzt "swift-1.5-qwen3.8-27b-q6k", ollama.enable=false, webui.yml changed=1 dann changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 01:23:36 +01:00
spektr 773a8d2d56 OpenWebUI: Ollama-500 endgueltig aus (DB-Config ollama.enable=false), Model-Namen + Default-Picker
- ollama.enable=false jetzt auch in der persistierten DB-Config (DB schlaegt Env
  in v0.13.3 — sonst weiterhin HTTP 500 auf /ollama/api/version)
- Anzeigenamen: Engine "Qwen 3.8 27B (Swift 1.5)", Pipe "Deep Research" (ids bleiben stabil)
- Default im Model-Picker: ui.default_models=[engine-id] + DEFAULT_MODELS-Env
- Verifiziert: DB-Werte gesetzt, Namen korrekt, health 200, webui.yml idempotent changed=0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 01:11:45 +01:00
spektr c117c4cf10 M6-R1: Stream-Abbruch bei Deep Research fixen (max_tokens-Limit, parallele Fetches, Heartbeat)
Ursache "Verbindung zum Server fehlgeschlagen": Engine-Calls ohne max_tokens liefen
unter xhigh bis n_predict=32768, Stream war stumm, NPM proxy_read_timeout (600s) griff.
Fix: Valve MAX_TOKENS (default 4096) pro Engine-Call + HTTP-Timeout gekoppelt,
Fetches parallel via asyncio.gather, Status-Heartbeat vor jedem Engine-Call.
sha256-Pin 45cb3be0...; deployt changed=1 dann idempotent changed=0; DB verifiziert.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 00:44:38 +01:00
spektr 09a8ac4948 M6-R1 Hotfix: Pipe-Prompt-KeyError ("queries") + Ollama-API-500 in Modellliste
- Pipe: str.format() durch .replace() ersetzt (JSON-Braces im Prompt), non-stream
  Pfad mit try/except; sha256-Pin aktualisiert (5ddb6191...)
- ENABLE_OLLAMA_API=False in open_webui_env: ohne Ollama auf dem Host lieferte
  GET /ollama/api/version beim Oeffnen der Modellliste HTTP 500
- Verifiziert: function-Content in webui.db = 5ddb6191..., Container-Env korrekt,
  webui.yml ok=37 changed=3 dann idempotent changed=0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-15 14:21:23 +01:00
spektr 60474b20d3 M6-R1 Fixes: Pipe im Model-Selector sichtbar (model-Row), Branding persistent in Rolle
- Pipe gnai-deep-research: zusaetzliche model-Tabellenzeile + public read grant
  (ohne model-Row sind Pipe-Models in v0.13.3 admin-only) — Selector zeigt
  "Deep Research (gnai)" nun allen OIDC-Usern; DB-Verify erweitert (PIPE-OK)
- Branding (GNAI-021) aus dem uncommitteten Live-Stand in die Rolle uebernommen:
  files/branding/ (5 Favicons + custom.css), Deploy nach openwebui-branding/,
  ro-Mounts nach /app/backend/open_webui/static/ UND /app/build/favicon.png
  (v0.13.3: /static/* aus Backend-static, Root-Route /favicon.png aus Build-Dir)
- Verifikation: webui.yml ok=37 changed=4 dann idempotent changed=0; von aussen
  /favicon.png + /static/favicon.png md5 78966788.. (Geist), custom.css 200/5311B
- tasks-Reihenfolge korrigiert (branding dir vor copy)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-15 05:49:51 +01:00
spektrandMistral Vibe 3df56d62c4 Phase 1 M6-R1 (Deep Research in OpenWebUI) + Phase 2 M8 geplant (GPT Researcher hinter IAP)
Phase 1 (GNAI-022, umgesetzt 14.11.2026 auf ghostnet-ki):
- Pipe-Function gnai-deep-research (files/gnai-deep-research-pipe.py, sha256-gepinnt):
  iterativer plan->SearXNG->fetch->Synthese-Loop mit [n]-Zitationen, Engine direkt
  via http://llama-cpp:8080/v1, SSRF-Guard, Fetch-Caps, Streaming via event_emitter
- open_webui-Rolle: DB-Seeding (function-Tabelle type=pipe, is_active, public read
  access_grant) + sha256-Verify + PIPE-OK-Verify; Defaults/Valves in defaults/main.yml
- Verifikation: webui.yml produktiver Lauf ok=35 changed=3 failed=0, Health 200,
  zweiter Lauf idempotent changed=0; E2E via API (temp. Key) ist Betreiberschritt (GNAI-022 Abschnitt 5)

Phase 2 (GNAI-023, M8 in GNAI-001): GPT Researcher (30.683 Sterne, v3.8.0) auf
ghostnet-ki im Production-Netz, LLM via OPENAI_BASE_URL=llama.cpp, Suche ueber
bestehende SearXNG; oeffentlich nur research.ghostnet.selfhost.eu via NPM +
oauth2-proxy v7.15.5 (auth_request, Keycloak-OIDC Realm Ghost.net, Client
gnai-research) — Härtungs-Checkliste in GNAI-023 Abschnitt 3/4.

Doku: GNAI-000/GNAI-001/ai-README aktualisiert; GNAI-022 (Deep Research) und
GNAI-023 (IAP-Plan) neu.

Hinweis: roles/open_webui und ai/README enthalten neben diesen Aenderungen den
bislang uncommitteten Theme-Stand (GNAI-021, produktiv live seit 14.11.2026).

Link-Check: nur bekannte GNAI-021-Links broken (Datei fehlt im Working Tree).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-15 05:36:42 +01:00
spektr e2f38bfebe Merge pull request 'llama.cpp v1.0.0: Image-Pin auf server-rocm-v1.0.0-b12359-b1b770d (GNAI-010 0.20)' (#18) from m6/llama-v1.0.0-b12359 into main
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
Reviewed-on: #18
2026-11-14 15:11:40 +01:00