โ† AI Agents Command Center
๐Ÿ” PRE-FLIGHT / CHANGE SAFETY

AI Agent Safety Checks

A small set of repeatable checks for AI-assisted changes. The goal is simple: preserve working configuration, keep secrets out of Git, catch broken routes, and verify the production build before anything reaches Cloudflare.

โ— CURRENT

๐Ÿ”‘ Secrets

git diff --cached && git status --short

Review exactly what is about to be committed. Never publish API keys, tokens, passwords, cookies, private keys, or credential files.

๐Ÿงน Ignore rules

git check-ignore -v <path>

Verify local state, backups, databases, environment files, and generated artifacts are intentionally ignored where appropriate.

๐Ÿ“ฆ Dependencies

npm audit

Review dependency findings before upgrading. Avoid blind force-upgrades that can introduce breaking changes.

๐Ÿ—๏ธ Build

npm run build

A production build must succeed before deployment. Treat warnings that affect generated routes or assets as actionable.

๐Ÿ”— Route integrity

npm run check:links

Validate every built internal link so navigation cannot silently point at missing pages.

๐Ÿงช Full gate

npm run check:site

Run the production build and internal-link validation together before merging changes.