tractatus/.gitignore
TheFlow 65703afff3 security(gitignore): add 23 missing protection patterns for sensitive files
SECURITY GAPS FIXED:
- Payment IDs: .stripe-ids.json
- Deployment configs: .rsyncignore
- Session closedowns: "closedown prompt", CLOSEDOWN*.txt/md
- Internal planning: SCHEDULED_TASKS.md, SITE_IMPROVEMENT_PRIORITIES.md,
  TRACTATUS_BRAND_SYSTEM.md, UI_TRANSFORMATION_PROJECT_PLAN.md
- Internal PDFs: CLAUDE_WEB_BRIEF.pdf, EXECUTIVE_BRIEF*.pdf
- Internal docs: docs/analysis/, docs/analysis-archive-*/,
  docs/FIND_STRIPE*.md, docs/FRAMEWORK_FAILURE*.md, docs/PRODUCTION_DEPLOYMENT*.md
- Temporary files: deployment-output.txt, migration-output.txt,
  PERPLEXITY_USER_PROMPT.txt, ECONOMIST_LETTER_*.docx

RESULT: .gitignore expanded from 171 → 193 lines
STATUS: All sensitive files now protected from accidental git commits

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 18:56:47 +13:00

193 lines
3.3 KiB
Text

# ============================================
# PUBLIC REPOSITORY CONFIGURATION
# tractatus-framework (GitHub Public)
# ============================================
# This .gitignore protects internal development
# files from being pushed to public repository.
# Only open source code and public documentation
# should be in the public tractatus-framework repo.
# Dependencies
node_modules/
# Environment variables
.env
.env.local
.env.*.local
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# MongoDB data
data/mongodb/*
!data/mongodb/.gitkeep
# Generated files
public/downloads/*.pdf
public/downloads/*.epub
public/downloads/*.docx
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Testing
coverage/
.nyc_output/
# Build
dist/
build/
# Temporary files
tmp/
temp/
*.tmp
# ============================================
# INTERNAL FILES - NEVER PUSH TO PUBLIC REPO
# ============================================
# === ENTIRE INTERNAL DIRECTORIES ===
.claude/
governance/
For Claude Web/
umami-local/
# === INTERNAL DEVELOPMENT DOCS ===
CLAUDE.md
CLAUDE.md.backup
CLAUDE_*.md
ClaudeWeb*.md
PRE_APPROVED_COMMANDS.md
BACKEND_FRONTEND_MAPPING.md
# === SESSION HANDOFFS & ARCHIVES ===
SESSION*.md
SESSION-*.md
OPTIMAL_NEXT_SESSION*.md
NEXT_SESSION*.md
ARCHIVE_SUMMARY*.md
CLOSEDOWN*.md
CLOSEDOWN*.txt
closedown prompt
old claude md file
# === INTERNAL PITCH DOCUMENTS ===
PITCH-*.md
TRACTATUS-ELEVATOR-PITCHES.md
CLAUDE_WEB_BRIEF.pdf
EXECUTIVE_BRIEF*.pdf
# === INTERNAL PLANNING ===
PHASE-*.md
MEETING_NOTES*.md
EXECUTIVE_BRIEF*.md
SCHEDULED_TASKS.md
SITE_IMPROVEMENT_PRIORITIES.md
TRACTATUS_BRAND_SYSTEM.md
UI_TRANSFORMATION_PROJECT_PLAN.md
Tractatus-Website-Complete-Specification*.md
# === INTERNAL SCRIPTS ===
scripts/deploy-*.sh
scripts/session-init.js
scripts/check-session-pressure.js
scripts/analyze-violations.js
scripts/hook-validators/
scripts/framework-components/
scripts/reset-admin-password.js
# === INTERNAL DOCS DIRECTORIES ===
docs/session-handoff-*.md
docs/SESSION*.md
docs/planning/
docs/testing/
docs/outreach/
docs/stripe-analysis/
docs/economist-analysis/
docs/framework-incidents/
docs/deployment-logs/
docs/analysis/
docs/analysis-archive-*/
# === INTERNAL DOCS FILES ===
docs/DEPLOYMENT*.md
docs/MULTI_PROJECT*.md
docs/DOCUMENT_AUDIT*.md
docs/DOCUMENT_OPTIMIZATION*.md
docs/DOCUMENT_REORGANIZATION*.md
docs/DOCUMENT_SECURITY*.md
docs/BLOG-POST-OUTLINES.md
docs/PHASE-*.md
docs/STRIPE_*.md
docs/FIND_STRIPE*.md
docs/KOHA*.md
docs/SECURITY*.md
docs/BENCHMARK*.md
docs/IMPLEMENTATION_PROGRESS*.md
docs/BOOTSTRAPPING*.md
docs/GOVERNANCE-RULE-LIBRARY.md
docs/SIMULATION*.md
docs/SESSION*.md
docs/API_MEMORY*.md
docs/HOOKS*.md
docs/FRAMEWORK_FAILURE*.md
docs/PRODUCTION_DEPLOYMENT*.md
# === SENSITIVE FILES ===
*.key
*.pem
*.p12
*.pfx
secrets/
credentials/
ADMIN_LOGIN_INSTRUCTIONS.md
.admin-credentials.local
.stripe-ids.json
.rsyncignore
# === DATABASE DUMPS ===
dump/
backups/
*.sql
*.sql.gz
*.dump
# === SSH KEYS ===
*.ssh/
id_rsa*
id_ed25519*
~/.ssh/
# === DEPLOYMENT CONFIGS ===
deployment-config.json
production.json
# === TEMPORARY AUDIT FILES ===
/tmp/*.md
/tmp/*.txt
deployment-output.txt
migration-output.txt
PERPLEXITY_USER_PROMPT.txt
ECONOMIST_LETTER_*.docx
# === SCREENSHOTS ===
Screenshot*.png
*.screenshot.png
# === BACKUPS ===
*.backup
*.bak
old/