docket-ship
Contents

Working as a team

Assignees, priorities and labels on tickets, and how docs move through branches and reviews.

Tickets have three optional fields for teams: who does the work, how urgent it is, and free labels for grouping. A solo project leaves them out, and a ticket without them is still valid.

assignee: anna            # one name from people in docket-ship.cfg
priority: high            # urgent | high | normal | low
labels: [export, ui]      # lowercase letters, digits and hyphens

People and assignees

assignee must be a name listed in people in docket-ship.cfg:

people: [anna, ben]

Names are lowercase letters, digits and hyphens, so "Anna Kovacs" becomes anna-kovacs. The list is empty by default, so any assignee is an error until someone is added. Add a new person to people before assigning them work; the /ticket skill offers to do that when you name someone new.

Priority

priority is urgent, high, normal or low. A ticket without one is normal. Open tickets sort by status first (doing before open), then by priority, then by id, in the index and in docket-ship list.

Labels

Labels are free: nothing declares them. The index lists every label in use under ## Labels, with its count of open tickets, most used first.

Before adding a label, look there and reuse one that fits. The checker warns when a new label is a near-duplicate of one in use, such as code-review beside codereview or code-reviews, and names the existing one.

Finding work

docket-ship list tickets --open
docket-ship list tickets --assignee anna --open
docket-ship list tickets --priority urgent
docket-ship list tickets --label export

--priority normal includes tickets with no priority set.

Branches and reviews

Docs live in the repo, so they move with the code. A branch carries the tickets, decisions and spec changes that go with its code, and a pull request shows the whole change in one diff: the decision, the spec it rewrote and the code.

Run docket-ship check in CI so a pull request that breaks a link or leaves a spec citing a superseded decision fails before it merges. See checking docs in CI.

When two branches both add a decision, the second to merge may hold a duplicate id. The checker reports duplicate ids as errors; renumber one with docket-ship new and update the places that cite it, which docket-ship refs <ID> lists.

Edit this page on GitHub