Pack · tracking
tracking.issue
A piece of work or a problem somebody wrote down: opened by a principal, assigned to one, labelled, closed with a resolution and reopened. An issue may become a task (agentic.work) and may be linked to the change requests (agentic.scm.change) that fix it or relate to it. The block holds no text, only the digests of the title and the body.
Depends on
- scm.change · pack source-control · 6 references
- work · layer 5 · 6 references
- principal · layer 1 · 15 references
- shared · layer 0 · 3 references
Used by
- tracking.board · pack tracking · 6 references
- tracking.queue · pack tracking · 6 references
Entities
Issue
One issue, open or closed.
Identified by issue_id (IssueId).
| field | type | meaning |
|---|---|---|
title | Content | |
body | Content | |
opened_by | PrincipalId | |
opened_at | timestamp | |
assignee | optional PrincipalId | |
labels | list of Label | |
task_id | optional TaskId | The task the issue became, when work on it was asked for. |
closed_as | optional Resolution |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
openerreferences Principal of principal (one, byopened_by)assigned_toreferences Principal of principal (one, byassignee)taskreferences Task of work (one, bytask_id)linksowns IssueLink (many, byissue_id)
Lifecycle of Issue
IssueLink
A link from an issue to a change request.
Identified by link_id (IssueLinkId).
| field | type |
|---|---|
issue_id | IssueId |
change_request_id | ChangeRequestId |
kind | LinkKind |
linked_by | PrincipalId |
linked_at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
change_requestreferences ChangeRequest of scm.change (one, bychange_request_id)linkerreferences Principal of principal (one, bylinked_by)
Lifecycle of IssueLink
Unlinked.Commands
AssignIssue
Assign an issue to a principal.
Called by: Triager.
| field | type |
|---|---|
issue_id | IssueId |
assignee | PrincipalId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
closed refused | state == Closed | Issue: The issue is closed. |
unknown-assignee refused | no Principal for assignee | Unknown: No principal of this identity is registered. |
assignee-retired refused | the Principal of assignee has state == Retired | Principal: The principal is retired; it takes no new issue. |
assigned | otherwise | updates the Issue; emits Issue |
More columns: swipe horizontally, or focus the table and use the arrow keys.
CloseIssue
Close an issue.
Called by: Triager.
| field | type |
|---|---|
issue_id | IssueId |
resolution | Resolution |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
closed | otherwise | moves the Issue Open → Closed; emits Issue |
wrong-state refused | the Issue is in a state that does not allow it | Issue: The issue is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
LabelIssue
Add a label to an issue.
Called by: Reporter, Triager.
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
labelled | otherwise | updates the Issue; emits Issue |
More columns: swipe horizontally, or focus the table and use the arrow keys.
LinkChangeRequest
Link an issue to a change request.
Called by: Reporter.
| field | type |
|---|---|
link_id | IssueLinkId |
issue_id | IssueId |
change_request_id | ChangeRequestId |
kind | LinkKind |
linked_by | PrincipalId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
already-linked refused | the IssueLink exists already | Link: A link of this identity exists. |
no-such-issue refused | no Issue for issue_ | Issue: No issue of this identity exists. |
unknown-change-request refused | no ChangeRequest for change_ | Unknown: No change request of this identity exists. |
unknown-linker refused | no Principal for linked_ | Unknown: No principal of this identity is registered. |
linked | otherwise | creates a IssueLink in Linked; emits Change |
More columns: swipe horizontally, or focus the table and use the arrow keys.
OpenIssue
Open an issue.
Called by: Reporter.
| field | type |
|---|---|
issue_id | IssueId |
title | Content |
body | Content |
opened_by | PrincipalId |
labels | list of Label |
task_id | optional TaskId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
already-open refused | the Issue exists already | Issue: An issue of this identity exists. |
unknown-opener refused | no Principal for opened_ | Unknown: No principal of this identity is registered. |
unknown-task refused | no Task for task_ | Unknown: No task of this identity exists. |
opened | otherwise | creates a Issue in Open; emits Issue |
More columns: swipe horizontally, or focus the table and use the arrow keys.
ReopenIssue
Reopen an issue.
Called by: Triager.
| field | type |
|---|---|
issue_id | IssueId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
reopened | otherwise | moves the Issue Closed → Open; emits Issue |
wrong-state refused | the Issue is in a state that does not allow it | Issue: The issue is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
SetLabels
Replace the labels of an issue. Replaces the whole list; this is how a label is taken off.
Called by: Reporter, Triager.
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
set | otherwise | updates the Issue; emits Issue |
More columns: swipe horizontally, or focus the table and use the arrow keys.
UnassignIssue
Take the assignee off an issue.
Called by: Triager.
| field | type |
|---|---|
issue_id | IssueId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-issue refused | no such Issue | Issue: No issue of this identity exists. |
unassigned | otherwise | updates the Issue; emits Issue |
More columns: swipe horizontally, or focus the table and use the arrow keys.
UnlinkChangeRequest
Remove a link from an issue.
Called by: Reporter.
| field | type |
|---|---|
link_id | IssueLinkId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-link refused | no such IssueLink | Link: No link of this identity exists. |
unlinked | otherwise | moves the IssueLink Linked → Unlinked; emits Change |
wrong-state refused | the IssueLink is in a state that does not allow it | Link: The link is already removed. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Events
| event | fields | emitted by |
|---|---|---|
ChangeRequestLinked | link_ IssueLinkId, issue_ IssueId, change_ ChangeRequestId, kind LinkKind, at timestamp | Link |
ChangeRequestUnlinked | link_ IssueLinkId, at timestamp | Unlink |
IssueAssigned | issue_ IssueId, assignee PrincipalId, at timestamp | Assign |
IssueClosed | issue_ IssueId, resolution Resolution, at timestamp | Close |
IssueLabelled | issue_ IssueId, label Label, at timestamp | Label |
IssueLabelsSet | issue_ IssueId, labels list of Label, at timestamp | Set |
IssueOpened | issue_ IssueId, opened_ PrincipalId, labels list of Label, task_ optional TaskId, at timestamp | Open |
IssueReopened | issue_ IssueId, at timestamp | Reopen |
IssueUnassigned | issue_ IssueId, at timestamp | Unassign |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Views
| view | rows | fields |
|---|---|---|
IssueLinksIssue links | each IssueLink | link_ IssueLinkId, issue_ IssueId, change_ ChangeRequestId, kind LinkKind, linked_ PrincipalId, linked_ timestamp, state State |
IssuesIssues | each Issue | issue_ IssueId, title Content, body Content, opened_ PrincipalId, opened_ timestamp, assignee optional PrincipalId, labels list of Label, task_ optional TaskId, closed_ optional Resolution, state State |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Types
| type | is | values or fields |
|---|---|---|
IssueId | an identifier or value | uuid |
IssueLinkId | an identifier or value | uuid |
LabelA short tag that sorts issues, such as defect or area/docs. | an identifier or value | string |
LinkKindFixes means merging the change request resolves the issue; RelatesTo is a pointer only. | one of | Fixes, Relates |
ResolutionResolved means the work was done or the problem fixed; Declined means it will not be. | one of | Resolved, Declined |
More columns: swipe horizontally, or focus the table and use the arrow keys.
KPIs
3 KPIs from the pack's catalogue, packs/tracking/kpis.yaml. A gate must be zero for a variant of an architecture to count.
Completeness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
fixed_issue_open_after_mergeIssues still open after a change request that fixes them was merged. How: ChangeRequestLinked events of kind Fixes whose change request has a ChangeRequestMerged while the issue has no later IssueClosed, at the end of the window. | count | lower | – | planned source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Quality
| KPI | unit | better | gate | status |
|---|---|---|---|---|
issue_close_secondsSeconds from an issue being opened to it being closed as resolved. How: Median of IssueClosed time minus IssueOpened time over issues closed with resolution Resolved; declined issues are counted apart. | seconds | lower | – | planned source: design |
issue_reopen_shareShare of closed issues that were opened again. How: Issues with an IssueReopened after an IssueClosed, divided by issues with an IssueClosed. A reopened issue was closed before its work was done. | share | lower | – | planned source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Settings
The settings a part of this block carries in an architecture document. agenticspec sim check refuses any other setting (setting_unknown) and a value outside its type (setting_invalid), and a part that lacks a setting marked required in the default column; the contract copies a setting into the ports it narrows. The last rows of each table are the settings every part takes. What no setting here types (a file, a path, an audience, the use of a model) goes into the part's notes, a map with free keys and values that the check takes as written and nothing reads.
A part tracking.issue:
| setting | type | unit | default | contract | what |
|---|---|---|---|---|---|
count | integer of at least 1 | 1 | How many copies of the part run. | ||
per | part | One copy of the part for each copy of the named part. | |||
notes | notes | Free notes on the part, a map with keys and values of any kind: what no setting of its block types. The check takes any map; the simulator, the search and the contract never read it. |
More columns: swipe horizontally, or focus the table and use the arrow keys.