chore: save session state – feature/phase-1 ready to implement

- Update session-context.md with exact resume point for next session
- Update settings.local.json with broader git permissions
- feature/grundstruktur merged to develop
- PAT authentication configured

Version: 0.2.3
This commit is contained in:
Faultier314
2026-04-05 23:24:21 +02:00
parent 5d9d517d18
commit b58edfc6eb
23 changed files with 838 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
# Session-Kontext
> Claude liest diese Datei zu Beginn jeder Session.
> Claude aktualisiert sie am Ende jeder Session (Version, Branch, offene Arbeit).
> Claude aktualisiert sie am Ende jeder Session.
---
@@ -9,21 +9,43 @@
| Feld | Wert |
|---|---|
| **Version** | 0.2.1 |
| **Aktiver Branch** | feature/grundstruktur |
| **Version** | 0.2.3 |
| **Aktiver Branch** | feature/phase-1 |
| **Basis-Branch** | develop |
| **Zuletzt geändert** | 2026-04-05 |
## Offene Arbeit
## Offene Arbeit nächste Session startet hier
- [ ] Techstack festlegen
- [ ] feature/grundstruktur → develop mergen (wenn Techstack entschieden)
Phase 1 implementieren. Reihenfolge:
## Zuletzt abgeschlossen
1. **Backend** (Agent-Tool mit vollständiger Spec) alle Dateien unter `backend/`
2. **Frontend** (Agent-Tool) alle Dateien unter `frontend/`
3. **Docker** `docker-compose.yml`, `docker-compose.dev.yml`, `.env.example`
4. Docs aktualisieren, VERSION auf 1.0.0-alpha bumpen, commit + push
- Repo-Infrastruktur aufgebaut (CLAUDE.md, Standards, Branching, README, PR-Template)
- .gitattributes, bump.sh, new-feature.sh, session-context.md eingeführt
- Branch Protection + Squash-Merge serverseitig konfiguriert
### Backend-Spec (fertig ausgearbeitet, direkt verwenden):
- FastAPI + SQLAlchemy async + Alembic + PostgreSQL (asyncpg)
- Models: User, Tenant, UserTenant, PlantFamily, Plant, PlantCompatibility, Bed, BedPlanting
- Rollen: READ_ONLY / READ_WRITE / TENANT_ADMIN + Superadmin-Flag auf User
- JWT: Access 30min, Refresh 7 Tage
- Tenant-Kontext via Header `X-Tenant-ID`
- Seed-Daten: ~20 globale Pflanzen + Kompatibilitäten (fertig geplant, siehe Memory)
- Endpoints: /api/v1/auth/*, /api/v1/plants/*, /api/v1/plant-families, /api/v1/beds/*, /api/v1/beds/{id}/plantings, /api/v1/plantings/{id}
### Frontend-Spec:
- Vue 3 + Vite + PrimeVue + Pinia + Vue Router + Axios
- Views: Login, Beete (DataTable), Beet-Detail, Pflanzenbibliothek
- Sprache: Deutsch
- Static build → Nginx
## Git-Status
- `feature/grundstruktur` → in `develop` gemergt ✓
- `feature/phase-1` → erstellt und gepusht ✓
- Git-Auth: PAT im Credential Store hinterlegt ✓
## Wichtiger Hinweis für nächste Session
`.claude/settings.local.json` hat noch spezifische Permissions bei git push ggf. Approval nötig.
Zu Beginn prüfen und ggf. auf breite Patterns updaten (Bash(git *), Bash(bash .claude/scripts/*)).
## Schnellreferenz
@@ -36,7 +58,4 @@ bash .claude/scripts/new-feature.sh feature <name>
# Aktueller Branch
git branch --show-current
# Status
git status
```

View File

@@ -8,7 +8,8 @@
"Bash(git -C c:/Projekte/Home/gartenmanager credential fill)",
"Bash(python3 -c \"import sys,json; r=json.load\\(sys.stdin\\); print\\('allow_squash_merge:', r.get\\('allow_squash_merge'\\), '| default_merge_style:', r.get\\('default_merge_style'\\)\\)\")",
"Bash(bash .claude/scripts/bump.sh patch \"Add autonomous branch-switching rule to workflow docs\")",
"Bash(bash .claude/scripts/bump.sh patch \"Update project plan: finalize phases, techstack and architecture decisions\")"
"Bash(bash .claude/scripts/bump.sh patch \"Update project plan: finalize phases, techstack and architecture decisions\")",
"Bash(git -C c:/Projekte/Home/gartenmanager credential approve)"
]
}
}