Skip to main content

Pack · tracking

tracking.board

packs/tracking/blocks/board.yaml

packtracking
2entities
5commands
5events
2views
21refusals
2KPIs

Work laid out in columns. A board has named columns in order; a card on it stands for one issue (agentic.tracking.issue) or one task (agentic.work) and sits in one column at a position. Cards move between columns and are removed; an archived board takes no new card and moves none. A board shows where work stands; who works on it is the assignment's concern.

Depends on​

Used by​

No block depends on this one.

Entities​

Board​

One board and its columns, left to right.

Identified by board_id (BoardId).

fieldtype
nameName
columnslist of ColumnName
ownerPrincipalId
created_attimestamp

Relations:

  • owned_by references Principal of principal (one, by owner)
  • cards owns Card (many, by board_id)

Lifecycle of Board

ActiveArchivedarchiveActiveArchivedarchive
Ends in Archived.

Card​

One issue or task on a board, in one column at one position.

Identified by card_id (CardId).

fieldtypemeaning
board_idBoardId
columnColumnName
positionintegerThe card's place in its column, 0 at the top.
issue_idoptional IssueId
task_idoptional TaskId
added_byPrincipalId
added_attimestamp

Relations:

  • issue references Issue of tracking.issue (one, by issue_id)
  • task references Task of work (one, by task_id)
  • adder references Principal of principal (one, by added_by)

Always holds: position >= 0.

Lifecycle of Card

OnBoardRemovedremoveOnBoardRemovedremove
Ends in Removed.

Commands​

AddCard​

Add a card for an issue or a task.

Called by: Board keeper.

fieldtype
card_idCardId
board_idBoardId
columnColumnName
positioninteger
issue_idoptional IssueId
task_idoptional TaskId
added_byPrincipalId
attimestamp
outcomewhenresult
no-item refusednot (defined(issue_id)) and not (defined(task_id))ItemMissing: A card stands for exactly one issue or one task; the request names none or both.
two-items refuseddefined(issue_id) and defined(task_id)ItemMissing: A card stands for exactly one issue or one task; the request names none or both.
negative-position refusedposition < 0NegativePosition: A position is 0 or more.
already-exists refusedthe Card exists alreadyCardExists: A card of this identity exists.
no-such-board refusedno Board for board_idBoardNotFound: No board of this identity exists.
unknown-issue refusedno Issue for issue_idUnknownIssue: No issue of this identity exists.
unknown-task refusedno Task for task_idUnknownTask: No task of this identity exists.
archived refusedthe Board of board_id has state == ArchivedBoardArchived: The board is archived; its cards stay where they are.
unknown-column refusedthe Board of board_id has not (some c in columns with c == input.column)UnknownColumn: The board has no column of this name.
addedotherwisecreates a Card in OnBoard; emits CardAdded

ArchiveBoard​

Archive a board.

Called by: Board keeper.

fieldtype
board_idBoardId
attimestamp
outcomewhenresult
no-such-board refusedno such BoardBoardNotFound: No board of this identity exists.
archivedotherwisemoves the Board Active → Archived; emits BoardArchivedEvent
wrong-state refusedthe Board is in a state that does not allow itBoardStateConflict: The board is not in a state this command acts from.

CreateBoard​

Create a board.

Called by: Board keeper.

fieldtype
board_idBoardId
nameName
columnslist of ColumnName
ownerPrincipalId
attimestamp
outcomewhenresult
no-columns refusedcolumns.count == 0NoColumns: A board needs at least one column.
already-exists refusedthe Board exists alreadyBoardExists: A board of this identity exists.
unknown-owner refusedno Principal for ownerUnknownPrincipal: No principal of this identity is registered.
createdotherwisecreates a Board in Active; emits BoardCreated

MoveCard​

Move a card to a column and position.

Called by: Board keeper.

fieldtype
card_idCardId
columnColumnName
positioninteger
attimestamp
outcomewhenresult
negative-position refusedposition < 0NegativePosition: A position is 0 or more.
no-such-card refusedno such CardCardNotFound: No card of this identity exists.
removed refusedstate == RemovedCardStateConflict: The card is removed.
archived refusedthe Board of board_id has state == ArchivedBoardArchived: The board is archived; its cards stay where they are.
unknown-column refusedthe Board of board_id has not (some c in columns with c == input.column)UnknownColumn: The board has no column of this name.
movedotherwiseupdates the Card; emits CardMoved

RemoveCard​

Remove a card from its board.

Called by: Board keeper.

fieldtype
card_idCardId
attimestamp
outcomewhenresult
no-such-card refusedno such CardCardNotFound: No card of this identity exists.
removedotherwisemoves the Card OnBoard → Removed; emits CardRemoved
wrong-state refusedthe Card is in a state that does not allow itCardStateConflict: The card is removed.

Events​

eventfieldsemitted by
BoardArchivedEventboard_id BoardId, at timestampArchiveBoard
BoardCreatedboard_id BoardId, name Name, columns list of ColumnName, owner PrincipalId, at timestampCreateBoard
CardAddedcard_id CardId, board_id BoardId, column ColumnName, position integer, issue_id optional IssueId, task_id optional TaskId, at timestampAddCard
CardMovedcard_id CardId, from ColumnName, to ColumnName, position integer, at timestampMoveCard
CardRemovedcard_id CardId, at timestampRemoveCard

Views​

viewrowsfields
Boards
Boards
each Boardboard_id BoardId, name Name, columns list of ColumnName, owner PrincipalId, created_at timestamp, state State
Cards
Cards
each Cardcard_id CardId, board_id BoardId, column ColumnName, position integer, issue_id optional IssueId, task_id optional TaskId, added_by PrincipalId, added_at timestamp, state State

Types​

typeisvalues or fields
BoardIdan identifier or valueuuid
CardIdan identifier or valueuuid
ColumnName
The name of a column, such as todo, doing or done.
an identifier or valuestring

KPIs​

2 KPIs from the pack's catalogue, packs/tracking/kpis.yaml. A gate must be zero for a variant of an architecture to count.

Quality​

KPIunitbettergatestatus
card_cycle_seconds
Seconds from a card being added to the board to it reaching the board's last column.
How: Median of the time of the first CardMoved to the board's last column (by BoardCreated columns) minus CardAdded time, per card.
secondslower–planned
source: design
backward_move_share
Share of card moves to an earlier column.
How: CardMoved events whose target column comes before the source column in the board's columns, divided by all CardMoved events between columns.
sharelower–planned
source: design

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.board:

settingtypeunitdefaultcontractwhat
countinteger of at least 11How many copies of the part run.
perpartOne copy of the part for each copy of the named part.
notesnotesFree 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.