Commit graph

17 commits

Author SHA1 Message Date
Conrad Schulz
647c0f8b9e docs(instructions): enforce shell-syntax rule to stop POSIX-in-fish errors
Some checks are pending
CI / Lint & self-test (push) Waiting to run
Passives Default-Shell-Feld reichte nicht: Agent tippte weiter POSIX (VAR=$(...)) in eine fish-Shell. Neue MANDATORY-Sektion 'Terminal-Syntax' in der Framework-Sektion beider copilot-instructions.md mit exaktem Fehlerbild und deterministischem Ausweg (nicht-triviale Logik in .sh mit Shebang, bash datei.sh). Memory-Notiz shell-syntax.md ergaenzt. History + PROJECT_CONTEXT aktualisiert.
2026-06-18 14:07:32 +02:00
Conrad Schulz
5d0194a7b8 feat(bootstrap): auto-detect dev shell into copilot-instructions
Some checks are pending
CI / Lint & self-test (push) Waiting to run
Neues Default-Shell-Feld in der Projekt-Sektion (nach ---), damit der Agent die richtige Shell-Syntax waehlt. Bootstrap erkennt $SHELL (Fallback fish, Whitelist gegen sed-Injection) und schreibt es in frisch erzeugte copilot-instructions.md; manuell aenderbar und ueberlebt copilot-update. selftest +3 Faelle (sh & fish), beide MAINTAINER.md dokumentiert.
2026-06-18 10:05:46 +02:00
Conrad Schulz
2b20a985a5 refactor(history): move agent history under docs/history + auto-migration
Konvention geaendert: history/ -> docs/history/ (prompts + summary/PROJECT_CONTEXT.md).
Harter Cutover im pre-commit Hook (Check 4 + Check 6 erwarten docs/history/).
Bestehende Repos werden beim naechsten 'git copilot-update' automatisch per git mv migriert (Fallback mv; bei Konflikt Warnung statt Abbruch).
Angepasst: pre-commit Hook, alle 6 Skripte + selftest, beide copilot-instructions.md, settings.json Session-Protokoll, history.prompt.md, README, USER/ADMIN/MAINTAINER (+ ADMIN Migrationsabschnitt). git-templates/history -> git-templates/docs/history (git mv). Validiert: shellcheck clean, fish -n clean, selftest PASS, Migrationstest PASS (sh+fish+both-present).
2026-06-10 12:06:35 +02:00
Conrad Schulz
deca872ab2 ci(wp11): shellcheck + fish -n + bootstrap self-test
Neuer GitHub-Actions-Workflow .github/workflows/ci.yml: shellcheck fuer alle POSIX/bash-Skripte und git-Hooks, 'fish -n' fuer alle fish-Skripte, sowie scripts/selftest.sh (Bootstrap-Dry-Run sh+fish gegen isoliertes Fake-HOME mit Assertions). copilot-bootstrap.sh propagiert jetzt ebenfalls *:Zone.Identifier (Paritaet zur fish-Variante). shellcheck-Direktiven fuer bewusste Muster (SC2016 literaler Alias, SC1090 dynamische Config, SC2043 erweiterbare Hook-Schleife). Lokal verifiziert: shellcheck exit 0, selftest beide Varianten PASS.
2026-06-10 10:48:27 +02:00
114bb5b22b fix: copilot-update Leerzeilen-Fix + Bekannte Fallstricke in copilot-instructions + MAINTAINER.md 2026-06-04 09:20:05 +00:00
931ae595b2 docs: copilot-instructions Antwort-Format praezisiert + kein PENDING 2026-06-03 09:48:56 +00:00
411b7b0a29 feat: Check 6 Inhaltspruefung + copilot-instructions Prompt-Format-Pflicht
- pre-commit Hook Check 6: prueft jetzt Datum im Dateinamen + mind. 1 ### Prompt-Eintrag
- .github/copilot-instructions.md: Session END Schritt 2 mit Format-Template + Nachtrag-Warnung
- git-templates/.github/copilot-instructions.md: dasselbe
2026-06-03 09:37:50 +00:00
5f35c90f0d feat: Agent fuehrt /history automatisch vor jedem Commit aus
- copilot-instructions.md (beide): Session END = automatisch, kein expliziter /history-Aufruf noetig
- Agent schreibt session.md + staged history/ selbst vor git commit
2026-06-03 06:26:51 +00:00
d9508f7bf1 refactor: post-commit Git-Block entfernt
- git-templates/hooks/post-commit: no-op (kein automatischer Git-Block mehr)
- Session-Datei: appended Git-Block entfernt, nur Agent-Inhalt bleibt
- Auto-Stub 2026-06-03_master_ca7f52b.md geloescht
- copilot-instructions.md (beide): Suffix-Erklaerung auf Check 6 umgeschrieben
- prompts/history.prompt.md: post-commit Referenz entfernt
- docs/MAINTAINER.md: post-commit Zeile aus Dateistruktur entfernt
- README.md: post-commit Zeile aus Struktur + Tabelle entfernt
- scripts/copilot-update.fish: post-commit nicht mehr kopiert
- scripts/deploy.sh: post-commit nicht mehr installiert
2026-06-03 06:17:20 +00:00
2d318f3654 fix: .copilot-no-session/.copilot-no-docs entfernt + alle 3 Docs aktualisiert
- .copilot-no-session entfernt: Session-Pflicht gilt auch fuer dieses Repo
- .copilot-no-docs entfernt: Doku-Pflicht gilt, README + Docs sollen aktuell bleiben
- copilot-instructions.md (beide): Session END explizit mit Check-6-Hinweis
- docs/ADMIN.md: Opt-out Dateien dokumentiert, Troubleshooting aktualisiert
- docs/USER.md: /check-consistency ergaenzt, Hook-Fehler Optionen aktualisiert
- docs/MAINTAINER.md: Dateistruktur + Designentscheidungen aktuell
2026-06-03 06:07:57 +00:00
a959d76850 feat: requirements engineering + konsistenz-check
- git-templates/docs/requirements/REQUIREMENTS.md: persistentes Requirements-Template
  mit User Stories, ACs, NFRs, Out-of-Scope, Aenderungshistorie
- prompts/check-consistency.prompt.md: neuer /check-consistency Prompt
  (Code vs. Requirements vs. Docs, findet Widersprueche vor dem Commit)
- git-templates/hooks/pre-commit: Check 5 hinzugefuegt
  (blockiert wenn REQUIREMENTS.md unstaged Aenderungen hat)
- prompts/requirements.prompt.md: liest und schreibt jetzt docs/requirements/REQUIREMENTS.md
- copilot-instructions.md (beide): Requirements-Sektion, DoD + Before-starting erweitert
- git-templates/history/summary/PROJECT_CONTEXT.md: Requirements-Pfad erganzt
2026-06-02 17:51:41 +00:00
d31db9086f 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]
2026-06-02 17:38:34 +00:00
fb1a01ba78 fix: review-findings behoben (7 Punkte)
1. pre-commit: --no-verify Kommentar entfernt
2. pre-commit: .copilot-no-docs Opt-out fuer Check 2 (Doku-Pflicht)
3. .copilot-no-docs angelegt (Setup-Repo = reines Script/Config-Repo)
4. copilot-instructions.md: _session.md Suffix in Agent-History Sektion korrigiert
5. history.prompt.md: Datumsvariablen explizit + Append-Verhalten korrigiert
6. copilot-bootstrap.sh: Hinweis auf git copilot-update fuer Hook-Updates
7. Orphan-Stub 2026-06-02_master_55fee83.md geloescht
2026-06-02 11:13:34 +00:00
eb19cf7e99 fix: --no-verify komplett entfernt aus pre-commit + .copilot-no-tests
- pre-commit: alle --no-verify Hinweise aus Fehlermeldungen entfernt
- pre-commit: .copilot-no-tests Opt-out fuer Repos ohne Test-Framework (Check 1)
- .copilot-no-tests angelegt: dieses Setup-Repo hat kein Test-Framework
- copilot-instructions.md: no-verify + force-push explizit verboten
- README: Templates-Update Sektion + neue Scripts dokumentiert
2026-06-02 10:54:08 +00:00
0df0f691cd fix: copilot-instructions.md Session-END Protokoll korrigiert
- Suffix _session.md als Pflichtformat dokumentiert (post-commit Hook-Erkennung)
- 'auch ohne explizite Aufforderung' entfernt: History nur via /history erstellen
  (VS Code Copilot System-Instruction blockiert sonst das Anlegen neuer Markdown-Dateien)
- Hinweis auf Konflikt mit System-Instruction ergänzt
- Gleiches Fix in git-templates/.github/copilot-instructions.md
2026-06-02 10:39:01 +00:00
16588b1888 feat: mandatory agent session protocol – start/end history logging
- user-settings/settings.json: new codeGeneration.instruction forces agents to
  read PROJECT_CONTEXT.md on session start and write history log on session end
- git-templates/.github/copilot-instructions.md: prominent MANDATORY section
  at top of file (highest priority, cannot be ignored)
- .github/copilot-instructions.md: same protocol for this repo itself
2026-05-31 13:01:12 +00:00
e1f912f248 fix: mkdir -p .git/hooks before hook install in bootstrap
Also bootstrapped own repo: adds history/, data/, .vscode/, .gitignore
2026-05-31 12:54:13 +00:00