{"slug": "the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done", "title": "The hard part of coding with agents isn't the code — it's trusting \"done\"", "summary": "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.", "body_md": "I use coding agents every day, and the exhausting part was never the code.\n\nIt 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.\n\nSo 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.\n\nTasks are files\n\nThe queue lives in the repo:\n\nCode block\n\n.dsh/tasks/backlog.md       waiting\n\n.dsh/tasks/dev-progress.md  archived\n\n.dsh/tasks/auto/run.log     run log\n\nEach 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.\n\nThe 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\".\n\nFour gates between \"the agent says so\" and \"done\"\n\nThis is the only part that matters.\n\nA 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.\n\nCommit 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.\n\nBaseline 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.\n\nWeakened-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.\n\nOnly 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\".\n\nA real rejection\n\nI 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.\n\nIt 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.\n\nHumans rarely catch that. The check catches it in a second.\n\nWhat a night looks like\n\nBefore 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.\n\nIn 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.\n\nThat is what \"letting go\" means here: not trusting the model, but trusting four gates to stop it.\n\nWhat it does not do\n\nNo parallelism. One worker at a time, serial. Parallel sounds great until acceptance cost explodes.\n\nThe dashboard is read-only. Edit the Markdown, or ask the main agent.\n\nOne 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.\n\nGit is optional but weaker. Without a repo it falls back to folder snapshots.\n\nStatus\n\n1.2.1, MIT\n\nThe plugin's own development ran on this pipeline: 19 tasks archived, 0 rejections\n\nJust released, 1 star, no users to brag about\n\nListed in the DSH Go market and on awesome-dsh-plugin\n\nsh\n\ndsh plugin --profile desktop add dsh-task-suite\n\nRepo: [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/)\n\nOne question\n\nIf 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?\n\nFeedback via issues, please: the templates ask for the DSH version and the plugin version, which is usually enough to reproduce.", "url": "https://wpnews.pro/news/the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done", "canonical_source": "https://dev.to/qiqll/the-hard-part-of-coding-with-agents-isnt-the-code-its-trusting-done-2060", "published_at": "2026-12-03 07:39:00+00:00", "updated_at": "2026-12-03 07:47:13.080535+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "large-language-models"], "entities": ["DeepSeek Harness", "dsh-task-suite", "dsh-better-sidebar", "DSH Go market", "awesome-dsh-plug"], "also_reported_by": [], "takeaway": "Gate agent deliveries with a dispatch nonce, commit-message task IDs, a baseline test re-run to separate pre-existing failures, and a diff audit for deleted assertions or added skips before a task counts as done.", "recommendation": {"advice": "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.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done", "markdown": "https://wpnews.pro/news/the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done.md", "text": "https://wpnews.pro/news/the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done.txt", "jsonld": "https://wpnews.pro/news/the-hard-part-of-coding-with-agents-isn-t-the-code-it-s-trusting-done.jsonld"}}