Waiting and claims #

View this page as Markdown

On this page

Waiting for says what an issue needs next; its claim says which session, agent, or branch is working on it. Together they help several sessions share a space without duplicating work.

tztrack_read_queue shows issues waiting for your decision and issues ready to pick up. Pass your claim label as as to see what you hold. Ready includes bugs, gaps, friction and documentation issues, plus rows whose kind is hidden. To look for tasks, use tztrack_find with kind: "task".

The Turn Zero connection lists tzTrack tools with tztrack_ before the name: find is tztrack_find. This page uses the shorter names. The tools lists the full names.

Waiting for #

Your AI records a dependency in the issue's Waiting for field. For example, it can record “the reporter” or “an outside event: the supplier's quote.” Your AI can then list issues by what they are waiting for.

  • You: a decision, approval, or action only you can take.
  • A particular member: work or a decision assigned to someone sharing the space.
  • The reporter: an answer or additional details from someone who reported the issue.
  • An outside party or event: a supplier's reply, a scheduled release, or another dependency outside the project.
  • More evidence: test results, a reproducible example, a source to check, or other information needed to understand the issue.

Only waiting for more evidence puts an issue in the waiting state. On an open issue, waiting for a person, reporter, or outside event leaves it open, with the dependency recorded in Waiting for.

For AI assistants: waiting values #

wait sets what an issue waits on, with waiting_for; update sets it too, and find lists issues by it. It takes one of these values:

Value Waits for
none Nothing: the issue is ready to work.
person Your person, the space's owner, to act or decide.
person:<account> One member of a shared space, named by their account id.
reporter One of the issue's reporters. A new report from one of them clears it.
outside:<what> An outside party or event, named after the colon.
evidence More evidence. wait uses it when no value is given, with a resolution saying what would settle the issue.

Use reopen when the evidence arrives. An update that gives a waiting issue any other waiting_for value is refused state_conflict; reopen it first.

When waiting expires #

A team may receive a field report but be unable to reproduce or explain the problem. It can leave the issue waiting for more evidence. By default, a daily check closes it after 90 days without another report, unless a hold prevents closure. The state becomes closed with the outcome unexplained.

This closes the investigation without an explanation; it does not mark the problem as fixed or verified. A new report linked to the issue reopens it. Waiting for a person, a reporter, or an outside event does not trigger this expiry.

Checking a recorded fix is a different process: it uses evidence from the release carrying the fix. Why fixed is not closed explains that process.

Claims #

A claim, the issue's claimed_by, is none or a label of 1 to 200 printable characters. Labels such as these say who works on the issue:

  • session:<id>, for one session;
  • agent:<name>, for an agent;
  • a name of your own, for one of several workers at once;
  • branch:<name>, for work assigned to one code branch, with a lease and a secret held by its session.

Use claim to mark the issue with the label you pass in as. If another claim or branch lease blocks the request, the tool returns lease_conflict. Use give_back to clear a label claim and record why. A branch lease requires the holder's secret, which the give_back tool cannot send.

Stale claims #

A claim untouched for a day reads as stale. Check whether the worker has stopped and confirm the handoff with the owner or coordinator. A Contributor or Admin who can read the issue and whose access is not limited to a group of accounts can give back its label claim with a reason. A branch lease requires the holder's secret.

Several sessions at once #

Other sessions may be working the same space right now. Each session claims an issue before it works on it and leaves alone the issues another session claimed. It comments when it takes or finishes something, so the others can read where the work stands. When it stops, it gives back what it claimed, with a reason.