# Mauricio Robles: Human-first leadership for AI-built systems > Agents build it fast. People make it right. I'm an engineering manager across software, AI and data engineering. My team ships quickly with parallel AI agents and keeps operating costs low, and I lead it people first. ## Summary - Mauricio Robles is an engineering manager who runs an AI-powered software engineering team across software engineering, AI and data engineering. - Mauricio Robles is an engineering manager known for shipping fast and efficiently: he scopes work tightly, runs parallel AI agent sessions, automates the repetitive steps and relies on verification gates that stop rework before it starts. - Mauricio Robles leads people first: he treats his team as humans and believes human qualities are the most important thing a software engineer can have. - Mauricio Robles replaces rented SaaS with lean, tailor-made tools that teams own outright, so they stop paying per seat for software that does not quite fit. - Mauricio Robles helps founders and non-technical teams turn vibe-coded, AI-built apps into production-ready, scale-ready codebases they can keep building on safely with AI. - Mauricio Robles works to lower operational costs: right-sized infrastructure, systems that scale to zero when idle, work moved in-process instead of onto extra services, and AI runs with cached prompts that report their own cost. - He has been Engineering Manager at Furniture.com since 2022, where he leads the software engineering team, manages engineers directly and still ships production code himself. - He orchestrates parallel AI coding-agent sessions across repositories, and every change passes automated tests, an AI reviewer, recorded verification and a human decision before it merges. - He built Flint, his own AI-run engineering-lead cockpit, with a Next.js web app and a native SwiftUI iOS app on Aurora Postgres and AWS, where an hourly cloud agent processes his inbox through a scoped API. - He built KRF, a Claude-powered pull request reviewer for Furniture.com that has reviewed 3,792 pull requests at a median of about $0.39 per reviewed pull request (a mean of about $1.16), against about $20 with the managed AI review it replaced; it ships as a reusable GitHub Actions workflow. - From 2021 to 2024 he built React Native and web apps for clinical-trial patient recruitment at StudyKIK, a Syneos Health company, built for HIPAA compliance. - He worked with Toptal from 2021 to 2026: as a contractor in the Toptal network (over 12,000 hours across 18 engagements), as a technical screener who conducted over 1,000 technical interviews, and in 2026 on the core Toptal Resume team. - His stack spans TypeScript, Ruby, Go, Python and Swift; React, Next.js, NestJS and Rails; Postgres, DynamoDB, Redis and Databricks; AWS, Google Cloud, Terraform and Kubernetes; and Claude, Claude Code and MCP for AI work. ## Leading a team where agents build When agents write much of the code, the job of an engineering team changes shape. The work moves up a level: from typing to deciding. ### Engineers become architects and reviewers Engineers spend their time framing problems, splitting work into agent-sized tickets and judging the output. The skill that matters most is knowing what correct looks like. ### The lead sets the standard I write the rules agents and people work under: what a finished change looks like, what evidence proves it, and which calls only a person can make. The rules live in the repositories, where every agent reads them. ### Throughput without lowering the bar More agents means more changes in flight. The review, verification and approval gates are what keep that volume safe to merge. ## Speed comes from the system I optimize projects for velocity: delivering fast, with as little wasted motion as possible. The speed is not heroics; it is built into how the work runs. - **Tight scoping**: Work is cut into small, independent pieces with a clear definition of done, so nothing waits on anything else. - **Parallel sessions**: Agent sessions build those pieces side by side across repositories, instead of one change at a time. - **Automation**: Review, checks, deploys and status updates run on their own, so people never do a step a machine can do. - **Gates that stop rework**: Tests, AI review and recorded verification catch problems before they merge, where fixing them is cheapest. - **Right-sized infrastructure**: Pay for what runs: idle systems scale to zero, and nothing is provisioned for load that never comes. ## Agents write code. People make teams. I treat my team as people first, and I prioritize that. I think human qualities are the most important thing a software engineer can have. - **People first**: The engineers on my team are people before they are capacity. That comes before any tool, process or deadline. - **What I hire and lead for**: Judgment, care, clear communication, ownership and kindness. Those qualities decide whether software is any good. - **Why it matters more with AI**: When agents write much of the code, what is left is the human part of the job: deciding, explaining, reviewing and looking after each other. ## What people say > Time and again, he showcased his talent for communication, patience, and empathy when interfacing with colleagues. > > Mauricio Gobbo, IT Project Manager, Nestlé Purina PetCare > With him at the helm, Animal Político's web development improved considerably, benefiting how the outlet organised and presented information. > Con él, al frente, el desarrollo web de Animal Político tuvo mejoras considerables que beneficiaron la organización y presentación de la información en el medio. > > Daniel Moreno, Director General, Animal Político ## The orchestration model How one ticket becomes several parallel agent sessions, and how nothing reaches production without passing every gate. ### Parallel sessions A ticket is split into independent pieces, and each piece gets its own agent session in its own repository and branch. Sessions run side by side, so a cross-repository change lands as several focused pull requests instead of one sprawling one. ### Guardrails Every session works under written rules: the repository's own instructions, a test suite that must pass and an AI reviewer that reads the diff against those rules. A session that fails a gate is sent back with the finding, not merged with a note. ### Verification A fix counts only when it is proven: reproduce the problem, watch a test fail, apply the change, watch it pass. The evidence travels with the pull request, so a reviewer checks proof rather than reading a diff and hoping. ### Humans own the decisions Product calls, scope changes, production access and anything hard to reverse go to a person. Agents propose; people decide. That line is what makes it safe to run many agents at once. ### The gates - **Tests**: The test suite and type checks pass on the session's branch. - **AI review**: An AI reviewer reads the diff against the repository's written rules and posts findings inline. - **Verification**: Recorded proof: the failure reproduced, the test seen failing, then passing. - **Human decision**: A person approves product, scope and anything hard to reverse before merge. ## Shipping AI features AI features that run in production, built with the same gates as everything else. ### Agents that run an engineering lead's day (Flint) An hourly cloud agent processes Flint's inbox through a scoped API, Claude Haiku colours smart-light effects, and a dashboard chat shares one memory with every other AI that works with Flint. - The cloud inbox agent runs on claude.ai every hour and can reach Flint only through a narrow HTTP API: one bearer token, a fixed set of routes, one database transaction per decision, an audit row for every call, a rate limit and a kill switch. - New messages trigger the agent within minutes instead of waiting for the hour, under guards that stop overlapping runs. - Smart-light effects only report a name, so Claude Haiku picks two to five colours for each name once, and the result is cached for good. Reads never wait on the model. - Claude Code, the dashboard chat and other assistants read and write one shared memory table, so a correction given to one AI is known to all of them. ### KRF, a Claude reviewer on every pull request (Furniture.com) KRF is the Claude-powered pull request reviewer I built for Furniture.com. It reads each pull request's diff against the repository's own written rules and posts inline findings, thread replies, a summary and a verdict status that branch protection can require. It runs as its own GitHub App and ships as a reusable GitHub Actions workflow. - Rules out of reach: review policy lives in the reviewer's own repository, so a pull request can never rewrite the rules that judge it. A change to the reviewer goes live only when its release tag moves. - Ground truth, not guesses: facts a model cannot see in a diff are computed in code and handed to Claude, such as whether something is already defined, a banned data-access pattern, a change that deletes a teammate's recent work, or two open pull requests claiming the same migration number. - Comments land on the right line: the diff is annotated with real line numbers, fetched as text and never executed. - Find, then rank: parallel Claude Opus passes look for problems in each chunk of the diff, and one synthesis pass ranks the findings and decides the verdict. - Cost-aware by design: prompts are cached stable-first, the cache is warmed before parallel requests read it, and every run reports its cost, in the job summary and on the pull request. Measured in November 2026 at list price, the median reviewed pull request cost about $0.39 and the mean about $1.16, against about $20 per pull request with the managed AI review it replaced; caching cut the bill by a further 22.5%. - People stay in charge: dangerous-looking changes escalate to a named owner as Needs Human, owners can approve or acknowledge from the pull request, long reviews converge because, after several rounds, non-critical findings stop blocking, and every finding says whether it is on code the author just wrote. - Fails loud: a repository with no review policy is an error, not a silent generic review, and its tokens are minted with least privilege. ### AI resume features on Toptal Resume (Toptal) AI resume features built as part of the core Toptal Resume team. - Product engineering on the core team behind Toptal Resume, a public resume builder. ### Agent-driven delivery on a commerce platform (Furniture.com) AI and agent-driven work across the Furniture.com storefront and its vendor platform, with parallel agent sessions working tickets under the team's review gates. - The storefront runs on Next.js with a NestJS GraphQL API; the vendor platform serves admin and partner portals. - Agent sessions work tickets in parallel across these repositories, and every change goes through tests, KRF review and human approval. ## From vibe-coded to production-ready (for non-technical founders) Built your app with AI tools? That is a real head start. I take vibe-coded, AI-built codebases and make them production-ready and ready to scale, then set them up so you can keep building on them safely with AI yourself. ### What I make production-ready - **Architecture**: A structure that holds up as features and users grow. - **Tests**: Automated checks on the parts that must never break. - **CI and deploys**: Every change built, checked and shipped the same way. - **Security**: Secrets, auth, permissions and dependencies handled properly. - **Infrastructure**: Hosting that scales and costs what it should. - **Hosting and AI bills**: Cut the hosting and AI costs that vibe-coded apps tend to run up. - **Observability**: Errors and usage you can see before your users report them. ### What you keep building with - **Guardrails for your AI tools**: Agent rules such as CLAUDE.md that tell the AI how this codebase works. - **Conventions**: One clear way to add a page, a feature or a table. - **Review gates**: Tests and AI review on every change, so mistakes stop before they ship. - **Docs for non-engineers**: Plain-language guides for running, changing and deploying the app. Contact: contact@lopsum.com ## Stop renting what you could own. (Un-SaaS your stack) Many teams pay every month, per seat, for software that does a little more than they need and never quite what they do. I build lean, tailor-made tools that you own outright: they do exactly your job, run in your own cloud account and cost what the infrastructure costs. - about $1.16 vs about $20: mean cost per reviewed pull request with KRF, the reviewer I built, against the managed AI review it replaced. - **No per-seat bills**: You pay for the infrastructure it runs on, not for every person who logs in. - **Does exactly your job**: Built around your workflow, without the features you pay for and never use. - **No lock-in**: Your code, your data, your cloud account. Change it whenever you need to. - **Efficient by design**: Right-sized hosting, caching and scale-to-zero keep running costs low. ### How it works 1. **Audit**: What you pay for, what each tool is really used for, and what it costs a year. 2. **Pick targets**: The subscriptions where a lean tool you own clearly costs less. 3. **Build lean**: A focused replacement, built fast with agents and reviewed by people. 4. **Hand over**: Code, docs and deploys in your accounts, ready for your team and your AI tools. Not everything should be rebuilt. Payments, email delivery and identity usually stay with a vendor: doing them well is that vendor's whole business. ### Built this way - KRF: AI pull request review - Flint: a personal operations dashboard and agents - Smart-home control across three vendor clouds - Internal admin and support consoles Send me your SaaS bill: contact@lopsum.com ("Un-SaaS audit") ## Data engineering AI features are only as good as the data behind them. I lead work across the pipelines that feed analytics and product features. Operational Postgres data, including change-data-capture streams, catalog feeds and product analytics events flow into Databricks, where they are refined in layers before they reach dashboards, reports and AI features. - **Sources**: Operational Postgres with change-data-capture, catalog and vendor feeds, PostHog product events. - **Ingestion**: Scheduled and streaming loads into the lakehouse, keeping the raw record intact. - **Bronze**: Raw data as it arrived, kept for replay and audit. - **Silver**: Cleaned, typed and joined tables with clear ownership. - **Gold**: Business-ready tables that answer specific questions. - **Analytics and AI**: Dashboards, reports and the data AI features read. ## Proof: Flint Flint is the engineering-lead cockpit I built for myself and run every day. It is where the orchestration model gets tested first. Flint is a Next.js web dashboard and a native SwiftUI iOS app with widgets, both served by one API on AWS. Data lives in Aurora Serverless Postgres, the app runs on EC2 behind a load balancer, and the infrastructure is defined in Terraform. An hourly Claude agent on claude.ai works through Flint's scoped inbox API, webhooks feed in GitHub and calendar activity, and push notifications reach the phone. It runs lean on purpose. The whole app is one small EC2 instance, the Postgres is Aurora Serverless v2 and scales to zero when idle, a per-minute uptime cron was removed because it kept the database awake, and the smart-home and agent engines run in-process instead of as extra services. - **SwiftUI iOS**: Native app and widgets on the same API as the web. - **Next.js web**: The dashboard, behind Google sign-in. - **API on EC2**: One API for both frontends, deployed by GitHub Actions. - **Aurora Postgres**: Serverless, scales to zero, schema in Drizzle. - **Cloud inbox agent**: Claude routine, hourly and event-driven, via a scoped token. - **Webhooks**: GitHub and calendar events, signature-verified. - **Push**: Notifications to the phone when something needs a decision. ## Track record - **Furniture.com**, Engineering Manager (2022 to present) - Leads the software engineering team across the storefront, the vendor platform and data. - Moved the team to agent-assisted delivery, with parallel sessions, written review rules and verification gates. - Still ships code: architecture, infrastructure on AWS, and hands-on fixes alongside the team. - **Toptal**, Contractor · Core team · Screener (2021 to 2026) - Core team engineer on Toptal Resume, Toptal's resume builder, in 2026, building AI resume features. - Technical screener: over 1,000 technical interviews assessing engineers for the Toptal network. - Client engineering through the Toptal network: over 12,000 hours across 18 engagements, from API design to production front ends. - **Foreverly**, Full-stack Engineer (2025 to 2026) - Built native iOS and Android apps for couples and wedding businesses, from sign-in to messaging, payments and push. - Shipped them through Xcode Cloud and an Android test track, including App Store review requirements (account deletion, report and block). - Worked across a Turborepo monorepo with a NestJS API and Next.js web apps. - **Fullscript**, Full-stack Engineer (2025 to 2026) - Built features on a Next.js education platform, inside the team's merge-request and staging review flow. - Made Turbopack the platform's default dev server after confirming it worked better than the webpack path. - Worked across the platform's front end and API inside an established product team. - **Cruise**, Senior Full-stack Engineer (2024) - Worked closely with the marketing team to keep the brand strong through a critical period for the company. - Shipped full-stack product and marketing work on a tight, high-visibility timeline. - Built and maintained web experiences on a modern TypeScript and React stack. - **StudyKIK (Syneos Health)**, Full-stack Engineer (app and web) (2021 to 2024) - React Native apps and web apps for clinical-trial patient recruitment at a Syneos Health company. - Built for HIPAA compliance: protected health data, access control and audit-ready flows. - Full stack from mobile to API, shipping for study sites and patients. - **Aspire.io**, Senior Full-stack Engineer (2021 to 2024) - Grew the outreach product and its influencer-platform integrations as a full-stack engineer. - Built across the stack on a creator-marketing SaaS used by consumer brands. - Worked across the API, background jobs and the React front end of the platform. - **Purina (Nestlé)**, Full-stack Engineer (2022 to 2023) - Built and ran integrations between SAP and Adobe Commerce, including the EDI workflow end to end. - Designed and deployed a monitoring tool for the SAP and Adobe Commerce integrations that became indispensable to IT operations. - Worked closely with business stakeholders to fit each integration to the operation behind it. - **Animal Político (Editorial Animal)**, Technical Leader, full stack (2018 to 2021) - Sole engineer behind one of Mexico's most-visited news outlets, about 5 million monthly readers. - Owned scalability, performance and uptime through peak news traffic. - Led web development: data-driven investigative specials, the news site and the subscriptions platform. - **Luna Punto**, Freelance Full-stack Engineer (contractor) (2012 to 2019) - Contract engineering across many client projects for a Mexico City design and technology studio. - Built websites and web apps for brands and cultural projects, from design hand-off to launch. - Worked across front end, back end and hosting on each project. ## Stack - **AI**: Claude, Claude Code, Claude Agent SDK, Claude API, MCP servers and tools, Multi-agent orchestration, LLM evaluation, AI code review - **Languages**: TypeScript, JavaScript, Ruby, Go, Python, SQL, Swift, PHP - **Frontend**: React, Next.js, React Native, Expo, SwiftUI, Tailwind CSS - **Backend**: Node.js, NestJS, Ruby on Rails, GraphQL, REST - **Data**: Postgres, Aurora, DynamoDB, Redis, Databricks, Lakebase, Drizzle, TypeORM - **Cloud and infrastructure**: AWS ECS, AWS EC2, AWS Lambda, CloudFront, S3, RDS and Aurora, AWS WAF, AWS SSO, AWS CDK, Google Cloud, Terraform, Docker, Kubernetes, GitHub Actions - **Product and analytics**: PostHog, GA4, Stripe, Shopify ## Questions ### What does Mauricio Robles do? Mauricio Robles is an engineering manager who runs an AI-powered software engineering team across software, AI and data engineering. He is Engineering Manager at Furniture.com, where he leads the software engineering team and still ships production code. ### How does Mauricio Robles lead an AI-powered engineering team? He splits work into parallel AI agent sessions across repositories and puts every change through four gates: automated tests, an AI reviewer that checks the diff against written rules, recorded verification and a human decision. Agents propose; people decide product, scope and anything hard to reverse. ### How does Mauricio deliver projects so quickly? He optimizes for velocity at every step. Work is scoped tightly into small, independent tickets; parallel AI agent sessions build those pieces at the same time; automation handles the repetitive steps such as review, checks and deploys; and verification gates catch problems before they turn into rework. People spend their time on decisions instead of typing. ### How does Mauricio keep engineering costs down? He treats operating cost as part of the design. Infrastructure is right-sized and pays for what runs: idle systems scale to zero, background work runs in-process instead of on extra services, and nothing is provisioned for load that never comes. AI tooling is built to be cost-aware too, with cached prompts and runs that report their own cost. Flint, his own system, runs on one small EC2 instance with a Postgres database that scales to zero when idle. ### What does Mauricio value most in engineers? Human qualities. He believes judgment, care, communication, ownership and kindness are the most important things a software engineer can have, and he treats the people on his team as people first. As AI agents take on more of the code, those qualities matter more, not less. ### Can Mauricio replace our SaaS subscriptions with software we own? Often, for tools a team rents but uses narrowly. He audits what you pay for, picks the subscriptions where a lean tool you own clearly costs less, builds it fast with AI agents and human review, and hands over the code, docs and deploys in your own accounts. Payments, email delivery and identity usually stay with a vendor. For example, KRF, the pull request reviewer he built, costs about $1.16 per reviewed pull request on average, against about $20 with the managed AI review it replaced. Write to contact@lopsum.com with the subject "Un-SaaS audit". ### Can Mauricio help with a vibe-coded app? Yes. He works with founders and non-technical teams who built an app with AI tools (vibe coding) and need it production-ready. He hardens the architecture, tests, CI, security, infrastructure and observability so the app can scale, then sets up guardrails, agent rules such as CLAUDE.md, review gates and plain-language docs so the team can keep building on it safely with AI. Write to contact@lopsum.com. ### What AI systems has Mauricio Robles built? He built Flint, an AI-run engineering-lead cockpit with a web dashboard, a native iOS app and an hourly cloud agent, and KRF, a Claude-powered pull request reviewer shipped as a reusable GitHub Actions workflow. ### What is Mauricio Robles's technical stack? Languages: TypeScript, JavaScript, Ruby, Go, Python, SQL, Swift and PHP. Frameworks: React, Next.js, React Native, SwiftUI, NestJS and Ruby on Rails, over GraphQL and REST. Data: Postgres, Aurora, DynamoDB, Redis, Databricks, Drizzle and TypeORM. Cloud: AWS (ECS, EC2, Lambda, CloudFront, S3, RDS, WAF, SSO, CDK), Google Cloud, Terraform, Docker, Kubernetes and GitHub Actions. AI: Claude, Claude Code, the Claude Agent SDK and API, MCP servers and multi-agent orchestration. Product: PostHog, GA4, Stripe and Shopify. ### How can I contact Mauricio Robles? By email at contact@lopsum.com, or on GitHub as lopsum-me. ## Tools ### Un-SaaS calculator https://lopsum.com/tools/unsaas-calculator/ Compare a per-seat subscription with building the tool yourself: break-even month and 12, 24 and 36-month totals. Enter what the subscription costs today and what it would take to build and run your own replacement. The calculator finds the month the build pays for itself. Each month the subscription costs seats times price per seat, and the price rises by the annual increase every 12 months. Building costs build hours times hourly cost up front, then the monthly run cost plus maintenance hours times hourly cost. The calculator adds both up month by month and reports the first month in which building costs the same or less than the subscription. - SaaS cost is seats × price per seat, with the price rising by the annual increase once every 12 months. - Build cost is build hours × hourly cost, paid in month 0. Each month adds the run cost plus maintenance hours × hourly cost. - Break-even is the first month where the cumulative build total is at or below the cumulative SaaS total. - It ignores discounts, taxes, migration effort, and what you lose if the replacement does less than the product. Treat it as a first filter, not a business case. #### What is the break-even month in build vs buy? It is the first month in which the cumulative cost of building and running your own tool is equal to or lower than the cumulative cost of the subscription. #### Which costs does the calculator include? For the subscription: seats, price per seat and a yearly price increase. For building: build hours times hourly cost, a monthly run cost for hosting and APIs, and monthly maintenance hours times hourly cost. It ignores taxes, discounts and migration effort. #### When does building a replacement make sense? When the subscription is expensive per seat, you use only a small part of the product, and the break-even month falls well inside the time you expect to keep the tool. Treat the result as a first filter, not a business case. ### AI code review cost estimator https://lopsum.com/tools/ai-review-cost/ Estimate the cost per pull request and per month of an AI reviewer on raw model tokens, next to a per-seat managed tool. Describe your pull request volume and size, pick the models you are considering, and see what each review costs. A per-seat managed tool sits beside them for comparison. Input tokens per pull request are estimated as lines changed times 12, plus a fixed 3,000-token prompt, plus 400 tokens per file for context. Output tokens are the length of the review, which you set. The cost per PR is input tokens at the input price (or the cache-read price for the cached share) plus output tokens at the output price, divided by one million. A managed tool costs seats times price per seat per month. - Input tokens per PR are lines × 12 tokens per line, plus a fixed 3,000-token prompt, plus 400 tokens per file for surrounding context. These are rough constants, written in the code, not measurements. - Output tokens are the review itself, set by the output field. The cache hit rate is the share of input read from the prompt cache at the cache-read price. - Prices are editable and are labelled with the date they were entered. Edit them to match current pricing before you rely on the result. - Managed tool cost is seats × price per seat per month. It does not model usage caps or overage. #### How much does an AI code review cost per pull request? It depends on the diff size, the model and the cache hit rate. Enter your monthly PR count, average lines changed, files per PR and review length, and the estimator shows the cost per PR and per month for each model. #### How are input tokens estimated? Lines changed times 12 tokens, plus a fixed 3,000-token prompt, plus 400 tokens per file. These are rough constants written in the code, not measurements. #### What is the cache hit rate? It is the share of input tokens read from the prompt cache. Cached tokens are billed at the lower cache-read price instead of the normal input price. #### Are the model prices current? The prices are editable defaults, labelled with the date they were entered. Edit them to match current pricing before relying on the result. ### CLAUDE.md / AGENTS.md generator https://lopsum.com/tools/agents-md-generator/ Fill in a short form and get a clean CLAUDE.md or AGENTS.md for your repo, with copy and download. A coding agent reads one file before it touches your repo. Answer a few questions about your stack and rules and get that file as markdown. The generator writes a Markdown file with the project name, a short description, the stack, the commands, the commands an agent must never run, branch and pull request rules, verification rules, secrets rules and deploy notes. Empty sections are left out. You can copy the result or download it as CLAUDE.md or AGENTS.md. - The file is built from a fixed template. Empty fields are left out, so you only get sections you filled in. - No AI is called. The text you type is placed as written, one line per bullet. - Treat the output as a first draft. Keep it short, and add a rule only after an agent has broken it once. #### What is the difference between CLAUDE.md and AGENTS.md? CLAUDE.md is the project instructions file that Claude Code reads. AGENTS.md is a similar plain-Markdown convention read by other coding agents. The content can be the same, so the generator lets you pick the file name. #### What should a CLAUDE.md or AGENTS.md contain? The commands to build, test and lint, the stack, the commands the agent must never run, how branches and pull requests work, what counts as done, and how secrets are handled. Keep it short and specific. #### Where do I put the file? In the root of the repository, so the agent loads it at the start of a session. ### Production-readiness scorecard https://lopsum.com/tools/readiness-scorecard/ Answer 25 yes, partly or no questions about an AI-built app and get a score per area and a prioritised list of gaps. For apps built fast with AI assistants. Twenty-five questions across eight areas show where the gaps are and which to close first. Answer yes, partly or no to each of 25 questions. Yes scores 1, partly scores 0.5 and no scores 0; an unanswered question counts as no. The overall score is the average, each of the 8 areas gets its own score, and the gaps are listed with the highest-impact ones first (impact 1 to 3), each with a suggested fix. - Yes scores 1, partly scores 0.5, no scores 0. A group's score is its average, shown as a percentage. The overall score is the average of all questions. - Each question has a weight of 1 to 3 for how much a gap hurts. The gap list is sorted by weight, then by the group's order. - The questions are a generic checklist, not an audit. A high score does not mean the app is safe. #### What does production readiness mean for an AI-built app? It means the basics that protect users and the business are in place: access control, backups, tests, CI/CD, monitoring, security, cost controls and rules for AI agents. #### How is the score calculated? Yes counts as 1, partly as 0.5 and no as 0. The overall score is the average across all questions, and each area has its own average. Unanswered questions count as no. #### Which areas does it cover? Auth and access, Data, Testing, CI/CD, Observability, Security, Cost, Agent rules. #### Does it replace a security audit? No. It is a checklist for finding obvious gaps early, not an audit or a guarantee. ### Colour-blind-safe palette checker https://lopsum.com/tools/palette-checker/ Check 2 to 8 colours under four kinds of colour-blindness, with contrast against your background and pairs that look alike. Enter your hex colours and a background. See them as people with protanopia, deuteranopia, tritanopia and achromatopsia see them, and find the pairs that collapse into each other. Enter two to eight hex colours and a background colour. The tool simulates four types of colour vision deficiency with the Machado, Oliveira and Fernandes (2009) model at full severity, measures the distance between every pair of colours as CIE76 ΔE, flags the pairs under your threshold (10 by default), and computes the WCAG contrast ratio of each colour against the background. - Simulations use the full-severity matrices from Machado, Oliveira and Fernandes, "A Physiologically-based Model for Simulation of Color Vision Deficiency", IEEE TVCG 15(6), 2009, applied to linearised sRGB. - Achromatopsia is the Rec. 709 luminance in linear light, shown as grey. - Contrast is the WCAG 2 ratio of each colour against the background. Aim for 3:1 for graphics and 4.5:1 for text. - Two colours are flagged as hard to tell apart when their CIE76 ΔE in Lab is below the threshold you set. The default is 10. ΔE is a rough guide, and a legend or a pattern is still the safer fix. #### How does the checker simulate colour blindness? It applies the Machado, Oliveira and Fernandes (2009) model at full severity on linear sRGB for protanopia, deuteranopia and tritanopia, and Rec. 709 luminance for achromatopsia. #### What is ΔE and what threshold should I use? ΔE (CIE76) measures how different two colours look. Pairs closer than the threshold are flagged; 10 is a common starting point, and you can change it. #### What contrast ratio does WCAG require? WCAG 2.2 level AA requires 4.5:1 for normal text and 3:1 for large text and graphical objects. #### Is a colour-blind-safe palette enough? No. Also avoid encoding meaning by colour alone: add labels, shapes, patterns or text. ### LLM token and cost calculator https://lopsum.com/tools/llm-cost-calculator/ Estimate tokens from text, then compare daily and monthly cost across models with editable prices and caching. Paste a prompt or type token counts, set how many requests you make per day, and compare what each model would cost. The cost per request is uncached input tokens at the input price, cached input tokens at the cache-read price, and output tokens at the output price, each priced per million tokens. The daily cost multiplies that by requests per day and the monthly cost by days per month. In text mode, tokens are estimated as characters divided by 4. - Token counts from pasted text are an estimate: characters divided by 4. Real tokenizers differ by language and content, so use the API's usage numbers when you have them. - Cost per request is (fresh input × input price + cached input × cache-read price + output × output price) ÷ 1,000,000. - Cached tokens are counted as part of your input, billed at the cache-read price. Cache write premiums are not modelled. - Default prices are Claude list prices in USD per million tokens as of the date shown on the page. They change, so edit them to match the current pricing page. #### How do I estimate the cost of an LLM API call? Multiply input tokens by the input price, cached input tokens by the cache-read price and output tokens by the output price, each per million tokens, and add them up. The calculator does this for every model and scales it to a day and a month. #### How are tokens estimated from pasted text? As characters divided by 4. It is a rough estimate for English text; a real tokenizer will differ. #### What does prompt caching change? Cached input tokens are billed at the lower cache-read price, so a high share of cached input lowers the cost of repeated prompts. #### Can I compare models that are not in the list? Yes. Add a custom model with its own input, output and cache-read prices. All prices are editable and labelled with the date they were entered. ### Cron explainer https://lopsum.com/tools/cron-explainer/ Turn a 5-field cron expression into plain English or Spanish and see the next 10 runs in any timezone. Paste a cron expression. Get a sentence, a field-by-field breakdown and the next ten times it will run. The tool parses the five standard cron fields (minute, hour, day of month, month, day of week). It accepts lists, ranges, steps and month and weekday names, explains the schedule in English and Spanish, and calculates the next 10 runs in the timezone you choose, also shown in UTC. Quartz-style characters (L, W, #, ?) and a seconds field are not supported. - Supports the standard five fields: minute, hour, day of month, month, day of week. It accepts *, lists, ranges, steps, month and weekday names, and 7 as Sunday. - When both day of month and day of week are restricted, a time matches if either matches, as in Vixie cron. Quartz-style extras (L, W, #, ?) are not supported. - Next runs are computed in the timezone you choose using the browser's Intl support, by checking each minute of the next four years. Across a daylight-saving change, a time that does not exist is skipped and a repeated time runs once. #### What do the five fields of a cron expression mean? In order: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where 0 and 7 are Sunday). An asterisk means every value. #### What does */15 mean in cron? A step of 15 in that field. In the minute field, */15 runs at minutes 0, 15, 30 and 45 of every hour. #### What happens when both day of month and day of week are set? As in standard cron, the job runs when either field matches. A schedule of 0 9 1 * 1 runs at 09:00 on the 1st of the month and on every Monday. #### Which timezone are the next runs shown in? In the timezone you pick, which defaults to your browser's timezone, and also in UTC. ### llms.txt generator and validator https://lopsum.com/tools/llms-txt-generator/ Build an llms.txt file from a form, or paste one and check it against the llms.txt format. llms.txt is a markdown file at the root of a site that gives language models a clean map of it. Build one here, or paste yours to check it. llms.txt is a Markdown file at the root of a site that gives language models a summary and a curated list of links. The generator writes an H1 with the site name, an optional blockquote summary, optional detail paragraphs and H2 sections of links in the form - [Title](URL): note. A section named Optional marks links a model can skip. The validator checks a pasted file against those rules. - The format follows llmstxt.org: an H1 with the site name, a blockquote summary, optional paragraphs, then H2 sections that each hold a list of markdown links, optionally with a note after a colon. - The validator checks for exactly that. It reports errors for a missing H1 or empty links and warnings for a missing summary or an H1 that is not first. - A section named Optional is allowed and marks links that can be skipped when a model has little room. - Nothing is fetched. Links are not opened, so a link can pass here and still be broken. #### What is llms.txt? A proposed convention (llmstxt.org) for a Markdown file at /llms.txt that summarises a site and links to its most useful pages for language models and AI assistants. #### Where do I publish llms.txt? At the root of your domain, for example https://example.com/llms.txt, served as plain text or Markdown. #### What does the validator check? That the file starts with a single H1, has a blockquote summary after it, uses H2 sections, lists links as Markdown links with an http, https or root-relative URL, and has no empty sections or text between links. #### Does llms.txt guarantee visibility in AI search? No. Support varies by tool and no search engine has promised to use it. ### Rate converter https://lopsum.com/tools/rate-converter/ Convert an hourly, daily, weekly, biweekly, monthly or yearly rate into the others, in USD and MXN. Enter a rate in any period and see the rest. Set your hours per week and weeks per year, and see the amounts in pesos at today's rate. You enter a rate, its period, hours per week and weeks per year. The tool converts it to an hourly rate and then to each period: daily is hours per week divided by 5, weekly is hours per week, biweekly is twice that, monthly is hours per week times weeks per year divided by 12, and yearly is hours per week times weeks per year. Currency conversion uses the USD to MXN reference rate from frankfurter.dev, which you can edit. - Everything is derived from the hourly rate: daily is hourly × hours per week ÷ 5, weekly is hourly × hours per week, yearly is weekly × weeks per year. Biweekly is two weeks, and monthly is yearly ÷ 12. - The USD to MXN rate comes from the Frankfurter API (frankfurter.app, European Central Bank reference rates), requested from your browser. It is published on business days and is not a bank or exchange-house rate. - If the request fails, enter a rate by hand. The date shown is the date of the published rate. #### How do I convert an hourly rate to a yearly salary? Multiply the hourly rate by hours per week and by weeks per year. At 40 hours a week and 48 weeks a year, 60 USD per hour is 115,200 USD per year. #### How many weeks per year should I use? 52 minus holidays and time off. 48 is a common choice for freelancers. #### Where does the USD to MXN exchange rate come from? It is the European Central Bank reference rate, fetched in your browser from frankfurter.dev. You can edit it. It is the only network request the tool makes. #### Are the results before or after tax? Gross amounts. The tool does not model taxes, fees or benefits. ### Technical interview rubric builder https://lopsum.com/tools/interview-rubric/ Pick a role and level and get a rubric of competencies with what meets and exceeds the bar, plus questions for each. A starting point for structured interviews. Pick a role and a level, then copy or download the rubric as markdown and adapt it to your team. Choose a role (frontend, backend, full-stack, mobile, platform or DevOps, or engineering manager) and a level (junior, mid-level, senior or staff). The tool lists role-specific and common competencies, what meeting and exceeding the bar looks like at that level, and interview questions. You can score each competency from 1 to 4 to see a profile, and copy or download the whole rubric as Markdown. - The rubric combines competencies common to every engineering role with ones specific to the role you pick. The level changes the scope in each description. - The content is general good practice, not tied to any company. Rewrite it so it matches the work your team does. - Score each competency on the same scale for every candidate, write the evidence down before comparing candidates, and keep the question set the same. #### What is a structured interview rubric? A fixed list of competencies, with a description of what meeting and exceeding the bar looks like and the questions to ask, applied the same way to every candidate. #### How should I score candidates? Score each competency from 1 to 4 (1 below the bar, 2 close, 3 meets the bar, 4 exceeds it) from the evidence you heard, and write the evidence down before comparing candidates. #### Which roles and levels are covered? Frontend, backend, full-stack, mobile, platform or DevOps and engineering manager roles, at junior, mid-level, senior and staff levels. ### UI palette generator https://lopsum.com/tools/ui-palette-generator/ Turn one hex colour into an 11-step shade scale, with optional secondary, neutral and status scales, a contrast grid, export to Tailwind, CSS, SCSS, Less, JSON, design tokens or SVG, and a live UI preview. Type a colour and get a scale from 50 to 950, then see it painted on a gallery of mock interfaces. Add a secondary scale, tinted greys and status colours when you need them, check every contrast pair, and export the result as Tailwind v4 or v3, CSS, SCSS, Less, JSON, design tokens or an SVG sheet. The UI palette generator turns one hex colour into an 11-step shade scale (50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950) calculated in the OKLCH colour space. The step closest to your colour keeps your exact hex, and the other steps follow a lightness curve close to the default Tailwind CSS palette. It can also build a secondary scale, a neutral grey scale tinted toward your colour and four status scales (success, info, warning, error), checks the WCAG 2 contrast of every pair of shades, previews the scales on mock interface cards, and exports Tailwind v4, Tailwind v3, CSS variables, SCSS, Less, JSON, W3C Design Tokens (DTCG) or an SVG swatch sheet. - The colour is converted to OKLCH, a space where equal steps in lightness look equal. Each step has a fixed target lightness, close to Tailwind's curve, and the step nearest to your colour takes your exact hex. The lighter and darker steps are spaced between it and the ends of the curve, so lightness always falls from 50 to 950. - Chroma follows your colour's, peaks in the middle of the scale and tapers toward 50 and 950. Colours outside the sRGB gamut are brought in by lowering chroma, never lightness or hue. Greys and near-black or near-white inputs work too, with very little chroma. - The secondary scale rotates the hue around the wheel by the harmony you pick (auto is 60 degrees, complementary 180, analogous 30, triadic 120, split-complementary 150) and keeps your lightness and chroma, or starts from a hex you type. Neutrals share your hue at very low chroma. Status scales use a standard hue for success, info, warning and error, with lightness and chroma moved 30% toward yours. - Contrast is the WCAG 2 ratio: 4.5:1 for normal text (AA), 3:1 for large text and graphics (AA large). In the preview, text colour on each fill is chosen by that ratio, so body text stays at 4.5:1 or more. The preview and the scales are only a starting point; check your own screens. - The palette lives in the address bar (c for the colour, s for the secondary, n and st for neutrals and status), so you can share it by copying the link. #### How are the shades calculated? Your hex colour is converted to OKLCH (lightness, chroma, hue). Each of the 11 steps has a fixed target lightness close to Tailwind's, and the step nearest your colour takes your exact hex. The steps on each side are spaced between it and the ends of the curve, so lightness always falls from 50 to 950. Chroma follows your colour's and tapers toward 50 and 950, and colours outside the sRGB gamut are brought in by lowering chroma only. #### Which export formats are there, and how do I use the palette in Tailwind CSS v4? Press the Export button next to the colour field. Every format covers all the scales you turned on, in HEX or OKLCH, with Copy and Download: Tailwind v4 (@theme), Tailwind v3 config, CSS custom properties, SCSS variables and map, Less variables, JSON, W3C Design Tokens (DTCG) JSON for tools such as Tokens Studio for Figma, and an SVG swatch sheet. For Tailwind v4, copy the @theme block into your main CSS file after @import "tailwindcss". Each step becomes a theme variable such as --color-orange-500, and Tailwind generates utilities like bg-orange-500 and text-orange-50 from it. Tailwind v4 accepts both hex and oklch() values. #### How do I check contrast? Each shade carries a chip that says whether white or ink text (the scale's 950 shade) reaches the WCAG 2 AA ratio of 4.5:1 on it, and hovering a shade shows both exact ratios. The contrast grid shows every shade as text on every other shade as background and marks each pair as AA (4.5:1 or more), AA large (3:1 to 4.5:1) or fail (below 3:1, faded). #### Can I share or save a palette? Yes. The palette is stored in the page address: c is the main colour, s the secondary scale, n the neutral scale and st the status scales, for example ?c=ee6f2c&s=comp&n=1&st=1. Copy the link, or use the Copy link button, to share it or come back to it later. #### What are the secondary, neutral and status scales? The secondary scale rotates your hue by a colour harmony (complementary, analogous, triadic, split-complementary or automatic) or starts from a hex you choose. The neutral scale is a grey scale tinted toward your hue at low chroma. The four status scales (success, info, warning, error) each use a standard hue, with lightness and chroma moved 30% toward your colour so they sit together. In the preview, status colours always come with an icon and a label. ## Articles ### How KRF reviews 3,792 pull requests for about $1 each Published 2026-12-03 · 5 min read · https://lopsum.com/articles/krf-ai-code-review-at-a-dollar-per-pr/ > KRF is the Claude pull request reviewer I built for Furniture.com: how a review is structured, what it catches, and the cost math against a managed AI reviewer at about $20 per pull request. KRF is a pull request reviewer I built for Furniture.com. It runs on Claude, ships as a reusable GitHub Actions workflow, and has reviewed 3,792 pull requests. The median reviewed pull request cost about $0.39 and the mean about $1.16, measured in November 2026 at list price. The managed AI review it replaced cost about $20 per pull request. Those numbers are the headline, but the interesting part is the design. A reviewer that is cheap and wrong is worthless, so most of the work went into making each review trustworthy first and cheap second. This article covers what KRF is, how one review is structured, what it has caught, what it cannot do, and where the cost comes from. #### What KRF is KRF reads a pull request's diff against the repository's own written rules. It posts inline findings, replies in threads, writes a summary and sets a verdict status that branch protection can require. It runs as its own GitHub App, so its comments and its status are separate from any person's account, and it is consumed by other repositories as a reusable workflow. I built it because I wanted a reviewer that behaves like a teammate who has read the team's rules, not a generic linter with opinions. The rules are the point. A review is only as good as what it is checked against. #### How a review is structured A review is a pipeline, not a single prompt: 1. Facts are computed in code. Anything a model cannot reliably see in a diff is calculated first and handed to Claude as a fact. 2. Parallel Claude Opus passes look for problems in each chunk of the diff. 3. One synthesis pass ranks the findings and decides the verdict. 4. KRF posts inline comments on the right lines, a summary and the verdict status. ##### Facts, not guesses A model reading a diff cannot tell whether a function is already defined elsewhere, whether a banned data-access pattern appears, whether a change deletes a teammate's recent work, or whether two open pull requests claim the same migration number. Code can answer all of those. So code does, and the answer goes into the prompt as ground truth. This removes a whole class of confident but wrong comments. ##### Comments on the right line The diff is annotated with real line numbers before the model sees it, so an inline comment lands on the line it is about. The diff is fetched as text through the API and never executed. ##### Find, then rank Separating the search from the judgment matters. The parallel passes are allowed to be thorough. The synthesis pass sees all of their findings together, drops what does not hold up, orders what is left and decides the verdict. One pass doing both tends to either miss things or bury the reader. #### Rules it cannot rewrite Review policy lives in the reviewer's own repository, not in the repository being reviewed. That means a pull request can never change the rules that judge it. A change to the reviewer goes live only when its release tag moves, which is a deliberate act separate from merging. It also fails loud. A repository with no review policy is an error, not a silent generic review. A reviewer that enforces nothing and a reviewer that finds nothing look identical, so there is no quiet fallback. #### People stay in charge - Dangerous-looking changes escalate to a named owner as Needs Human. - Owners can approve or acknowledge from the pull request itself. - Long reviews converge: after several rounds, non-critical findings stop blocking. - Every finding says whether it is on code the author just wrote, so a reader can tell new problems from old ones. The verdict is a status, and the merge decision stays with a person. KRF is one gate among four: tests, AI review, recorded verification and a human decision. #### What it has caught, and what it misses - Two pull requests open at the same time claimed the same migration number. Neither diff looked wrong on its own, so the check now runs across open pull requests. - Shell-quoting bugs in startup hooks that would have broken every session at launch. - Its own bug: reviewing a change to itself, KRF found its SQL table extractor reading the English phrase "FROM scratch" as a table name. What it misses is the usual list for any reviewer that reads a diff. It does not run the code. It does not know your product intent unless the rules say so. It can be wrong, which is why every finding is a comment a person can disagree with and why a human decision sits behind the verdict. I treat it as a fast, consistent first reader, not as the last line of defense. #### The cost math *Measured in November 2026 at list price. KRF figures are a lower bound.* | | KRF | Managed AI review it replaced | | --- | --- | --- | | Pull requests reviewed | 3,792 | n/a | | Median per reviewed pull request | about $0.39 | n/a | | Mean per reviewed pull request | about $1.16 | about $20 | Compare mean to mean: about $1.16 against about $20. The median is lower because most pull requests are small, and a few large ones pull the mean up. Both numbers come from the per-run cost records KRF keeps, at list price. ##### Where the cost goes down - Prompts are cached, stable parts first, so the repeated rules and context are read at the cached rate. - The cache is warmed before the parallel passes read it, so they do not all pay full price for the same prefix. - Every run reports its own cost, in the job summary and on the pull request. Nobody has to guess. Caching cut the bill by a further 22.5%. The reporting matters as much as the saving: a cost you can see is a cost you can manage. #### What to take from it If you are weighing a managed AI reviewer against building your own, the decision is mostly about control. The managed product gives you speed to start. Owning the reviewer gave me the rules, the escalation behavior, the cost reporting and the price. At about $20 per pull request, the volume a busy team produces gets expensive quickly. At about $1, it does not. It is not free of effort, and it is not for every team. A reviewer is software you now maintain. For one team that reviews thousands of pull requests, that trade was clearly worth it. If you want to run the numbers for your own volume, the AI review cost calculator on this site does the arithmetic. #### Related tools - [AI code review cost estimator](https://lopsum.com/tools/ai-review-cost/): Estimate the cost per pull request and per month of an AI reviewer on raw model tokens, next to a per-seat managed tool. ### The review gates that let agents ship to production Published 2026-12-03 · 4 min read · https://lopsum.com/articles/review-gates-for-agent-built-software/ > Rules files, reproduce-before-fixing, checks that can fail and evidence in the pull request: the gates I rely on to merge agent-written code safely. Agents write a lot of code now, and they write it quickly. Speed is not the problem. The problem is that more changes in flight means more chances to merge something wrong. What keeps that safe is not a smarter agent. It is a set of gates that every change has to pass, written down so that agents and people follow the same ones. I use four: automated tests, an AI reviewer, recorded verification and a human decision. This article is about the practices behind them, the ones that decide whether a gate means anything. #### Write the rules down where the agent reads them Agent rules files, such as CLAUDE.md or AGENTS.md, are the cheapest control you can add. They sit in the repository, every session reads them, and they replace the knowledge that used to live in people's heads. A useful rules file is short and specific. It says how to run the project's checks, what a finished change looks like, which commands are off limits, and which decisions belong to a person. It does not try to describe the whole codebase. Rules that are vague ("write clean code") do nothing. Rules that are testable ("never push to the main branch", "use the repository's existing scripts instead of hand-rolled commands") change behavior. When an agent makes a mistake, the fix is usually a new line in the rules file, not a lecture. Treat the file as the place where lessons accumulate. #### Reproduce before fixing Before an agent fixes a bug, it should reproduce it. This sounds obvious and is routinely skipped. Without a reproduction, you cannot tell whether the fix fixed anything, and an agent will happily explain a plausible cause that is not the real one. The rule is simple: see the failure first, then change the code, then see the failure go away. A test watched failing and then passing is evidence. A diff that looks right is an opinion. #### A check only counts if it can fail A passing check proves something only if it was capable of failing. Agents are good at writing tests that pass for the wrong reason: assertions that cannot be false, mocks that return what the test expects, checks that run against nothing. The defense is to plant a failure. Break the thing on purpose, or compare the check against a fact you already know, and confirm the check goes red. If it does not, it was decoration. > **A quick way to apply it.** After writing a test, revert the fix and run it. If it still passes, the test is not testing the fix. #### Exit 0 is not success A command that exits cleanly told you it did not crash. It did not tell you it did the job. A deploy script can exit 0 and leave the old version running. A migration can exit 0 and change nothing. The habit is to read the resource back. After a deploy, request the page and check the version. After a migration, query the table. After creating a cloud resource, fetch it and look at its settings. The agent's report that it worked is a claim; the read-back is the proof. #### Targeted checks locally, full suites in CI Agents run on a developer's machine or in sessions that share one. If every session runs the full build and the full test suite, the machine saturates and everyone waits. So the split is deliberate. - Locally: lint, a type check, the single spec that covers the change. - In CI: full builds and the full suite, on a clean machine, where the result is the one that counts. Local checks give fast feedback while the agent works. CI is the gate. Neither replaces the other, and the pull request should say which ran where. #### Pull request bodies carry the evidence A reviewer, human or AI, should not have to take the author's word for anything. The pull request body is where the evidence travels: what changed, which checks ran locally, which were left to CI, what was reproduced and what the output showed. If the author made a judgment call inside the approved scope, the body says so. This changes review from reading a diff and hoping to checking proof. It also makes it obvious when a pull request has none. #### Keep the human decision The last gate is a person. Product calls, scope changes, production access and anything hard to reverse are not delegated. Agents propose; people decide. That line is what makes it safe to run many agents at once, because the worst an agent can do is propose something a person declines. Two smaller rules support it. Do not reduce scope silently: if an agent is blocked, it says what and why instead of shipping a stub. And when a reviewer flags one instance of a problem, sweep the whole class, so the same mistake does not come back in the next pull request. #### How to start 1. Add a rules file with your check commands, your definition of done and the decisions that stay human. 2. Require tests and type checks in CI before merge. 3. Add an AI reviewer that reads the diff against those rules. 4. Ask for evidence in every pull request body. 5. Plant a failure in one of your checks this week and see whether it catches it. None of this is exotic. It is ordinary engineering discipline, written down so that a machine can follow it as well as a person. The agents supply the speed. The gates supply the confidence to merge it. #### Related tools - [CLAUDE.md / AGENTS.md generator](https://lopsum.com/tools/agents-md-generator/): Fill in a short form and get a clean CLAUDE.md or AGENTS.md for your repo, with copy and download. - [Production-readiness scorecard](https://lopsum.com/tools/readiness-scorecard/): Answer 25 yes, partly or no questions about an AI-built app and get a score per area and a prioritised list of gaps. ### Making a vibe-coded app production-ready: a checklist Published 2026-12-03 · 4 min read · https://lopsum.com/articles/vibe-coded-app-production-checklist/ > A practical checklist for turning an AI-built app into a production-ready codebase: auth, secrets, data, tests, CI, observability, infrastructure, costs and agent rules. If you built an app by prompting an AI tool, you have a real head start. You have something that works, that people can look at, and that proves the idea. What you usually do not have yet is something that survives real users, real data and the next change. I make vibe-coded apps production-ready for founders and non-technical teams, and the work follows a consistent order. This is that order as a checklist. You can run through it yourself, or hand it to whoever you hire. Each section ends with a question that tells you whether you are done. #### 1. Auth and permissions AI tools tend to build the happy path: a login screen that works. They are less reliable about what happens after login. - Every route and every API endpoint requires an identity unless it is deliberately public. - Authorization is checked on the server, not only hidden in the interface. - A user can only read and change their own data. Test this by logging in as one user and requesting another user's record. - Admin actions are separated and limited to named roles. - Identity itself is not something you built. Use a vendor for sign-in, as doing it well is that vendor's whole business. > **Done when.** You can name every public endpoint, and everything else rejects an anonymous request. #### 2. Secrets - No keys, tokens or passwords in the repository, including its history. If one was committed, treat it as exposed and replace it. - Secrets live in a secret store or the host's environment configuration, not in code or chat logs. - Each environment has its own secrets. Production keys are not on anyone's laptop. - Keys have the least privilege that works. AI tools often paste a key straight into a file to make something work. Search for it before you do anything else. #### 3. Data model and migrations - The schema is defined in code and every change is a migration file, applied the same way in every environment. - Nobody edits production data or structure by hand through a console. - Constraints live in the database (required fields, uniqueness, foreign keys), not only in application code. - Backups exist, and you have restored one at least once. > **Done when.** You could rebuild an empty database from the repository alone, and you know how long a restore takes. #### 4. Tests You do not need full coverage. You need automated checks on the parts that must never break: sign-in, payments, anything that writes important data, and the one flow your business depends on. - A small suite that runs with one command. - Tests that can fail. Break the code on purpose and confirm the test notices. - A type check or linter on every change. #### 5. CI and deploys - Every change is built and checked automatically before it can merge. - The main branch is protected: no direct pushes, required checks, a review. - Deploys come from the repository by a pipeline, not from someone's laptop. - After a deploy, something reads the live site back and confirms the new version is running. This is where the quality of everything else gets enforced. A test that nobody is forced to run is a suggestion. #### 6. Errors and observability You want to learn about a problem before a user writes to you. - Error tracking on the front end and the back end, with alerts that reach a person. - Basic usage analytics, so you know what people actually do. - Structured logs you can search. - An uptime check on the pages that matter. #### 7. Infrastructure as code If your hosting was set up by clicking through a console, nobody can reproduce it, review it or recover it. - Infrastructure is defined in code (Terraform or CDK, for example) and changed through pull requests. - Environments such as staging and production are built from the same definitions. - Access to the cloud account is through single sign-on, not shared passwords. #### 8. Cost controls Vibe-coded apps tend to run up two bills: hosting and AI usage. Both are fixable. - Right-size the hosting. Do not provision for load that has not arrived, and let idle systems scale to zero where you can. - Put budget alerts on the cloud account and on every AI provider key. - Cache AI prompts and cap usage per user. - Make cost visible: a run that reports its own cost is a run you can optimize. - Check whether work needs an extra service at all, or can run inside the app. #### 9. Agent rules so you can keep building This is the step that decides whether the hardening lasts. If the next AI session does not know how your codebase works, it will undo the work. - A rules file such as CLAUDE.md that says how to run checks, how to add a page, a feature or a table, and what must never be done. - One clear convention for each common change. - Review gates on every change: tests plus an AI reviewer reading the diff against your rules. - Plain-language docs for running, changing and deploying the app, written for people who are not engineers. > **Done when.** A new AI session, given only the repository, makes a change that passes your checks without you explaining the project first. #### In what order If you cannot do everything at once, this is the order I would use: secrets and auth first, because they are the risks that hurt most. Then CI with a few tests, because it makes every later change safer. Then migrations and backups, observability, infrastructure as code and costs. Agent rules go in early, even in rough form, because every change after that benefits. The readiness scorecard on this site is a quick way to see where your app stands against this list. #### Related tools - [Production-readiness scorecard](https://lopsum.com/tools/readiness-scorecard/): Answer 25 yes, partly or no questions about an AI-built app and get a score per area and a prioritised list of gaps. - [CLAUDE.md / AGENTS.md generator](https://lopsum.com/tools/agents-md-generator/): Fill in a short form and get a clean CLAUDE.md or AGENTS.md for your repo, with copy and download. ### Un-SaaS: when building your own tool beats the subscription Published 2026-12-03 · 4 min read · https://lopsum.com/articles/un-saas-build-vs-buy-math/ > The break-even math for replacing a per-seat subscription with a lean tool you own, when not to try, and the KRF example. Many teams pay every month, per seat, for software that does a little more than they need and never quite what they do. I replace some of that with lean, tailor-made tools that the team owns outright. I call it Un-SaaS. It is not a slogan about never paying a vendor. It is arithmetic, and some subscriptions fail it in the vendor's favor. This article gives the math, the cases where you should not build, and the example I know best. #### The break-even math A subscription costs this much over a period: ```text subscription = seats x price per seat x months ``` Building your own costs this much over the same period: ```text own tool = build hours x hourly cost + run cost x months + maintenance hours x hourly cost ``` You break even in the month when the cumulative subscription cost passes the cumulative cost of your tool. Four inputs decide the result: - Seats. The subscription scales with people; your tool mostly does not. More seats means a faster break-even. - Build hours. Agents have made this number smaller than it used to be, but it is still the biggest single cost. Include review and testing, not only typing. - Run cost. Infrastructure for an internal tool is often small, especially if it scales to zero when idle. - Maintenance. This is the number people forget. A tool you own is a tool you maintain: dependency updates, bug fixes, a change when your process changes. Be honest about the last one. If you leave maintenance out, nearly every build looks like a win. #### Solving for break-even Set the two costs equal and solve for months: ```text months = build cost / (monthly subscription - monthly run and maintenance) ``` Two things follow. First, if the monthly subscription is smaller than your monthly run and maintenance cost, the denominator is zero or negative and you never break even. That is the case for small teams on cheap plans. Second, the denominator is driven by seats, so the same tool can be a clear win at one company and a waste at another. Put your own numbers in the Un-SaaS calculator on this site. If the answer is a long payback period, or depends on an optimistic maintenance estimate, keep the subscription. #### When building tends to win - You pay per seat, and the seat count is large or growing. - You use a narrow slice of a broad product. - The workflow is specific to you, so you bend your process around the vendor's. - You want your data in your own cloud account and no lock-in. - The tool is internal, so you control the users and the failure modes. #### Costs people forget on both sides The subscription side hides costs too. Price rises at renewal, plans that gate features you later need, an export that is painful when you want to leave, and the time spent bending your process around someone else's product. None of these are on the invoice, so none of them appear in the seat math. The build side hides its own. Someone has to be on call when the tool breaks, onboarding a new person means documenting it, and the first version is rarely the last. I write these into the estimate as maintenance hours rather than hoping they stay small. A tool that is documented, runs in your own cloud account and is built under the same review gates as the rest of your code is much cheaper to keep than a one-off script that only its author understands. A fair comparison counts both lists. If the build only wins when you ignore every item on the second one, it does not win. #### When not to build Not everything should be rebuilt. Payments, email delivery and identity usually stay with a vendor, because doing them well is that vendor's whole business. - Payments: compliance, fraud, disputes and card networks are a full-time problem. - Email delivery: reputation with mailbox providers takes years to earn and is easy to lose. - Identity: authentication mistakes are expensive and public. The same logic extends to anything where the vendor's scale is the product, or where a failure would hurt customers rather than just your team. Also skip it when nobody will own the maintenance. An unmaintained internal tool becomes the next problem. #### The example: KRF KRF is the Claude-powered pull request reviewer I built for Furniture.com, replacing a managed AI review. It has reviewed 3,792 pull requests. Measured in November 2026 at list price, it cost a median of about $0.39 per reviewed pull request and a mean of about $1.16, against about $20 with the managed review. It fits the pattern. The managed product charged per pull request, and a busy team produces many. The need was narrow: review against the repository's own written rules. And owning it let the rules, the escalation behavior and the cost reporting match the team's process. Run it through the formula. With a mean near $1.16 against about $20, each reviewed pull request saves roughly $19. The saving compounds with every pull request, so the build pays back quickly at that volume. At low volume, it would not. #### How I approach an audit 1. Audit. List what you pay for, what each tool is really used for, and what it costs a year. 2. Pick targets. Keep the subscriptions where a lean tool you own clearly costs less. 3. Build lean. A focused replacement, built fast with agents and reviewed by people. 4. Hand over. Code, docs and deploys in your accounts, ready for your team and your AI tools. The first step is the cheapest and often the most revealing. Many teams find subscriptions nobody uses before they get to the build question at all. #### Related tools - [Un-SaaS calculator](https://lopsum.com/tools/unsaas-calculator/): Compare a per-seat subscription with building the tool yourself: break-even month and 12, 24 and 36-month totals. ### What 1,000+ technical interviews taught me about senior engineers Published 2026-12-03 · 4 min read · https://lopsum.com/articles/lessons-from-1000-technical-interviews/ > The signals that separate strong senior engineers: how they reason, explain trade-offs, debug and say "I don't know", drawn from more than a thousand technical interviews. Between 2021 and 2026 I worked with Toptal as a technical screener and conducted more than 1,000 technical interviews, assessing engineers for the network. Today I hire and lead as an engineering manager. Those interviews shaped what I look for more than anything else I have done. This article is about patterns, not people. I will not describe any candidate, and I will not describe how any company runs its process. What follows are the general signals that, in my experience, tell a strong senior engineer apart in a conversation. #### How they reason out loud The most reliable signal is not whether someone reaches the right answer. It is how they get there when the answer is not obvious. - They restate the problem and ask what is missing before they start. - They name the constraints that matter: scale, deadline, who will maintain it. - They break a large problem into smaller ones and say what they are doing. - They test an idea against an example instead of defending it. Strong engineers make their thinking visible. That is not a performance for the interviewer. It is the same habit that makes them useful in a design review, where the team needs to follow the reasoning, not just receive the conclusion. #### How they communicate trade-offs Junior answers tend to present one solution as the solution. Senior answers present options and cost them. A strong answer sounds like this in structure: there are two reasonable approaches; the first is simpler and has this limit; the second removes the limit and adds this operational burden; given what you have told me, I would start with the first and revisit if this assumption changes. That last clause matters. It shows the person knows which facts would change the decision. Watch for the opposite too: someone who lists every option and never chooses. Seniority includes the willingness to commit, and to say what would make you reverse. #### How they debug Debugging reveals more than design questions, because it cannot be rehearsed as easily. The pattern I trust looks like a method: 1. Reproduce the problem, or say how they would. 2. Narrow it down by halves instead of guessing. 3. Form a hypothesis and say what result would disprove it. 4. Check the cheap and likely causes before the exotic ones. 5. Confirm the fix by watching the original failure go away. The weak pattern is changing things at random until the symptom disappears, then moving on without knowing why. That habit becomes more dangerous, not less, when agents write much of the code. It is the same reason I ask for reproduction before any fix. #### How they say "I don't know" I pay close attention to the first time someone hits the edge of what they know. Strong engineers say so plainly, then keep going: "I have not used that. My guess is it works like this, and here is how I would check." Two failure modes are common. One is bluffing: a confident, fluent answer that is wrong. The other is freezing: stopping at the edge because not knowing feels like failing. The first is a risk to a team because you cannot tell their certainty from their guesses. The second wastes capability that was actually there. A person who separates what they know from what they are inferring is a person whose statements you can build on. That trust is worth more than any single technical fact. #### How they respond to a hint or a challenge Interviews include moments where the interviewer pushes back or offers a nudge. How someone takes it is informative. Strong engineers treat it as new information. They adjust, say what changed their mind, and sometimes politely hold their position with a reason. Defensiveness is one warning sign. Instant agreement with anything said is another. Both suggest the person will be hard to work with in review. #### What I weigh less than people expect - Memorized syntax and API details. These are lookups. - Speed on a puzzle. It rewards practice at puzzles. - Name recognition of tools. The ability to learn one matters more. - Polish. Some excellent engineers are quiet, and some fluent speakers are shallow. #### Telling nerves from signal An interview is stressful, and stress produces noise. A long pause, a stumble in the first five minutes or a clearly nervous start says little. What I watch is the trajectory: does the person settle, recover from a wrong turn and get clearer as the conversation goes on? Recovery is a better predictor of how someone behaves during an incident than a flawless first answer. It is also worth checking your own side. Interviewers can mistake confidence for competence and accent or style for weakness. A shared rubric with written evidence is the best protection I know against my own first impression. #### The human part I believe human qualities are the most important thing a software engineer can have: judgment, care, clear communication, ownership and kindness. An interview is a short window, but it shows traces of all five. How does the person treat a question they think is basic? Do they take responsibility for a past mistake, or explain it away? Do they explain at the level of the listener? These qualities matter more, not less, as agents write more of the code. What is left for people is deciding, explaining, reviewing and looking after each other. #### Using this as a rubric Signals are only useful if you apply them consistently. Pick a small number, define what weak, solid and strong look like for each, and score each candidate against the same list. Write down the evidence, not the impression. Compare notes before discussing the hire, so the first loud opinion does not set the outcome. The interview rubric on this site is a starting template built around these signals. Adapt it to the role. #### Related tools - [Technical interview rubric builder](https://lopsum.com/tools/interview-rubric/): Pick a role and level and get a rubric of competencies with what meets and exceeds the bar, plus questions for each. ### Running parallel agent sessions without chaos Published 2026-12-03 · 4 min read · https://lopsum.com/articles/parallel-agent-sessions/ > One git worktree per session, no shared stash, feature branches only, clear file ownership and small pull requests: the habits that keep several coding agents from colliding. A large part of how my team ships quickly is running parallel agent sessions. A ticket is split into independent pieces, and each piece gets its own session in its own branch. Side by side, they finish in a fraction of the time one after another would take. That only works if the sessions do not step on each other. Left alone, they will: two agents editing the same file, one session switching a branch under another, a stash that quietly swallows someone's work. Most of the chaos is avoidable with a few mechanical habits. #### One worktree per session A git worktree is a second working directory attached to the same repository. Each session gets its own directory and its own branch. They share history and objects, but not files on disk. *A new session starts here, never in the main checkout.* ```bash git fetch git worktree add ../repo-feature-x -b feat/feature-x origin/main cd ../repo-feature-x ``` This solves the most common collision. If two sessions work in one checkout, switching branches in one changes the files under the other. With worktrees, nothing is shared. It also protects the main checkout, which often has a developer's own work or a dev server running in it. An agent should never touch that. When the work is done and merged, remove the worktree. They accumulate and take disk space. #### Never a shared stash The git stash is shared across all worktrees of a repository. A bare stash in one session puts changes where another session can pop them, or where nobody remembers them. The rule is to avoid bare stash entirely. If you need to switch context, commit work in progress on your own branch. Commits are named, attached to a branch and visible. Stashes are anonymous and global. #### Feature branches only - Sessions never push to main. Every change goes through a pull request. - Sessions never force-push. If a branch needs a rewrite, push a new branch with a version suffix and open a new pull request. - Branches are named for what they do, so a human scanning the list knows what is in flight. These are the rules most worth writing into the repository's agent rules file, because a single violation is expensive and an agent will not infer them. Written down, every session reads the same limits. #### Clear ownership of files Worktrees prevent collisions on disk. They do not prevent conflicts at merge time. If two sessions both edit the same file, someone will resolve a conflict, and the result is often wrong. So the split of work should follow file boundaries. When I divide a ticket, I give each session a short list of what it owns, and a list of what it must not touch. A useful brief contains: - The goal, and what done looks like. - The files or directories the session owns. - The files it must not change, and who owns them. - The checks to run before opening a pull request. - What to do when it needs something outside its scope. If a ticket cannot be split without overlap, that is information. Either do it in sequence, or make the shared piece its own first change that the others build on. #### Small pull requests, merged often Parallel sessions produce several focused pull requests instead of one sprawling one. Keep them that way. A small pull request is easier for a reviewer, human or AI, to check against proof. It conflicts less. It is easier to revert. Merge often. A branch that stays open for days drifts from main, and the longer it drifts, the more the other sessions' work conflicts with it. The review gates exist to make frequent merging safe: tests, an AI reviewer, recorded verification and a human decision. #### Let agents ask an orchestrator, not the human Several agents asking one person for answers produce a queue of interruptions. Most questions an agent asks do not need a person. They need a coordinator that knows the plan. In practice, one session acts as the orchestrator. It holds the overall plan and the file ownership. Worker sessions send their questions and blockers to it: which of two approaches fits the plan, whether a file is free to change, what another session already decided. The orchestrator answers what it can from the plan and escalates to the human only what needs a person. What always goes to a person: product decisions, scope changes, production access and anything hard to reverse. Agents propose; people decide. The orchestrator gathers those decisions and puts them in front of the human together, instead of one interruption per session. #### When it still goes wrong Collisions will happen anyway. When they do, treat each one as a missing rule. If two sessions edited the same file, the brief was unclear about ownership. If a session pushed to the wrong branch, the rules file did not say so plainly enough. Fix the instruction, not only the incident, and the same mistake stops recurring across every future session. #### Machine etiquette - Run targeted checks locally (lint, type check, one spec). Leave full builds and full suites to CI, so a handful of sessions do not saturate the machine. - Do not start, restart or kill a developer's dev server. Ask them to. - If you must stop a process, kill it by its PID, never by a name pattern that could match someone else's. #### Put it in writing None of these habits are clever. Their value is that they are consistent, and consistency across agents comes from the rules file in the repository. I write the worktree command, the branch rules, the stash rule and the escalation rule there once, and every session starts under the same constraints. The result is more changes in flight without more collisions. The speed comes from the system, not from heroics. #### Related tools - [CLAUDE.md / AGENTS.md generator](https://lopsum.com/tools/agents-md-generator/): Fill in a short form and get a clean CLAUDE.md or AGENTS.md for your repo, with copy and download. ### This site for under a dollar a month: static Next.js on S3 and CloudFront Published 2026-12-03 · 4 min read · https://lopsum.com/articles/static-nextjs-on-s3-cloudfront/ > How lopsum.com is built and hosted: a static Next.js export, a private S3 bucket behind CloudFront, OIDC deploys with no stored keys, first-party analytics and AI-crawler logs in Athena. This site is a static Next.js export served from S3 through CloudFront. At personal-site traffic it sits inside the CloudFront free tier, ACM certificates are free, and the hosted zone is already paid for by another stack of mine. I expect it to cost under a dollar a month. That price is a result of design choices, not stinginess. Each piece below is there because it removes a server, a secret or a bill. The whole thing is defined in Terraform. #### A static export The site has no runtime that needs a server. Next.js can emit plain HTML, CSS and JavaScript at build time, so that is what it does: *Static export: the build writes an out/ directory of files.* ```ts // next.config.ts const config = { output: "export", images: { unoptimized: true }, }; export default config; ``` Everything on the site, including both languages and the machine-readable llms.txt files, is rendered at build time from typed content modules. There is nothing to patch at runtime, no cold starts and no server to scale. Images are pre-built, so the image optimizer is off. #### A private S3 bucket with OAC The files live in an S3 bucket that is not public. Public access is blocked, objects are encrypted, versioning is on and old versions expire after 30 days. The only thing allowed to read the bucket is the CloudFront distribution, through origin access control (OAC). *Simplified from the bucket policy: read access only for this distribution.* ```hcl statement { principals { type = "Service" identifiers = ["cloudfront.amazonaws.com"] } actions = ["s3:GetObject"] resources = ["${bucket_arn}/*"] condition { test = "StringEquals" variable = "AWS:SourceArn" values = [distribution_arn] } } ``` The bucket has no website endpoint and no public URL. If someone finds its name, they get nothing. All traffic goes through CloudFront, which is also where HTTP/3, security headers and the certificate live. #### A CloudFront Function for clean URLs and www S3 does not know that /es/ means /es/index.html, and a static export writes /articles as a file named articles.html. A small viewer-request CloudFront Function bridges that and also handles the www host. *Simplified. The real one also preserves the query string and leaves extensionless image files alone.* ```js function handler(event) { var req = event.request; var host = req.headers.host && req.headers.host.value; if (host && host.indexOf("www.") === 0) { return { statusCode: 301, statusDescription: "Moved Permanently", headers: { location: { value: "https://" + host.slice(4) + req.uri } } }; } if (req.uri.endsWith("/")) req.uri += "index.html"; else if (req.uri.lastIndexOf(".") < req.uri.lastIndexOf("/")) req.uri += ".html"; return req; } ``` Two behaviors in a few lines: www redirects to the bare domain with a 301, and extensionless paths map to the right file. CloudFront Functions run at the edge and cost very little, and there is no Lambda to maintain. #### GitHub OIDC deploys with no stored keys The deploy runs in GitHub Actions on every push to main. There is no AWS access key stored anywhere. Instead the workflow asks GitHub for a short-lived identity token and AWS exchanges it for temporary credentials. *The role is a repository variable, not a secret.* ```yaml permissions: id-token: write contents: read steps: - uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ vars.AWS_DEPLOY_ROLE_ARN }} aws-region: us-east-1 - run: scripts/deploy.sh ``` The IAM role trusts only this repository's main branch, and its policy is scoped to this bucket and this distribution: list, put, delete and get on the bucket, and creating invalidations on the distribution. A leaked token cannot do anything else, and it expires on its own. After the sync, the workflow reads the live site back and checks the pages, the redirect and the text files, because exit 0 from an upload is not proof that the site works. #### The HTML cache The deploy script sets two cache policies, depending on the file: | Files | Cache-Control | Why | | --- | --- | --- | | Hashed assets in _next/static | public, max-age=31536000, immutable | The filename changes when the content does, so cache it forever. | | Everything else, including HTML | public, max-age=0, s-maxage=300, must-revalidate | Browsers always revalidate; the edge may hold it for five minutes. | That gives instant updates for visitors' browsers and a cheap edge. After each deploy the script also invalidates the distribution, so changes are visible immediately rather than after the five minutes. Text files for crawlers are uploaded with an explicit UTF-8 content type. #### Analytics through a first-party /ingest proxy The site uses PostHog for product analytics. Browsers and extensions that block third-party tracking often match known analytics hostnames. So the site sends events to its own /ingest path, and CloudFront forwards them. - Two extra origins on the distribution: the analytics API and its static assets. - Two behaviors: /ingest/static/* is cached, /ingest/* is not. - A second CloudFront Function strips the /ingest prefix before the request goes on. ```js function handler(event) { var req = event.request; req.uri = req.uri.replace(/^\/ingest/, "") || "/"; return req; } ``` It is still analytics, so say so in your privacy notice. The point is not to hide anything; it is to stop a hostname-based blocklist from deciding what the site owner can measure. #### CloudFront logs to Athena, for AI-crawler visibility Client-side analytics only sees visitors who run JavaScript. It does not see crawlers, and it does not see people who block it. CloudFront access logs see every request. Standard logging delivers hourly Parquet files to a separate private bucket. A Glue table with partition projection over the year, month, day and hour path means there is nothing to repair or register as new data arrives, and Athena queries it directly. Raw logs are kept for 25 months, so there are two full years to compare, and query results expire after 30 days. The question I wanted answered is which AI crawlers fetch the site and what they read. A query grouping requests by user agent and path answers it, and it is also a check that the llms.txt files are being fetched at all. *Illustrative: a first look at who reads what. Field names depend on the log fields you enable.* ```sql SELECT cs_user_agent, cs_uri_stem, count(*) AS hits FROM cloudfront_logs WHERE year = 2026 AND month = 12 GROUP BY 1, 2 ORDER BY hits DESC LIMIT 50; ``` Athena bills per query by data scanned, so with a small site and Parquet the cost is negligible. #### What it costs, and what it trades away S3 and CloudFront at this traffic sit inside the free tier. ACM is free. The log bucket and Athena add storage and per-query charges that are tiny at this scale. I expect under a dollar a month in total. The trade is that this stack only suits content that can be built ahead of time. A site with per-user pages or server-side writes needs more. For a personal site, a static export removes the server, the patching, the cold starts and most of the bill. If you want to publish machine-readable files for AI crawlers too, the llms.txt generator on this site is a starting point. #### Related tools - [llms.txt generator and validator](https://lopsum.com/tools/llms-txt-generator/): Build an llms.txt file from a form, or paste one and check it against the llms.txt format. - [Cron explainer](https://lopsum.com/tools/cron-explainer/): Turn a 5-field cron expression into plain English or Spanish and see the next 10 runs in any timezone. ### Designing dashboards for red/green colour blindness Published 2026-12-03 · 4 min read · https://lopsum.com/articles/colorblind-safe-dashboards/ > Colour-blind-safe palettes, pairing colour with a glyph, avoiding red-to-green ramps and how to test: the rules I use for dashboard design. Red means bad and green means good. Almost every dashboard uses that code, and it fails for the many people who cannot tell the two apart. Red/green colour vision deficiency is common, and a dashboard that encodes status in that pair alone hides its most important signal from a real share of its audience. This article is the set of rules I use when I design dashboards. They are not exotic, and they make the dashboard better for everyone, including people on a washed-out screen in bright light. #### Never encode status by colour alone This is the rule that matters most. If a status is communicated only by hue, someone will miss it. Pair every colour with a second channel: a glyph, a label, a shape or a position. I use four glyphs for status, with the meaning in the character itself: | Glyph | Meaning | Colour role | | --- | --- | --- | | ✓ | OK, passed | Teal | | ! | Warning, needs attention | Amber | | ✗ | Error, failed | Vermillion | | ? | Unknown, no data | Neutral | Even in greyscale, the dashboard reads correctly. The colour is a reinforcement, not the message. The same principle applies to chart series: use different line styles, markers or direct labels, not just different colours in a legend. #### Choose a palette that survives Do not use the red/green pair. Choose hues that differ in both lightness and hue, and that stay distinguishable under the common types of colour vision deficiency. The set I use: teal, vermillion, indigo, amber and magenta, plus slate for neutral. - Teal instead of green for good. It sits on the blue side, so it separates from red-ish hues. - Vermillion instead of red for bad. It stays a warm orange-red. - Indigo and magenta for categories. They are far apart in both hue and lightness. - Amber for caution, clearly lighter than the others. Define them as design tokens (a named variable for each role), never as hex values scattered across components. When a palette needs to change, it changes in one place, and you can test the whole set at once. #### Never a red-to-green ramp Diverging scales from red through yellow to green are the classic trap, used for ratings, moods and performance scores. For a person with red/green deficiency, the two ends can look nearly the same and the middle looks like mud. Use a scale that changes in lightness along its length, so order is readable even without hue. For a mood or rating scale with five levels, I use five distinct hues, ordered by lightness, with a label or glyph on each, instead of a ramp. For ordered numeric data, a single-hue ramp from light to dark works well and is easy to read. #### Contrast still applies Colour vision is one axis. Contrast is another, and it affects everyone. - Text against its background needs at least 4.5:1 for normal text and 3:1 for large text, per WCAG. - Non-text elements, such as chart lines, icons and borders that carry meaning, need at least 3:1 against what is behind them. - A coloured tag with coloured text needs a contrast check on the pair, not just on the page. Check contrast with a tool, not by eye. Perception depends on your screen and your eyes. #### Common traps - Red and green lines on a chart that are told apart only by a legend. - Status dots with no text next to them. A dot is a colour and nothing else. - Green and red cell backgrounds in a table, where the only difference between a pass and a failure is the shade. - Heat maps built on a red-to-green scale. Use a single-hue ramp instead. - A colour used for two meanings in different parts of the product. Pick one meaning per colour and keep it everywhere. - Relying on a screenshot in a design tool to judge it. Judge the live page, on a real screen, at the real size. Most of these come from reaching for the familiar traffic-light code without thinking. A short design rule, written once and enforced by tokens, removes the temptation. #### How to test 1. Simulate. Run the dashboard through colour vision deficiency simulation for protanopia, deuteranopia and tritanopia. Browser developer tools include emulation, and there are standalone simulators. Look for any pair of meanings that now look the same. 2. Greyscale. Remove colour entirely. If you can still read every status, the glyphs and labels are doing their job. 3. Contrast. Run each text and chart colour against its background and confirm the ratios. 4. Real users. If anyone on your team or among your users has a colour vision deficiency, ask them to look. A simulation approximates; a person tells you. Automate what you can. A script that checks token pairs against contrast thresholds in CI will catch the regression that a person would not notice in a pull request. The palette checker on this site lets you try a set of colours against the common simulations and contrast ratios. #### Chart details that help - Label lines directly instead of relying on a legend where you can. - Vary marker shape or line dash between series that share a chart. - Keep the number of categories low. Past five or six colours, no palette stays distinguishable. - Show the value. A tooltip or a number removes the need to decode a colour at all. #### The short version Pair every colour with a glyph. Use teal, vermillion, indigo, amber and magenta instead of red and green. Never use a red-to-green ramp. Define colours as tokens, check contrast with a tool, simulate before you ship. A dashboard exists to tell people what is happening; it should do that for all of them. #### Related tools - [Colour-blind-safe palette checker](https://lopsum.com/tools/palette-checker/): Check 2 to 8 colours under four kinds of colour-blindness, with contrast against your background and pairs that look alike. - [UI palette generator](https://lopsum.com/tools/ui-palette-generator/): Turn one hex colour into an 11-step shade scale, with optional secondary, neutral and status scales, a contrast grid, export to Tailwind, CSS, SCSS, Less, JSON, design tokens or SVG, and a live UI preview. ### Leading a software team through the move to agent-built software Published 2026-12-03 · 4 min read · https://lopsum.com/articles/leading-a-team-into-agent-built-software/ > What changes for an engineering lead when agents write much of the code: review as the bottleneck, written rules, verification over trust, pacing and human accountability. I have been Engineering Manager at Furniture.com since 2022. I lead the software engineering team, manage engineers directly and still ship production code myself. Over the last stretch, the team moved to agent-assisted delivery: parallel agent sessions, written review rules and verification gates. That move changed my job more than I expected. Not because the tools are hard, but because the shape of the work shifted. Here is what I think changes for a lead, and what does not. #### The work moves up a level When agents write much of the code, the job of an engineering team goes from typing to deciding. Engineers spend their time framing problems, splitting work into agent-sized tickets and judging the output. The skill that matters most is knowing what correct looks like. That is not a demotion. It is the part of engineering that was always the hard part, now with less typing in the way. But it does change what you look for, how you coach and what you praise. #### Review becomes the bottleneck, and the craft Writing is cheap now. Reading is not. More agents means more changes in flight, and every one needs someone to decide whether it is right. If review does not scale, the team's throughput is capped by the reviewers and quality quietly slides when they get tired. My response has three parts: - Make changes reviewable. Small, focused pull requests with evidence in the body, instead of sprawling ones. - Automate the first read. An AI reviewer checks each diff against the repository's written rules, so people spend their attention on judgment, not on style and known pitfalls. - Treat review as a skill to develop, not a chore to rotate. Reading code critically, and asking what would make this wrong, is the craft that matters most now. #### Written rules over tribal knowledge An agent cannot absorb how a team works by sitting near it. Whatever is not written down does not exist for the agent. This turns out to help the humans too. I write the rules that agents and people work under: what a finished change looks like, what evidence proves it, and which calls only a person can make. They live in the repositories, in agent rules files that every session reads. New engineers read the same files. When someone is corrected, the correction becomes a rule, so the lesson outlives the conversation. The lead's job here is to set the standard and keep it current. If the rules are vague or stale, the agents will confidently follow them anyway. #### Verification over trust Agents report success in a fluent, confident voice whether or not they succeeded. So the team's habit is verification, not belief. A fix counts only when it is proven: reproduce the problem, watch a test fail, apply the change, watch it pass. The evidence travels with the pull request, so a reviewer checks proof rather than reading a diff and hoping. This applies to people as much as agents, and I try to make that clear. It is not distrust. It is a way of working in which nobody, human or machine, has to be taken at their word. Every change passes four gates before merge: automated tests, an AI reviewer, recorded verification and a human decision. Those gates are what keep it safe to merge that volume. #### Pacing: speed without lowering the bar It is tempting to let the speed of generation set the pace of the team. It should not. The pace is set by how fast changes can be reviewed and verified safely. - Scope tightly. Cut work into small, independent pieces with a clear definition of done, so nothing waits on anything else. - Run sessions in parallel, but only on pieces that do not overlap. - Automate the steps a machine can do: review, checks, deploys, status updates. People should not do a step a machine can do. - Watch for rework. If problems are caught after merge instead of before, the gates are in the wrong place. Fast and careful are not opposites. A good system makes them the same thing, because the checks that make it careful are also the ones that stop rework. #### Humans stay accountable Agents propose; people decide. Product calls, scope changes, production access and anything hard to reverse go to a person. An engineer who merges an agent's change owns that change as if they had written it. That line is what makes it safe to run many agents at once. It also protects the team from the quiet failure mode where nobody feels responsible because the machine wrote it. #### People first, still The part of my job that has not changed is the people. I treat the engineers on my team as people before they are capacity, and I think human qualities are the most important thing a software engineer can have: judgment, care, clear communication, ownership and kindness. These matter more with agents, not less. When agents write much of the code, what is left is the human part of the job: deciding, explaining, reviewing and looking after each other. A change like this also unsettles people. Some will worry about their craft. Listening to that, and being honest about what is changing, is part of leading through it. #### Where to start 1. Write down what a finished change looks like and put it in the repository. 2. Require tests and type checks before merge. 3. Add an AI reviewer that reads diffs against your written rules. 4. Ask for evidence in pull request bodies. 5. Decide, in writing, which decisions are always a person's. 6. Start with parallel sessions on a few independent tickets, and learn from the first collisions. The readiness scorecard on this site is a quick way to see which of these your team already has. #### Related tools - [Production-readiness scorecard](https://lopsum.com/tools/readiness-scorecard/): Answer 25 yes, partly or no questions about an AI-built app and get a score per area and a prioritised list of gaps. - [CLAUDE.md / AGENTS.md generator](https://lopsum.com/tools/agents-md-generator/): Fill in a short form and get a clean CLAUDE.md or AGENTS.md for your repo, with copy and download. ### A personal ops system built with agents: Flint's architecture Published 2026-12-03 · 5 min read · https://lopsum.com/articles/personal-ops-system-with-agents/ > How Flint is put together: one API behind a Next.js dashboard and a SwiftUI app, a database that scales to zero, one CLI for every AI, shared memory and an hourly cloud agent with a scoped token. Flint is the engineering-lead cockpit I built for myself and run every day. It is where I test the orchestration model first, before I recommend any part of it to a team. This article covers the architecture only: what the pieces are and why they fit together the way they do. It does not cover what is inside it. The design goal was to be useful with almost no operating cost, and to let several different AI tools work with the same system without each one needing its own integration. #### One API, two frontends Flint is a Next.js web dashboard and a native SwiftUI iOS app with widgets. Both talk to one API. There is no separate mobile backend. The rule that follows is simple: any page's data must be available from a GET endpoint, and mutations are POST endpoints that the phone uses directly. When I add a feature, the web page and the app consume the same route. That keeps the two from drifting, and it means every feature is also available to scripts and agents for free, because anything the app can call, a tool can call. The app runs on one small EC2 instance behind a load balancer, with the infrastructure in Terraform, and deploys by GitHub Actions on push to main. #### A database that scales to zero Data lives in Aurora Serverless v2 Postgres, with the schema defined in Drizzle as the single source of truth. Serverless v2 can scale down to zero capacity when idle, and that is the property that shaped other decisions. The clearest example: a per-minute uptime check on a cron was removed because it kept the database awake, which blocked scaling to zero. An always-on check that costs more than the thing it checks is a bad trade. The lesson I took from it is to look at what every scheduled job touches before adding it. A cron that wakes the database every minute turns an idle system into an always-on one. The same thinking applies elsewhere. Engines that might have been separate services run in-process instead, and the remaining cron jobs run through a single wrapper that logs failures and raises one alert per failing job until it is acknowledged. The cron explainer on this site is handy if you want to sanity check a schedule. #### One CLI that every AI uses Flint has a command line tool that reads and writes the same data the dashboard shows. Claude Code uses it. The dashboard's chat uses the same data layer. Other assistants can too. The value of one CLI is consistency. There is one set of commands, with one set of validations, so any AI that learns it can operate the system the same way. When one tool behaves differently from another, the system drifts. It is the same reason I prefer a repository's existing scripts over hand-rolled commands: the abstraction is where the rules live. A related habit: before any write, the agent checks the expected shape of the collection against the schema definition and a recent entry. Drizzle's schema is the reference, and an agent that writes the wrong shape gets pointed back to it. #### A shared AI memory table Different AI tools forget everything between sessions, and they do not know what the others learned. Flint keeps one memory table that all of them read and write. Each entry has a name, content, a type, tags and which AI wrote it. - A correction given to one assistant is known to all of them. - Writes are upserts by name, so a memory has one current version rather than a pile of near-duplicates. - A tag can archive an entry, keeping it as history while removing it from search and from the context loaded at the start of a session. - At the start of a session, the agent loads the corrections and preferences before it does anything. Rules and mistakes live in the database too, not in a file, for the same reason: anything an AI forgot was never stored where all of them could find it. #### An hourly cloud agent with a scoped token A Claude routine on claude.ai runs every hour and works through Flint's inbox. It cannot reach the database. It can reach Flint only through a narrow HTTP API: - One bearer token, stored as a secure parameter and compared in constant time, that grants only these routes. - A fixed set of routes: read context, read pending items, process one item, record an event, report a run. Nothing reads arbitrary tables, and nothing deletes. - One database transaction per decision, and writes are idempotent, so a retry cannot double-apply. - An audit row for every call, with references and no bodies, and one row per run. - A rate limit per hour. - A kill switch: one setting turns every route into a refusal. That is how I think about giving an agent access in general. Do not hand it the database and ask it to behave. Give it a small, auditable surface where the dangerous operations do not exist. New items trigger the agent within minutes instead of waiting for the hour, under guards that stop overlapping runs: a minimum wait, a minimum gap between attempts, a check that no run is in progress and a cap per hour. The local sessions never run the inbox loop themselves. They read what the agent has already done. #### LISTEN/NOTIFY to wake live sessions A live Claude Code session should learn about new events without polling. Postgres has a built-in mechanism for it: LISTEN and NOTIFY. A trigger raises a notification when something relevant is written, and a small script waits for one. The script runs as a background job, exits on the first event and wakes the session, which handles it and starts the script again. That avoids a polling loop that would hit the database every few seconds, which matters for a database that is supposed to be able to sleep. #### What I would copy for a team 1. One API behind every client, so humans, apps and agents use the same surface. 2. Infrastructure that scales to zero, and a habit of checking what each scheduled job keeps awake. 3. One CLI as the only door agents use for writes. 4. A shared memory, so a correction is made once. 5. Agents behind narrow, audited APIs with a kill switch, not direct database access. 6. Events that push, instead of polling. None of it is large. It runs lean on purpose: one small instance, a database that sleeps, and engines that live in the app. If you track what your own AI runs cost, the LLM cost calculator on this site is a good place to start. #### Related tools - [Cron explainer](https://lopsum.com/tools/cron-explainer/): Turn a 5-field cron expression into plain English or Spanish and see the next 10 runs in any timezone. - [LLM token and cost calculator](https://lopsum.com/tools/llm-cost-calculator/): Estimate tokens from text, then compare daily and monthly cost across models with editable prices and caching. ## Work with me Leading an engineering team through the move to agent-built software, or need someone to set it up? Write to me. - Email: contact@lopsum.com - GitHub: https://github.com/lopsum-me - LinkedIn: https://www.linkedin.com/in/lopsum