Solo
ticketmain
lingtai-base for a local project
Each ticket lands by itself once its checks pass, and the ticket closes.
For: just you, and you trust the checks.
For Claude Code and Codex
The agent writes the change. Your checks and an AI review decide whether it lands — and every ticket ends in a receipt you can check.
curl -fsSL https://lingtai.hczhang.com/install.sh | shmacOS and Linux · runs on your machine · no signup
Film · 2:11 · narrated
Replay ILLUSTRATION
Three things went wrong overnight. Lingtai handled every one. Scroll down; the receipt beside it fills in one step at a time.
$ lingtai start taking #1 · sandboxed · 3 files changed✗ expected "6 min read" rule · fix round 1 ✓
✗ rounds 5.4 minutes up to 6 one look · fix round 2 ✓
✗ conflict in ChapterMeta.tsx one look · combined ✓ tests ✓ review ✓
✓ merged agent/1 → main 03:20 handled for you · 3 problems · 0 needed you
Security · from v0.14.0
Claude Code, Codex and your checks run in one sandbox, so you can leave it overnight.
On for new projects · one sandbox block in the recipe.
Telemetry hosts such as sentry.io are refused but not listed.
The first question
You can — then you drive it, prompt after prompt, and check its work yourself. With Lingtai you file the ticket; it runs the rest and hands you a receipt.
You file a ticket…
…then type prompt after prompt
1 Read issue #1 with gh, make a branch, and implement it.
Done — I added a ReadingTime component.
2 Run the tests and fix anything that fails.
One failed; fixed. 42 passed.
3 Review your change for bugs and edge cases.
Found one: it rounds down. Fixed.
4 main moved. Rebase and fix the conflicts.
Rebased; one conflict in ChapterMeta, resolved.
5 Run the tests again, then open a PR.
Tests pass. PR opened.
You wait for each answer, decide what to ask next, and type it — five times for one small change.
You file one ticket
Lingtai builds it, tests it, has an AI review it, and fixes problems on its own. See it above ↑
You: nothing, until it needs a decision.
| Claude Code · Codex alone | With Lingtai | |
|---|---|---|
| Who says it's done | The agent, running its own checks | Your checks, run apart from the agent, a second AI review — your OK only if you turn it on |
| The workflow | Skills and prompts you write, and keep working | Built in: steps you set once in a recipe. Your skills still work — for the task, not the process. |
| When something breaks | It stops and asks you what to do — even for things it could fix itself. | A router picks the fix: a rule for most, one quick AI look for some, you only when it must. See how ↓ |
| Rules | Usually in the repo it can edit | Outside anything it can edit |
| Sandbox | Can read your keys and logins | Sandboxed: keys unreadable, network allowlisted |
| After a crash | Depends on your session | Saved; it carries on after a restart |
| Cost | Your provider's dashboard | Per ticket, with a daily limit |
| Record | The chat transcript | Every step recorded, and a receipt |
A rule handles most of it, free · one quick AI look handles some, for cents · you see only what needs a decision. Every path has a limit.
How are part minutes shown?
Or write your own answer.
One person, or a team
main moves.lingtai add asks Does anyone else work on this repository? Press Enter for team — the default, even when it is only you.
ticketmainlingtai-base for a local project
Each ticket lands by itself once its checks pass, and the ticket closes.
For: just you, and you trust the checks.
ticketyour branchdraftPRmainTickets land on your own branch with nobody watching. You submit what has gathered there as one PR, and main moves only when you merge it.
For: reviewing one PR, as you would a colleague’s, and a main whose history is one merge commit per PR.
lingtai pr submit; Lingtai writes the PR’s title and summary.main, or a build that fails after merging it, goes to an agent first and to you only when the agent cannot mend it. A red CI run comes straight to you: fix it, then run lingtai pr retry.Yes. Turn on approval in the recipe and it waits for one click before it lands. It is off by default: your tests and the AI review decide.
| When | Who handles it | What happens | Limit, and past it |
|---|---|---|---|
| The API went down at 3am | Rule | It saved the half-done work, waited a minute, and redid the step from there. You never heard about it. | At most 3 tries, after 1, 5, then 15 minutes. Then it asks you. Still down after the third wait? It stops, says which limit ran out and how many times it tried, and waits for you. The saved work is still there. |
| A test is flaky | Rule | Your checks went red. It ran them again on the same code, at once: green. It carried on, and noted the flaky test for you to look at later. | One rerun only. Red twice means it is real, so the agent fixes it. Red twice: the agent fixes the code on top of its own work, up to 6 times. Still red: one closer look, then it asks you. If the approach looks wrong, it starts over from main instead, at most twice. |
| AI review found a bug | One look | One quick look named the lines to change. The agent fixed them on top of its own work, and your checks and the review ran again. | Up to 6 fixes. Then a fresh start, at most twice, or it asks you. Six fixes and still refused? One closer look. If the approach looks wrong, it starts over from main with a note on why, at most twice. Otherwise it stops and asks you. |
| The ticket is unclear | You | It stopped before guessing and asked you. Your answer went into the ticket, and it carried on from where it paused. | Up to 5 stops per ticket. Then it waits for you to decide. After 5 stops on one ticket it stops asking. You edit the ticket, close it, or give it another go. The agent never answers for you. |
| The ticket is too big | One look | It ran out of time. One quick look split it into 3 tickets that run in order. When all three landed, your ticket checked its own list, line by line, and closed. | Split once per ticket, into at most 8. A part that is still too big comes to you. A part ran out of time too. It is not split again: it stops and asks you how to cut it. The parts already landed stay landed. |
| Someone else changed main | Rule | Someone merged into main. It merged the new main into its work and ran your checks again, then landed. | Up to 10 merges per try. Then it asks you. Main moved 10 times under one ticket. That is rare; it stops and asks you whether to try again. |
| My Claude limit ran out | Rule | Nothing could start, so nothing was spent. It waited for your limit to reset, then carried on from the same place. | Nothing to count: waiting is free. A limit with no reset, like a monthly cap, waits for you. |
If the quick look itself fails, it asks once more, then hands it to you and says so.
Nothing lands until your checks and the AI review pass. If main is already broken, it stops and tells you, instead of spending money on a bug that isn't its own.
Every paid call is recorded. Set a daily limit and it pauses when the limit is reached, until midnight or until you resume it.
Nothing is lost. Its commits are saved on a branch, and the next run carries on from there.
No. Your rules live outside the repository the agent edits, so it can't change them.
The work, in the open
Every ticket it finished on its own repository this month, 2026-11-01 → 2026-11-19. Nothing left out.
● REAL medians, from Lingtai's log
● REAL from Lingtai's log · Open #1042 →
● REAL from Lingtai's log · Open #953 →
● REAL from Lingtai's log · Open #1002 →
Reproduce it: lingtai report --from 2026-11-01 --to 2026-11-19 --project lingtai. The one total above is counted from GitHub.
A GitHub issue with a kind label, or lingtai ticket new on a local project.
Runs on one machine · not yet 1.0 — what it needs, and what it doesn't do yet →