← Plugins

autodos

Run coding agents from a Feishu group: agree a checklist, develop, merge, deploy and review each night.

$ paseo plugin add aishihzong/autodos
Report a bug
aishihzongOrchestration2installs321d9fef9168Source
autodos screenshot 1

autodos turns a Feishu (Lark) group into a work queue for coding agents running in Paseo. Someone in the group mentions the bot with a request. An agent agrees an acceptance checklist with them in the message thread and does the work in its own worktree. The plugin then merges it, deploys it, checks it is live and hands it back in the thread. People follow progress on a board in Paseo and make every decision on Feishu cards.

How a request moves

  1. Refine. A message that mentions the bot and starts with the trigger word (default autodos) becomes a task. The agent reads the repository without changing anything. It posts a card with its understanding, a checklist of 3 to 6 checkable results and any open questions, each with the default it will take. The requester confirms, or taps "要改" and replies in the thread. Answered questions drop out of the next version, and the task title follows the request.
  2. Develop. The agent works on branch task-N in a Paseo worktree and commits. Each permission it asks for (edit files, run a command) arrives as a private card: approve once, approve that kind for the rest of the task, or deny. Commands that reach outside the task's worktree are always asked, even after "approve all".
  3. Merge and ship. If the report leaves checklist items unticked, the agent is asked once to finish them, and then the requester decides on a card. Changes to protected paths wait for an approver. The plugin squashes the branch onto main in a separate worktree and runs your check command on the result. It moves main only when the check passes, then runs your deploy command, waits for your health URL to report the new commit and takes a screenshot of the changed page.
  4. Accept. The delivery card shows the ticked checklist, each step and links. The requester taps "通过", "要改" (and says what in the thread) or "回滚". Rolling back reverts the merge on main and deploys again.
  5. Nightly review. A Paseo schedule reviews the last 24 hours every night. Lessons go into LESSONS.md; a lesson seen on three different days is promoted into docs/code-standards.md. Suggestions the repository can take become cards the owner starts or skips. A short daily report goes to the group, with suggestions for other repositories listed at its end.

Setup

  • Paseo daemon 0.16 or later with an agent provider configured (tested with Claude Code on macOS).
  • lark-cli on the daemon host. In the plugin's Feishu settings, "新建一个飞书应用" creates and authorises a bot app. Add the bot to your group and pick the group there.
  • In the rules: the repository tasks run in, the trigger word, the agent provider, who may approve, the check, deploy, health and preview settings, protected paths and the nightly schedule.
  • Optional machine file ~/.autodos-paseo/config.json (or the path in AUTODOS_CONFIG): larkBin, daemonUrl (default ws://127.0.0.1:6767/ws), db (default ~/.autodos-paseo/tasks.db), browserBin for screenshots (a headless Chromium) and seed values for the first run.

What it reads and sends

The plugin reads group messages that mention the bot, and card clicks, through lark-cli on the daemon host. It posts replies, cards and screenshots in the request's thread, permission cards in private chats, and the nightly report and suggestion cards in the bound group. The request text, thread replies, the checklist and whatever the agent reads in the repository go to the agent provider you choose, as prompts and tool results. Tasks, their log and lessons are kept in a local SQLite file. Merges, deploys and the nightly LESSONS.md commit run as git and shell commands on the daemon host, and push to origin when the repository has one.

Limits

  • One Feishu app and one group per daemon.
  • Screenshots need a local headless Chromium; without one the delivery has links only.
  • Like every Paseo plugin, it is trusted, unsandboxed code on the daemon host. Point it at a repository you are willing to let an agent change.