agentq

Say what you want. A small crew ships it to main.

AI sessions split it up, build in parallel, test, audit once, merge to local main and tell you.

# macOS, needs Claude Codecurl -fsSL https://github.com/dodo258/agentq/releases/latest/download/install.sh | sh
05:54:24into main, eb09c5dagentq2 1126-051113

Terminal

05:11:13$ cat <<'E' | agentq do -C … - 把这个仓库整理到可以公开:…只做本地准备,不推远程、不发布、不打 tag。… E

1126-051113 开工:agentq2「把这个仓库整理到可以公开:它要取代公开仓库 …」

05:11:13$ agentq ls

1126-051113 产品经理 agentq2「把这个仓库整理到可以公开:它要取代公开仓库 …」 0s 0.0M

1126-051113-2 产品经理 agenq-site「agentq 从头重写了,官网要整个更新。…」 0s 0.0M

05:41:21$ agentq ls

1126-051113 审计 agentq2「整理成可公开的 agentq 2」 30m0s 6.1M

1126-051113-2 在做 agenq-site「官网按新版 agentq 重做」 30m0s 13.5M 模块 3/5

05:52:03$ agentq ls

1126-051113 修 agentq2「整理成可公开的 agentq 2」 41m0s 6.1M

审计找到 7 个大 bug

1126-051113-2 在做 agenq-site「官网按新版 agentq 重做」 41m0s 17.0M 模块 4/5

afterwards$ agentq ls

1126-051113 做完 agentq2「整理成可公开的 agentq 2」 43m0s 9.3M

1126-051113-2 审计 agenq-site「官网按新版 agentq 重做」 44m0s 21.4M

Hand-off sheet

  1. Product managerHanded offthe plan in 3 modules: get the repository to where others can install it, read it, and it can go public…
  2. appGotSubtract first: product code is at 2,599 lines (cap 2,600); delete at least as many lines as you will add. …
  3. releaseGotFollow the plan's release interface: write scripts/release.sh, install.sh… LICENSE…
  4. releaseReturnedHow to see it: … builds an installable package… release steps are in docs/RELEASE.md.
  5. appReturnedWhat was done: removed duplicate code to free up lines, then added installing and removing the dispatch skill…
  6. readmeGotOnce app and release are merged, write README.md (Chinese) and README.en.md (English) from the real code and real output, plainly…
  7. readmeReturnedWhat was done: wrote README.md and README.en.md from the real code and run records…
  8. TestsPassed
  9. Audit7 major bugs. …
  10. AuditSent backTo-do delivery and merge: … after the last passing test, agentq commits the to-do tick as well and merges it straight into main. …
  11. AuditSent backInstaller and the old version: … the installer lets any download that prints a version number replace the new version. …
  12. AuditSent backDispatch skill install and uninstall: … if the user's own dispatch happens to match the built-in one, the installer records it as its own file and deletes it on uninstall.
  13. AuditSent backResending Telegram messages: … when Telegram returns HTTP 400, the program takes the refusal as delivered and deletes the pending message. …
  14. AuditSent backFirst use of Telegram: … the listener receives private messages but cannot start the session that handles them. …
  15. AuditSent backCustom data directory and recovery: … the foreground reports it has started, the background cannot read the order, and resume cannot recover it.
  16. AuditSent backUninstalling background services: … the services may keep running after the user was told the uninstall succeeded.
  17. FixFixedinternal/flow/flow.go:525: run the checks again after the tick and before merging, so what merges is what was tested…
  18. FixFixedinstall.sh:116: after downloading, install.sh checks the first line of --help; if it is not this version it refuses and changes nothing…
  19. FixFixedinstall.go:148: only skills agentq wrote itself are recorded; a user's identical file is not, and uninstall leaves it. …
  20. FixFixedinternal/tell/tell.go:107: 400 no longer counts as delivered: it stays in the outbox and Telegram's reason is reported…
  21. FixFixedmain.go:372: create the projects directory before handling messages…
  22. FixFixedmain.go:276: … relative paths become absolute at the entry point; background processes and launchd use absolute paths…
  23. FixFixedinstall.go:90: if bootout fails or launchctl is missing, report it… no longer say it was removed…
  24. TestsPassed
  25. TestsSent backTests failed, exit code 1…
  26. TestsPassed
  27. MergeMergedinto main, eb09c5d

Telegram messages

  1. 📋 agentq2 started: get agentq 2 ready to go public

    Get the repository to where others can install it, read it, and it can go public: first subtract in the code to free up lines, add the default Telegram path, dispatch skill install and a version number; at the same time write LICENSE, GitHub Actions and install.sh; last, write the Chinese and English READMEs from the real code and clear personal traces from DESIGN. Three modules, the first two at the same time, the README once they are merged. Done means: .agentq/verify passes, product code stays within 2,600 lines, and the README commands match agentq --help; no pushing, no publishing, no tagging.

  2. 🟢 agentq2 is done: get agentq 2 ready to go public

    Get the repository to where others can install it, read it, and it can go public: first subtract in the code to free up lines, add the default Telegram path, dispatch skill install and a version number; at the same time write LICENSE, GitHub Actions and install.sh; last, write the Chinese and English READMEs from the real code and clear personal traces from DESIGN. Three modules, the first two at the same time, the README once they are merged. Done means: .agentq/verify passes, product code stays within 2,600 lines, and the README commands match agentq --help; no pushing, no publishing, no tagging.

    Took 43m0s, merge commit eb09c5d, the audit found 7 major bugs, 7 fixed…

A real run, 2026-11-26: agentq getting its own new version ready. The terminal, the Telegram messages and the hand-off sheet are the originals; … marks cuts, and lines about other requests are left out. Codex did the audit. The replay compresses the waiting. The run was in Chinese: the terminal is shown as it was, hand-off lines and messages are translated.

mdsite, made in 53 minutes.

The home page mdsite generated, 「mdsite 使用手册」 (its user manual): thumb tabs and contents on the left, the title, an intro and two commands on the right.
The same site on a phone: searching 「段」 finds 6 hits.

A static site generator built from an empty folder: 6 modules, up to 4 at a time, 0 major bugs in the audit.

That audit was done by Claude; Codex was added later.

Open the site it generated

Small change, 1 minute.

agentq do "加一个 --version 选项,打印 wc2 0.1.0"
1126-030207 开工:wordle-cli「加一个 --version 选项,打印 wc2 0.1.0」
11-26 03:02:07 产品经理
11-26 03:02:28 在做
11-26 03:02:28 开工:version-flag
11-26 03:03:09 合到一起了:version-flag
11-26 03:03:09 跑测试
11-26 03:03:11 测试过了
11-26 03:03:11 合并

Terminal as it was, every step of run.log. It is in Chinese.

🟢 wordle-cli is done: wc2 gets a --version option

What was done: added a --version option to wc2, plus tests, the .agentq/verify check script and a README usage note.

How to see it: run go run . --version in the project directory and you will see wc2 0.1.0.

Took 1m0s, merge commit 39854fe

03:03:11

The message from run.log, translated. No Telegram was connected yet.

One audit. A brutal one.

When a big job is done, Codex's strongest model gets only your words and the finished product, and walks through it the way you would. No Codex installed: Claude does it.

23

findings sent back. Before the switch, gpt-6.2-astra (xhigh) audited agentq itself, each with a reproduction.

  • Sent back repo A fast-forward merge silently overwrites local files that Git ignores. Fixed
  • Sent back flow The order says the scene is kept for the user to handle, but retry resets the integration worktree and cleans untracked files as soon as it starts. Fixed
  • Sent back flow If it is interrupted after a module's commit is merged but before the done marker is written, recovery judges the delivered module as “committed nothing”. Fixed
  • Sent back repo When a project has no .agentq/verify, the program records the tests as passed and allows the merge. Fixed
  • Sent back tell The listener saves the position of the next message before the order is created, and the work exists only in memory. Fixed
  • Sent back brief The morning brief counts an order's tokens over its whole lifetime toward the current day. Fixed

All 23 were checked one by one and held up. The fixes went in before the switch. 994cf03

Who does what.

JobModelEffortWhy
Product manager, hard modules, merging, fixing test and audit bugs Opus high One wrong step wastes everything after it
Ordinary modules, Telegram chat Sonnet high / medium Interfaces and acceptance are already written; following them is fast and cheap enough
The single audit Codex's strongest model xhigh A different vendor's eyes
Opus failed to fix it in 3 tries: one shot Fable xhigh The strongest and the priciest, used only when nobody else could
Ticking off, morning brief, merging, running tests Plain code — No model where none is needed

This page was made by it, too.

📋 agenq-site started: rebuild the website for the new agentq

The whole site is redone around the new agentq: the first screen is a “recorder” you can drag, replaying the real 53 minutes of mdsite, with the terminal, the hand-off sheet and the messages moving along; below it the finished thing, the 1-minute change, the 23 findings Codex sent back, who does what, this page's own hand-off sheet, and install. Five modules: skeleton and real records first, recorder and sections in parallel, closing screenshots last. Not one old claim left, two languages, light and dark, no sideways scroll on phones, all checks pass, previews locally: then it is done. No deploy.

Hand-off sheet1126-051113-2

  1. Product managerhanded off the plan in 5 modules: the whole site is redone around the new agentq: the first screen is a “recorder” you can drag, replaying the real 53 minutes of mdsite…
  2. basegot: tear down the old site, put up the new skeleton so the other modules can start. …
  3. recordgot: turn the real records into data, replace the old fact snapshots. …
  4. recordreturned: …open the data files in src/record/; the comment on top of each points to its source in docs/source. …
  5. basereturned: What was done: removed the old site; in its place the recorder's design variables, top bar, headline and command box, footer, empty shells for each module, and updated check scripts. …
  6. deckgot: build the recorder on the first screen… this line is what people will remember from the page, so draw it with care: weight, the curves where it joins, the playhead, the ticks and fixed-width times, the feel of the black screen; go several rounds on screenshots. …
  7. sectionsgot: build the six sections below the first screen: the finished thing, the small change, sent back, who does what, when it stops and what to know, install… the fewer words the better; no small labels, numbers, arrows or icon cards. …
  8. sectionsreturned: preview locally: npm ci && npm run build && npm run preview.
  9. deckreturned: What was done: the recorder, an amber line drawn to real time that splits into four at 03:14 and joins back; terminal, hand-off sheet and messages follow it; it plays once by itself, and you can drag it or step through with the keyboard. …
  10. finishgot: close it out. 1) src/self: copy this request's own … as it stands into data, read-only (word for word, long ones cut with …, local paths removed; …

At the time of writing, tests, audit and merge were still ahead.

From HANDOFF.md and run.log. The originals are in Chinese, translated here; long lines are cut.

Three things make it stop and ask you.

  • A test is red, and Opus's 3 tries and Fable's one shot did not fix it.
  • A merge conflict that the session which wrote the module could not resolve.
  • The request needs money, publishing, deleting data or using an account.

Before you try it

  • macOS only.
  • Needs a logged-in Claude Code. Codex and Telegram are optional.
  • Sessions run with bypassPermissions: they do not ask for permission step by step.
  • It merges into your local main branch only and never pushes to a remote.
  • Command output and messages are in Chinese only for now.
  • Installed and tried on its author's one machine only.
  • A bit over two thousand lines of code; a test fails it past 2,600.

Install

# Install it. macOS, needs Claude Codecurl -fsSL https://github.com/dodo258/agentq/releases/latest/download/install.sh | sh
# Once: resume after interruptions, receive Telegram messages, 8 a.m. morning briefagentq install
# In your project, say what you wantagentq do "what you want"