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 How to Automate Agentic Engineering Failure-Mode Detection in the SDLC

How to Automate Agentic Engineering Failure-Mode Detection in the SDLC

**Every engineer running Claude Code is already writing a diary of where the SDLC breaks**: every stalled task, every abandoned plan, every loop they gave up on and finished by hand. Nobody uses that diary, because using it means a human reads a colleague’s session, and that is a trust violation no team will accept. Here is how to turn that diary into a working pipeline anyway, without a single person ever reading a transcript.

James Phoenix
James Phoenix
Cover Image for Lights-On vs. Dark Software Factories

Lights-On vs. Dark Software Factories

The difference between the two is not how much code agents write. It’s who verifies it.

James Phoenix
James Phoenix