Software Factory: Self-Healing
The platform watches your deployed app's errors and behavior and files fix tickets automatically.

The software factory can watch your running app’s logs and automatically open a fix-ticket when new problems show up — so a regression doesn’t sit unnoticed until a user reports it. You configure this on the project’s Security tab, in the Self-healing section. Self-healing works on every plan.
There are two independent sweeps, each toggled and scheduled on its own:
- Error sweep — scans your app’s error logs and, when new error signatures appear, opens a single batched fix-ticket describing them. Default cadence: every 30 minutes.
- Behavior sweep — reviews warnings, errors, and breadcrumbs across a window and opens a findings ticket for issues worth a closer look (not just hard crashes). Default cadence: weekly.
Both sweeps are off until you turn them on.
Configuring cadence
Each sweep has an Every dropdown. Once a sweep is on, it runs at the default cadence shown next to it unless you pick another one. You can make a sweep more or less frequent, or turn it off entirely with its toggle. Sweep cadences are clamped to a range of every 30 minutes at most and every 30 days at least.
Approval and cost cap
Before a fix runs controls whether a sweep’s fix starts on its own:
- Ask me first (default): each fix waits for your approval in the project’s Approvals tab. A fix with no decision expires after 48 hours.
- Run automatically: the fix starts as soon as the sweep finds something.
Per-fix cap sets the most one fix can spend. If you leave it blank, error-sweep fixes use $35 (or your project’s default ticket cap, if you set one), and behavior-sweep fixes use your project’s normal ticket budget. A fix that would cost more stops and asks for more budget.
What you get
When a sweep finds something new (and, in Ask me first mode, you approve it), it opens a normal ticket in your project — so the fix flows through the same agent pipeline as any other work, and you can follow it in the project’s Tickets list. Repeat occurrences of an error the platform has already filed are de-duplicated, so you won’t get a fresh ticket every sweep for the same known issue.
Why it needs the app template’s logger
The sweeps read the structured log lines the Chipp app template
writes through src/lib/logger.ts, and the errors its app.onError handler
logs. An app that swaps in another logger or error tracker still runs, but
the sweeps cannot see its errors. Building in your own AI tool? Keep the
template’s logger and run deno task conformance before each push (see the
build tools reference).
Notes
- Sweeps only act on new signatures since the last run; a steady, already- ticketed error won’t re-open tickets.
- Turning a sweep off stops new tickets from that sweep immediately; it does not close tickets already opened.