cd /news/ai-agents/the-hard-part-of-coding-with-agents-… · home › topics › ai-agents › article
[ARTICLE · art-180832] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

The hard part of coding with agents isn't the code — it's trusting "done"

A developer released dsh-task-suite, an MIT-licensed plugin for DeepSeek Harness that turns a coding backlog into Markdown task files and hands actual coding to background subagents with fresh contexts. The main session only dispatches and accepts work, and a task reaches "to verify" only after passing four gates: a one-time dispatch nonce, commit ownership checks, a baseline re-run to distinguish pre-existing test failures, and an audit for weakened or skipped tests. The developer reports the plugin's own development ran on the pipeline with 19 tasks archived and zero rejections, and that it runs serially with no parallelism.

recommendation

Require every agent delivery to carry a dispatch nonce and task-ID commit, then re-run the test suite at the task's baseline commit to reject failures the agent did not cause.

more in playbook: Working with AI coding agents
read4 min views5 publishedDec 3, 2026

I use coding agents every day, and the exhausting part was never the code.

It was the waiting. One thing at a time: I ask, it works, I wait, it finishes, I ask again. Long sessions rot — the agent forgets what it decided an hour ago. And the worst part: it says "done", and I still have to read every diff, because I have no idea whether it quietly loosened a failing test to get green.

So I wrote a plugin for DeepSeek Harness called dsh-task-suite. The idea is small: turn the backlog into files, let the main agent only dispatch and accept, and give the actual coding to a background subagent that starts with a fresh context every time.

Tasks are files

The queue lives in the repo:

Code block

.dsh/tasks/backlog.md waiting

.dsh/tasks/dev-progress.md archived

.dsh/tasks/auto/run.log run log

Each task has an ID, a title, a module, a priority, dependencies, and acceptance criteria. No database, no daemon. It reviews in git, and when something is wrong you edit the Markdown.

The main session stops writing code. Its loop is: pick a task → pack a briefing → dispatch to a background subagent → wait for the report → run machine acceptance → only then move it to "to verify".

Four gates between "the agent says so" and "done"

This is the only part that matters.

A one-time nonce. Generated at dispatch, written into the briefing; the worker's report must carry the same one. Forged, reused, or copied from a previous turn — rejected.

Commit ownership. In a git task, the commit message must contain the task ID; in a plain folder, the plugin diffs the claim-time snapshot against the working tree. Unattributed changes are not a delivery.

Baseline re-run. When the worker says "those two tests were already failing", that doesn't count. Acceptance checks out the commit the task started from and runs the suite there: only failures that also fail at the baseline are pre-existing. Anything new is a rejection.

Weakened-test audit. Deleted assertions, added skip, widened expect, or quietly running a single file instead of the suite — all get flagged. Green tests are not proof if the tests were softened.

Only when all four pass does the task become "to verify". Not "done": a human still clicks confirm. Passing the gates means "worth your five minutes", not "shipped".

A real rejection

I asked for dashboard screenshots. The worker was fast and the report looked great. Acceptance failed anyway: it had modified a file that was already dirty when the task started.

It didn't write bad code. It crossed a boundary — pre-existing uncommitted changes are baseline noise, and whoever touches them has to say so explicitly. The gate doesn't read the report; it diffs the claim-time snapshot against the working tree.

Humans rarely catch that. The check catches it in a second.

What a night looks like

Before closing the laptop I drop three tasks into the pool. The main agent dispatches them one at a time; if a worker stalls past a threshold, a watchdog marks it stalled and records that in the run log; every finished task emits one notification — to verify, or rejected.

In the morning I read two lists: to verify (the machine thinks it is fine, I confirm) and needs a decision (it could not judge, I decide). Nothing else.

That is what "letting go" means here: not trusting the model, but trusting four gates to stop it.

What it does not do

No parallelism. One worker at a time, serial. Parallel sounds great until acceptance cost explodes.

The dashboard is read-only. Edit the Markdown, or ask the main agent.

One full restart after install. The panel depends on dsh-better-sidebar, and the client plugin graph is composed at process start — a page refresh won't load it.

Git is optional but weaker. Without a repo it falls back to folder snapshots.

Status

1.2.1, MIT

The plugin's own development ran on this pipeline: 19 tasks archived, 0 rejections

Just released, 1 star, no users to brag about

Listed in the DSH Go market and on awesome-dsh-plugin

sh

dsh plugin --profile desktop add dsh-task-suite

Repo: [https://github.com/qiqll/dsh-task-suite](https://github.com/qiqll/dsh-task-suite) Landing: [https://qiqll.github.io/dsh-task-suite/](https://qiqll.github.io/dsh-task-suite/)

One question

If your agent only put results in a "to verify" list from tomorrow, what would you hand it first — missing tests, docs, or that old module you keep avoiding? Feedback via issues, please: the templates ask for the DSH version and the plugin version, which is usually enough to reproduce.

── more in #ai-agents 4 stories · sorted by recency
── more on @deepseek harness 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-hard-part-of-cod…] indexed:0 read:4min 2026-12-03 · —