Created directory structure and git pre-commit hook: NEW DIRECTORIES: - .dss/schema/ - Structured schemas for AI consumption - .dss/temp/ - Session-specific temporary files (git-ignored) - .dss/docs/ - Machine-readable documentation - docs/archive/ - Archived human-readable docs NEW FILES: - .dss-boundaries.yaml - Boundary enforcement configuration - .dss/temp/README.md - Temp folder usage guidelines - .git/hooks/pre-commit - 5-validator pre-commit hook UPDATED: - .gitignore - Exclude temp files, track .gitkeep and README GIT HOOK VALIDATORS: 1. Immutable file protection (blocks modifications to protected files) 2. Temp folder discipline (rejects temp files outside .dss/temp/) 3. Schema validation (validates JSON/YAML syntax) 4. Terminology checks (warns on 'swarm'/'organism' usage) 5. Audit logging (all hook events logged to .dss/logs/) All foundation infrastructure ready for Phase 2 (Boundary Enforcement).
70 lines
606 B
Plaintext
70 lines
606 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
.venv/
|
|
venv/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
|
|
# Node
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
*.local
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
coverage/
|
|
.coverage
|
|
|
|
# Databases
|
|
*.db
|
|
*.sqlite
|
|
*.sql
|
|
*.db.old
|
|
|
|
# Cache
|
|
.cache/
|
|
.dss-temp/
|
|
.dss/cache/
|
|
|
|
# Temp files (exclude all except README and .gitkeep)
|
|
.dss/temp/**/*
|
|
!.dss/temp/.gitkeep
|
|
!.dss/temp/README.md
|
|
|
|
# Backups
|
|
*.backup
|
|
*.bak
|
|
*~
|
|
*.corrupted.*
|
|
archive/
|
|
test_output/
|
|
|
|
# Build
|
|
dist/
|
|
.next/
|
|
out/
|
|
storybook-static/
|