feat: umfangreiches UI+API-Polish (v1.1.36–1.1.42)
Backend: - Audit-Log: Search-Endpoint mit ILIKE-Filter (actor/action/subject/date) - NTP: /ntp/status via chronyc tracking (Stratum, Offset, Quelle) - System: /service-restart mit Allowlist (haproxy/squid/unbound/chrony/scheduler) - Domain-Response-Headers + Rate-Limit (Migration 0024) - Join-Tokens (Migration 0025), Cluster-mTLS, Aggregator-Fan-Out - apt-Service für Update-Banner (apt-get update + Versionsprüfung) - Backup-Retry mit exponential backoff (retry_apt 3×) - publish.sh fail-fast + cleanup-old.sh (max 10 Versionen) Frontend: - Audit-Log-Page (/audit) mit Filter + Pagination - ErrorBoundary an React-Root + Vite build-target festgenagelt (iOS 15+) - Storage-Schema-Stamp: auto-wipe bei Versions-Mismatch (blank-page-Fix) - EmptyState-Komponente überall ausgerollt - SSL: Aggregate-Karte (total/expiring/expired/errors) - Backups: Aggregate-Karte (letzter Backup/Größe/Fehlschläge 24h) + Backup-Now - NTP: Sync-Status-Karte (chronyc tracking live) - Domains: Backend-UP/DOWN-Chip aus HAProxy-Stats - Backends: HAProxy-Status-Spalte (UP/DEGRADED/DOWN) - Settings: Service-Neustart-Karte (haproxy/squid/unbound/chrony/scheduler) - Settings: Upgrade-Status-Card, Wartungsmodus, Auto-Update, Retention - Dashboard: Recent-Alerts, Cluster-Health, License-Chip, Onboarding-Hint - System-Regeln im Firewall als eigener Tab Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
37
CLAUDE.md
37
CLAUDE.md
@@ -27,25 +27,36 @@ Vor jeder Entscheidung über Feldwerte, API-Shapes, Dateinamen, Funktions-Signat
|
||||
|
||||
---
|
||||
|
||||
## Arbeitsweise — Senior Engineer + MCP (PFLICHT)
|
||||
## MCP-Tools (Architect Center)
|
||||
|
||||
### Session-Bindung
|
||||
Sessions: `EdgeGuardNative-1` · project_id **8** · `$ARCHITECT_SESSION` im Env · MCP-Server `architect` verfügbar
|
||||
|
||||
### Code-Suche — AUTOMATISCH nutzen
|
||||
|
||||
Bei JEDER Code-bezogenen Frage **zuerst** `ac_search_code` aufrufen:
|
||||
**project_id: 8** · Session: `$ARCHITECT_SESSION` · MCP-Server: `architect`
|
||||
|
||||
### Beim Session-Start (PFLICHT)
|
||||
```
|
||||
ac_search_code(query="<stichworte>", project_id=8, session_name=$(printenv ARCHITECT_SESSION), limit=6)
|
||||
ac_recall(query="<aktuelle Aufgabe>", project_id=8, session_name="$(printenv ARCHITECT_SESSION)")
|
||||
ac_search_code(query="<Stichworte>", project_id=8, session_name="$(printenv ARCHITECT_SESSION)", limit=6)
|
||||
```
|
||||
|
||||
**Referenzen:**
|
||||
- Backend-Pattern → `project_id=6` (mail-gateway)
|
||||
- UI/Bootstrap-Pattern → `project_id=5` (netcell-webpanel)
|
||||
- Feature-Scope (was alt-EG konnte) → `project_id=3` (proxy-lb-waf)
|
||||
### Alle Tools
|
||||
|
||||
**Verboten:** direkt `grep` oder `read` ohne vorheriges `ac_search_code` bei Code-Fragen.
|
||||
| Tool | Wann verwenden |
|
||||
|------|----------------|
|
||||
| `ac_recall(query, project_id=8, session_name)` | Session-Start — relevante Memories laden |
|
||||
| `ac_search_code(query, project_id=8, session_name, limit?)` | Vor JEDEM neuen Code schreiben |
|
||||
| `ac_search_code_global(query, session_name, limit?)` | Suche über alle Projekte hinweg |
|
||||
| `ac_remember(text, category, project_id=8, session_name)` | Jede neue Erkenntnis / Entscheidung |
|
||||
| `ac_create_bug(title, description?, priority?, session_name?)` | Bug gefunden |
|
||||
| `ac_create_feature(title, description?, priority?, session_name?)` | Feature-Idee |
|
||||
| `ac_create_task(title, description?, priority?, status?, project_id?)` | Follow-up Arbeit |
|
||||
| `ac_update_task(id, status?, priority?, title?)` | Task-Status ändern |
|
||||
| `ac_add_decision(title, content, category?, project_id?)` | Architekturentscheidung |
|
||||
| `ac_notify(message, title?, type?)` | Status-Update senden |
|
||||
| `ac_get_project(session_name)` | project_id für Session ermitteln |
|
||||
| `ac_research(query, context?)` | Doku / CVE / Libraries recherchieren |
|
||||
| `ac_review(code, language?, focus?)` | Code-Review nach Fertigstellung |
|
||||
| `ac_analyze(text, question?)` | Logs / Outputs analysieren |
|
||||
|
||||
**`ac_remember` Kategorien:** `decision` · `pattern` · `bugfix` · `convention` · `architecture` · `general`
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user