Skip to main content

What's new

Every agent turn now gets type-checked, so broken code stops before merge

A task's checks, with Syntax passed on three changed files and Types failed with one new type error, its compiler output naming the file, line and column.

It only takes one missing bracket. An agent's change looks fine in the diff, it merges, and nothing notices until the app tries to deploy. Then the first message you get is a vague start-up error, a long way from “you're missing a bracket on line 15”. Agents produce more changes than anyone can read closely, so the checks have to happen while the agent is still on the task.

Two checks after every turn

Every task that works in its own isolated copy of your code gets two checks from 1904. Syntax parses the files the task changed, using your app's own TypeScript, without running them. Types runs your app's own compiler on a scratch copy of the task and reports only the errors your target branch doesn't already have, so an agent isn't sent chasing problems that were there before it started. Both appear as rows in the task's Checks panel, and both run when the agent's turn ends.

A failure goes back to the agent

When a check fails, the errors go straight into the task as a message to the agent, and it fixes them on the same branch. You don't have to read a compiler log and paste it across. Timing is the point: at the end of a turn the agent is still on the task and still has the context.

The merge waits for the result

Quick Submit waits until both checks have looked at the current code. If one failed, the merge is refused and you're told the agent already has the errors, so you can submit again when it finishes.

The result that matters comes first

With several tasks open in one app, you want the answer that can hold a merge before anything else. These checks only read a scratch copy of a task, so they don't wait behind work that changes your repository. When type checking and linting are both waiting, the type check goes ahead of any lint that hasn't started. 1904 also uses faster checking tools once they give the same answers as yours, and your app's own compiler and ESLint rules stay the reference.

When a check can't run

Agents make one failure especially easy to miss. A check needs something that isn't there, such as installed packages, so it reports that it was blocked instead of failing. The work moves on, and the first real compiler to see the code is your deploy. Agents produce more changes than anyone can watch, and a quiet skip looks a lot like a green run. So in any setup, treat a check that didn't run as a problem to fix. In 1904, when a task's type check finds the compiler missing, it installs your packages from your lockfile and runs for real. If the install fails, it tells you why and tries again once the lockfile changes.

If a deploy still fails

The same idea carries past the merge. After a task merges, 1904 watches the next rebuild, and when the code is at fault the error goes to the agent that wrote it. 1904 checks that fix, merges it and rebuilds. You can start the same thing yourself with Fix with agent on a failed deploy. Anything it can't finish ends in a notification with the error.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.