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

> Source: <https://dev.to/qiqll/the-hard-part-of-coding-with-agents-isnt-the-code-its-trusting-done-2060>
> Published: 2026-12-03 07:39:00+00:00

**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 the playbook "Working with AI coding agents": <https://wpnews.pro/playbooks/coding-agents>

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.
