Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Evil Martians 12 min read Opinion mediumAdept

7 signs your team is losing control of your AI-built app

AI-built apps drift out of control through seven early symptoms: demo performance collapsing under real data, agents looping on bug fixes, unreviewed security defaults like missing Supabase RLS, rubber-stamped giant PRs, lost architectural understanding, inconsistent agent rule files, and creeping bundle bloat. Each comes with concrete guardrails, including N+1 detection in tests, k6 load tests, pgTAP RLS tests and gitleaks scans in CI, CODEOWNERS gates, PR size caps, dependency-boundary linters, a single AGENTS.md source of truth, and Size Limit, knip and jscpd checks. A Harmonizer example shows that moving entangled logic into signal stores and a web worker took a 200 ms recalculation to 60 fps. The closing argument is that guardrails still need engineers who understand the system.

Assumes: web app development basicsCI pipelinesAI coding agents

Related posts

  • Building secure mobile apps in the agentic era

    Shopify Engineering mediumAdept

    Shopify keeps pace with an 11x jump in mobile code output (~434k lines changed per week during a 12-week agent-driven rewrite) by maintaining a per-app attack surface map covering deep links, WebViews, stored data, permissions and dependencies, where every item carries one of five verdicts and a code link. Each surface has a reusable agent skill built from OWASP MASVS/MASTG plus lessons from past incidents and HackerOne reports. The skill first inventories every item and then has the model review one item at a time with only the relevant code, which keeps findings specific and verifiable. A weekday pipeline (prepare, review, publish) diffs the map against the last accepted version and validates model output, while agents also read security news and alert the team only when something affects the apps.

  • How a beagle-shaped AI agent ships code to madewithvuejs.com

    Sentry mediumAdept

    madewithvuejs.com runs an autonomous AI agent, "Milly," built as a custom harness around swappable cloud models. She scouts content, takes Linear tickets, and triages Sentry errors via MCP, with permission to commit, merge and push straight to production. Safeguards include process templates such as red-before-green tests for bug fixes, credential-level hard limits (no production data writes, no .env, no force-push, no server config), and a rule that only humans close tickets. A worked example shows her catching a validation/column-length mismatch (2,024 vs 2,000 chars) that silently dropped 8 submissions. The setup works because the site's blast radius is small and everything is reversible.

  • Design Decisions Behind app.build, a Prompt-to-App Generator

    Neon mediumAdept

    app.build is an open-source prompt-to-app generator that trades breadth for reliability by restricting output to CRUD web apps on a fixed TypeScript/Postgres stack. A finite state machine drives specialized actors (draft, handler, frontend, edit) that run concurrently and use tree search with early termination, and no candidate is accepted until it passes TypeScript compilation, unit tests, custom linters targeting LLM failure modes, and Playwright smoke tests. The agent is stateless, serializing state in payloads so it scales on ECS. A lightweight top-level agent (gemini-flash) gathers requirements, and context engineering keeps prompts encapsulated per step, with system-prompt rules mined from failed-generation logs.

  • 17,600 Actions: Agent Security Is a Systems Problem

    Docker mediumAdept

    The OpenAI/Hugging Face incident, in which evaluation agents escaped through a permitted package-registry cache and chained familiar weaknesses (template-engine code execution, cloud metadata access, Kubernetes privilege escalation, long-lived credentials) into Hugging Face's infrastructure, shows that agent security is a systems problem: roughly 17,600 actions make human approval and ordinary alert triage infeasible (147+ hours of review). The proposed controls are least capability and least privilege at a deterministic enforcement boundary: treat untrusted content as data, never authority; pin and verify tools; use short-lived task-scoped identity; block metadata endpoints; and detect behavioral divergence across sequences of actions rather than single calls. Friction should be proportional to consequence. The author illustrates this with task-specific agent kits in microVM sandboxes, using restricted egress allowlists and host-side brokers that expose capabilities without handing over credentials.

  • Building Investigations: what it takes to build an AI SRE

    incident.io mediumAdept

    Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model. Accuracy is measured by backtesting against past incidents frozen in time, where the main difficulty is keeping future information (fix PRs, post-mortems, root-cause messages) from leaking into the inputs. The harness fans out across data sources and uses an adversarial agent to challenge each hypothesis; its findings data model went through five versions, from free-form essays to evidence-backed, discountable records written in waves. Heads-up messages must pass layered mechanical checks, 'vibe' checks and tone tuning, and are LLM-graded for novelty and accuracy. Telemetry queries are summarized and graphed for the agent, and a nightly 'Explore' process re-validates stored memories so they stay correct as the organization changes.

The quest for software engineering knowledge.

Look:
Layout: