CLAUDE CODE — FULL SYSTEMS REFERENCE Dexter's Hostinger VPS · coder@srv1617495 · Generated 2026-06-24 ================================================================================ TABLE OF CONTENTS 1. What I Am & How I Connect to You 2. System Architecture Overview 3. Live Docker Containers 4. All Scheduled Tasks (Cron Jobs + Systemd Timers) 5. Always-On Monitors & Watchdogs 6. Autonomous Intelligence Engine 7. SEO & Content Engines 8. GoHighLevel (GHL) Operations 9. Business Systems by Vertical 10. Email Monitors (Ellie + Dexter) 11. Scout — Health & Alert System 12. Contractor's Blueprint Content Engine 13. Emery's Pretty Picks Platform 14. Active Objectives 15. Hard Rules I Never Violate 16. Authority Structure & Routing 17. Credential Map 18. Memory & Intelligence Files ================================================================================ 1. WHAT I AM & HOW I CONNECT TO YOU ================================================================================ I am Claude Code running headless on Dexter's Hostinger VPS, reached from his phone through a private Discord channel called the "Dexter Code Bridge." Each Discord thread is a separate session; sessions can also be resumed from his desktop over SSH. - User: coder (uid 1001) in /home/coder/workspace - Bridge bot ID: 1505132558885720194 ("Dexter Code Bridge") - Bridge service: /etc/systemd/system/claude-bridge.service (Restart=always) - Bridge code: /opt/claude-bridge/bridge.js - Default model: claude-sonnet-4-6 (T2) Auto-upgrades to claude-opus-4-8 (T3) for infra/debugging/deployments SEPARATION FROM OPENCLAW/COS: - Dexter: CEO / Final human authority - Claude Code: Implementation layer — systems, scripts, bridge, crons, SOPs - COS/OpenClaw: Operational coordination — agent management, Docker/root/L2 - Specialists: Aria (Artists 4 Play), Estelle (Estate Solutions/GHL), Atlas Routing rule: Can I do it with coder-level permissions? → I do it. Needs Docker/sudo/root? → Route to COS. Needs legal/financial/destructive? → Route to Dexter. ================================================================================ 2. SYSTEM ARCHITECTURE OVERVIEW ================================================================================ PATH / SERVICE PURPOSE /opt/claude-bridge Discord bridge to Dexter's phone /opt/openclaw OpenClaw multi-agent platform (root-owned) /opt/n8n + n8n container n8n automation (n8n.srv1617495.hstgr.cloud) /home/coder/est8-site Estate Solutions website (React/Vite SSG) /home/coder/workspace Primary workspace — all scripts/engines/configs /home/coder/workspace/seo SEO tools, content pipeline, keyword research /home/coder/workspace/autonomous-engine Headless AI intelligence engine /home/coder/workspace/ContractorBlueprint Contractor's Blueprint course + FCS system /home/coder/workspace/emery Emery's Pretty Picks platform /home/coder/workspace/scout Scout monitoring + weather alert system /home/coder/workspace/storm-trigger Estate Solutions storm damage lead trigger /home/coder/workspace/ellie-email Ellie email inbox monitor /home/coder/workspace/dexter-email Dexter email inbox monitor /home/coder/workspace/dexterwilliams-realestate DexterWilliams.net SEO engine + real estate site /root/hd_pro HD Pro SMS lead-capture (Python cron, root-owned) https://drops.srv1617495.hstgr.cloud Public file hosting https://openclaw.srv1617495.hstgr.cloud OpenClaw HTTP API ================================================================================ 3. LIVE DOCKER CONTAINERS (as of 2026-06-24) ================================================================================ CONTAINER STATUS PURPOSE est8-web UP nginx — Estate Solutions website dexterwilliams-realestate UP DexterWilliams.net real estate site openclaw-console UP OpenClaw agent engine (DO NOT restart directly) openclaw-browser UP Playwright/Microsoft Edge for OpenClaw traefik UP HTTPS reverse proxy — all domains n8n UP n8n automation platform serpbear UP SEO rank tracker ghl-oauth-server UP GHL OAuth token refresh handler screen-takeover UP (healthy) VNC screen takeover for remote browser concierge-api UP (healthy) AI concierge API aes-web / aes-api UP AI Elite Services web + API fcs-runner UP First Call System HTTP runner a4p-launch / a4p-preview UP Artists 4 Play launch + preview a4p-waitlist-api UP Artists 4 Play waitlist backend emery-picks-preview UP Emery's Pretty Picks preview site est8-preview UP Estate Solutions preview build ops-dashboard UP Ops dashboard card-stats UP Card stats tracker public-drops UP Public file hosting (drops.srv1617495.hstgr.cloud) ================================================================================ 4. ALL SCHEDULED TASKS ================================================================================ --- EVERY FEW MINUTES (Real-Time Monitors) --- Every 2 min Ellie Email Monitor Watches info.est8solutionsllc@gmail.com inbox. Detects inbound replies, routes to GHL, queues response drafts. Script: ellie-email/monitor.py Every 5 min Dexter Email Monitor Watches est8solutionsllc@gmail.com. Flags time-sensitive items. Script: dexter-email/monitor.py Every 5 min COS Health Watchdog Verifies OpenClaw/COS is responsive. Alerts #incidents if down. Script: scripts/cos-health-watchdog.sh Every 10 min Storm Trigger Polls NWS for severe weather in Estate Solutions service area (11 counties). Triggers GHL outreach + GBP storm post on hit. Script: storm-trigger/storm-trigger.sh Every 30 min Scout Bridge Watchdog Verifies claude-bridge systemd service is active. Auto-alerts to #platform if bridge goes down. Script: scout/scout-bridge-watchdog.sh --- HOURLY / EVERY FEW HOURS --- Every 2h Scout System Check Bridge status, est8solutions.com HTTP 200, SSL cert expiry. Posts to #platform on failure. Script: scout/scout-check.sh Every 4h Scout Weather Check (6AM–6PM ET only) Monitors severe weather relevant to storm damage business. Posts alerts to #watch-tower. Script: scout/scout-weather.sh Every 6h Estate Solutions SEO Publish Trigger (fallback) Processes pending Estelle content in seo/ready-to-publish/. Primary trigger is the systemd estate-content-publish.timer. Script: seo/publish-trigger.sh Every 6h SEO Cron Self-Healer Verifies all SEO crons exist in crontab. Re-adds missing ones. Script: /opt/seo-engine/cron-health-check.sh Every 8h DexterWilliams.net Content Publish Fallback Catches missed content publish events for real estate site. Script: dexterwilliams-realestate/seo-scripts/publish-content.sh --- DAILY TASKS --- 3:00 AM UTC Screen Takeover Backup (11PM ET) Backs up Edge browser session/config. Script: screen-takeover/backup-edge.sh 3:00 AM UTC GHL Snapshot OAuth Refresh (11PM ET) Refreshes GHL snapshot OAuth tokens daily. Endpoint: curl → /oauth/snapshot/refresh 5:00 AM UTC Workspace Backup (1AM ET) Full backup of /home/coder/workspace. Script: backup.sh 6:00 AM UTC Cron Session Cleanup (2AM ET) Archives old cron sessions, cleans stale log files. Script: cron-session-cleanup.sh 7:00 AM UTC Discord Thread Cleanup (3AM ET) Archives #claude-code threads idle 7+ days. Script: discord-thread-cleanup.sh 8:00 AM UTC Contractor's Blueprint Engine (4AM ET) Daily chapter generation via Claude API (one chapter/day). Script: ContractorBlueprint/run-blueprint-engine.sh 8:05 AM UTC GBP Connection Check (4:05AM ET) Checks GBP→GHL OAuth token expiry (72h advance warning). Posts to #cos before expiry. Script: scout/gbp-connection-check.sh 8:23 AM UTC IndexNow Daily Submit (4:23AM ET) Submits new/updated est8solutions.com pages to search engines. Script: seo/indexnow-submit.py 10:45 AM UTC Watch Tower Pre-Review (6:45AM ET) My pre-read of Discord channels before COS fires 7AM digest. Surfaces items needing Dexter's attention. Script: watch-tower-review.sh 11:00 AM UTC COS Watch Tower Digest (7AM ET) OpenClaw fires daily Watch Tower. Summarizes overnight events, agent activity, outstanding items. Posts to #watch-tower. 11:05 AM UTC Scout Daily Digest (7:05AM ET) My independent daily summary: system status, weather outlook, flagged items. Posts to Dexter's channel. Script: scout/scout-digest.sh 11:15 AM UTC Daily Intelligence Brief (7:15AM ET) Full-stack morning brief across all businesses. Calls Claude API, posts structured brief to Discord. Script: autonomous-engine/engine.sh daily 2:00 PM UTC Business Research — Rotating Mon–Fri (10AM ET) Deep research dive, one business per day: Monday = Estate Solutions Tuesday = Artists 4 Play Wednesday = Contractor Blueprint Thursday = Automation Opportunities Friday = Forward Strategy Script: autonomous-engine/engine.sh research [biz] 2:00 PM UTC Google Analytics Weekly Report (Monday only, 10AM ET) Pulls GA data, generates week-over-week traffic analysis. Script: erg_ga_weekly.py 2:00 PM UTC OpenClaw SEO Content Queue (daily, 10AM ET) COS fires SEO content queue check via OpenClaw API. Endpoint: POST /tool/cron/seo_content_queue 5:00 PM UTC OpenClaw SEO Midday Check (1PM ET) COS mid-day SEO status check via OpenClaw. Endpoint: POST /tool/cron/seo_midday_check 5:00 PM UTC GBP Direct Auto-Post Fallback (1PM ET) Direct GBP post fallback script. Script: /opt/seo-engine/gbp/run_gbp_auto_post.sh 6:00 PM UTC Channel Triage — Afternoon (2PM ET) Scans all Discord channels for outstanding items. Script: channel-triage.js 8:00 PM UTC Estate Solutions SEO Article Generation (4PM ET, Mon/Wed/Fri) Generates one SEO article for est8solutions.com via Claude API. Saves to ready-to-publish queue. Script: autonomous-engine/engine.sh seo-content 8:00 PM UTC DexterWilliams.net Content Generation (4PM ET, Tue/Thu) Generates real estate blog posts and publishes to site. Script: autonomous-engine/engine.sh realestate-content 8:00 PM UTC Emery Weekly Agenda Post (4PM ET, Friday only) Posts Emery's weekly fashion agenda to her Discord channel. Script: emery/post_weekly_agenda.py 10:00 PM UTC Channel Triage — Evening (6PM ET) Second daily Discord channel triage sweep. Script: channel-triage.js 11:00 PM UTC OpenClaw SEO Evening Update (7PM ET) Evening SEO status sweep via OpenClaw. Endpoint: POST /tool/cron/seo_evening_update 1:00 PM UTC PM Outreach Cron (9AM ET, Mon–Fri) Property manager outreach for Estate Solutions referral pipeline. Script: pm_outreach_cron.sh --- WEEKLY TASKS --- Mon 12:00 UTC OpenClaw SEO Weekly Review (8AM ET) COS fires weekly SEO keyword + ranking review. Endpoint: POST /tool/cron/seo_weekly_review Mon 12:30 UTC SerpBear Rank Response (8:30AM ET) Reads SerpBear ranking data, generates strategy response to ranking changes. Posts to Discord. Script: autonomous-engine/engine.sh seo-rank-response Mon 13:00 UTC DexterWilliams.net Weekly SEO Check (9AM ET) Script: dexterwilliams-realestate/seo-scripts/weekly_seo_check.sh Mon+Wed 15:00 GBP Auto-Post (11AM ET) Posts to Google Business Profile for Estate Solutions. Endpoint: POST /tool/cron/seo_gbp_post Wed 12:00 UTC OpenClaw SEO Backlink Day (8AM ET) Endpoint: POST /tool/cron/seo_backlink_day Wed 13:00 UTC DexterWilliams.net Backlink Check (9AM ET) Script: dexterwilliams-realestate/seo-scripts/backlink_monitor.py Fri 22:00 UTC OpenClaw SEO Weekly Report (6PM ET) Endpoint: POST /tool/cron/seo_weekly_report Sun 10:00 UTC Emery Sunday Summary (6AM ET) Script: emery/summarize_emery.py Sun 15:00 UTC Intelligence Maintenance (11AM ET) Updates lessons.md + objectives.md, compresses old entries. Script: autonomous-engine/engine.sh intel-maintenance Sun 16:00 UTC Weekly Strategy Session (12PM ET) Full portfolio review, week plan for all businesses. Script: autonomous-engine/engine.sh weekly-strategy --- MONTHLY & QUARTERLY --- 1st of month Estate Solutions Monthly Tips SMS (12PM ET) Sends maintenance tips SMS to client list via GHL. Script: monthly-tips/send-monthly-tips.sh 1st of month DexterWilliams.net Monthly SEO Strategy (9AM ET) Script: dexterwilliams-realestate/seo-scripts/monthly-strategy.sh 1st of month OpenClaw Monthly SEO Audit (10AM ET) Endpoint: POST /tool/cron/seo_monthly_audit 1st of month Keyword Opportunity Discovery (10AM ET) Automated scan across all businesses. Script: seo/keyword-opportunity-discovery.py --business all Quarterly Eval Harness Trigger (Jan/Apr/Jul/Oct, 9AM ET) (Jan/Apr/Jul/Oct) Tests all hard rules, checks for regressions. Script: eval/quarterly-eval-trigger.sh --- SYSTEMD TIMERS --- estate-content-publish.timer (every 6h, aligns to midnight UTC) Reads seo/ready-to-publish/*.md Validates frontmatter (PAGE, ACTION, TARGET_TSX) Injects content into est8-site TSX Triggers site rebuild Archives to seo/published-archive/ Posts batch summary to Discord #cos Holds files with invalid frontmatter + fires Discord alert estate-storm-monitor.timer (every ~10 min) Systemd-managed storm event detection for Estate Solutions lead pipeline. certbot.timer (daily) Auto-renews Let's Encrypt SSL for all domains. ================================================================================ 5. ALWAYS-ON MONITORS & WATCHDOGS ================================================================================ MONITOR WHAT IT WATCHES FREQ ALERT Scout Bridge Watchdog claude-bridge systemd service Every 30min #platform COS Health Watchdog OpenClaw/COS API responsiveness Every 5min #incidents Scout System Check Bridge, site uptime, SSL expiry Every 2h #platform Scout Weather Severe weather in service area Every 4h #watch-tower Storm Trigger NWS — 11 target counties Every 10min GHL + #cos Ellie Email Monitor info.est8solutionsllc@gmail.com Every 2min GHL draft queue Dexter Email Monitor est8solutionsllc@gmail.com Every 5min Alert queue GBP Connection Check GBP→GHL OAuth token expiry (72h) Daily 8:05 #cos SEO Cron Self-Healer All SEO crons exist in crontab Every 6h Auto-repairs Watch Tower Pre-Review Discord channels, outstanding items Daily 10:45 Dexter channel FCS HTTP Runner Always on — starts on every reboot @reboot Blueprint FCS ================================================================================ 6. AUTONOMOUS INTELLIGENCE ENGINE ================================================================================ Location: /home/coder/workspace/autonomous-engine/ Runs headlessly. No human approval required. Posts all output to Discord. MODE SCHEDULE OUTPUT daily Daily 11:15 UTC Morning brief: all businesses research estate-solutions Mon 14:00 UTC Deep market research research artists4play Tue 14:00 UTC A4P market research research contractor-blueprint Wed 14:00 UTC Blueprint competitive research research automation-opportunities Thu 14:00 UTC New automation opportunities research forward-strategy Fri 14:00 UTC Forward strategic analysis seo-content Mon/Wed/Fri 20:00 1 SEO article → ready-to-publish realestate-content Tue/Thu 20:00 1 real estate blog post seo-rank-response Mon 12:30 UTC Response to SerpBear ranking shifts intel-maintenance Sun 15:00 UTC Update lessons.md + objectives.md weekly-strategy Sun 16:00 UTC Full portfolio review + week plan ================================================================================ 7. SEO & CONTENT ENGINES ================================================================================ ESTATE SOLUTIONS SEO STACK: - Content pipeline: Estelle writes → drops in seo/ready-to-publish/ → estate-content-publish.timer processes every 6h → injects into est8-site TSX → rebuilds + deploys → archives to seo/published-archive/ - Autonomous articles: Mon/Wed/Fri via intelligence engine → same pipeline - IndexNow: Daily at 8:23 UTC (submits new pages to search engines) - GBP Posts: Auto Mon/Wed via OpenClaw + direct fallback script - Storm Pipeline: NWS monitor → GBP storm post + GHL outreach on severe weather - SerpBear: Live rank tracking container - Keyword Discovery: Monthly automated opportunity scan DEXTERWILLIAMS.NET SEO STACK: - Content generation: Tue/Thu 4PM ET via autonomous engine - Publish fallback: Every 8h - Weekly SEO check: Monday 9AM ET - Backlink monitoring: Wednesday 9AM ET - Monthly strategy: 1st of month 9AM ET - OpenClaw monthly audit: 1st of month via COS ================================================================================ 8. GOHIGHLEVEL (GHL) OPERATIONS ================================================================================ RULE #3 ENFORCED: All GHL operations go through the API only. No browser, no computer_task, no browser automation for any GHL URL. ACCOUNT GHL ID TOKEN VAR Agency (AI Elite) HPTpxwrvMhNLi6GweQ77 $GHL_AGENCY_PIT Estate Solutions LLC 3Yf5Zrzb8FHjlQqCMt5p $GHL_PIT AES Umbrella/Admin ks1ol2XDbiv9L9IdrkT1 $GHL_AES_PIT Contractor's Blueprint 45CryVIpUYQSsbIyIXIZ $GHL_BLUEPRINT_PIT Emery's Pretty Picks Yl7Y6aVQzk0IwcJPmV8s $GHL_EMERY_PIT First Call System qyhFYhRKdHQzHSuk93lJ $GHL_FCS_PIT Dex Williams Realty (in MEMORY.md) $GHL_REALTY_PIT EMAIL RULES (NO EXCEPTIONS): - CC: info.est8solutionsllc@gmail.com (Ellie) on every outbound ES email - BCC: est8solutionsllc@gmail.com (Dexter) on every outbound ES email - Applies to: campaigns, follow-ups, test emails, realtor outreach, all outbound TOKEN ROTATION RULE: All GHL tokens live in /home/coder/workspace/.env (single source of truth). When rotated, update in place immediately. Never store elsewhere. ================================================================================ 9. BUSINESS SYSTEMS BY VERTICAL ================================================================================ --- ESTATE SOLUTIONS LLC (Construction & Restoration) --- - Website: React/Vite SSG at /home/coder/est8-site → est8-web container - CRM: GHL location 3Yf5Zrzb8FHjlQqCMt5p - Lead capture: HD Pro SMS referral system (Python cron at /root/hd_pro) - Email: Ellie sends from info.est8solutionsllc@gmail.com via Gmail SMTP - Storm pipeline: NWS → GBP post + GHL outreach on severe weather (automated) - Monthly SMS: 1st of month to client list - SEO: Estelle + autonomous engine, 3 articles/week, IndexNow daily - GBP Posts: Mon/Wed auto via OpenClaw - PM outreach: Mon–Fri 9AM ET automated property manager referral pipeline --- CONTRACTOR'S BLUEPRINT by AI Elite Services --- - Files: /home/coder/workspace/ContractorBlueprint/ - Product: 15-chapter contractor education course (20 with bonuses) - Content engine: Daily chapter generation via Claude API at 8AM UTC - FCS: First Call System — done-for-you contractor sales automation Runs as fcs-runner container + HTTP runner on @reboot - GHL: 45CryVIpUYQSsbIyIXIZ / $GHL_BLUEPRINT_PIT - Discord: #📘contractors-blueprint (1506223925808599161) --- ARTISTS 4 PLAY (Artist Booking Marketplace) --- - Status: Prototype — waitlist live at a4p-launch container - Agent: Aria handles A4P copy and content - Research: Automated Tuesday deep-dive via intelligence engine - Waitlist API: a4p-waitlist-api container live --- EMERY'S PRETTY PICKS by AI Elite Services --- - Status: Active build — waiting on brand name from Emery - Files: /home/coder/workspace/emery/ - Tech stack: Next.js 15 + Payload CMS + Stripe + Clerk + ShopMy affiliate + Fashn.ai AI try-on + Roblox avatar API - Revenue model: ShopMy affiliate commissions + subscription ($7.99/$19.99/mo) + digital lookbooks + Roblox clothing sales - GHL: Yl7Y6aVQzk0IwcJPmV8s / $GHL_EMERY_PIT - Discord: #💅✨-emerys-fashion (1513993874257875064) - Protocol: I am Emery's interface — she talks to me directly, not OpenClaw --- DEXTERWILLIAMS.NET (Real Estate Site) --- - Container: dexterwilliams-realestate - SEO engine: Content generation Tue/Thu + weekly/monthly checks - Backlinks: Wednesday 9AM ET monitoring ================================================================================ 10. EMAIL MONITORS ================================================================================ ELLIE MONITOR Inbox: info.est8solutionsllc@gmail.com Frequency: Every 2 minutes Actions: Detects inbound replies to outreach emails Routes to GHL contact timeline Queues response drafts Alerts Dexter on hot leads Script: ellie-email/monitor.py DEXTER MONITOR Inbox: est8solutionsllc@gmail.com Frequency: Every 5 minutes Actions: Watches for important inbound Flags time-sensitive items Script: dexter-email/monitor.py Both monitors maintain processed-ids.json to prevent duplicate alerts. Thread-map.json tracks email→Discord thread relationships. ================================================================================ 11. SCOUT — HEALTH & ALERT SYSTEM ================================================================================ Scout is my always-on health monitor (separate from OpenClaw's monitoring). SCRIPT CHECKS POSTS TO scout-bridge-watchdog.sh claude-bridge systemd status #platform (failure) scout-check.sh Bridge, site HTTP 200, SSL expiry #platform (failure) scout-weather.sh Severe weather in ES territory #watch-tower scout-digest.sh Daily summary: status + weather Dexter's channel gbp-connection-check.sh GBP→GHL OAuth expiry (72h warn) #cos ================================================================================ 12. CONTRACTOR'S BLUEPRINT CONTENT ENGINE ================================================================================ Goal: Generate all 20 chapters of the Contractor's Blueprint via Claude API Schedule: Daily at 8AM UTC (4AM ET) — one chapter per day Progress: ContractorBlueprint/.engine-progress Scripts: All chapters (1–14 + Bonus A, Bonus B) in ContractorBlueprint/scripts/ FCS (First Call System): - Done-for-you contractor sales automation product - fcs-runner container (always running) - fcs-http-runner.py auto-starts on every reboot via @reboot cron - GHL sub-account: 45CryVIpUYQSsbIyIXIZ ================================================================================ 13. EMERY'S PRETTY PICKS PLATFORM ================================================================================ Who: Emery (age 12) — teen fashion curation Dexter = account holder + authority Emery = creative director + CEO Status: Waiting on brand name from Emery. All infrastructure decisions made. Revenue model: - ShopMy/ASOS/H&M/Amazon affiliate commissions (10-30%) - Subscription tiers ($7.99/$19.99/month) - Digital lookbooks - Roblox clothing sales → DevEx at age 13 Build sequence: Phase 0: Brand name lock → domain/handle/Roblox username check Phase 1: Next.js + Payload + Stripe + GHL funnels → 10 outfits → launch Phase 2: Fashn.ai try-on + style quiz + Roblox avatar integration Phase 3: Dress Code Decoder + Event Outfits + community voting Automated tasks: - Weekly agenda post (Friday 4PM ET) - Sunday summary (6AM ET Sunday) - Outfit tracker updates My role: I am Emery's direct interface. I dispatch infra work to COS when needed and post results back in her channel. ================================================================================ 14. ACTIVE OBJECTIVES (as of 2026-06-24) ================================================================================ OBJ-1: Estate Solutions dominant in local/organic search Status: ACTIVE — UNBLOCKED Owner: COS (coordination) / Estelle (execution) / Claude Code (technical) Notes: All infrastructure gates cleared. GMB API enabled. GSC sitemap submitted. GBP OAuth verified. Storm pipeline nodes 1-11 all clear. Pipeline fires automatically on next NWS severe weather event. OBJ-6: Emery's Fashion Platform — Launch & Grow Status: ACTIVE — Waiting on brand name from Emery Owner: Claude Code (build) / Dexter (authority) / Emery (creative director) Blocker: Brand name not yet chosen — everything else depends on this Full objectives file: /home/coder/workspace/objectives.md ================================================================================ 15. HARD RULES I NEVER VIOLATE ================================================================================ RULE #1 — HD Pro System Type PYTHON CRON JOB, not Node.js, not a server. /root/hd_pro/hd_pro_leads.py is a Python cron script. Never restart after edits — cron handles execution. Never suggest node/npm/pm2 for anything in /root/hd_pro/. RULE #2 — Review/Referral Links NEVER build, suggest, automate, or configure review link workflows or referral link systems. Dexter handles these manually. Period. RULE #3 — No GHL Browser Login GHL operations go through the API only. Never use browser automation for any GHL URL. RULE #4 — est8solutions.com is React/Vite SSG on VPS, NOT GHL website builder All site content goes to /home/coder/est8-site/ GHL is CRM only. RULE #5 — New Tool = Read Official Docs First Before recommending or building with any new tool/system, read official documentation completely. No assumptions from training knowledge. RULE #6 — Estate Solutions SEO Content Publish Pipeline NEVER manually merge Estelle markdown into TSX pages. NEVER trigger ad-hoc site rebuilds for SEO content. Estelle drops markdown → estate-content-publish.timer handles it every 6h. DO NOT run npm run build for content drops. Emergency hotfix only with Dexter's explicit approval. RULE #7 — Prompt Caching Every new Claude API integration must be evaluated for caching eligibility. 1,024+ token static system prompt = eligible (Sonnet/Opus). Implement cache_control automatically when eligible. RULE #8 — Model Migration SOP Use /claude-api migrate skill for all model ID changes. Never grep-and-replace model strings without the breaking-changes checklist. RULE #9 — GHL Lead Imports NEVER auto-apply compliance-hold tags (2p-compliance-hold, tcpa-hold, do-not-contact, etc.) on imported contacts. Inbound opt-in leads are clean by default. Only Dexter can order holds. OPENCLAW EXCEPTION: NEVER directly restart/modify openclaw-console or openclaw-browser. Always use safe_deploy_console via COS to avoid self-bricking. CREDENTIAL RULE: NEVER say "I don't have access to that credential" without first: 1. printenv CREDENTIAL_NAME 2. grep the credential map files 3. source /home/coder/.credentials Only escalate to Dexter after all three fail. EMAIL PASSWORD RULE: NEVER store the Gmail App Password in any file, memory, or message. Email address only. Variable is $GMAIL_APP_PASSWORD in workspace/.env. ================================================================================ 16. AUTHORITY STRUCTURE & ROUTING ================================================================================ QUESTION ROUTE Can I do it with coder-level permissions? → I do it myself Needs Docker, sudo, root, L2/ubuntu-owned files? → Route to COS + action packet Legal, financial, destructive, credential? → Route to Dexter MESSAGING COS: Post to #cos (channel 1504250917111861369) using $DISCORD_BRIDGE_TOKEN. NOT $OPENCLAW_BOT_TOKEN — COS ignores its own bot's messages. TOOL GAP PATTERN: Messages starting with "🚨 TOOL GAP" from any sender trigger COS processAgentIssue — full operator mode, all tools available. Use for urgent infrastructure/code fixes. ================================================================================ 17. CREDENTIAL MAP ================================================================================ Load all credentials: source /home/coder/.credentials (sources ~8 .env files, exports ~30 credentials into shell environment) CREDENTIALS FILE DISCORD_BRIDGE_TOKEN, ANTHROPIC_API_KEY, /opt/claude-bridge/.env OPENCLAW_BOT_TOKEN, TOOL_TOKEN SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, /home/coder/.l2-secrets.env DISCORD_BOT_TOKEN, SCREEN_TAKEOVER_TOKEN ALL GHL TOKENS (GHL_PIT, GHL_AGENCY_PIT, /home/coder/workspace/.env GHL_AES_PIT, GHL_BLUEPRINT_PIT, GHL_EMERY_PIT, ← SINGLE SOURCE OF TRUTH GHL_FCS_PIT, GHL_REALTY_PIT), GITHUB_TOKEN, SERPER_API_KEY, HOSTINGER_API_TOKEN, GMAIL_APP_PASSWORD GHL_CLIENT_ID, GHL_CLIENT_SECRET, /home/coder/workspace/ghl-oauth/.env GHL_REDIRECT_URI DATAFORSEO_LOGIN, DATAFORSEO_PASSWORD /home/coder/workspace/seo/.env VITE_SUPABASE_URL, VITE_SUPABASE_PROJECT_ID, etc. /home/coder/est8-site/.env VNC_PASSWORD, VNC_HTPASSWD /home/coder/workspace/screen-takeover/.env Root-owned (NOT accessible as coder): /root/hd_pro/.env → Route these to COS /opt/openclaw/.env Full credential vault: /opt/openclaw/workspace/MEMORY.md → 🔐 CREDENTIAL VAULT ================================================================================ 18. MEMORY & INTELLIGENCE FILES ================================================================================ All in /home/coder/workspace/ unless noted: FILE PURPOSE READ WHEN CLAUDE.md Master rules (auto-loaded) Always lessons.md Structured lessons (L1 memory) Before bridge/infra work DO_NOT_REPEAT.md Permanent failure registry Before significant tasks objectives.md Active objective tracking Weekly review CONTINUOUS-INTELLIGENCE-ENGINE.md Memory pipeline + lesson format On new lesson creation authority-routing-framework.md Full routing decision tree On ambiguous routing decision-framework.md Task tiers, change risk levels On complex decisions CROSS-BUSINESS-TAG-TAXONOMY.md Unified GHL contact tags On any contact tagging memory-index.md Searchable governance index Finding specific rules change-log.md System change audit trail After significant changes Path-scoped rules (auto-loaded when editing matching files): .claude/rules/bridge.md → applies to /opt/claude-bridge/** .claude/rules/est8-site.md → applies to /home/coder/est8-site/** .claude/rules/ghl-api.md → applies to GHL playbooks + ghl-oauth/** .claude/rules/openclaw-server.md → applies to /opt/openclaw/** OpenClaw vault (via COS only): /opt/openclaw/workspace/MEMORY.md → credential vault + channel registry INTELLIGENCE LOOP: After any T2/T3 task → append to lessons.md with required fields: DATE, CATEGORY, CONFIDENCE, IMPACT, LESSON, PREVENTION RULE, VERIFICATION METHOD, PROMOTION STATUS ================================================================================ HOW TO GIVE ME INSTRUCTIONS ================================================================================ Discord bridge: Message the "Dexter Code Bridge" bot in any thread SSH: coder@srv1617495.hstgr.cloud → cd /home/coder/workspace → claude Force model: !opus (Opus 4.8) | !sonnet (Sonnet 4.6) | !haiku Effort level: "upgrade to high" or /effort high Emergency COS: Start message with 🚨 TOOL GAP → routes to COS operator mode ================================================================================ Generated by Claude Code · Dexter's VPS · 2026-06-24 HTML version: https://drops.srv1617495.hstgr.cloud/claude-code-systems.html Plain text: https://drops.srv1617495.hstgr.cloud/claude-code-systems.txt Source of truth: /home/coder/workspace/CLAUDE.md ================================================================================