bollwerk/.github/copilot-instructions.md

30 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# GitHub Copilot Workspace Instructions
## Projekt
**Krisenvorrat Inventar-App** Eine Android-App (Kotlin) zur Verwaltung eines Krisenvorrats-Inventars mit lokaler Datenhaltung und Sharing-Möglichkeit.
## Technischer Stack
| Komponente | Technologie |
|---|---|
| Sprache | Kotlin (aktuell) |
| Plattform | Android (aktuelles API-Level) |
| UI | Jetpack Compose |
| Architektur | MVVM + Clean Architecture |
| Persistenz | Room (SQLite) |
| Build | Gradle (Kotlin DSL) |
| DI | Hilt |
| Async | Kotlin Coroutines + Flow |
| Datenexport/-import | JSON (kotlinx.serialization) |
---
## Git-Operationen
**`git commit` ist autonom erlaubt. `git push` ist das Quality Gate und erfordert User-Bestätigung.**
- `git add` und `git commit` dürfen ohne User-Bestätigung ausgeführt werden.
- `git push` **muss vor der Ausführung kurz angekündigt werden** (geänderte Dateien + Commit-Message anzeigen). Kein explizites „Ja" nötig aber der User muss die Möglichkeit haben, es abzubrechen.
- **Weiterhin verboten ohne explizite User-Bestätigung:** `git reset --hard`, `git rebase`, `git push --force`, `git revert` auf bereits gepushte Commits, Branch-Löschungen.
- Diese Regel gilt für alle Agenten, Prompts und direkte Chat-Interaktionen in diesem Workspace.