cBOX@ /Container Inventur — Read-Only-Tool für lokale Box-Inventur (OS, CC-Suite, Stack, Datenbanken, Server-Apps). Drittes Mitglied der XED /CC-Suite neben ccc + cca. cBOX.at/YOU by XED.dev Tools via Collective Context (CC).
Project description
XED /CCI — cBOX@ /Container Inventur
Read-Only-Tool für lokale Box-Klassen-Inventur. Drittes Mitglied der XED /CC-Suite neben ccc (Control) und cca (App-Installation).
100% Read-Only: cci verändert NIEMALS den Box-Zustand. Strukturelle Garantie via subprocess-Whitelist.
Was es macht (Phase 1, v0.0.9+)
cci typo3 liefert eine vollständige Inventur einer WordOps-LEMP-Ubuntu-LTS-Box
mit TYPO3-Composer + optional Apache Solr — als Rich-Tabelle (Mensch) oder JSON
(AI-Agent-Konsumtion).
Sektionen:
- OS —
/etc/os-release+ Kernel - CC-Suite — installed
xed-ccc/xed-cca/xed-cci-Versionen - Stack —
python3/php/nodeVersionen (wenn installiert) - Databases —
mysql/mariadb/postgresVersionen + Service-Status - Sites — TYPO3-Sites pro Domain mit Pfaden + Versionen + Modus
Box-Klassen
Verb-basierte Subkommandos pro Box-Klasse:
| Verb | Box-Klasse |
|---|---|
cci typo3 |
WordOps-LEMP-Ubuntu-LTS + TYPO3-Composer + ADD-ONs (z.B. Apache Solr) |
Perspektivisch weitere Box-Klassen (cci wordpress, ...) als eigene Top-Level-Verben.
Installation
Empfohlen — auf einer cBOX (LXC) via firstboot.sh:
bash <(curl -s https://cci.xed.dev/firstboot.sh)
Das Script installiert Python-Stack + pipx und holt xed-cci von PyPI.
Manuell — wenn pipx schon vorhanden:
pipx install xed-cci
Verwendung
# Komplette Inventur als Rich-Tabelle
cci typo3
# JSON für AI-Agent-Konsumtion
cci typo3 --format json
# Gefilterte Sektion
cci typo3 --section os
cci typo3 --section sites
cci typo3 --section stack
cci typo3 --section databases
cci typo3 --section cc-suite
# Output-Formate
cci typo3 --format oneliner # 1-Zeile pipe-separated (Chat-Sharing)
cci typo3 --format text -o /tmp/inv.txt # Plain multi-line in Datei
# Box-Klassen-Übersicht
cci --help
# Tool-Version
cci --version
Use-Case: AI-Agent-Konsultation
cci typo3 --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.
v0.0.10 BREAKING-Migration
- Site-Schema neu (JSON-Schema 0.0.2 → 0.0.3):
report["sites"]ist jetztlist[SiteEntry](Webroot-zentriert mit nestedDomainInfo) stattlist[AppInfo]. Multi-Webroot-Mapping (mehrere Domains teilen Webroot mit unterschiedlichen PHP-Versionen) wird natürlich erfasst. - Werkzeug-First-Detection:
wo site list+ Nginx-Config-Parse als Primärquelle (autoritativ). Detection-Hierarchie pro Webroot: vendor-FS → composer.lock → composer.json (OR-Logic auftypo3/cms-*). - Box-Klassen-Pre-Step: Hard-Gate vor Inventur (Ubuntu LTS 22.04/24.04
wo-CLI +nginx-wo-Build). Bei Mismatch Exit 2 mit Diagnostik.
v0.0.9 BREAKING-Migration (unverändert ab v0.0.10)
- Verb-Switch:
cci inventory→cci typo3(kein Deprecation-Alias). - Section-Rename:
--section apps→--section sites.
Siehe CHANGELOG.md für vollständige BREAKING-Liste + Migrations-Mapping.
Roadmap
- Phase 1 (jetzt): Python-CLI mit Box-Klassen-Subkommandos (
cci typo3, perspektivischcci wordpressu.a.), read-only, pipx-Distribution, ccc/cca-Pattern-Symmetrie. - Phase 2 (Vision): DeltaChat-Bot-Daemon für dezentrale Box-Steuerung ohne offene Ports + TLS-Cert-Management.
- Phase 3 (Vision): cBOX@ /Monitor Master-Programm für Inventur- Aggregation über tausende cBOX@ /CUBE-Boxen.
Detaillierte Architektur-Entscheidungsfindung + Vision/Mission kommt zukünftig in das Github Wiki und/oder ins Collective-Context-Forum.
Lizenz
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xed_cci-0.0.10.tar.gz.
File metadata
- Download URL: xed_cci-0.0.10.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2216a6f2f4861177b6881258386375e8c35bfa567a1e3fc57fd10b47db912d4b
|
|
| MD5 |
e20dfed98a35c3cd64bc0a6bfa028844
|
|
| BLAKE2b-256 |
5773555485c51e418e2e72d21ad5a17ba0387208eac20a6ff37728b47af6867b
|
File details
Details for the file xed_cci-0.0.10-py3-none-any.whl.
File metadata
- Download URL: xed_cci-0.0.10-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa881f534c3e27a66b7dbb1ad9b83a3da61ef31771db260aab61ae37fe3d7c2
|
|
| MD5 |
ac87d8dc53f3cd550bdafc231b97bfe8
|
|
| BLAKE2b-256 |
35130d1a06fe1df7166434561b684a806ff3d9f44f02528731d7435876fa2c8a
|