chore(db): add sqlite-init and sqlite-seed wrappers, update ticket skill

Complete the set of whitelistable wrapper scripts so all SQLite
access goes through db/connectors/sqlite-* (query, exec, init, seed).
Update the ticket skill to reference wrappers instead of calling
sqlite_connector.py directly, making permissions allowlisting clean.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 00:04:58 +01:00
co-authored by Claude Opus 4.6
parent 5bb7ded841
commit 0ecf7b4d8b
3 changed files with 39 additions and 22 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Initialise the ticketing database from schema.sql. Whitelistable command.
# Usage: sqlite-init
exec python3 "$(dirname "$0")/sqlite_connector.py" init "$@"
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Seed the ticketing database with initiatives from DECISIONS.md. Whitelistable command.
# Usage: sqlite-seed
exec python3 "$(dirname "$0")/sqlite_connector.py" seed-decisions "$@"