Skip to main content

Review change requests

This page is for project reviewers and admins, and for Area keepers. You need a sufficient role and, if you use an API key, the scope decide:change-request (see Roles and permissions).

Find what is waiting for you​

  • On the web, the project's Change requests list has state chips (Open by default, Draft, and the other states) with counts. The Flags column tells which change request is Out of date or has Overlaps.
  • With the CLI: tmspec cr list --reviewable lists, across all projects, the open change requests that you can review.

Read the Review page​

Each spec in the change request is a block with the differences field by field. A retire is one clear sentence ("Approving removes this ... from the spec for good") with the number of specs and implementation specs that will be marked as needing review; with several retires, see the impact of each one or a combined summary.

Read three things carefully before deciding:

  • Revision. You decide on exactly the revision you are reading. If the author edits while you read, the page warns above the buttons; read again, then decide.
  • Out of date. If the spec changed after the author wrote, the change request cannot be approved yet; the author must Update first. Only the author can Update.
  • Overlaps. Each other change request that touches the same spec shows as an Overlaps badge with the parts both edit. The Approve box says the consequence beforehand: "Approving this makes ... out of date", or "Approving this replaces ..." when this change request retires a spec both touch. It is best to read both change requests before approving either.

Deciding​

ActionWhenResult
ApproveThe content is right and you belong to the group that has to signThe change becomes a new version of the spec
RejectYou do not accept the proposalThe change request ends in the rejected state
tmspec cr request (CLI only, the web has no button)The author needs to editStays open, waiting for the author; with a note saying what to change

The Review page on the web has only Approve and Reject; asking the author for changes is the CLI command tmspec cr request. You can add a note for the author. When the change request retires a spec, the Approve button becomes "Approve and retire N" and turns on only after you tick the confirmation that you have read what will be retired.

A change request may need the signatures of several Area keepers. Each Approve is one signature; the change request is applied when the last signature is complete. If you do not belong to any group still missing, you cannot sign, but you can still Reject. Someone who has signed does not sign again.

Approving a change request does not close the other change requests on the same spec; they become Out of date and wait for their author to Update.

With the CLI​

tmspec cr view 45 # revision, changes, Overlaps and differences
tmspec cr approve 45 # opens the Review page at the latest revision (needs a terminal)
tmspec cr approve 45 --revision 2 --note "Checked AC-2" # decide right away at revision 2
tmspec cr reject 45 --revision 2 --note "Duplicates PAY-R-9"
tmspec cr request 45 --revision 2 --note "Split AC-3 in two"

There are two paths. Without --revision, the command only opens the Review page in the browser so that a person signed in on the web decides; with no terminal, the command stops with code 2. With --revision N, the command decides right away at exactly the revision N you read (tmspec cr view tells you). If the change request is past revision N, the command fails (code 6) and you read again.

With an API key, the decision records both the key's owner and the key that was used. Without the scope decide:change-request the command exits with code 4.