gmail.send works correctly via service account domain-wide delegation, but gmail.modify does NOT. Attempting modify-level operations (labels, read state) through a service account silently fails or throws 403 errors. This blocked multiple workflows before we identified the root cause.
tpj-ai-infrastructure) with domain-wide delegation across 7 Google APIs (Drive, Gmail, Sheets, Keep, People, YouTube, Gmail Settings) is the backbone of all automation. Setting this up early unlocks every downstream workflow. Delaying it creates a cascade of blocked tasks.
messages.send endpoint with explicit Reply-To headers. Build a lookup table mapping each agent (JRD, KLJ, DLO, etc.) to their personal email for Reply-To injection. Test with actual replies before going live.
Client_[Address/Lastname]. Inconsistent naming across systems (first name vs. last name vs. address) caused confusion in early operations.
tools/governor.py.
claude subprocesses from within a Claude session caused a catastrophic crash that required manual VPS intervention to recover. The parent process and child compete for the same resources, leading to deadlocks and memory exhaustion. This happened on March 12, 2026 and took hours to resolve.
claude as a subprocess. Use the built-in Agent tool for sub-delegation. Use TeamCreate / Task for team leads. If you need a separate Claude instance, launch it in a new tmux session, never as a child process.
Every lesson above feeds into BrokerOS, the white-label system that lets any brokerage deploy AI-powered operations. TPJG is the reference implementation. Each lesson becomes a guardrail, a default, or a best practice baked into the platform so that sibling civilizations and future deployments don't have to learn these the hard way.