Skip to content
Engineering Journal: 004

The Deterministic
Director.

Moving beyond basic LLM chat to a sophisticated context-aggregation engine that scans your digital footprint to enforce a hard boundary between work and life.

DIRECTOR

The Intelligence
Loop.

The system operates on a multi-stage context aggregation pipeline, ensuring the AI has the absolute minimum necessary information to make high-integrity decisions.

Intent Triage

Scans unread threads for specific urgency markers and project-related keywords.

Context Fetch

Aggregates relevant calendar slots and task deadlines into a unified 2MB token window.

Daily Synthesis

Generates a deterministic briefing that enforces project boundaries and prioritises high-value work.

WATCHDOG

The Intent
Watchdog.

The engine runs on a deterministic polling cycle, ensuring lead intent is detected and triaged within 300 seconds of inbox arrival.

Polling Cycle

Executes every 5 minutes to scan for new threads with high-intent subject lines.

Keyword Triage

Parses email body text for triggers like 'booking' or 'onboard' to route data sequences.

State Logging

Records every detection event in a central 'Intelligence Ledger' for performance auditing.

System Role
Context Engine
Read-Only Agent
Core Stack
Apps Script
Gemini API
Protocol
Boundary
Deterministic
Status
Production
Active Deployment

The Information
Fragmentation.

Solo founders often drown because their context lives in three different silos: Gmail (Communication), Calendar (Time), and Drive (Deliverables). We engineered a system that unifies these into a single "State of the Union" briefing.

Silo Isolation

Crucial context is buried in unread threads while the calendar remains blind to project scope.

Cognitive Load

The morning scramble to 'catch up' consumes 20% of high-value cognitive energy before 10 AM.

CONTEXT

The Ingestion
Pipeline.

We moved from simple prompt-engineering to a deterministic data gathering protocol. The script doesn't just "ask" Gemini to Summarise; it provides a structured context object.

Inbox Triage

Scans unread threads for action-oriented keywords and identifies high-value senders.

Calendar Scope

Extracts meeting duration and attendees to calculate 'Cognitive Drain' metrics.

Drive Activity

Identifies the 3 most recently modified documents to predict active project focus.

Intelligence Use Cases

  • The Boundary Protocol

    Forces a 9:00 PM non-negotiable shutdown sequence across all devices.

  • Strategic Hook Generation

    Uses unified context to draft LinkedIn content that is technically accurate.

  • Meeting Prep Autopsy

    Summarises the last 3 emails with a person before a calendar meeting.

  • Home Sanctuary Logic

    Schedules low-cognitive chores based on the day's total meeting duration.

The Tech Stack

Gemini 1.5 Pro

Multimodal model used for visual and textual context reasoning.

Apps Script Triggers

Time-driven execution loops (5-minute polling for the watchdog).

OAuth 2.0 Scopes

Hardened, read-only permissions for Gmail, Calendar, and Drive.

HTML Service

Generates the responsive, CSS-inlined daily briefing emails.

The Theory Behind
The Assistant.

The engineering of this system was born from a deep exploration of digital boundaries and the failure of generic "AI agents" to handle executive-level nuance.

Strategic Context

"Automation without context is just noise. We built the AI Director to ensure that every script has the 'situational awareness' required to make executive-grade decisions."

Nicola Berry
Principal Digital Architect
DIRECTOR
Engineering Integrity

Automate Your Success, Protect Your Time.

Let's build a deterministic executive engine that carries the mental load while you focus on high-authority creation.

Engineer Your Intelligence