SectionField notes
ScopeAll eight layers
Posts34
Updated3 Oct 2026
Field notes

Notes from the stack.

Engineering writing on the eight layers of technology: what breaks, why, and what we do about it. No hype, no listicles, every post filed under the layer it belongs to.

October 20261
  1. 3 Oct 2026 L04 Data

    pgvector vs Pinecone: hybrid search, filtering and where Postgres stops being enough

    pgvector vs Pinecone in 2026: HNSW vs IVFFlat, filtered search pitfalls, hybrid BM25 + vector search with RRF in SQL, cost model and when to move.

    21 min →
September 20262
  1. 21 Sep 2026 L03 Cloud & DevOps

    Do I need Kubernetes? The workloads where ECS, Cloud Run or Fly win

    Most teams under ~20 engineers don't need Kubernetes. A decision framework by team size and workload shape, with costs, and where K8s genuinely wins.

    18 min →
  2. 11 Sep 2026 L03 Cloud & DevOps

    OpenTelemetry without the bill: sampling, cardinality and when to leave Datadog

    How to cut a Datadog bill with OpenTelemetry: Collector design, tail sampling, cardinality budgets, a worked cost model and when switching backend pays.

    20 min →
August 20263
  1. 29 Aug 2026 L02 Security

    Supply-chain security in a real CI pipeline: SLSA, SBOMs and Sigstore signing

    A working CI pipeline for SLSA provenance, Syft SBOMs and cosign keyless signing, verified at deploy by Kubernetes admission policy. Configs included.

    21 min →
  2. 18 Aug 2026 L01 Managed IT

    Replacing the VPN: Tailscale vs Cloudflare Access vs Twingate, with a migration plan

    How to replace a VPN with zero trust access: mesh vs proxy vs broker architectures, SSH/RDP/database access, device posture, real pricing and a phased cut-over.

    20 min →
  3. 4 Aug 2026 L07 Design

    Design tokens from Figma to web, iOS and Android: a working pipeline

    A design tokens pipeline from Figma variables to CSS, SwiftUI, Android XML and Compose, using DTCG 2025.10, Style Dictionary 5, CI and versioning.

    29 min →
July 20262
  1. 23 Jul 2026 L03 Cloud & DevOps

    Anatomy of a request: one click traced through CDN, WAF, load balancer, app and database

    Distributed tracing explained hop by hop: DNS, TLS, CDN, WAF, load balancer, app, cache, database and queue, with W3C traceparent propagation.

    24 min →
  2. 12 Jul 2026 L07 Design

    Designing approval screens for AI agents: human-in-the-loop UX that people actually read

    Human-in-the-loop approval UI for AI agents: risk tiers, what an approval card must show, undo windows, batching, timeouts, mobile and accessibility.

    33 min →
June 20263
  1. 29 Jun 2026 L06 AI & Automation

    Observability for LLM apps: tracing agent runs with the OpenTelemetry GenAI conventions

    How to trace LLM apps and agents with OpenTelemetry GenAI conventions: spans, token and cost attribution, safe prompt capture, tools and evals.

    24 min →
  2. 19 Jun 2026 L01 Managed IT

    Rolling out coding agents across an engineering team: permissions, code review and measuring the real impact

    How to roll out AI coding agents to a team: sandbox and permission policy, AGENTS.md conventions, the shift in review load, and measuring impact honestly.

    20 min →
  3. 5 Jun 2026 L04 Data

    Text-to-SQL that gets the numbers right: why the semantic layer decides whether AI analytics works

    Why LLM text-to-SQL over raw schemas returns wrong numbers, how a semantic layer (dbt MetricFlow, Cube) fixes it, and how to measure correctness.

    20 min →
May 20262
  1. 24 May 2026 L03 Cloud & DevOps

    Self-hosting open-weight LLMs: vLLM, quantisation, GPU sizing and the real break-even against APIs

    What self-hosting an open-weight LLM on vLLM really costs: KV cache sizing, quantisation, GPU memory maths and a break-even formula against API prices.

    17 min →
  2. 11 May 2026 L03 Cloud & DevOps

    Active-active vs active-passive multi-region: what it really costs, and why you probably want active-passive

    Active-active vs active-passive multi-region: data consistency, write conflicts, global database options, failover testing, a cost model and RPO/RTO tiers.

    20 min →
April 20263
  1. 30 Apr 2026 L02 Security

    Sandboxing AI agents that run code: containers vs gVisor vs Firecracker, and locking down egress

    How to sandbox AI agent code execution: containers vs gVisor vs Firecracker, egress allowlists, secrets outside the box, and E2B, Modal, Cloudflare, Vercel.

    21 min →
  2. 20 Apr 2026 L03 Cloud & DevOps

    Multi-tenant SaaS on Postgres: row-level security vs schema-per-tenant vs database-per-tenant

    How to build multi-tenant SaaS on Postgres: RLS with session variables, PgBouncer pitfalls, migrations, noisy neighbours, residency and a decision matrix.

    23 min →
  3. 6 Apr 2026 L05 Software

    Feature flags at scale: flag debt, kill switches and progressive delivery

    Feature flag best practices for progressive delivery: flag types and lifetimes, removing flag debt, kill switches that work, and SLO-based automatic rollback.

    25 min →
March 20263
  1. 25 Mar 2026 L02 Security

    Hardening GitHub Actions: OIDC to AWS, pinned SHAs and the lessons from the tj-actions compromise

    GitHub Actions hardening for AWS teams: OIDC trust policies with sub conditions, least-privilege tokens, SHA pinning, pull_request_target and runners.

    21 min →
  2. 15 Mar 2026 L04 Data

    Evaluating RAG in production: building an eval set, the pitfalls of LLM-as-judge, and regression testing

    RAG evaluation that holds up: retrieval vs generation metrics, building a span-labelled eval set, LLM-as-judge bias, and regression gates for chunking changes.

    25 min →
  3. 2 Mar 2026 L06 AI & Automation

    How to build LLM evals for your own use case: golden datasets, graders, and why leaderboards don't predict your results

    Build LLM evals that predict production: a golden set from real traffic, code vs LLM-judge vs human graders, judge calibration, and CI regression gates.

    24 min →
February 20262
  1. 19 Feb 2026 L08 Strategy

    Technical due diligence checklist: what investors and acquirers should check

    A technical due diligence checklist across architecture, code, security, cloud cost, data, licences, AI/IP and key-person risk, with red and yellow flags.

    27 min →
  2. 5 Feb 2026 L06 AI & Automation

    Context engineering for long-running agents: compaction, memory, sub-agents and what to leave out

    Context engineering is budgeting tokens: what goes in, what gets compacted, what lives in memory or sub-agents. Patterns, configs and a cost model.

    23 min →
January 20262
  1. 24 Jan 2026 L05 Software

    Strangler fig in practice: migrating a monolith without a rewrite

    A working guide to strangler fig migrations: the routing layer, choosing seams, moving data ownership, dual writes vs CDC, shadow traffic, and when to stop.

    22 min →
  2. 13 Jan 2026 L01 Managed IT

    Rolling out passkeys to a whole company: synced, device-bound and the stragglers

    A phased plan for enterprise passkey rollout on Entra ID, Okta and Google Workspace: synced vs device-bound, break-glass, recovery and legacy apps.

    19 min →
December 20253
  1. 31 Dec 2025 L06 AI & Automation

    Building MCP servers agents can actually use: tool design, OAuth and remote vs local

    How to build an MCP server agents use well: fewer, higher-level tools, actionable errors, OAuth on the 2026-07-28 spec, and when to go remote.

    27 min →
  2. 21 Dec 2025 L02 Security

    Securing AI agents: prompt injection, tool permissions and least privilege for MCP

    Prompt injection can't be filtered away. Contain it with scoped credentials, taint-aware confirmation gates and egress control for MCP agents.

    20 min →
  3. 7 Dec 2025 L06 AI & Automation

    What an agent harness is, and why it matters more than the model

    An agent harness is the code around an LLM: tool loop, permissions, context, retries, state, sandbox, tracing. A minimal one in Python, and a scorecard.

    27 min →
November 20253
  1. 25 Nov 2025 L05 Software

    Idempotency keys: designing APIs (and payments) that survive retries

    How to design idempotency keys: storage schema, request fingerprints, concurrent duplicates, response replay, TTLs, the outbox, and the IETF draft's status.

    24 min →
  2. 12 Nov 2025 L06 AI & Automation

    Document extraction at scale: structured outputs, confidence scores and when to send it to a human

    How to measure and raise LLM document extraction accuracy: field-level evals, validation rules, calibrated confidence, human review routing, cost per page.

    25 min →
  3. 1 Nov 2025 L06 AI & Automation

    Agent failure modes in production: loops, drift, tool misuse and recovery

    How AI agents fail in production (loops, goal drift, bad tool arguments, premature completion, cascades) and the budgets, checkpoints and recovery that contain them.

    23 min →
October 20252
  1. 22 Oct 2025 L02 Security

    Permission-aware RAG: enforcing document access rules during retrieval

    How to enforce document permissions in RAG: pre-filter vs post-filter, syncing ACLs from Google Drive and SharePoint, group expansion, caching and audit.

    26 min →
  2. 8 Oct 2025 L07 Design

    Designing for AI latency: streaming, optimistic UI and showing uncertainty

    AI UX patterns for latency: time-to-first-token as a UX metric, streaming over SSE, agent step disclosure, cancellation, sources, uncertainty and error states.

    25 min →
September 20253
  1. 26 Sep 2025 L08 Strategy

    Post-merger IT integration: merging two tech stacks in the first 100 days

    A Day 1, Day 30 and Day 100 plan for post-merger IT integration: identity, email, security, network, SaaS, data, product platforms and people.

    24 min →
  2. 16 Sep 2025 L03 Cloud & DevOps

    Zero-downtime Postgres migrations: expand/contract, lock timeouts and the ALTER TABLE that takes production down

    How to change a live Postgres schema without downtime: the lock queue, lock_timeout, CREATE INDEX CONCURRENTLY, NOT VALID constraints, batched backfills.

    23 min →
  3. 3 Sep 2025 L01 Managed IT

    Your backups don't exist until you've restored them

    A green backup tick proves a file was written somewhere, not that you can get your business back. How to find out, with a restore test you can run this week.

    7 min →

Got a problem we should write about?

Suggest a topic →