-
AI Skill
- Access Fingerprinter
- Accessibility Design
- Accountability Profile Builder
- Accountability Profile Verification
- Ad Campaign Optimization
- Advisor Action Framework
- AEO RECOMMENDATION TOOL - SYSTEM PROMPT
- Agentic Task Execution
- AI Candor Probe
- AI Citation Tracking
- AI Content Authenticity Detection
- AI Coworker Trust Protocol
- Ai Document Analysis
- AI Inference Boundary Review
- AI Journalism
- AI Project Showcase Skill
- AI Self-Report Calibration
- AI Vision Diagnosis
- Antigravity Browser QA
- Antigravity Parallel Debug
- Antigravity Test Orchestration
- Apache HTTPD Configuration
- API Design
- Appellate Brief Writer
- Apple Human Interface Design System
- AppSec Engineer — API Security Specialist
- AppSec Engineer — Cloud & Container Security Specialist
- AppSec Engineer — DevSecOps Specialist
- AppSec Engineer — IAM Security Specialist
- AppSec Engineer — Security Testing & Incident Response Specialist
- Arborist / Tree Care Specialist
- Atlanta Gardening
- Atlanta Guide
- B2B Media Consulting
- Botanical Garden Taxonomist
- Botanist / Plant Scientist
- Brand Voice Development
- Breach Data Analysis Specialist
- Business Proposal Evaluation
- Canvas Strategic Nonviolence
- Career Assessment
- Celery Task Management
- Chapter 22: Safety & Guardrails
- Chapter 26: Security Standards
- Chapter 28: Cursor Skills
- Children's Garden Educator
- Citation Checker
- Civic Tech Privacy Architecture
- Civil Resistance Theory
- Claims Integrity Audit
- CloudKit + Tauri Debugging
- Code Review
- Community Engagement Features
- Community Engagement Manager
- Competitive Analysis
- Conflict Zone Osint Specialist
- Conservation Biologist
- Content Gap Analysis
- Content Strategy
- Contract Analysis
- Conversational UI Design
- Cooking Technique Tutorial
- Copywriting
- Corporate Intelligence Investigator
- Culinary Knowledge Lookup
- Curator of Living Collections
- Customer Journey Methodology
- Customer Support
- Cyber Threat Literacy Journalist
- Dark Web Literacy Journalist
- Data Interpretation
- Democratic Health Monitoring
- Democratic Health Monitoring
- Dependency Hygiene
- Design Systems
- Dify Knowledge Base Management
- Director of Education
- Director of Horticulture
- Director of Science & Research
- Dive Conditions Forecasting
- Dive Planning
- Dive Site Data Ingestion
- Diversity, Equity & Inclusion (DEI) Coordinator
- Docker Compose Management
- Document Research Specialist
- Domain Infrastructure Investigator
- Education Curator
- Education Program Coordinator
- Eighth Amendment Legal Expert
- Election Law and Administration
- Election Threat Scenario Planner
- Election Threat Scoring
- Email Campaign Automation
- Email Parsing — Travel Bookings
- Environmental Osint Specialist
- Estate Accounting
- Estate and Trust Management
- Estate Document Extraction
- Estate Jurisdiction Engine
- Estate Manager — Build Plan
- Estate Manager — Updated Product Roadmap
- Estate Professional — CPA / Accountant
- Estate Professional — Elder Law Attorney
- Estate Professional — Enrolled Agent
- Estate Professional — Estate Planning Attorney
- Estate Professional — Financial Advisor
- Estate Professional — Insurance Agent
- Estate Professional — Probate Attorney
- Estate Professional — Probate Litigation Attorney
- Estate Professional — Real Estate Agent
- Estate Professional — Real Estate Appraiser
- Estate Professional — Real Estate Attorney
- Estate Professional — Tax Attorney
- Estate Professional — Title Company
- Estate Task Automation
- EventKit Calendar Sync
- Executive Advisor Board — Build Plan
- Executive Advisor Board — Updated Product Roadmap
- Executive Board Advisor
- Executive CCO (Chief Customer Success Officer)
- Executive CEO
- Executive CFO
- Executive CHRO
- Executive CMO
- Executive COO
- Executive CPO (Chief Product Officer)
- Executive CRO (Chief Revenue Officer)
- Executive CTO
- Executive General Counsel
- Expat Planning
- Expat Tax Compliance
- Fact-Checking
- Family Gamification Design
- FastAPI Development
- Federal Register API Integration
- FIFA 2026 World Cup Travel Advisory
- Fifth Amendment Legal Expert
- Financial Analysis
- First Amendment Legal Expert
- Flask Application Development
- FLUX Image Generation
- FLUX Operations
- Fourteenth Amendment Legal Expert
- Fourth Amendment Legal Expert
- Garden Technician
- Gardener / Groundskeeper
- Gene Sharp 198 Methods
- Generative Engine Optimization
- Geolocation Verification Specialist
- GIS / Mapping Specialist
- Grateful Dead Historian
- Greenhouse Manager
- Greenhouse Technician
- Guided Content Journeys
- Head Gardener / Garden Manager
- Herbarium Curator
- Horticulturist
- Image Generation Service Operations
- Immigration Detention Rights Expert
- Immigration Know Your Rights Expert
- Immigration Removal Defense Expert
- Immigration Workplace Enforcement Expert
- Influencer Marketing
- Infrastructure Operations
- Infrastructure Upgrades
- Integrated Pest Management (IPM) Specialist
- Interaction Design
- Internship Program Coordinator
- Interview Coaching Design
- Investigation Workflow Designer
- Irrigation Specialist
- ITI Audience Development
- ITI Consulting Intake
- ITI Content Strategy
- ITI Financial Modeling
- ITI Marketing Tone & Brand Voice
- ITI MD to Wordpress HTML Converter
- ITI Quality Assurance
- ITI Report Synthesis
- ITI Strategic Planning
- ITI Technology Strategy
- ITI Token Compression Skill
- Java Development
- Journey Mapping
- Landing Page Optimization
- Lead Qualification
- Legal Research Specialist
- Litigation Support Ediscovery Analyst
- Local SEO Optimization
- Marine Life Identification
- Market Research
- MCP Client for Tauri
- MCP Server Development
- Meal Planning
- Media Verification Specialist
- Meeting Management
- Mental Load Equity Design
- Multi-Agent Deliberation Design
- Multilingual Content Management
- Music Discovery
- n8n + Dify Testing
- n8n Debugging
- n8n Workflow Development
- Network Analysis Specialist
- News Credibility Scoring
- Nginx Reverse Proxy
- Objection Handling
- Onboarding Design
- Osint Automation Frameworks
- Osint Identity Researcher
- Osint Training Curriculum Designer
- Patriot Access Fingerprinter
- Patriot News Orchestrator
- Patriot Press Freedom Tracker
- Patriot Private Citizen Inclusion Gate
- Patriot Sanity Check
- Patriot Source Scanner
- Patriot Speech Analyzer
- Patriot Voting Research
- Pinecone Embedding Management
- Podcast Production
- Policy Analyst Legislative Specialist
- Political Speech Analyzer
- Portfolio HTML Files - Creation Summary
- PostgreSQL Administration
- Presentation Design
- Press Release Writing
- PRISM ZIP Code → Zone Lookup
- Privacy Compliance
- Product Design
- Product Roadmap Update Prompt
- Professional Selection
- Project Management
- Prompt Auditor
- Proposal Evaluation
- Public Corruption Ombudsman
- Public Records Research Specialist
- Public Relations Manager
- RabbitMQ Messaging
- Recipe Formatting
- Redis Operations
- Release Management
- Requirements Writing
- Research Associate / Lab Technician
- Retirement Calculator Engine
- Roadmap Build Planning
- Safety Guardrails
- Salary Negotiation Frameworks
- Schema Markup Generation
- School Programs Specialist
- Scope Control
- Scouting Trip Planning
- Screenshot Capture Guide
- Secure Source Communication
- Seed Bank Curator
- SEO & AEO Optimization
- Separation of Powers Legal Expert
- Session Context Protocol
- Sixth Amendment Legal Expert
- Skills Index
- Social Media Content Calendar
- Spokesperson Profile Builder
- Stable Diffusion Image Generation
- Tauri Desktop Development
- Tavily & Pinecone Integrations
- Tavily API Quick Reference - Factchecker Plugin
- Tech Debt Analysis
- Technical Writing
- Tenth Amendment Legal Expert
- Test Plan Writing
- Therapeutic Horticulture Program Manager
- Transportation Osint Investigator
- Travel Planning
- Trump Corruption Accountability Tracker
- Trump Family Financial Tracker
- Trump Voter Impact Framing
- Truth Bridging Talking Points
- Truth Reconciliation Design
- Truth Reconciliation Implementation
- TSP Route Optimization
- Twenty Second Amendment Legal Expert
- UI Design
- Us Truth Reconciliation Roadmap
- UX Research
- Vibe Coding Guardrails
- Video Scripting
- Visual Brand Design
- Volunteer Coordinator
- Voter Suppression Law
- Voting Rights Act Expert
- Weather Underground PWS Integration
- Weather-Disease Modeling
- Wildlife Habitat Certification Guide
- Wireless Spectrum Osint Specialist
- WordPress Development
- WordPress Role-Based Access
- WordPress SEO Plugin Integration
- Workflow Adapter Integration
- Show Remaining Articles (283) Collapse Articles
-
Product Showcase
- AEO Optimizer Product Showcase
- AI News Cafe Product Showcase
- AI Project Showcase: Journey Mapper (Customer Journey Mapper)
- AI Project Showcase: SEO Assistant with LLM
- Estate Manager Product Showcase
- Executive Advisor Board Product Showcase
- Expat Advisor Showcase
- Factchecker Product Showcase
- Farmers Bounty Product Showcase
- Gardener's Bounty AI Assistant Product Showcase
- GD Claude Chatbot Product Showcase
- IT Influentials Agent POC Product Showcase
- IT Influentials Agent Product Showcase
- IT Influentials Express Agents Product Showcase
- My TravelPlanner Product Showcase
- Patriot Agent Product Showcase
- Patriot University Showcase
- ScubaGPT — Product Showcase
- ScubaGPT Showcase
- WordPress Plugin Clone Safety Checker Showcase
- Show Remaining Articles (5) Collapse Articles
-
ITI Knowledge System
- Chapter 1: Introduction
- Chapter 10: n8n — Debugging & Operations
- Chapter 11: Dify — Knowledge Bases & RAG
- Chapter 12: The ITI Workflow Adapter
- Chapter 13: The ITI Shared Library
- Chapter 14: WordPress Plugin Development
- Chapter 15: Desktop Apps with Tauri 2
- Chapter 16: Python Services
- Chapter 17: iOS & macOS with Swift
- Chapter 18: Claude & the Anthropic API
- Chapter 19: Prompt Engineering
- Chapter 2: Workspace Overview
- Chapter 20: Agents, Skills & Pipelines
- Chapter 21: Knowledge Bases
- Chapter 22: Safety & Guardrails
- Chapter 23: Build Session Protocol
- Chapter 24: Required Product Artifacts
- Chapter 25: Testing
- Chapter 26: Security Standards
- Chapter 27: Deployment
- Chapter 28: Cursor Skills
- Chapter 29: Cursor Rules
- Chapter 3: The Docker Stack
- Chapter 30: MCP Integrations
- Chapter 31: Builder and Agent Roles
- Chapter 32: Builder's Portfolio
- Chapter 33: Claims Integrity & Content Governance
- Chapter 4: Daily Operations
- Chapter 5: Infrastructure Upgrades
- Chapter 6: PostgreSQL & pgvector
- Chapter 7: Redis
- Chapter 8: Nginx Reverse Proxy
- Chapter 9: n8n — Workflow Development
- Show Remaining Articles (18) Collapse Articles
-
AI Agent
-
User Guide
- ADMIN-SHORTCODES.html Update Summary
- Factchecker Plugin - Installation Guide
- Factchecker Plugin - Troubleshooting Guide
- Farmers Bounty - Quick Start Guide
- Farmers Bounty - Troubleshooting Guide
- Farmers Bounty - User Guide
- Farmers Bounty Chatbot - Complete Documentation
- Farmers Bounty Desktop User Guide
- Farmers Bounty Plugin - Gardener's Review Guide
- Farmers Bounty Plugin v6.6.0 - Release Notes
- Farmers Bounty v2.0 - Complete User Guide
- Farmers Bounty v5.3.0 - Complete User Guide
- SEO Assistant with LLM
- 🌱 Farmers Bounty Homepage Shortcode - Quick Start
- 🌱 Farmers Bounty Shortcodes
- 🌹 Grateful Dead Chatbot - Quickstart Guide ⚡
- Show Remaining Articles (1) Collapse Articles
-
Requirements
-
ScubaGPT
-
Grateful Dead Chatbot
-
Farmers Bounty
- 01 current state analysis
- 02 architecture overview
- 03 data sources
- 05 cost analysis
- 06 database schema
- 08 ui ux changes
- 09 ai context optimization
- 10 testing validation
- 11 risk mitigation
- 12 implementation checklist
- ADMIN-SHORTCODES.html Update Summary
- Atlanta Gardening
- Beneficial Insects Guide for Georgia Gardens
- Botanical Garden Taxonomist
- Children's Garden Educator
- Farmers Bounty - Quick Start Guide
- Farmers Bounty - Troubleshooting Guide
- Farmers Bounty - User Guide
- Farmers Bounty Chatbot - Complete Documentation
- Farmers Bounty Desktop User Guide
- Farmers Bounty Plugin - Gardener's Review Guide
- Farmers Bounty Plugin v6.6.0 - Release Notes
- Farmers Bounty v2.0 - Complete User Guide
- Farmers Bounty v5.3.0 - Complete User Guide
- Glossary
- Integrated Pest Management (IPM) Specialist
- PRISM ZIP Code → Zone Lookup
- Public Relations Manager
- Recipe Formatting
- Research Associate / Lab Technician
- School Programs Specialist
- Seed Bank Curator
- Volunteer Coordinator
- Weather-Disease Modeling
- Wildlife Habitat Certification Guide
- 🌱 Farmers Bounty Homepage Shortcode - Quick Start
- 🌱 Farmers Bounty Shortcodes
- Show Remaining Articles (22) Collapse Articles
-
Technical Document
- Accessibility Design
- Agentic Task Execution
- AI Candor Probe
- AI Coworker Trust Protocol
- AI Inference Boundary Review
- AI Vision Diagnosis
- Antigravity Browser QA
- Antigravity Parallel Debug
- Antigravity Test Orchestration
- AppSec Engineer — IAM Security Specialist
- Chapter 22: Safety & Guardrails
- Chapter 26: Security Standards
- Civic Tech Privacy Architecture
- ClaimReview Schema Integration
- Claims Evidence Registry
- Code Review
- IT Influentials Express Agents Product Showcase
- Java Development
- MCP Client for Tauri
- MCP Server Development
- Nginx Reverse Proxy
- Pinecone Embedding Management
- PostgreSQL Administration
- Product Roadmap Update Prompt
- Prompt Auditor
- RabbitMQ Messaging
- Redis Operations
- Release Management
- Retirement Calculator Engine
- Roadmap Build Planning
- Schema Markup Generation
- ScubaGPT — Architecture
- ScubaGPT Safety Guardrails - Quick Reference
- Session Context Protocol
- Stable Diffusion Image Generation
- Tauri Desktop Development
- Tavily & Pinecone Integrations
- Tavily API Quick Reference - Factchecker Plugin
- Tech Debt Analysis
- Test Plan Writing
- Travel Planner — n8n + Dify Integration Guide
- UI Design
- UX Research
- Vibe Coding Guardrails
- WordPress Plugin Clone Safety Checker Showcase
- Workflow Adapter Integration
- Show Remaining Articles (31) Collapse Articles
-
Answer Engine Optimizer
-
SEO Optimizer
-
Travel Planner
-
Fact Checker
-
Estate Manager
-
ITI Operations
- Access Fingerprinter
- Accessibility Design
- Advisor Action Framework
- Agentic Task Execution
- AI Candor Probe
- AI Content Authenticity Detection
- AI Coworker Trust Protocol
- AI Inference Boundary Review
- AI Project Showcase Skill
- AI Self-Report Calibration
- Antigravity Browser QA
- Antigravity Parallel Debug
- Antigravity Test Orchestration
- Apple Human Interface Design System
- AppSec Engineer — API Security Specialist
- AppSec Engineer — DevSecOps Specialist
- Chapter 32: Builder's Portfolio
- CloudKit + Tauri Debugging
- Code Review
- Content Strategy
- Customer Journey Methodology
- Customer Support
- Data Interpretation
- Dependency Hygiene
- End-User Documentation Requirements Document
- Farmers Bounty Plugin - Gardener's Review Guide
- Generative Engine Optimization
- Guided Content Journeys
- Influencer Marketing
- Infrastructure Upgrades
- Interaction Design
- IT Influentials Agent POC Product Showcase
- IT Influentials Agent Product Showcase
- IT Influentials Express Agents Product Showcase
- ITI Audience Development
- ITI Consulting Intake
- ITI Financial Modeling
- ITI Quality Assurance
- ITI Report Synthesis
- ITI Strategic Planning
- ITI Token Compression Skill
- Market Research
- MCP Server Development
- Multi-Agent Deliberation Design
- Multilingual Content Management
- n8n Debugging
- n8n Workflow Development
- Pinecone Embedding Management
- Privacy Compliance
- Product Roadmap Update Prompt
- Project Management
- Prompt Auditor
- Proposal Evaluation
- Redis Operations
- Release Management
- Requirements Writing
- Roadmap Build Planning
- Safety Guardrails
- Scope Control
- Screenshot Capture Guide
- Stable Diffusion Image Generation
- Tavily & Pinecone Integrations
- Technical Writing
- Test Plan Writing
- UI Design
- UX Research
- Vibe Coding Guardrails
- Wordpress Plugin Install Safety Features
- Show Remaining Articles (53) Collapse Articles
-
ITI Marketing
- Articles coming soon
-
Patriot University
-
Personal Assistant
Chapter 4: Daily Operations
Chapter 4: Daily Operations
Last Updated: 2026-03
## 4.1 Operations Cadence
The stack requires regular attention. The following table summarizes the required cadence:
| Task | Command / Location | Frequency |
|——|——————–|———–|
| Health check | docker compose ps + endpoint checks | Daily |
| Error log review | docker compose logs --since 24h | Daily |
| Backup | bash backup.sh | Daily |
| n8n execution review | n8n UI > Executions > filter “failed” | Weekly |
| Dify KB quality check | Dify UI > Knowledge > Retrieval Testing | Weekly |
| Resource monitoring | docker stats --no-stream | Weekly |
| Image updates | docker compose pull && up -d | Monthly |
All commands run from ITI/infrastructure/n8n-dify/ unless otherwise noted.
4.2 Health Check Procedure
Run these five checks in order. All must pass before the system is considered healthy.
Step 1 — Container status
docker compose ps
All 9 containers must show running or healthy. Any container showing exited or restarting requires immediate investigation.
Step 2 — n8n health endpoint
curl -s http://localhost:5678/healthz
Expected response: {"status":"ok"}
Step 3 — Dify Nginx proxy
curl -s -o /dev/null -w "%{http_code}" http://localhost:3001/console/api/setup
Expected: HTTP status below 500 (200, 401, or 404 are all acceptable — any 5xx means the proxy or API is down).
Step 4 — Redis
docker exec iti-redis redis-cli ping
Expected: PONG
Step 5 — PostgreSQL
docker exec iti-postgres pg_isready -U postgres
Expected: localhost:5432 - accepting connections
Tip: Script these five checks into a shell alias for one-command health verification.
4.3 Log Review
Check all services for errors in the last 24 hours
docker compose logs --since 24h | grep -i error
Check a specific service
docker compose logs --since 24h iti-n8n | grep -i "error\|warn\|fail"
Save logs to archive
docker compose logs --since 24h > /Users/username/Cursor/Archives/n8n-dify-logs-$(date +%Y%m%d).log
Watch live logs
docker compose logs -f --tail 50
4.4 Backup
The backup script creates timestamped archives of all databases and n8n data volumes.
Run a backup
cd ITI/infrastructure/n8n-dify
bash backup.sh
Verify the backup files were created
ls -lh /Users/username/Cursor/Archives/ | grep $(date +%Y%m%d)
Expected files for today:
| File | Contents |
|---|---|
n8n-db-YYYYMMDD.sql |
n8n PostgreSQL dump |
dify-db-YYYYMMDD.sql |
Dify PostgreSQL dump |
n8n-data-YYYYMMDD.tar.gz |
n8n Docker volume data |
dify-data-YYYYMMDD.tar.gz |
Dify Docker volume data |
Warning: If any of these files are zero bytes, the backup failed. Do not proceed with upgrades or destructive operations until you have a verified non-zero backup.
Backups auto-prune after 7 days. The Archives directory will always contain the last 7 days of backups.
4.5 Restore from Backup
Restore n8n database
docker exec -i iti-postgres psql -U postgres -d n8n < /Users/username/Cursor/Archives/n8n-db-YYYYMMDD.sql
Restore Dify database
docker exec -i iti-postgres psql -U postgres -d dify < /Users/username/Cursor/Archives/dify-db-YYYYMMDD.sql
Restore n8n volume data
docker run --rm \
-v n8n_data:/data \
-v /Users/username/Cursor/Archives:/backup \
alpine sh -c "cd /data && tar xzf /backup/n8n-data-YYYYMMDD.tar.gz"
Restart after restore
docker compose restart
Note: After a database restore, n8n may need active workflows re-published. Check n8n UI > Workflows and verify all expected workflows are active.
4.6 n8n Execution Monitoring
The n8n UI at http://localhost:5678 provides an Executions panel showing all workflow runs.
What to check weekly
- Navigate to Executions in the left sidebar.
- Filter by Status: Error.
- For each failed execution, open it and read the error message.
- Determine if the error is transient (network timeout, API rate limit) or systematic (broken workflow logic, invalid credentials).
Execution data management
n8n stores execution data in the n8n PostgreSQL database. This data grows over time and should be pruned.
Check current execution DB size:
docker exec iti-postgres psql -U postgres -d n8n -c \
"SELECT pg_size_pretty(pg_database_size('n8n'));"
Configure pruning in n8n UI: Settings > Execution Data > set “Prune data older than” to 30 days.
4.7 Dify Knowledge Base Quality Check
Run this check weekly to ensure retrieval quality has not degraded.
- Open the Dify console at
http://localhost:3000. - Navigate to Knowledge.
- Select a knowledge base used by a production workflow.
- Use Retrieval Testing to test 3–5 sample queries.
- Verify that the top results are relevant and the scores are above the threshold configured for that KB (typically 0.7+).
If retrieval quality has degraded, consider:
- Re-indexing the dataset (Knowledge > select dataset > Re-index).
- Reviewing recently added documents for quality.
- Adjusting chunk size or overlap settings.
4.8 Resource Monitoring
Check memory and CPU for all containers
docker stats --no-stream
Save resource snapshot to archive
docker stats --no-stream > /Users/username/Cursor/Archives/docker-stats-$(date +%Y%m%d).log
Check disk usage
docker system df
If disk usage is high (volumes or build cache), prune with:
docker system prune
Warning:
docker system pruneremoves stopped containers, unused images, and build cache. It does NOT remove named volumes. Usedocker volume pruneonly after a confirmed backup.
4.9 Incident Triage Decision Tree
When something is wrong, follow this sequence:
1. docker compose ps
├── Container stopped?
│ └── docker compose logs <service> --tail 50
│ ├── OOM killed? → Increase memory limit or reduce load
│ ├── Config error? → Fix .env or docker-compose.yml
│ └── Restart: docker compose up -d <service>
│
├── Container running but unhealthy?
│ ├── Test the healthcheck endpoint manually (see 4.2)
│ └── Check logs for crash loops
│
├── Memory pressure?
│ └── docker stats --no-stream → identify the consumer
│ └── docker compose restart <heavy-service>
│
├── Disk full?
│ └── docker system df → docker system prune
│
├── n8n webhooks returning 500?
│ └── Check n8n Executions panel for error details
│
└── Dify returning 502?
└── docker compose restart iti-dify-api iti-dify-nginx
4.10 Container Recovery Commands
| Situation | Command |
|---|---|
| Restart one service | docker compose restart |
| Rebuild and restart one service | docker compose up -d --force-recreate |
| Full stack restart | docker compose down && docker compose up -d |
| Nuclear reset (destroys data) |
docker compose down -v — only after confirmed backup
|
Previous: Chapter 3 — The Docker Stack | Next: Chapter 5 — Infrastructure Upgrades
