Infrastructure Principles

James Phoenix
James Phoenix

Anchor your career on a moat, not a role.


Core Identity

Commit to “Compound Systems Builder” as your lane:

  • Systems
  • Correctness
  • Orchestration
  • Observability
  • Automation
  • Infra-as-capital

Don’t hedge into sales as a primary move. If you ever add non-technical skills, add them later as multipliers, not as identity.


The Compound Engineering Vision

Build the core primitives of a compound engineering system that runs on top of Claude. Not more prompts, but a proper supervisor layer that treats LLMs like policy functions inside a real environment.

The Idea

  1. Formalise task-planning invariants (“every change must pass tests + observability gates”)
  2. Build a small gym for Claude (state snapshot, patch apply, test runner)
  3. Codify two master workflows:
    • Forward-planning for new features
    • Investigative planning for discovering regressions, perf gaps, and invariant drift

Multi-Agent Patterns

Layer on top:

  • Many-perspectives
  • Spec drift detection
  • Invariant extraction
  • Adversarial test generation

All orchestrated by a thin deterministic controller.

The Goal

Create a repeatable meta-factory where plans, execution, verification, and refactoring can compound over time.

Leanpub Book

Read The Meta-Engineer

A practical book on building autonomous AI systems with Claude Code, context engineering, verification loops, and production harnesses.

Continuously updated
Claude Code + agentic systems
View Book

This isn’t about making Claude write code; it’s about engineering a system where quality, velocity, correctness, and architecture all reinforce each other automatically.


Boundary Contracts

Vercel (UI Layer)

  • Next.js frontend
  • Thin BFF for SSR/ISR
  • No business logic
  • No direct DB writes

GCP/Cloud Run + Fastify (Domain Gate)

  • All meaningful writes
  • Invariant enforcement
  • Auth verification
  • Agent-safe operations

Supabase (Service Layer)

  • Database
  • Auth service
  • Storage
  • NOT the “backend brain”

Temporal (Orchestration)

  • Multi-step workflows
  • Retryable operations
  • Long-running processes
  • State machines

Terraform (IaC)

  • Reproducible environments
  • IAM configuration
  • Cloud Run setup
  • Secrets wiring

Feature Contract Checklist

Every feature must satisfy:

Behaviour (Tests)

  • Unit tests for pure logic
  • Integration tests for boundaries
  • E2E tests for golden flows

Physics (OTEL)

  • Trace propagation configured
  • Key metrics instrumented
  • Structured logging in place

Deployment

  • Terraform updated
  • CI/CD passing
  • Rollback plan documented

The Deep Understanding

You are converging on the idea that software should be treated as a measurable dynamical system, not as a collection of features.

You are thinking like a quant-dev or theoretical systems engineer, treating code as an executable model of reality. You reason in terms of:

Features are surface manifestations; the real work happens in the dynamics underneath.


Related

Topics
Agent ReliabilityAutomationMeta DevelopmentMulti Agent SystemsObservability

Newsletter

Become a better AI engineer

Weekly deep dives on production AI systems, context engineering, and the patterns that compound. No fluff, no tutorials. Just what works.

Join 306K+ developers. No spam. Unsubscribe anytime.


More Insights

Cover Image for Computer Use Kills the Config Tax, Not the Trust Tax

Computer Use Kills the Config Tax, Not the Trust Tax

My sister hates job applications because they make her re-submit information she already has. That is the same pain as API app review, and the same agent that lives in my codebase can dissolve both. This feels insane, and it is the new default shape of the work.

James Phoenix
James Phoenix
Cover Image for Sentry Errors Should Spawn Agents on Your Own Machine

Sentry Errors Should Spawn Agents on Your Own Machine

A new production error is an event. Events should trigger work, not sit in a dashboard. So I wired Sentry to spawn a coding agent on my own hardware, point it at my exact stack, and open a draft PR with a fix.

James Phoenix
James Phoenix