Using AI well on your own is very different from getting an entire team to build with AI together. One developer asks only for code implementation while another expects tests and updated docs. Draft proposals get passed around as settled rules, or teams re-litigate approaches they already rejected months ago. Writing for Yozm IT, Jungmin Lee examines how DeepSeek tackles these coordination problems inside the open-source DeepSeek Harness repository, an execution environment built for AI models to read files, invoke tools, and ship changes. Original article

Lee focuses on how the repository keeps standards consistent even as contributors rotate, letting anyone inspect prior reasoning before making new changes. Rather than maintaining a separate llm-wiki, keeping rules, decision logs, and workflows right next to the code proves simpler for team development - though Lee notes that a public repo alone cannot prove internal collaboration outcomes.

Aligning Definition of Done with AGENTS.md

What stands out in AGENTS.md is less the volume of rules than how it binds task conditions to reference material. Before modifying a package, agents read its architecture docs; before pushing, they run matching checks via dsh-pre-push-checks. Prose and comment review rules link out to dsh-prose-standard.

Three rules directly govern team handoffs:

  • Significant changes must add or update an Agent Note in the same PR to record the decision.
  • Code changes must update related documentation alongside them so the next contributor does not mistake stale docs for current behavior.
  • Verification reports may include only checks that were actually executed.

Even if a prompt omits explicit instructions about docs or tests, repository standards still enforce recording decisions and running verification. Completion criteria live in the repository rather than depending on whoever wrote the prompt.

The harness also separates storing guidance from feeding it into context. By default, DeepSeek Harness loads the root AGENTS.md for the working directory and appends subdirectory rules only when working inside those paths. Linked notes and skills are not auto-loaded. Because of that, the rules explicitly state when to look things up - such as searching existing records before drafting a new note.

Organizing Notes into Status Folders

Inside .agents/notes, status folders come first rather than chronological files. The folder path immediately tells the next contributor how much weight a document carries:

  • proposed: Proposals still under review
  • implemented: Decisions actively in effect
  • rejected: Proposals reviewed and declined
  • archived: Historical records kept separate from current standards

Within each status folder, subdirectories group notes by topic such as architecture, process, and testing. For instance, the decision to drop a central note index lives at .agents/notes/implemented/process/2026-07-19-remove-generated-agent-note-index.md. The path alone shows that the change is active and governs development workflow.

Transition rules matter even more. Moving a note into implemented requires rewriting forward-looking “we plan to” phrasing into settled “we decided to” statements and updating any changed file paths or defaults. Reversing a prior decision never overwrites the old note to say the opposite; contributors create a new note and link it back to the earlier record so the reason for changing course stays intact.

Why Removing the Central Index Left a Paper Trail

The note on removing the central index explains why the current folder layout exists. When independent tasks updated separate notes but also had to touch a shared index file, unrelated PRs constantly hit merge conflicts. The note preserves the alternatives the team weighed: auto-generating the index continuously, generating it on demand, or curating it by hand. They settled on dropping the index altogether in favor of status-and-topic folders paired with repository search.

Lee points out that the lesson is not “never build an index.” The real takeaway is preventing independent tasks from colliding on shared files and recording why that choice was made. When a new teammate or agent wonders whether a central table of contents would be handy, the answer is already in the repo without tracking down whoever was in the original meeting.

Encoding Team Judgment into Shared Skills

Shared skills in DeepSeek Harness cover more than code review and documentation - they also codify note archiving, deduplicating proposals, and merging stacked PRs.

Note archiving (dsh-archive-agent-notes) judges notes by whether they help future decisions rather than by age or length. Even after implementation finishes, notes containing key trade-offs or security constraints stay active. Open proposals are never archived; abandoned ones move to rejected with an explanation. The skill forbids optimizing for a target count of archived files and requires flagging ambiguous cases during handoff.

Finding simplifications (dsh-find-simplifications) favors a small set of well-grounded candidates over a long wish list. When pulling ideas from other PRs, agents merge overlapping proposals into existing notes rather than padding the list with weak or duplicate items. Closing duplicate PRs happens only on explicit user request or with clear triage ownership.

Merging stacked PRs (dsh-merging-stacked-prs) handles dependent PR chains in order, with clear boundaries around autonomous actions. If PR authors differ or ownership is unclear, the agent asks the user first. Readiness on a top PR never implies lower PRs in the stack are ready, and branches still targeted by other open PRs are never deleted.

Code Review Starts from Prior Decisions Without Freezing Them

dsh-code-review checks code changes alongside shared rules, test policies, and related Agent Notes, while explicitly instructing reviewers not to reject a change solely because it disagrees with an older note. Prior decisions serve as a baseline, and new evidence can reopen the discussion - provided the author checks the original rationale and explains what changed.

Verification likewise separates claims from evidence. Reviewers check whether tests merely mirror implementation details or genuinely fail when the target bug appears, and passing automated lint checks on translated docs does not count as proof of semantic accuracy.

Lee closes by applying the same standard to adopting team-wide skills: a prompt that worked well for one person should only become a shared team workflow after checking what tasks it actually improved, whether it conflicts with existing rules, and whether teammates can apply it consistently.

Summary

  • DeepSeek Harness defines decision notes, doc updates, and executed verification checks as completion criteria in AGENTS.md.
  • Agent Notes live in proposed, implemented, rejected, and archived folders, and reversed decisions link a new note to the old one rather than overwriting history.
  • Records preserve rejected alternatives and rationale, such as dropping a central index to avoid merge conflicts across unrelated PRs.
  • Shared skills for archiving notes, proposing simplifications, merging stacked PRs, and reviewing code set explicit boundaries on autonomous agent actions.