Automatischer Push der Anweisungsschicht
Der Vault-Root pusht ab jetzt nach jeder Änderung an CLAUDE.md, AI/Regelwerk/, .claude/agents/, .claude/skills/, .claude/settings.json oder .vault-tools/ selbsttätig nach Gitea. - .vault-tools/auto-push/auto_push.py: PostToolUse-Hook, committet und pusht. Fehlendes Token, fehlendes Remote und gescheiterter Push sind Befunde und gehen in den Kontext, nicht ins Schweigen. - .vault-tools/auto-push/askpass.py: reicht GITEA_TOKEN an git weiter, damit es weder in .git/config noch in einer Kommandozeile steht. - .vault-tools/auto-push/faelle_auto_push.py: 28 Fälle gegen ein echtes Wegwerf-Repo mit echtem Remote, alle bestanden. Der Lauf hat zwei Fehler gefunden, die jetzt behoben sind: die Pfadauflösung scheiterte an Windows-Kurznamen, und die Laufzeitsperre landete im Repo. - AI/Regelwerk/veroeffentlichung.md und ein Abschnitt im Stamm halten die Regel fest. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
1 parent
2c9a4475fc
commit
a81299e673
8 files changed
+812
-2
No files matched your search
+14
-2
@@ -12,7 +12,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python",
|
||||
"args": ["D:/Claude/.vault-tools/session-hooks/sitzungsstart.py"],
|
||||
"args": [
|
||||
"D:/Claude/.vault-tools/session-hooks/sitzungsstart.py"
|
||||
],
|
||||
"timeout": 30
|
||||
}
|
||||
]
|
||||
@@ -25,8 +27,18 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python",
|
||||
"args": ["D:/Claude/.vault-tools/session-hooks/regelwerk_nach_edit.py"],
|
||||
"args": [
|
||||
"D:/Claude/.vault-tools/session-hooks/regelwerk_nach_edit.py"
|
||||
],
|
||||
"timeout": 30
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python",
|
||||
"args": [
|
||||
"D:/Claude/.vault-tools/auto-push/auto_push.py"
|
||||
],
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user