fix: alle --no-verify Referenzen entfernt + pre-commit Nummerierung
- docs/USER.md: --no-verify FAQ-Hinweis durch .copilot-no-tests/.copilot-no-docs ersetzt - docs/ADMIN.md: Hook-pro-Commit-Deaktivierung und Troubleshooting-Eintrag bereinigt - docs/MAINTAINER.md: Escape-Valve Formulierung durch Opt-out Beschreibung ersetzt - copilot-instructions.md (beide): DoD 'oder Bypass bewusst begruendet' entfernt - pre-commit: Check-Nummerierung [1/3]+[2/3] -> [1/4]+[2/4]
This commit is contained in:
parent
fb1a01ba78
commit
d31db9086f
8 changed files with 43 additions and 13 deletions
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
|
|
@ -106,7 +106,7 @@ A task is only done when ALL of the following are true:
|
||||||
- [ ] `history/summary/PROJECT_CONTEXT.md` aktualisiert
|
- [ ] `history/summary/PROJECT_CONTEXT.md` aktualisiert
|
||||||
- [ ] Commit message follows Conventional Commits
|
- [ ] Commit message follows Conventional Commits
|
||||||
- [ ] No dead code, no TODOs left behind (or tracked as issues)
|
- [ ] No dead code, no TODOs left behind (or tracked as issues)
|
||||||
- [ ] pre-commit Quality Gate bestanden (oder Bypass bewusst begründet)
|
- [ ] pre-commit Quality Gate bestanden
|
||||||
|
|
||||||
## Testing Strategy
|
## Testing Strategy
|
||||||
<!-- TODO: Anpassen auf das Projekt -->
|
<!-- TODO: Anpassen auf das Projekt -->
|
||||||
|
|
|
||||||
|
|
@ -73,11 +73,6 @@ cp ~/.git-templates/hooks/pre-commit /path/to/repo/.git/hooks/pre-commit
|
||||||
chmod +x /path/to/repo/.git/hooks/pre-commit
|
chmod +x /path/to/repo/.git/hooks/pre-commit
|
||||||
```
|
```
|
||||||
|
|
||||||
**Hook deaktivieren (pro Commit):**
|
|
||||||
```bash
|
|
||||||
git commit --no-verify -m "..."
|
|
||||||
```
|
|
||||||
|
|
||||||
**Hook dauerhaft deaktivieren (pro Repo):**
|
**Hook dauerhaft deaktivieren (pro Repo):**
|
||||||
```bash
|
```bash
|
||||||
chmod -x .git/hooks/pre-commit
|
chmod -x .git/hooks/pre-commit
|
||||||
|
|
@ -127,5 +122,5 @@ fish_add_path ~/.local/bin
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `copilot-bootstrap.sh: command not found` | `~/.local/bin` nicht im PATH | Siehe "PATH" oben |
|
| `copilot-bootstrap.sh: command not found` | `~/.local/bin` nicht im PATH | Siehe "PATH" oben |
|
||||||
| `git init` ruft Bootstrap nicht auf | Git-Alias nicht gesetzt | `deploy.sh` erneut ausführen |
|
| `git init` ruft Bootstrap nicht auf | Git-Alias nicht gesetzt | `deploy.sh` erneut ausführen |
|
||||||
| Hook schlägt fehl obwohl alles ok | Falsch-positiver Match | `git commit --no-verify` |
|
| Hook schlägt fehl obwohl alles ok | Falsch-positiver Match | `.copilot-no-tests` oder `.copilot-no-docs` anlegen; oder Hook-Script prüfen |
|
||||||
| Hook nicht aktiv nach `git clone` | Hooks werden bei `clone` nicht kopiert | `copilot-bootstrap.sh` im geklonten Repo ausführen |
|
| Hook nicht aktiv nach `git clone` | Hooks werden bei `clone` nicht kopiert | `copilot-bootstrap.sh` im geklonten Repo ausführen |
|
||||||
|
|
|
||||||
|
|
@ -121,4 +121,4 @@ Dateien unter `git-templates/` bearbeiten → `deploy.sh` ausführen → neue Re
|
||||||
| 3 Zielgruppen-Docs (USER/ADMIN/MAINTAINER) | Klare Trennung: Nutzer ≠ Ops ≠ Dev; jede Gruppe findet ihren Kontext direkt |
|
| 3 Zielgruppen-Docs (USER/ADMIN/MAINTAINER) | Klare Trennung: Nutzer ≠ Ops ≠ Dev; jede Gruppe findet ihren Kontext direkt |
|
||||||
| `data/` gitignored, Ordner-Struktur tracked | Persistente Daten gehören nie ins Git; Struktur als Konvention dokumentiert |
|
| `data/` gitignored, Ordner-Struktur tracked | Persistente Daten gehören nie ins Git; Struktur als Konvention dokumentiert |
|
||||||
| `history/prompts/` committed | Vollständige Agent-History bleibt im Repo erhalten; ermöglicht lückenlose Nachvollziehbarkeit |
|
| `history/prompts/` committed | Vollständige Agent-History bleibt im Repo erhalten; ermöglicht lückenlose Nachvollziehbarkeit |
|
||||||
| pre-commit Hook als Quality Gate | Automatisches Netz verhindert dass Tests/Doku vergessen werden; `--no-verify` bleibt als bewusstes Escape-Valve |
|
| pre-commit Hook als Quality Gate | Automatisches Netz verhindert dass Tests/Doku vergessen werden; Opt-outs via `.copilot-no-tests` / `.copilot-no-docs` für Repos ohne Framework |
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ Das deploy-Skript wurde noch nicht auf diesem System ausgeführt. Schritt 1+2 wi
|
||||||
Der Hook hat Tests oder Dokumentation vermisst. Optionen:
|
Der Hook hat Tests oder Dokumentation vermisst. Optionen:
|
||||||
- Tests schreiben: Copilot Chat → `/write-tests`
|
- Tests schreiben: Copilot Chat → `/write-tests`
|
||||||
- Dokumentation aktualisieren: `docs/USER.md`, `docs/ADMIN.md` oder `docs/MAINTAINER.md`
|
- Dokumentation aktualisieren: `docs/USER.md`, `docs/ADMIN.md` oder `docs/MAINTAINER.md`
|
||||||
- Bewusst überspringen: `git commit --no-verify` (bitte sparsam verwenden)
|
- Tests/Docs opt-out: `.copilot-no-tests` oder `.copilot-no-docs` im Repo-Root anlegen
|
||||||
|
|
||||||
**Ich will die Templates aktualisieren**
|
**Ich will die Templates aktualisieren**
|
||||||
Im `rd13_copilot_setup`-Repo die Dateien in `git-templates/` ändern, committen, dann `deploy.sh` erneut ausführen.
|
Im `rd13_copilot_setup`-Repo die Dateien in `git-templates/` ändern, committen, dann `deploy.sh` erneut ausführen.
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ A task is only done when ALL of the following are true:
|
||||||
- [ ] `history/summary/PROJECT_CONTEXT.md` aktualisiert
|
- [ ] `history/summary/PROJECT_CONTEXT.md` aktualisiert
|
||||||
- [ ] Commit message follows Conventional Commits
|
- [ ] Commit message follows Conventional Commits
|
||||||
- [ ] No dead code, no TODOs left behind (or tracked as issues)
|
- [ ] No dead code, no TODOs left behind (or tracked as issues)
|
||||||
- [ ] pre-commit Quality Gate bestanden (oder Bypass bewusst begründet)
|
- [ ] pre-commit Quality Gate bestanden
|
||||||
|
|
||||||
## Testing Strategy
|
## Testing Strategy
|
||||||
<!-- TODO: Anpassen auf das Projekt -->
|
<!-- TODO: Anpassen auf das Projekt -->
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ TESTS_CHANGED=$(printf '%s\n' "$STAGED" \
|
||||||
|
|
||||||
if [ -z "$TESTS_CHANGED" ] && [ ! -f ".copilot-no-tests" ]; then
|
if [ -z "$TESTS_CHANGED" ] && [ ! -f ".copilot-no-tests" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "✗ AGENT QUALITY GATE [1/3]: Keine Test-Dateien geändert"
|
echo "✗ AGENT QUALITY GATE [1/4]: Keine Test-Dateien geändert"
|
||||||
echo " Code-Änderungen ohne Test-Updates:"
|
echo " Code-Änderungen ohne Test-Updates:"
|
||||||
printf '%s\n' "$CODE_CHANGED" | sed 's/^/ /'
|
printf '%s\n' "$CODE_CHANGED" | sed 's/^/ /'
|
||||||
echo ""
|
echo ""
|
||||||
|
|
@ -52,7 +52,7 @@ if [ -d "docs" ] && [ ! -f ".copilot-no-docs" ]; then
|
||||||
|
|
||||||
if [ -z "$DOCS_CHANGED" ]; then
|
if [ -z "$DOCS_CHANGED" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "✗ AGENT QUALITY GATE [2/3]: Keine Dokumentation aktualisiert"
|
echo "✗ AGENT QUALITY GATE [2/4]: Keine Dokumentation aktualisiert"
|
||||||
echo " Bei Code-Änderungen muss mindestens eine dieser Dateien angepasst werden:"
|
echo " Bei Code-Änderungen muss mindestens eine dieser Dateien angepasst werden:"
|
||||||
echo " docs/USER.md – Nutzer-Dokumentation"
|
echo " docs/USER.md – Nutzer-Dokumentation"
|
||||||
echo " docs/ADMIN.md – Administrator-Dokumentation"
|
echo " docs/ADMIN.md – Administrator-Dokumentation"
|
||||||
|
|
|
||||||
|
|
@ -205,3 +205,37 @@ fix: --no-verify komplett entfernt aus pre-commit + .copilot-no-tests
|
||||||
|
|
||||||
---
|
---
|
||||||
*Git-Block automatisch generiert durch post-commit hook.*
|
*Git-Block automatisch generiert durch post-commit hook.*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Git Commit
|
||||||
|
|
||||||
|
| Feld | Wert |
|
||||||
|
|---|---|
|
||||||
|
| Datum | 2026-06-02 11:13:34 |
|
||||||
|
| Branch | `master` |
|
||||||
|
| Commit | `fb1a01ba78da267bebbf6d52f98304b64f58b156` |
|
||||||
|
| Autor | Conrad Schulz <conradschulz@me.com> |
|
||||||
|
|
||||||
|
### Commit Message
|
||||||
|
|
||||||
|
```
|
||||||
|
fix: review-findings behoben (7 Punkte)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Geänderte Dateien
|
||||||
|
|
||||||
|
| Status | Datei |
|
||||||
|
|---|---|
|
||||||
|
| A | .copilot-no-docs |
|
||||||
|
| M | .github/copilot-instructions.md |
|
||||||
|
| M | git-templates/.github/copilot-instructions.md |
|
||||||
|
| M | git-templates/hooks/pre-commit |
|
||||||
|
| M | history/prompts/2026-06-02_copilot-update-auto-deploy_session.md |
|
||||||
|
| D | history/prompts/2026-06-02_master_55fee83.md |
|
||||||
|
| M | history/summary/PROJECT_CONTEXT.md |
|
||||||
|
| M | prompts/history.prompt.md |
|
||||||
|
| M | scripts/copilot-bootstrap.sh |
|
||||||
|
|
||||||
|
---
|
||||||
|
*Git-Block automatisch generiert durch post-commit hook.*
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
## Aktueller Projektstatus
|
## Aktueller Projektstatus
|
||||||
|
|
||||||
**Letzte Aktualisierung:** 2026-06-02 – Review-Findings behoben (7 Punkte)
|
**Letzte Aktualisierung:** 2026-06-02 – Konsistenzprüfung: alle --no-verify Referenzen entfernt
|
||||||
**Phase:** Produktion / stabil – wird bei Bedarf erweitert
|
**Phase:** Produktion / stabil – wird bei Bedarf erweitert
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
@ -29,6 +29,7 @@ Quality Gate aus.
|
||||||
|
|
||||||
| Datum | Aufgabe | Ergebnis | Entscheidungen |
|
| Datum | Aufgabe | Ergebnis | Entscheidungen |
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|
| 2026-06-02 | Konsistenzprüfung: alle --no-verify Referenzen entfernt | `docs/USER.md`, `docs/ADMIN.md`, `docs/MAINTAINER.md`, beide `copilot-instructions.md`, `pre-commit` Check-Nummerierung `[1/3]→[1/4]` | Opt-outs (.copilot-no-tests/.copilot-no-docs) als Ersatz für --no-verify in Doku |
|
||||||
| 2026-06-02 | Review-Findings behoben (7 Punkte) | `git-templates/hooks/pre-commit`, `.copilot-no-docs`, beide `copilot-instructions.md`, `prompts/history.prompt.md`, `scripts/copilot-bootstrap.sh` | `.copilot-no-docs` Opt-out analog zu `.copilot-no-tests`; history.prompt.md Append-Verhalten korrekt dokumentiert |
|
| 2026-06-02 | Review-Findings behoben (7 Punkte) | `git-templates/hooks/pre-commit`, `.copilot-no-docs`, beide `copilot-instructions.md`, `prompts/history.prompt.md`, `scripts/copilot-bootstrap.sh` | `.copilot-no-docs` Opt-out analog zu `.copilot-no-tests`; history.prompt.md Append-Verhalten korrekt dokumentiert |
|
||||||
| 2026-06-02 | copilot-update.sh + git alias + post-merge Hook | `scripts/copilot-update.sh`, `scripts/copilot-update.fish`, `git-templates/hooks/post-merge` | SSH+HTTP-Fallback; opt-in Update-Hook; copilot-instructions.md nur bei TODO überschreiben |
|
| 2026-06-02 | copilot-update.sh + git alias + post-merge Hook | `scripts/copilot-update.sh`, `scripts/copilot-update.fish`, `git-templates/hooks/post-merge` | SSH+HTTP-Fallback; opt-in Update-Hook; copilot-instructions.md nur bei TODO überschreiben |
|
||||||
| 2026-05-31 | Bug fix: mkdir -p .git/hooks + eigenes Repo bootstrapped | `e1f912f` | – |
|
| 2026-05-31 | Bug fix: mkdir -p .git/hooks + eigenes Repo bootstrapped | `e1f912f` | – |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue