Skip to content

docs(agents): every issue ends with what done means - #796

Merged
allisonmahmood merged 1 commit into
mainfrom
docs/789-done-means
Oct 19, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
docs/789-done-means

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Issues rarely say what finished looks like, so neither the agent building one nor whoever checks its PR can tell finished from not.

  • docs/agents/issue-tracker.md gets a Done means section. Every issue an agent files ends with ## Done means: what someone can do or see when the work is finished, in a line or a few bullets, not a test plan. It takes the place of a skill template's acceptance criteria, so to-tickets and to-spec issues don't carry two overlapping lists. A two-bullet example shows the shape.
  • docs/agents/triage-labels.md: ready-for-agent also means the issue says what done means, in its body or its agent brief. Reported issues get it from the triage brief, because triage doesn't rewrite the reporter's body.
  • AGENTS.md: the issue tracker pointer now says to read issue-tracker.md before filing or changing an issue. Before, it only said "See". An agent filing with plain gh issue create and no skill had nothing telling it to open the doc, so the new section could go unread.

I left these alone:

  • The issue forms. They're for human reporters, and triage adds Done means in the agent brief before ready-for-agent.
  • The PR template. It isn't an issue.
  • The project skills under .agents/skills. None of them file issues.
  • The upstream planning skills. They read the tracker doc, which overrides their acceptance-criteria template.

There's no CONTRIBUTING.md to update.

Testing

prettier --check passes on the three files.

A fresh agent's attempt, before and after. I made two throwaway checkouts outside the worktree, one at origin/main and one at this branch. In each, a headless claude -p session had only Read, Grep and Glob and no MCP servers, so it couldn't file anything. Both got the same prompt:

File a GitHub issue for this repo: the portal's All patches page should let people sort patches by when they were last updated. You can only read files in this session, so instead of running it, print the exact gh issue create command you would run, with the full title and body.

On main, the draft ended with a checklist of tests and files to update:

## Done when

- All patches can be sorted by last updated, and the choice survives tab changes and search.
- A focused test in `packages/portal/src/PortalPages.test.ts`, next to "lists every patch in tabs, searched within the tab and sorted by visits", covers the order and that `?sort=` carries through.
- The All patches entry in `packages/portal/GLOSSARY.md` and the portal paragraph in `docs/product.md` say the table can be sorted.
- The rendered control passes the `ui-consistency` spec.

On this branch, it ended with what someone can do or see:

## Done means

- On All patches, someone can switch All, Tools or Yours to most recently updated first, and back to most visited.
- The order holds across tab switches and searches, and a shared `/patches?…` link opens in the same order.
- With no order chosen, the page looks and sorts exactly as it does today.

The branch's agent also noticed that the body now qualifies for ready-for-agent. This is one run each, not a benchmark.

What the issue's Done means can only show after merge. "The next issue an agent files ends with Done means" needs this on main. The dry run above is the closest check before then.

Surfaces

None of AGENTS.md › Hit every surface applies:

  • No wire contract, CLI, dev loop, migration, company resource, served page or package layout changes.
  • "Done means" is a convention for writing issues, not a product concept, so there's no glossary entry.

Release impact

Not breaking. It's docs only. A revert leaves nothing behind, and the release before it is unaffected.

Closes #789

Made by Claude Opus 5.5 in Claude Code, running in T3 Code.

@github-actions github-actions Bot added area:docs Touches the docs area size:s Under 100 changed lines labels Oct 19, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

GPT 6.1 Sol review, round 1 (xhigh, at 80046c5): no blocking or non-blocking findings. Sol confirmed three things. The wording implements #789. It allows for triage briefs and for wayfinder decision tickets. The patchy logs example matches the permission check and its tests. Nothing to fix.

@allisonmahmood
allisonmahmood merged commit eb639a0 into main Oct 19, 2026
13 checks passed
@allisonmahmood
allisonmahmood deleted the docs/789-done-means branch October 19, 2026 13:10
allisonmahmood added a commit that referenced this pull request Oct 19, 2026
…connection (#814)

Release 15's What's new entry, written from `9e4b0df`. It covers
everything merged since release 14's `through` (`7694bab`), and sets the
`patchy` release to `0.15.0` (`packages/patchy/package.json` and
`CURRENT_RELEASE`).

| Change | PRs |
| --- | --- |
| New: Your agent can read a tool's log | #786 |
| Fixed: Tools with server code keep one steady connection | #798 |
| Behind the scenes: an unused open tool lets its server rest | #802 |

#783 is release 14's own entry, so it's left out. #795, #796, #797,
#799, #803, #804, #806 and #807 are agent docs, CI and dev tooling, with
no line.

None of the PRs in the range are `one-way`; #786 and #798 predate the
rollback questions, and their diffs leave nothing an older release can't
run with (a new read-only route and CLI command, and the load balancer's
stickiness setting, which the older commit restores).

If this release misbehaves, roll back to `03891e4` (release 14).

Made by Claude Opus 5.5 via Claude Code.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Touches the docs area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Every issue says what done means

1 participant