XED /CCI cBOX@ /Container Inventur · Read-Only-Tool für lokale cBOX-Inventur

firstboot.sh v0.0.1 cci v0.0.1 MIT GitHub PyPI

100% Read-Only: cci verändert NIEMALS den Box-Zustand. Strukturelle Garantie via subprocess-Whitelist (ReadOnlyViolationError bei nicht-whitelisted Aufruf).

Schnellstart

In jeder frischen Debian/Ubuntu-LXC-Box als root:

# Pre-Step (minimal-LXC-Templates haben kein curl vorinstalliert):
apt update && apt install -y curl ca-certificates

# firstboot.sh ausführen (installiert pipx + xed-cci):
bash <(curl -s https://cci.xed.dev/firstboot.sh)

# Inventur ausführen:
cci inventory                  # Rich-Tabellen für Mensch
cci inventory --format json    # JSON für AI-Agent

Manuell (wenn pipx schon vorhanden):

pipx install xed-cci

Was cci inventory liefert

SektionQuelleInhalt
os/etc/os-release + os.uname()id, version_id, pretty_name, kernel
cc-suitepipx list --jsonxed-ccc / xed-cca / xed-cci-Versionen
stacksys.version_info + shutil.whichpython3 (immer) + php / node (Optional)
databasesdpkg-query + systemctl is-activemysql / mariadb / postgresql + Service-Status
appsPath.glob unter /var/www/Server-Apps mit Versionen (v0.0.1: Typo3-Detection)

Verben

cci inventory                       # Komplette Inventur (Rich-Tabelle)
cci inventory --format json         # JSON für AI-Agent-Konsumtion
cci inventory --section os          # Nur OS-Sektion
cci inventory --section cc-suite    # Nur CC-Suite-Versionen
cci inventory --section stack       # Nur Programmier-Stacks
cci inventory --section databases   # Nur Datenbank-Engines
cci inventory --section apps        # Nur Server-Apps
cci --help                          # Verb-Übersicht
cci --version                       # Tool-Version

Use-Case: AI-Agent-Konsultation

cci inventory --format json > /tmp/box.json

# Dann an AI-Agent (Claude Code, ChatGPT, etc.):
# "Hier ist meine Box-Inventur. Passt diese Konfiguration für Typo3 v13?
#  Welche Anpassungen sind nötig?"

Der AI-Agent sieht in einem strukturierten JSON-Block alle relevanten Box-Daten und kann fundierte Migrations-/Update-Empfehlungen geben — ohne dass DevOps die Daten manuell zusammensuchen muss.

Drei-Phasen-Plan

PhaseInhaltStatus
1Python-CLI Read-Only (cci inventory-Verb mit Rich + JSON)v0.0.1 live
2DeltaChat-Bot-Daemon (dezentrale Box-Steuerung ohne Ports/TLS)Vision (geplant)
3cBOX@ /Monitor (Master-Programm für 1000+ Boxen)Vision (geplant)

Volle Architektur-Entscheidungsfindung + Vision/Mission siehe README und das Whitepaper im fb-data-Workspace-Repo.

Designprinzipien