tractatus/.rsyncignore
TheFlow 0757dd3670 fix(deploy): Add targeted sensitive file exclusions to rsyncignore
Expand the docs/ denylist with specific patterns for files that were
previously unexcluded: CREDENTIAL_*, VPS_*, STRIPE_*, SECURITY_*,
INCIDENT_*, KOHA_*, DEEPSEEK_*, FIND_STRIPE_*, DEPLOYMENT_*, plus
sensitive directories (stripe-analysis/, session-handoffs/, testing/,
framework-incidents/, plans/, deployment-logs/). Also fix session
handoff patterns to cover uppercase/underscore variants.

This is the proportionate fix: exclude the specific sensitive files
rather than the entire docs/ directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 22:47:12 +13:00

150 lines
3.2 KiB
Text

# Tractatus Production Deployment - Exclusion List
# Prevents sensitive internal files from being deployed to production
# ============================================
# CRITICAL: Internal Documentation
# ============================================
CLAUDE.md
CLAUDE.md.backup
CLAUDE_*.md
*_Tractatus_Maintenance_Guide.md
SESSION_CLOSEDOWN_*.md
SESSION-HANDOFF-*.md
NEXT_SESSION.md
NEXT_SESSION_PRIORITIES.md
ClaudeWeb*.md
Tractatus-Website-Complete-Specification-*.md
DEPLOYMENT-*.md
# ============================================
# CRITICAL: Session State & Framework
# ============================================
.claude/
.claude/**
# ============================================
# CRITICAL: Credentials & Secrets
# ============================================
.env
.env.*
!.env.example
*.key
*.pem
*.p12
*.pfx
secrets/
credentials/
# ============================================
# CRITICAL: Internal Documentation - Files
# ============================================
# Session & handoff files
docs/session-handoff-*.md
docs/SESSION_HANDOFF_*.md
docs/SESSION-*.md
docs/SESSION_MANAGEMENT_*.md
docs/SESSION_INIT_*.md
docs/draft-emails-*.md
docs/precis-*.md
docs/precis-*.pdf
# Credentials & access
docs/CREDENTIAL_*.md
docs/VPS_*.md
docs/FIND_STRIPE_*.md
# Stripe financial
docs/STRIPE_*.md
docs/KOHA_*.md
docs/KOHA-*.md
# Security & incidents
docs/SECURITY_*.md
docs/SECURITY-AUDIT-*.md
docs/INCIDENT_*.md
docs/DOCUMENT_SECURITY_GOVERNANCE.md
# Internal plans & reports
docs/PRODUCTION_ENFORCEMENT_SHOWCASE_PLAN.md
docs/FRAMEWORK_FAILURE_*.md
docs/PHASE-2-*.md
docs/IMPLEMENTATION_PROGRESS_*.md
docs/DEPLOYMENT_*.md
docs/DEEPSEEK_*.md
# Data exports
docs/PRODUCTION_DOCUMENTS_EXPORT.json
# ============================================
# CRITICAL: Internal Documentation - Directories
# ============================================
docs/stripe-analysis/
docs/session-handoffs/
docs/testing/
docs/framework-incidents/
docs/plans/
docs/deployment-logs/
# ============================================
# Development Files
# ============================================
node_modules/
# ============================================
# AL Integration - Large Model Files
# ============================================
al-integration/models/
al-integration/venv/
demos/**/venv/
demos/*/venv/
.git/
.gitignore
package-lock.json
*.log
logs/
npm-debug.log*
.DS_Store
Thumbs.db
# ============================================
# Database & Backups
# ============================================
data/
dump/
backups/
*.sql
*.sql.gz
*.dump
# ============================================
# Build & Test
# ============================================
coverage/
.nyc_output/
dist/
build/
tmp/
temp/
*.tmp
# ============================================
# IDE & Editor
# ============================================
.vscode/
.idea/
*.swp
*.swo
*~
# ============================================
# SSH Keys (extra safety)
# ============================================
*.ssh/
id_rsa*
id_ed25519*
# ============================================
# Local Scripts (deployment from local only)
# ============================================
scripts/deploy-*.sh
scripts/validate-public-sync.js
scripts/session-init.js
scripts/check-session-pressure.js
scripts/pre-action-check.js
scripts/recover-framework.js
scripts/framework-watchdog.js