Skip to main content

scix-db-safety-and-telemetry

Stars6
Forks1
UpdatedJuly 11, 2026 at 02:49

Production-database protection and query_log telemetry for SciX. Load this BEFORE any command that opens a PostgreSQL connection in this repo: running pytest, setting SCIX_DSN / SCIX_TEST_DSN, calling is_production_dsn, passing --allow-prod to a script, wiping/seeding test tables, or analysing the query_log table (success/error_msg semantics, failure rates, guard-block counts). Triggers: "which database am I pointed at", "tests all passed but wrote nothing", "SCIX_TEST_DSN", "--allow-prod refused", "query_log says success", "failure rate by tool". NOT for memory/cgroup sizing or the scix-batch wrapper itself โ€” use scix-memory-and-batch-discipline. NOT for schema-migration or index-build discipline โ€” use scix-index-and-storage-discipline. NOT for what gets ADR-gated โ€” use scix-change-control.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly