Machine Paths
Kanonische Pfadvariablen und maschinenspezifische Auflösung (post-Dropbox)
Physical Layout (mac-studio, post-Dropbox)
All ai-* directories are real directories directly at $HOME — no Dropbox, no encapsulation wrappers, no double-traversal for Finder or CLI tools:
~/
ai-platform/ (real directory)
ai-agents/ (real directory)
ai-scholarly/ (real directory)
ai-publication/ (real directory)
ai-privat/ (real directory)
ai-syncthing/ (real directory)
Kanonische Variablen
Alle Pfade werden zur Laufzeit von lib/env.py aufgelöst, basierend auf machines/*.json.
| Variable | Beschreibung | Status |
|---|---|---|
PLATFORM_DIR |
Pfad zu ai-platform/ auf dieser Maschine |
aktiv |
HOME_DIR |
Benutzer-Home-Verzeichnis | aktiv |
VOLUMES |
Maschinenspezifische Volume-Pfade | aktiv |
platform_env.packages |
Registry aller ai-*-Pakete, indiziert nach Name |
aktiv |
platform_env.package_dir(name) |
Root-Verzeichnis eines Pakets per Name | aktiv |
platform_env.package_data(name) |
data/-Unterverzeichnis eines Pakets |
aktiv |
PROJECT_BASE |
Legacy: Wurzel von 2026project/ |
deprecated |
DROPBOX_ROOT |
Legacy: Dropbox-Synchronisationsverzeichnis | entfernt (mac-studio) |
PROJECT_BASE und DROPBOX_ROOT existieren nur noch für Backward-Kompatibilität auf anderen Maschinen (mac-m4, mac-mini, mac-erster). Auf mac-studio defaulten sie auf $HOME. Neuer Code darf sie nicht verwenden. Nutze stattdessen platform_env.package_dir(name) oder Path.home() / "ai-agents" / ….
Neue Domain-Variablen
| Variable | Wert (mac-studio) | Beschreibung |
|---|---|---|
AGENTS_DIR |
~/ai-agents |
40 Werkzeugpakete (7 Kategorien) |
SCHOLARLY_DIR |
~/ai-scholarly |
Forschungsprojekte und Datensätze |
PUBLICATION_DIR |
~/ai-publication |
arXiv-Register |
PRIVAT_DIR |
~/ai-privat |
Persönliche Werkzeuge |
from pathlib import Path
AGENTS_DIR = Path.home() / "ai-agents" # → ai-mac-studio/ai-agents
SCHOLARLY_DIR = Path.home() / "ai-scholarly" # → ai-mac-studio/ai-scholarly
PUBLICATION_DIR = Path.home() / "ai-publication" # → ai-mac-studio/ai-publication
PRIVAT_DIR = Path.home() / "ai-privat" # → ai-mac-studio/ai-privatPackage Registry
lib/env.py baut beim Start eine Registry aller ai-*-Pakete:
from lib.env import platform_env
# Pfad zu einem Paket abfragen
viewer_dir = platform_env.package_dir("ai-viewer")
# → /Users/friedrichstr/ai-mac-studio/ai-agents/document-processing/ai-viewer
# Datenverzeichnis abfragen
voicememo_data = platform_env.package_data("ai-voicememo")
# → /Users/friedrichstr/ai-mac-studio/ai-agents/management/ai-voicememo/data
# Prüfen ob Paket vorhanden
if platform_env.has_package("ai-scholar"):
...Die Registry indiziert Pakete aus: - ~/ai-mac-studio/agents/{infrastructure,document-processing,communication,media,apple,data-ml,management}/ai-* - ~/ai-mac-studio/scholarly/{research,projects}/ai-* - ~/ai-mac-studio/platform/ (Top-Level)
Externe Datenpfade (PDAI-1)
Bulk-Daten (~46 GB) wurden auf /Volumes/PDAI-1/2026projectdata/ ausgelagert. Die Originalpfade sind Symlinks, transparent für alle Zugriffe:
| Lokaler Pfad (Symlink) | Ziel auf PDAI-1 |
|---|---|
~/ai-mac-studio/scholarly/research |
/Volumes/PDAI-1/2026projectdata/ai-scholarly/research |
~/ai-mac-studio/scholarly/ai-sundial3d |
/Volumes/PDAI-1/2026projectdata/ai-scholarly/ai-sundial3d |
~/ai-mac-studio/scholarly/projects |
/Volumes/PDAI-1/2026projectdata/ai-scholarly/projects |
~/ai-mac-studio/scholarly/ai-applevoicerecorder |
/Volumes/PDAI-1/2026projectdata/ai-scholarly/ai-applevoicerecorder |
~/ai-mac-studio/agents/communication/ai-mail |
/Volumes/PDAI-1/2026projectdata/ai-agents/communication/ai-mail |
~/ai-mac-studio/agents/document-processing/ai-ocr-dev |
/Volumes/PDAI-1/2026projectdata/ai-agents/document-processing/ai-ocr-dev |
~/ai-mac-studio/agents/apple/ai-apple-documents/{ai-apple,application_memo,memo} |
/Volumes/PDAI-1/2026projectdata/ai-apple-documents/… |
~/ai-mac-studio/agents/apple/ai-apple/memo |
/Volumes/PDAI-1/2026projectdata/ai-apple/memo |
~/ai-mac-studio/agents/data-ml/ai-exo/exo_source |
/Volumes/PDAI-1/2026projectdata/ai-exo/exo_source |
~/ai-mac-studio/agents/management/ai-eventjournal/archive |
/Volumes/PDAI-1/2026projectdata/ai-eventjournal/archive |
| PDAI-Kollektionen | /Volumes/PDAI-1/pdai-collections/ |
Pfade je Maschine
mac-studio
Primärserver, NFS-Export, Cluster-Manager. M2 Ultra, 192 GB. Kein Dropbox. Keine Symlinks am Home-Root.
| Variable | Absoluter Pfad |
|---|---|
PLATFORM_DIR |
/Users/friedrichstr/ai-platform |
HOME_DIR |
/Users/friedrichstr |
AGENTS_DIR |
/Users/friedrichstr/ai-agents |
SCHOLARLY_DIR |
/Users/friedrichstr/ai-scholarly |
VOLUMES.pdf_sources |
/Volumes/2025Berlin, /Volumes/Repository |
VOLUMES.pdf_target |
/Volumes/2025Berlin/pdf-Sammlungen |
VOLUMES.external_pdai |
/Volumes/PDAI-1 |
| Speichertyp | internal (kein Dropbox) |
| Rollen | nfs-server, service-host, cluster-manager |
mac-m4
Mac Mini M4 — unabhängiger Knoten mit golden4T-Laufwerk. M4, 16 GB.
| Variable | Absoluter Pfad |
|---|---|
PROJECT_BASE |
/Volumes/2026project |
PLATFORM_DIR |
/Volumes/2026project/ai-platform |
HOME_DIR |
/Volumes/golden4T/friedrichstr |
AGENTS_DIR |
/Volumes/golden4T/friedrichstr/ai-agents |
| Speichertyp | external-drive |
| Rollen | independent |
mac-mini
Mac Mini (älter) — NFS-Client, Cluster-Satellit. M1, 16 GB.
| Variable | Absoluter Pfad |
|---|---|
PROJECT_BASE |
/Volumes/2026project |
PLATFORM_DIR |
/Volumes/2026project/ai-platform |
HOME_DIR |
/Users/friedrichstr |
| Speichertyp | nfs-mount |
| NFS-Quelle | 100.102.189.23:/Users/friedrichstr/ai-mac-studio |
| Rollen | nfs-client, cluster-satellite |
NFS-Clients (mac-mini, openscience) sehen die Encapsulation-Symlinks transparent — ~/ai-mac-studio/agents/ erscheint als normales Verzeichnis. Die Bulk-Data-Symlinks nach PDAI-1 funktionieren nur, wenn /Volumes/PDAI-1 auf dem jeweiligen Client gemountet ist.
openscience
OpenScience Technology — NFS-Client, Cluster-Dashboard. M1, 16 GB.
| Variable | Absoluter Pfad |
|---|---|
PROJECT_BASE |
/Volumes/mac-studio-2026project |
PLATFORM_DIR |
/Volumes/mac-studio-2026project/ai-platform |
| Speichertyp | nfs-mount |
python3 ~/ai-mac-studio/agents/infrastructure/ai-machine-registry/register.pyErkennt Pfade automatisch und erstellt die JSON-Konfiguration.
AI Platform Pfade (portabel)
| Item | Portabler Pfad |
|---|---|
| Root | ~/ai-mac-studio/platform/ |
| Routes Config | ~/ai-mac-studio/platform/config/routes.yaml |
| Repositories Config | ~/ai-mac-studio/platform/config/repositories.yaml |
| Router Server | ~/ai-mac-studio/platform/router/server.py |
| Docs Server | ~/ai-mac-studio/platform/docs/server.py |
| Machine Configs | ~/ai-mac-studio/platform/machines/*.json |
| Port Registry | ~/ai-mac-studio/platform/projects/registry.json |
LaunchAgent-Dateien
Alle LaunchAgents zeigen seit April 2026 direkt auf ~/ai-mac-studio/… — kein Compat-Symlink mehr über 2026project/.
| Service | Plist-Datei | Pfad im Plist |
|---|---|---|
| AI Platform Router | com.ai-platform.router.plist |
~/ai-mac-studio/platform/router/server.py |
| AI Platform Docs | com.ai-platform.docs.plist |
~/ai-mac-studio/platform/docs/ |
| AI Viewer | com.ai-platform.viewer.plist |
~/ai-mac-studio/ai-agents/document-processing/ai-viewer |
| AI VoiceMemo | com.ai-voicememo.dashboard.plist |
~/ai-mac-studio/ai-agents/management/ai-voicememo |
| AI Cluster Listener | com.ai-cluster.listener.plist |
~/ai-mac-studio/ai-agents/infrastructure/ai-cluster |
| AI Steiger | com.ai-steiger.plist |
~/ai-mac-studio/ai-agents/infrastructure/ai-steiger |
| Ngrok Tunnel | com.inqua.ngrok.tunnel.plist |
Ngrok-Binary |
Systemkonfiguration
| Item | Pfad |
|---|---|
| Ngrok Config | ~/Library/Application Support/ngrok/ngrok.yml |
| LaunchAgents | ~/Library/LaunchAgents/ |
| MCP Config | ~/.cursor/mcp.json |
| Python Environment | uv per Paket (.venv/ im Paket-Root) |
| Shared Skills | ~/.cursor/skills/ |
Speichertypen
| Typ | Maschine | Dropbox | Encapsulation |
|---|---|---|---|
internal |
mac-studio | Nein | ~/ai-mac-studio/ |
external-drive |
mac-m4 | Nein | /Volumes/2026project/ |
nfs-mount |
mac-mini, openscience | Nein | NFS-Export vom mac-studio |