chore: bootstrap Claude setup

Add root CLAUDE.md, docs/, LESSONS.md, .env.example, project hooks
(.claude/settings.json) and CI workflows (lint/test + versioning), per
the standard repo bootstrap. No lint/test tooling exists yet, so hooks
and CI only run a py_compile sanity check; CI/versioning target the
development/main branch convention even though development does not
exist yet. Deployment stays on Nixpacks for now (flagged in LESSONS.md
pending a decision on migrating to the standard LXC/VPS+systemd setup).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-18 15:08:50 +02:00
1 parent b131f78870
commit 1153efcc33
10 files changed
+222

No files matched your search

+1
View File
@@ -0,0 +1 @@
2
+25
View File
@@ -0,0 +1,25 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "f=$(cat | python3 -c 'import json,sys;print(json.load(sys.stdin).get(\"tool_input\",{}).get(\"file_path\",\"\"))'); case \"$f\" in *.py) python3 -m py_compile \"$f\" ;; esac"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 -m py_compile server.py"
}
]
}
]
}
}