Traefik v3 defaults to a 60s readTimeout on entrypoints, which aborts
docker pushes of large layers over slow uplinks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Clear the openidconnect extra of social-auth-core for NetBox only, so python-jose (CVE-2026-120459, marked insecure) is no longer pulled in and evaluation no longer aborts
- Disable doCheck for that override, since its tests need the removed extras
- Scope the override to a dedicated unstable overlay used by NetBox, leaving other packages untouched
- Bump the m3ta-home flake input (3809d2e)
- Import agents/cli.nix into the PRM-1 home-manager config for headless agent CLIs
- Provide beads (bd) through the new module
- Move agent-lib out of home.packages and into cli.nix to avoid duplicate installs
- Import the m3ta-home agent modules (mcp, claude-code, opencode,
ai-memory, claude-skills) in hosts/AZ-PRM-1/home.nix instead of the
hand-rolled claude-code/opencode packages; Claude Code and OpenCode get
the shared MCP catalogue, ai-memory hooks/MCP/skills, LiteLLM/Z.AI
providers and the m3ta-chiron git identity
- Expose the flattened llm-agents packages additionally as pkgs.llm-agents
so m3ta-home modules and the t3code-agent-identity overlay work here
- Apply m3ta-home's t3code-agent-identity overlay (T3 agents commit as
m3ta-chiron), t3code service uses the wrapped module default package
- agent-lib-sync timer calls claude-skills-sync from the user profile
instead of duplicating the link logic
- Secrets for AZ-PRM-1 (same values as AZ-LT-NIX): ai-memory-token,
agent-gitea-token-{m3ta,az}; exa-key/ref-key now owned by sascha.koenig
- flake.lock: m3ta-home -> f4ab2ab (Claude MCP integration, PR #9)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Run T3 Code as a systemd service on AZ-PRM-1, reachable on the NetBird interface (port 3773), with its token in the agenix secret t3code-env
- Install claude-code, opencode, agent-lib and t3code in the sascha.koenig home profile on PRM-1
- Add an hourly agent-lib-sync timer that pulls skills and agents from agent-prod and links skills into ~/.claude/skills
- Add the numtide llm-agents binary cache to nix settings so the agent packages are not built locally
- Add a compat option shim for programs.nushell.loadSessionVariables until home-manager is upgraded to 26.11
- Update flake.lock inputs
- Remove the manual wartungsmodus rollout guide from docs/deploy
Aktivierung per extraServices.maintenance.enable = true in der
Host-Konfiguration; extraMap fuer die Nicht-Registry-Domains
p.az-gruppe.com (NetBird) und r.az-gruppe.com (Traefik) zur Erhaltung
des Anzeige-Zustands der Wartungsseite.
Alle 16 Registry-Einträge der alten Liste wandern als Selbstanmeldung
(m3ta.maintenance.services.<name>, Q3) 1:1 in die Dienst-Module, die
auch den zugehoerigen Traefik-Router definieren: git (gitea), kpi
(metabase), wf (n8n), ping (ntfy), wiki (outline), pw (vaultwarden),
am (snipe-it), pg (postgres, pgAdmin-Router), dash (homarr), tools
(it-tools), baserow (3 Domains), chat (librechat), chat-dev
(librechat-dev), llm (litellm), tickets (zammad-hr), netbird
(containers/netbird).
Null-Verhaltensaenderung (Q11): Port 3090, Router-YAML-Format und
/var/lib/traefik/dynamic + /var/lib/maintenance unberuehrt; ntfy- und
TLS-Defaults entsprechen dem Status quo (keine Overrides gesetzt).
Verifikation: Eval aller 3 Hosts sauber, Registry-Abgleich alt/neu
identisch (16 Eintraege).
Import aus hosts/AZ-CLD-1/services/default.nix entfernen und das
host-lokale Verzeichnis services/maintenance (default.nix, README.md,
www/) loeschen — die generalisierte Fassung lebt ab jetzt im
Shared-Modul hosts/common/extraServices/maintenance (Ticket 01).
Contract-Phase vor der Aktivierung, damit es nie einen Zustand mit
zwei aktiven Wartungsmodus-Modulen gibt.
Generalisiert das AZ-CLD-1-Wartungsmodus in ein shared Modul
hosts/common/extraServices/maintenance/ — Optionen global deklariert
(alle Hosts inkl. AZ-PLT-1), Konfiguration komplett hinter mkIf enable,
auf keinem Host aktiviert (Expand-Phase, CLD-1-Bestand unberührt).
- Optionen: m3ta.maintenance.services (selbstanmeldende Registry,
attrsOf submodule), notify {url,topic}, tls (attrsOf str|listOf str,
Default certResolver=ionos, byte-kompatibel ins Router-YAML),
contact, extraMap; extraServices.maintenance.enable (mkEnableOption)
- CLI: Usage-Header mit echtem Hostnamen, neu status --json
(stabiles Format v1), Registry als generiertes TSV
- www: service-map.js Build-Zeit-generiert aus Registry+extraMap,
Kontaktzeile aus Option, index.html gemeinsam gepflegt
- Traefik-Verdrahtung wie Bestand (Service, error-pages 502-504,
Directory-Provider watch=true, 00-base.toml per preStart)
- Assertion bei Aktivierung ohne services.traefik.enable
- Freundliche Wartungsseite (AZ-Branding, eingebettetes Logo, Auto-Reload,
Dienst-Erkennung per Hostname) unter services/maintenance/www/
- nginx auf 127.0.0.1:3090 liefert die Seite mit 503 + Retry-After +
no-store fuer alle Pfade
- Traefik: File-Provider auf ueberwachtes Verzeichnis /var/lib/traefik/dynamic
umgestellt (staticConfigFile-Override); Basis-Konfig wird per preStart als
00-base.toml hineingelinkt
- maintenance-CLI (on/off/status/list): schaltet pro Dienst Router mit
Prioritaet 1000 auf den Wartungs-Service, wirksam in ~1-2 s ohne Rebuild
- Auto-Aus per transientem systemd-Timer (Default 4 h) + stuendlicher
Expiry-Sweep als Reboot-Nachversicherung
- ntfy-Push bei on/off (opt-in via Token-Datei)
- errors-Middleware error-pages (502-504) an allen HTTP-Routern: Auch bei
ungeplanten Ausfaellen erscheint die Wartungsseite statt Traefik-Standardfehler
First deploy failed: atrocore-db-init (User=postgres) could not read
/run/agenix/atrocore-env because agenix defaults to root:root:0400.
Follow the pg-cert/pg-key precedent: owner/group postgres, mode 0400.
Podman still reads the env-file and registry token as root (root
bypasses DAC), container pull/run unaffected. Agenix applies
ownership at activation time - no rekey needed. Validated on AZ-PRM-1.