A research prototype records unasked coding work and does not start it
On 31 October 2026, commit 6337fc8 on the deepseek-ai GitHub organization added dsh-superagent, a proactive coding agent for one repository. The README calls it a research prototype for reference only. It says the code is not an official DeepSeek product, and that the published tree is not identical to the team’s internal version. The README says some designs in Exploring Super-agent Design: Towards a More Autonomous Agent System are future work and are not in this prototype.
What the commit contains
The README says the bundle is for DeepSeek Harness. It listens to GitHub and, optionally, Feishu. When someone allowed asks for work, it opens a work item, works on it in its own agent session and directory, and answers in the original conversation, for example with a pull request. A web panel shows what needs a person. The execution document names each ticket’s executor session worker-<ticket id>. The README licenses the repository as MIT and says to treat the tree as research code.
Who may start work
The authorization document says the host enforces allowed lists, rules, and mandates. Messages, comments, and quoted documents cannot change those permissions.
An allowed person who addresses the agent makes an explicit request. Explicit requests work in every accept mode. The main session still routes them, and one call can accept, attach, stop, or ignore each item on its own.
Other messages use the default cells:
- A person on the list who does not address the agent is inferred.
- A person who is not on the list is ignored, whether or not they address the agent.
A bot on the source’s bot list can become an inferred candidate. It cannot make an explicit request, and it cannot stop a ticket. Any other bot is not admitted. An automated reviewer that posts from an ordinary account counts as a person. The document says the team prompt has to name those accounts as automated reviewers.
Observe writes the decision down
The accept mode is part of the policy.
offmeans nothing inferred becomes a candidate.observeis the default. Inferred candidates are assessed. A positive assessment is recorded as an ignore marked “would accept”, and nothing is accepted.autoaccepts an inferred candidate when the assessment is positive.
A proactive accept needs at least one matching rule. Each assessment judges every enabled rule once. The authorization document says to start in observe and to switch to auto after reviewing the recorded decisions.
The merge rule lives in the prompt
The execution document says the host has no merge-specific decision logic. Auto-merge follows the delivery prompt.
That prompt says never to enable auto-merge as the agent account, so the agent does not merge its own work, and never to approve or merge on behalf of a reviewer. The worker may enable auto-merge only with a merge command-line tool the same section names. When that section names no tool, a person merges every pull request.
When a tool is named, auto-merge is for the head commit of a pull request the worker opened from the ticket branch, and only when all of these hold. The pull request is ready. Additions plus deletions are fewer than 200 lines. Each approval the instructions require covers that commit. If it changes what users see, the instructions also name who approves that kind of change, and that approval covers the commit.
The prompt tells the worker to report the pull request ready without waiting for those approvals, then to enable auto-merge once they arrive and the other conditions hold. Before another push, the worker withdraws auto-merge.
The execution document says to require the approvals in branch protection and to dismiss stale approvals.
That line count is a condition of auto-merge in the delivery prompt. Executor sessions run commands without approval as the operator’s operating-system user. Blocked commands fail when the command is invoked by name, and a worker can still run a program by its absolute path. The execution document says the wrappers are defaults and are not a security boundary.
Walk one comment through the rules
This is an illustration of those pages, not a run of the prototype. The figure 240 is there so the line test has a sum to refuse.
A bot on the bot list comments on an issue, and it addresses the agent or the source receives every message there. It cannot make an explicit request. In the default observe mode, a positive assessment is recorded as an ignore marked “would accept”, and the work does not start.
Take the other path. An allowed person asked, the main session accepted, and the worker opened a pull request from the ticket branch. It is ready, and each required approval covers the head commit. Additions plus deletions total 240. That is not fewer than 200, so the delivery prompt leaves the merge to a person. If the prompt requires a review and branch protection does not, the prompt still binds only the agent.
What to do this week
Hold your own coding agent up against the four gates in this repository.
- Write your mode as off, observe, or auto. The prototype’s default is observe. A positive assessment is recorded as an ignore marked “would accept”, and nothing is accepted.
- On one open pull request, add the additions to the deletions. The default cap is fewer than 200, and only for a pull request the worker opened from the ticket branch.
- Name the account that would enable the merge. The delivery prompt says that account is not the agent account.
- See whether a required approval exists only as a line in a prompt. The execution document says to require it in branch protection and to dismiss stale approvals.
A pairing block can work toward an instruction file, a merge checklist for agent pull requests, and CI gates in your own repository.
Sources
- dsh-superagent README · deepseek-ai on GitHub · 2026-10-31
- 002 Authorization · deepseek-ai on GitHub · 2026-10-31
- 003 Execution · deepseek-ai on GitHub · 2026-10-31
- prompts/team/delivery.md · deepseek-ai on GitHub · 2026-10-31
- feat: add the dsh-superagent research prototype · GitHub · 2026-10-31
Researched and drafted with AI assistance, checked against the sources above.
See how this could work in your day.
See a worked example →