Thursday, December 3, 2026

Harness engineering


Harness engineering is the discipline of designing the systems, tools, constraints, and feedback loops wrapped around an AI model to make coding agents reliable at scale. Rather than swapping to a smarter model or tweaking a single prompt, it focuses on the environment the model operates in: Agent = Model + Harness

1. How It Differs from Prompt and Context Engineering

LayerScopeWhat It Controls
Prompt EngineeringSingle InteractionInstruction wording and formatting for one turn
Context EngineeringModel's context window across turnsToken selection, ordering, retrieval, and context compaction
Harness EngineeringEntire agent system across sessionsTool orchestration, state/memory persistence, deterministic verification loops, guardrails, and error recovery

2. Core Mental Model: Guides & Sensors

In his framework on harness engineering, Martin Fowler breaks user-built harnesses down into two control directions:

  • Guides (Feedforward Controls): Steer the agent before it writes code, so it gets things right on the first try.

    • Examples: Repo-level rules files (AGENTS.md, CLAUDE.md, .cursor/rules/*.mdc), project bootstrap scripts, and reusable agent skills.

  • Sensors (Feedback Controls): Observe the agent after it acts and feed error signals back so it can self-correct autonomously.

    • Examples: Test suites, type checkers, linters, architectural boundary tests, and LLM-as-a-judge code review skills.

Both guides and sensors split into two execution types:

  • Computational (Deterministic): Fast, cheap CPU checks (compilers, unit tests, linters, static analysis) that enforce hard boundaries rather than relying on the LLM to remember a rule.

  • Inferential (Semantic): GPU-backed checks (AI code review, subagent spec verification) that evaluate nuance and intent where rigid rules fall short.

3. Practical Patterns to Build in Your Workflow

  1. Persistent Rules Files: Move recurring prompt instructions into hierarchical repository files (AGENTS.md or CLAUDE.md) so conventions survive across sessions and directory trees.

  2. LLM-Optimized Linter & Test Messages: Configure custom linter errors or test assertions to output actionable fix instructions—when the agent runs the test suite, the error message tells it how to self-correct.

  3. The PEV Loop (Plan, Execute, Verify): Force the agent to write a structured plan first, execute changes against that plan, and run an automated verification step (tests + spec check) before finishing.

  4. Context Compaction & Fresh Subagents: Trim or summarize stale tool outputs to avoid context rot, and spin up clean, zero-history reviewer subagents to audit diffs against requirements.

  5. The Steering Loop: Every time an agent repeats a mistake during code review, treat it as a harness bug—add a rule, a script, or a pre-commit check so that failure mode cannot happen again.

Sunday, November 29, 2026

Modern & Human-Centric Route


History offers iconic examples like Steve Jobs at Apple and Sam Altman at OpenAI,
and the dramatic 11-day departure and return of Nvidia CEO Jensen Huang in November 2026 has reignited the debate over what happens when a company realizes it cannot easily replace its founder.

Why Boards Reverse Course Removing a visionary leader is often meant to protect governance, mitigate scandal, or signal accountability. However, boards quickly confront the reality of "founder gravity"—the idea that a leader isn't just a manager, but the glue holding together talent, investor confidence, and strategic vision. 

In Nvidia’s case, Huang’s departure triggered a steep drop in share value, an employee-backed petition with over 180,000 signatures, and intense external pressure, culminating in a unanimous vote to bring him back.

The Culture and Momentum Factor While modern enterprises obsess over automation, AI, and scalable processes, a CEO's return proves that businesses are still fundamentally built around people and trust. When employees cheer in the atrium or call a returning leader "the heartbeat" of the organization, it highlights a critical truth:

  • Systems create consistency, but people create momentum: Workflows keep the lights on, yet shared trust in a leader is often what drives breakthrough innovation and morale during a crisis.

  • Institutional knowledge isn't easily transferable: A founder-CEO frequently holds the long-term roadmap and key industry relationships that no interim playbook can replicate overnight.

The Double-Edged Sword of Indispensability At the same time, a dramatic reinstatement exposes a major vulnerability. When a single executive's exit can rattle global markets or stall internal alignment, it raises a pressing question for every organization: Can a business ever truly become independent of an iconic leader?

Ultimately, the most resilient companies balance visionary leadership with deep organizational trust—ensuring that while a great CEO inspires the mission, the culture of showing up, solving problems, and delivering for customers lives across the entire team.

Wednesday, November 25, 2026

Layers of AI


The visual of the "Layers of AI" shows how we got to where we are today—and where we are headed next. Let’s peel back the layers from the ground up.

Layer 1: Classical AI (The Foundation)

At the very bottom lies Classical AI. This is the oldest, rule-based layer of artificial intelligence. It doesn't "learn" from data the way modern systems do; instead, it relies on human-coded logic.

  • Key components: Symbolic systems, expert systems (like "if-then" rules), knowledge representation, and formal logic.

  • Think of it as: A tax software program that calculates your return based on rigid, pre-defined rules.

Layer 2: Machine Learning (The Pattern Finder)

Moving up, we find Machine Learning (ML). This was the first major paradigm shift, where we stopped writing exact rules and instead gave computers algorithms to identify patterns in data on their own.

  • Key components: Supervised learning (labeled data), unsupervised learning (finding hidden patterns), regression, classification, and reinforcement learning (learning by trial and reward).

  • Think of it as: A spam filter that gets better at catching unwanted emails based on millions of examples you and others have marked as spam.

Layer 3: Neural Networks (The Human-Inspired Architecture)

At this layer, the math gets modeled roughly after the human brain. Neural Networks consist of interconnected "neurons" that process information in stages, enabling computers to recognize more complex and abstract patterns.

  • Key components: Perceptron (basic units), activation functions, hidden layers (where the heavy processing happens), and backpropagation (how the network corrects its own mistakes).

  • Think of it as: The essential gears and wiring that make advanced learning possible.

Layer 4: Deep Learning (The Scaling Engine)

By stacking many neural networks together (making them "deep"), we get Deep Learning. This is the layer that unlocked modern capabilities like image recognition and natural language processing by digesting massive, unstructured datasets.

  • Key components: Transformers (the breakthrough behind modern language processing), LSTMs, RNNs, CNNs (crucial for visual processing), and autoencoders.

  • Think of it as: The massive computational engine that can look at millions of photos and reliably identify a cat or read the entire internet to understand how human language works.

Layer 5: Generative AI (The Creators)

This is the layer most of us interact with daily now. Generative AI doesn't just analyze data—it creates brand-new content (text, images, video) based on the patterns it learned from the layers below.

  • Key components: Large Language Models (LLMs like GPT-4), Diffusion Models (image generation), Multimodal Models (handling text, video, and audio together), and VAEs (Variational Autoencoders).

  • Think of it as: The digital artist, writer, and conversationalist.

Layer 6: Agentic AI (The Goal-Oriented Doers)

At the very top sits Agentic AI—the cutting edge of today’s technology. These systems don’t just answer questions; they are given a goal and allowed to plan, use tools, and execute tasks autonomously over time.

  • Key components: Memory (recalling past actions), planning (broken-down problem solving), tool use (using browsers, code, or APIs), and autonomous execution.

  • Think of it as: A digital coworker. You ask it to "research and buy the best flight for my conference," and it creates a plan, searches the web, handles errors, and presents you with the best option.

The Takeaway

Each layer of the AI stack is entirely dependent on the one beneath it. Generative and Agentic AI wouldn't exist without deep learning, which relies on neural networks, which are built on machine learning. Understanding this stack helps us see that AI isn't magic—it's a marvel of cumulative engineering, layer by layer.

Thursday, November 19, 2026

Elephant-Goldfish Model

EGM introduces a clever framework designed to fix how humans and AI collaborate on technical designs, moving past endless back-and-forth chat threads.

The Core Concept: Elephants and Goldfish

The model splits responsibilities between two distinct cognitive styles:

  • The Elephant (The Drafting Assistant): This is your main AI companion. It holds the entire context, knows your historical decisions, remembers the messy brainstorming session, and understands the big picture.

  • The Goldfish (The Fresh Reviewer): These are isolated subagents or reviewers that read only the written plan—completely blind to the conversation that created it.

By forcing the AI to review its own work from a standing start (without memory of the prompt history), EGM highlights hidden assumptions, gaps, and logical flaws that a sycophantic, context-heavy chat thread would normally gloss over.

The Workflow Loop

Instead of treating AI like an oracle that spits out code on command, EGM structures development into a reliable pipeline:

  1. Brainstorming (/egm-brainstorm): Clarify your concept while an AI swarm stress-tests your edges, resulting in a structured concept brief.

  2. Drafting (/egm-draft): Turn that brief into a concrete, formal markdown design document section by section.

  3. Reviewing (/egm-review): Let fresh Goldfish subagents rip the plan apart to see what’s missing, ambiguous, or fragile.

  4. Human Oversight & Building: You evaluate the findings, update the plan, pull in human reviewers via PRs, and finally tell the AI to build directly to the spec.

Why It Matters

EGM recognizes a fundamental truth about modern AI development: the bottleneck isn't generating text or code—it's maintaining clarity, intent, and alignment. By anchoring your work in rigorous, independent written reviews rather than fleeting chat memory, EGM helps teams build systems that actually match what they set out to create.

Check out the full framework, installation details, and workflow steps at egm.dev/guide.

Monday, November 16, 2026

AI CapEx

A striking chart of CapEx among the largest U.S. companies reveals the mind-boggling scale of this tech rush:

The Hyperscale Big Four: A League of Their Own

At the top, four names utterly dominate the landscape, spending sums that resemble the annual budgets of medium-sized nations:

  • Amazon ($215B, +79% Y/Y): Through AWS, the giant is aggressively expanding data centers to handle skyrocketing demand for cloud-based AI.

  • Alphabet/Google ($160B, +105% Y/Y): Google has more than doubled its spending to scale Gemini, defend search, and supply enterprise tools through Google Cloud.

  • Microsoft ($136B, +97% Y/Y): Driven by its partnership with OpenAI and Copilot integration, Microsoft has nearly doubled its year-over-year spend.

  • Meta ($104B, +66% Y/Y): Meta is spending heavily on the high-capacity infrastructure needed to run open-source models (like Llama) and keep its ad engine sharp.

Combined, Amazon, Google, Microsoft, and Meta's CapEx exceeds $610 billion. This is a scale of concentrated spending never seen before in corporate history.

The Rest of the Field: Strategic & Specialized Spenders

Outside the top four, the spending drops off precipitously, highlighting the different strategies at play:

  • SpaceX ($55B): While not a pure AI player, SpaceX requires massive compute and telemetry for its launch and satellite networks.

  • Enterprise & Supply Chain: Memory manufacturer Micron ($31B, +94% Y/Y) is building factories for AI-essential High Bandwidth Memory, while Walmart ($29B) is integrating automation and AI into its supply chains.

  • Tesla ($15B): Investing to build massive supercomputers to train Full Self-Driving (FSD) and robotics.

  • The "Asset-Light" Giants: Apple ($9.0B, -29% Y/Y) and NVIDIA ($7.3B, +47% Y/Y) keep CapEx low by outsourcing. Apple relies on partners and consumer devices, while NVIDIA designs chips but outsources manufacturing.

The Big Takeaway

The massive disparity between the top four bars and the rest shows that the AI race is not a level playing field. For the hyperscalers, this is a high-stakes gamble: they have decided that the risk of under-investing in AI infrastructure is far more dangerous than the risk of spending too much. Whether these historic bets will pay off remains the ultimate question—but looking at these numbers, the buildout isn't slowing down.

Saturday, November 14, 2026

AI Layoff hidden risks

AI-related layoffs will fuel a rise in fraud—and the industry isn’t talking about it nearly enough.

Decades ago, criminologist Donald Cressey introduced the Fraud Triangle, a framework showing that otherwise ethical people tend to cross legal lines when three specific conditions converge: pressure, opportunity, and rationalization. Right now, the rapid adoption of artificial intelligence is quietly loading all three sides of that triangle at once.

1. Pressure

Companies are posting record profits and revenues while simultaneously cutting tens of thousands of jobs. According to Tech Times, an average of 1,115 tech workers have lost their jobs every working day in 2026—nearly double last year's pace.

Financial desperation doesn't just motivate bad behavior; research shows that acute financial anxiety actively impairs judgment and makes it harder to weigh long-term consequences. When bills pile up and job prospects shrink, fraud stops looking like a choice and starts feeling like a necessity. Right now, we are flooding the market with newly unemployed, financially stressed talent.

2. Opportunity

To be fair, the fraud and security industries are already sounding the alarm here. Generative AI has effectively collapsed the technical barrier to entry for cybercrime. Tools for creating synthetic identities, launching automated bot attacks, and executing hyper-personalized phishing campaigns are now cheap, accessible, and easy to use—even for a first-time offender with basic tech literacy.

3. Rationalization

This is the most overlooked—and dangerous—part of the equation. Studies consistently show that employee dissatisfaction and perceived unfairness are stronger predictors of fraud risk than opportunity alone. When people feel betrayed, they construct moral justifications for their actions.

As TechCrunch recently put it, the corporate optics right now are blunt: "We’re getting richer than ever off the very tech we’re using to replace you." When a company’s public message boils down to record growth at the direct expense of its workforce, the justification to strike back—or simply take what feels owed—practically writes itself.

The Takeaway for Risk Leaders Fraud prevention can no longer focus solely on technical defenses against AI-powered attacks. Organizations must recognize that widespread economic displacement and eroded trust are creating a massive wave of motivated actors. Preparing for the next surge in fraud means understanding the human psychology driving it—before the triangle closes.

Wednesday, November 11, 2026

Logistics Use case Competition


Serving as both keynote speaker and judge at this year’s supply chain case competition was a powerful reminder of how complex transportation networks become as organizations scale. Leadership must constantly balance customer service, operational visibility, transportation costs, and long-term scalability.

The case challenged students to evaluate a critical strategic shift: weighing the cost and service trade-offs of converting prepaid freight to collect or direct fleet management. In my keynote, I emphasized that modern supply chain leadership goes beyond simply moving freight at the lowest rate—it requires designing resilient, data-informed networks that protect service levels while supporting future growth.

From the judges’ table, the standout teams were those that grounded their strategies in operational realities like labor availability, infrastructure, and equipment planning. Using MS Excel, Trimble Maps PC*Miler, and Tableau, students built compelling 'before' and 'after' network maps that clearly illustrated how origin points and carrier assignments shifted.

Seeing these students synthesize analytics, technology, and executive communication under pressure proved that the future of supply chain leadership is in great hands.