Weryfikacja 0-odwolan z 01db57a liczyla tylko podzbior prefiksow — poza nim
zostalo 13 wskaznikow w plikach niemarkdownowych i w prozie dokumentow:
docs/kb/modules/05-faza3-plan.md -> kb/phases/kb-m5-faza3.md (2x systemd)
docs/kb/modules/05-faza4-plan.md -> kb/phases/kb-m5-faza4.md (kb-query app.js)
docs/kb/modules/DECYZJE-*.md -> kb/decisions/kb-dokumenty-otwarte.md
docs/backlog.md (npm panel admina) -> kb/decisions/backlog-aktywne.md
docs/backlog/ (uid/gid floty) -> kb/decisions/backlog-uid-gid-flota.md
docs/kb/modules/0X-*.md -> kb/phases/kb-m*.md
docs/incidents/2026-07-30-*.md -> kb/incidents/ (3x node-agent)
docs/architecture/RECON-multi*.md -> kb/subsystems/recon-multiagent.md
jobs/deploy-runner/README.md -> kb/services/job-deploy-runner.md
Wyjatek zamierzony: `docs/kb/modules/05-faza3-pilot-streszczen.md` w §11 planu
fazy 3 to nazwa artefaktu, ktory nigdy nie powstal — przepiety na docelowa
konwencje (kb/phases/kb-m5-faza3-pilot-streszczen.md), zeby przyszly plik
wyladowal w nowym drzewie, a nie w skasowanym katalogu.
Weryfikacja: skan po 67 sciezkach zmigrowanych w tej galezi (git grep -F na
kazdej) = 0 trafien poza docs/sessions (logi historyczne, celowo nietkniete);
0 martwych linkow markdown na 190 plikach; check_okf.py 190/190 ZGODNE.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
29 lines
1.6 KiB
YAML
29 lines
1.6 KiB
YAML
services:
|
|
node-agent:
|
|
environment:
|
|
- NODE_NAME=vps
|
|
- CHECK_INTERVAL=60
|
|
# TEMPORARY mitigation (M1) for the unfiltered-prune incident
|
|
# (kb/incidents/2026-07-30-ollama-solaria-vanish.md §7). node-agent runs
|
|
# `docker container prune()` with NO filters every CHECK_INTERVAL, and the
|
|
# Docker API removes EVERY non-running container regardless of restart
|
|
# policy or compose labels — this already destroyed ollama@solaria. On VPS
|
|
# the loss is worse: humanai-mailer and humanai-landing have no compose
|
|
# definition in this repo, so a pruned container cannot be recreated.
|
|
# node_type is read ONLY by run_safe_cleanup() (plus two log lines), so
|
|
# lte_node disables cleanup and nothing else — monitoring, event shipping
|
|
# and action dispatch keep working.
|
|
# REMOVE once R1 (explicit-enumeration prune) is deployed to VPS.
|
|
- NODE_TYPE=lte_node
|
|
# host network mode: node-agent on VPS shares the host's network namespace
|
|
# so that localhost:18180 resolves to the control-plane's exposed port.
|
|
# Without this, localhost inside the container is the container's own loopback
|
|
# and the _check_control_plane_health() probe would always fail.
|
|
network_mode: host
|
|
# HARD memory ceiling: node-agent mounts /opt/homelab/events/ (page cache)
|
|
# and may accumulate Python RSS over hours; 640m cap ensures it is killed and
|
|
# auto-restarted by Docker before consuming host memory. oom_score_adj -900
|
|
# prevents the host kernel OOM-killer from picking it as a global victim.
|
|
mem_limit: 640m
|
|
oom_score_adj: -900
|