Blog

Notes on running coding agents through ChromaLab: setup, model choice, costs and what changed.

  1. Fix a Node.js fetch timeout that misses the response body

    Stop response.json() from hanging after fetch() returns 200. Use AbortSignal.timeout() in Node.js and test it against a local HTTP server.

  2. Use Amazon Ergo in a coding agent

    Amazon Ergo is an open-weight 1.1T agent model with 55B active parameters, a 1,048,576-token context, and tool calling on most hosts.

  3. Fix TypeScript path aliases that fail at runtime in Node.js

    Fix ERR_MODULE_NOT_FOUND after tsc. See why tsconfig paths can pass type checking, then use relative imports or package.json imports in Node.js.

  4. Use Ling 3.2 Air in a coding agent

    Ling 3.2 Air activates 5.5B of 124B parameters, takes text and images, and stops at a 262,144-token context. Quote the score table, not the intro.

  5. Use MiniMax M4 in a coding agent

    MiniMax M4 reasons on every call. Here are the context, completion cap, tool support and December 4 price before you set it as the agent model.

  6. Use Qwen4 35B A3B in a coding agent

    Qwen4 35B A3B is the open-weight Qwen4, with 3B active parameters, a 1,048,576-token context, and thinking you can turn off.

  7. Use Step 5 in a coding agent

    Step 5 is StepFun's December flagship: 27B active parameters, a 1,048,576-token context, tool calls, and output that includes reasoning.

  8. Add a NOT NULL column to a SQLite table with existing rows

    Fix SQLite’s “Cannot add a NOT NULL column with default value NULL” error. Choose a permanent default or backfill old rows before enforcing NOT NULL.

  9. Fix a React useEffect race condition with AbortController

    React search showing stale results? Cancel old fetches in useEffect and test out-of-order responses with Node, without sleeps or a live API.

  10. Fix Bash bad interpreter errors caused by CRLF line endings

    Fix Bash bad interpreter, bash\r, and ^M errors after Windows edits. Check Git's staged and local line endings and keep shell scripts on LF.

  11. Fix npm ci when package.json and package-lock.json disagree

    Fix npm ci EUSAGE and Missing from lock file errors after AI coding edits. Repair the lockfile and catch runtime dependencies filed under devDependencies.

  12. Vite works locally but fails after deploy: fix the API URL

    Debug Vite env variables, localhost API URLs, and dev proxies that vanish in production. Copy a smoke test that catches HTML returned as JSON.

  13. Debug AI-generated code with Git bisect

    Find the commit that broke your app after an AI coding session. Run a focused Git bisect test that skips unrelated build failures and protects your edits.

  14. Claude Code headless mode in CI: GitHub Actions and a review script

    How claude -p behaves in scripts and CI: exit codes, permission denials, budget caps and a diff-review script that fails the build on high-severity bugs.

  15. Give AI coding agents safe database access: a tested Postgres setup

    We ran 12 write attempts against six ways of making Postgres read-only for an AI agent. Five failed. Copy the role, the audit query and a migration check.

  16. Undo AI coding agent changes and recover lost files with git

    What /rewind and editor checkpoints miss, how to recover files after git reset --hard or git clean, and a hook that snapshots work before each command.

  17. How to test AI-generated code when the agent writes the tests

    Tests written by a coding agent can hit 100% coverage and miss obvious bugs. How to catch weak, edited or fake tests with mutation testing and CI checks.

  18. Cut Claude Code token usage: context, compaction and model choice

    Where Claude Code's tokens go and how to spend fewer of them, with /usage, /clear vs /compact, a lean CLAUDE.md, quieter test output and cheaper models.

  19. Claude Code hooks: auto-format, run tests and block risky commands

    Copyable Claude Code hooks that format every edit, block changes to .env, deny force pushes and run your tests before Claude says it's done.

  20. Run parallel AI coding agents with git worktrees

    Run several coding agents at once without collisions, using git worktrees, Claude Code's --worktree flag, and rules for ports, env files and merging.

  21. How to write an AGENTS.md or CLAUDE.md that coding agents follow

    What to put in AGENTS.md and CLAUDE.md, what to leave out, how to share one file across Claude Code, Codex and Cursor, and how to keep it short and true.

  22. Run Claude Code on any model through ChromaLab

    Point Claude Code at ChromaLab with two environment variables and use any catalog model, with tool calls and prompt caching intact.

  23. Vibe coding security checklist: what to check before you ship

    The security mistakes AI coding agents make most often, from leaked keys and missing row-level security to hallucinated packages, and how to catch each one.