feat(kb): przenosiny type=service do kb/services/ (13 plikow, bez SPLIT)
Serwisy o jednorodnej tresci (bez wydzielonej sekcji deploy/runbook):
kb-postgres, stability-agent, llm-gateway, vikunja, zigbee2mqtt, npm,
forgejo, ollama, ir-ac-ha-integration, chelsty-stability-agent.
Deprecated: mosquitto (NOT DEPLOYED/LEGACY), home-assistant-ken-legacy
(archiwum importu), joplin (stub z 2026-04-15, brak katalogu services/joplin/).
git mv + frontmatter, tresc nietknieta.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 14:59:24 +02:00
|
|
|
---
|
|
|
|
|
okf: "0.1"
|
|
|
|
|
type: service
|
|
|
|
|
visibility: private
|
|
|
|
|
status: deprecated
|
|
|
|
|
updated: 2026-07-22
|
|
|
|
|
links: []
|
|
|
|
|
superseded_by: "kb/services/home-assistant.md — instancja ken (HAOS na RPi4), archiwum importu 2026-07-22"
|
|
|
|
|
---
|
|
|
|
|
|
2026-07-22 16:17:18 +02:00
|
|
|
# ken-legacy — historical archive, do not deploy
|
|
|
|
|
|
|
|
|
|
This directory holds the `/config` import of the **pre-migration** Home
|
|
|
|
|
Assistant instance: the `homeassistant5` container on piha, wound down
|
|
|
|
|
2026-07. It is kept for historical reference only — e.g. recovering the
|
|
|
|
|
logic of an old automation — not as a live or deployable instance.
|
|
|
|
|
|
fix(kb): przepiecie wszystkich odwolan wewnetrznych po migracji
126 plikow (md, yaml, sh, py) odwolywalo sie do sciezek sprzed migracji.
15 markdown-linkow [..](..) -> policzona sciezka WZGLEDNA wobec pliku
odsylajacego (wczesniej czesc z nich byla repo-root-relative i nie
rozwiazywala sie z katalogu, w ktorym lezala)
200 odwolan tekstowych (backticki, proza, yaml, importy w kodzie)
-> nowa sciezka repo-root-relative, zgodnie z konwencja repo
5 linkow rodzenstwa (gole nazwy plikow, np. "](DEPLOY.md)") — dzialaly
tylko w starym katalogu; przeliczone recznie
Objete m.in.: CLAUDE.md (scripts/onboard/README.md -> kb/runbooks/
node-onboarding-tool.md, docs/backlog.md -> kb/phases/backlog.md),
README.md, .claude/skills/, 20 session logow, kod jobow.
Ostatnie 5 odwolan pochodzi z tresci wciagnietej rebasem z origin/master
(session log 2026-07-31, override node-agenta na SOLARII, dwie pozycje
backlogu) — wskazywaly na docs/incidents/, docs/kb/modules/ i
services/narty27/README.md sprzed migracji.
Dodany wzajemny link miedzy kb/services/control-plane.md (stub kodu)
a kb/subsystems/control-plane.md (opis, deprecated) — dwa dokumenty o tym
samym systemie, latwe do pomylenia.
Weryfikacja na 790 plikach: 0 odwolan do starych sciezek,
0 martwych linkow markdown. Lint OKF: 190/190 plikow ZGODNE.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 15:12:24 +02:00
|
|
|
See `kb/decisions/ha-configs-as-code.md`, "Incident log" (2026-07-22) for
|
2026-07-22 16:17:18 +02:00
|
|
|
why this instance exists separately from the canonical `ken` (now the
|
|
|
|
|
Home Assistant OS instance on the RPi4 at 192.168.31.7): this container
|
|
|
|
|
kept running after the real migration and was firing automations in
|
|
|
|
|
parallel with the real home instance until the cutover was caught and
|
|
|
|
|
fixed.
|
|
|
|
|
|
|
|
|
|
**Rules for humans and agents:**
|
|
|
|
|
- Never run `import.sh ken-legacy` expecting a deploy target — it isn't
|
|
|
|
|
one. `services/home-assistant/instances.yaml` marks it `status:
|
|
|
|
|
archived` for this reason.
|
|
|
|
|
- Never write back to `homeassistant5` from this directory.
|
|
|
|
|
- Treat everything here as read-only history.
|
feat(ha): archival import of ken-legacy config
Read-only import of the pre-migration homeassistant5 container (piha),
per DESIGN.md phase-0 scope: 60 automations (split one-file-per-id),
5 scenes, 1 script, plus curated .storage/* export (area/entity
registries, input_boolean/input_text, lovelace dashboards).
No token at ~/.config/ha-deploy/ken-legacy.token — fixtures step
fail-softed as designed, no repo import.sh changes needed. Verified:
gitignore-excluded paths (secrets.yaml, *.db*, logs, .storage/auth*,
core.restore_state, tts/, deps/, backups/, .cloud/) correctly stripped
from the pull; three consecutive import.sh runs produced byte-identical
output under config/ken-legacy/ and storage-export/ken-legacy/
(idempotent); automation count matches the 2026-07-22 recon estimate
(~60) exactly. README.md only touched to note the import date.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 16:29:21 +02:00
|
|
|
|
|
|
|
|
Archival import performed: 2026-07-22.
|