2c85df3499
Stefan ist unterwegs, ADB nicht moeglich. Dieses Script ist die andere
Haelfte des Crash-Reportings (commit 21a315c hat die App-Seite + Bridge-
Endpoint gebaut):
Nutzung:
tools/fetch-app-logs.sh # 200 letzte Eintraege
tools/fetch-app-logs.sh --limit 50
tools/fetch-app-logs.sh --watch # alle 5s pollen + Diff ausgeben
tools/fetch-app-logs.sh --clear # Log auf VM nach Abholen leeren
Liest $ARIA_DIAG_URL aus .claude/aria-vm.env, ruft GET /api/app-log.
Speichert komplette JSON-Response in .aria-debug/app-log-<ts>.json
(gitignored). Stdout zeigt kompakt: Uhrzeit, Level, Scope, Message,
erste 8 Stack-Frames pro Eintrag.
.gitignore: .aria-debug/ ist komplett ausgeschlossen (Crashes
koennen private Daten enthalten).
tools/README.md: kurze Doku des Workflows.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
75 lines
2.7 KiB
Plaintext
75 lines
2.7 KiB
Plaintext
# ════════════════════════════════════════════════
|
|
# ARIA — .gitignore
|
|
# Faustregel: Code ja, Daten nein.
|
|
# ════════════════════════════════════════════════
|
|
|
|
# ── Secrets & Konfiguration ─────────────────────
|
|
# Alle .env Dateien ausschließen — außer .example Vorlagen
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!.env.*.example
|
|
|
|
# Lokale Dev-Maschinen-Settings fuer Claude Code (z.B. wie erreicht die
|
|
# Dev-Maschine die aria-wohnung-VM). .example ist Repo-Inhalt, echte
|
|
# Werte pro Maschine selbst pflegen.
|
|
.claude/*.env
|
|
!.claude/*.env.example
|
|
|
|
# brain-import/ ist nur ein Drop-Folder: Stefan packt MDs rein wenn er
|
|
# was migrieren will, klickt im Diagnostic „Migration aus brain-import/",
|
|
# fertig. Die MDs gehoeren NICHT ins Repo (koennen private Daten enthalten,
|
|
# sind eh ephemeral). Verzeichnis selbst bleibt im Git via .gitkeep,
|
|
# README erklaert den Zweck.
|
|
aria-data/brain-import/*
|
|
!aria-data/brain-import/.gitkeep
|
|
!aria-data/brain-import/README.md
|
|
|
|
# .aria-debug/ — App-Crash-Logs die tools/fetch-app-logs.sh hier ablegt.
|
|
# Komplett lokal, enthaelt potentiell private Stacktraces / Daten.
|
|
.aria-debug/
|
|
|
|
# ── ARIAs Gedächtnis (Vector-DB, Skills, Models) ──
|
|
# Backup via Diagnostic → Gehirn-Export (tar.gz), nicht via Git.
|
|
aria-data/brain/data/
|
|
aria-data/brain/qdrant/
|
|
|
|
# Diagnostic-State (aktive Session etc.)
|
|
aria-data/config/diag-state/
|
|
|
|
# ── Node / npm ──────────────────────────────────
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# ── Android Build ───────────────────────────────
|
|
android/build/
|
|
android/.gradle/
|
|
android/app/build/
|
|
android/android/.gradle/
|
|
android/android/app/build/
|
|
android/android/local.properties
|
|
android/local.properties
|
|
android/package-lock.json
|
|
*.apk
|
|
*.aab
|
|
rvs/updates/*.apk
|
|
|
|
# ── Tauri / Desktop Build ───────────────────────
|
|
desktop/src-tauri/target/
|
|
desktop/dist/
|
|
|
|
# ── Python ──────────────────────────────────────
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
|
|
# ── macOS ────────────────────────────────────────
|
|
.DS_Store
|
|
|
|
# ── Editor ──────────────────────────────────────
|
|
.vscode/settings.json
|
|
.idea/
|
|
*.swp
|
|
*.swo |