fix: README version, subscription copy, auto-version hook

README Current Release updated to v0.8.0 Warden, simplified to version
line + changelog link so the pre-commit hook only needs to patch one line.

.githooks/pre-commit: reads version from package.json and patches README
on every commit. Run `npm run install-hooks` once per clone to activate.

Main site: "No subscription" → "No platform subscription" — accurate,
since real workflows require LLM API keys (provider cost, not ours).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sam & Claude 2026-03-16 08:04:54 +00:00
parent 77f5161ab9
commit b425f1c827
4 changed files with 15 additions and 9 deletions

10
.githooks/pre-commit Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
# Auto-update README Current Release version from package.json
VERSION=$(node -e "process.stdout.write(require('./package.json').version)")
if [ -z "$VERSION" ]; then exit 0; fi
# Replace the backtick version line under ## Current Release
sed -i '' "s/^\`v[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[^\`]*\`$/\`v${VERSION}\`/" README.md
git add README.md

View file

@ -37,14 +37,9 @@ Clawdie is a FreeBSD-first personal AI assistant with a host-side Node.js orches
## Current Release
`v0.7.1 — Control Plane Refactoring`
`v0.8.0`
Highlights:
- `clawdie-hostd`: root daemon on `/var/run/clawdie-hostd.sock` — all privileged host ops (bastille, zfs, pf, service) go through whitelisted handlers; the agent user never needs sudo
- PF RDR is the canonical web edge: `setup/pf.ts` writes `/etc/pf.conf`, port 80/443 redirect to the `cms` jail; no host nginx required
- `src/controlplane.ts`: self-healing layer checks hostd, service jails, and PF at startup and every 5 minutes; repairs via hostd automatically
- `npm run doctor` now shows watchdog mode, memory, and control plane status per check
See [Changelog](html/docs-clawdie-si/changelog.html) for full release notes.
**Key Features:**

View file

@ -704,7 +704,7 @@
Clawdie is a self-hosted personal AI assistant running on FreeBSD.
She connects through Telegram, remembers everything in a PostgreSQL
database, and runs entirely on your own hardware. No corporate cloud.
No subscription. No data leaving your server.
No platform subscription. No data leaving your server.
</p>
<p>
Built on giants' shoulders: <a href="https://github.com/steipete" target="_blank" rel="noopener">Peter Steinberger</a>'s

View file

@ -22,7 +22,8 @@
"test": "vitest run",
"test:watch": "vitest",
"gen-changelog": "npx tsx scripts/gen-changelog.ts",
"install-all": "tsx setup/install.ts"
"install-all": "tsx setup/install.ts",
"install-hooks": "git config core.hooksPath .githooks"
},
"dependencies": {
"better-sqlite3": "^11.8.1",