Skip to content

Types

The objects walkers report, generated from their declarations. Persisted nodes (Project, LogEntry and the rest) are documented on the Data graph page.

Tasks

A list reports TaskRow, what the board's rows, the roadmap bars and the step panel render; TaskView is a TaskRow plus the notes, the checklist items and the GitHub-only fields, reported for one task by GetTask and by every task write.

TaskRow

What a list renders: the board card, the table row, the roadmap bar, the step panel and the Overview's queues. Every list walker reports these; the notes and the checklist items stay on TaskView, which the task sheet loads with GetTask when it opens.

Field Type Default Description
id str required
title str required
category str required
priority str required
status str required
due_date str required
created_at str required
updated_at str required
sort_order float required
assignee_ids list[str] required
assignee_names list[str] required
issue_link str required
pr_link str required
reviewer_id str required
reviewer_name str required
review_due str required
project_id str required
project_name str required
step_id str ""
tags list[str] []
estimate float 0.0
gh_repo str ""
gh_issue_number int 0
gh_issue_state str ""
gh_parent_repo str ""
gh_parent_number int 0
gh_sub_total int 0
gh_sub_done int 0
pr_number int 0
pr_state str ""
start_date str ""
done_at str ""
note_lead str "" The first line of the notes (at most NOTE_LEAD_MAX characters): the card's blocked line and overdue reason.
checklist_done int 0 How many checklist items are ticked, and how many there are.
checklist_total int 0
ai_state str "" "queued" or "running" while an AI run is open on the task, else what its last settled review came to (Task.ai_outcome).
ai_outcome str ""
ai_comments int 0
ai_blocking int 0

TaskView

objTaskRowmodels.jac:725

One task in full: a TaskRow plus the notes, the checklist items and the GitHub-only fields. GetTask and every task write report this.

Field Type Default Description
id str required from TaskRow
title str required from TaskRow
category str required from TaskRow
priority str required from TaskRow
status str required from TaskRow
due_date str required from TaskRow
created_at str required from TaskRow
updated_at str required from TaskRow
sort_order float required from TaskRow
assignee_ids list[str] required from TaskRow
assignee_names list[str] required from TaskRow
issue_link str required from TaskRow
pr_link str required from TaskRow
reviewer_id str required from TaskRow
reviewer_name str required from TaskRow
review_due str required from TaskRow
project_id str required from TaskRow
project_name str required from TaskRow
step_id str "" from TaskRow
tags list[str] [] from TaskRow
estimate float 0.0 from TaskRow
gh_repo str "" from TaskRow
gh_issue_number int 0 from TaskRow
gh_issue_state str "" from TaskRow
gh_parent_repo str "" from TaskRow
gh_parent_number int 0 from TaskRow
gh_sub_total int 0 from TaskRow
gh_sub_done int 0 from TaskRow
pr_number int 0 from TaskRow
pr_state str "" from TaskRow
start_date str "" from TaskRow
done_at str "" from TaskRow
note_lead str "" The first line of the notes (at most NOTE_LEAD_MAX characters): the card's blocked line and overdue reason. from TaskRow
checklist_done int 0 How many checklist items are ticked, and how many there are. from TaskRow
checklist_total int 0 from TaskRow
ai_state str "" "queued" or "running" while an AI run is open on the task, else what its last settled review came to (Task.ai_outcome). from TaskRow
ai_outcome str "" from TaskRow
ai_comments int 0 from TaskRow
ai_blocking int 0 from TaskRow
notes str ""
gh_synced_at str ""
gh_assignees list[str] []
pr_review_state str ""
checklist list[dict[str, any]] []
refused str "" Set when a write asked for a step whose entry rule the task fails: the step stayed, and this says why.

TaskPage

One page of tasks. total counts every row that matched the filters, not just this page, so a caller can say "50 of 1,417" without a second call.

Field Type Default Description
rows list[TaskRow] []
page int 1
page_size int 50
has_more bool False
total int 0
older int 0 Working scope only: Done rows older than the cutoff, same filters.
scope_total int 0 The scope's count with no filter on (what total would be on an unfiltered page), so a filtered view says "12 of 210" in one call.

TaskTitle

A task by id and title, for the assistant's citations: nothing else rides.

Field Type Default
id str required
title str required

TaskTotals

Field Type Default Description
open int 0
overdue int 0
blocked int 0
done_by_week list[int] [] Tasks moved to Done per week for the four weeks ending in the given Monday's week, oldest first (a task created already Done is not).
done_by_day list[int] [] Tasks moved to Done on each day of that Monday's week, Monday first.
projects list[ProjectTally] []
members list[MemberTally] []
categories list[str] [] Every category in use, so a filter built from the working set alone does not lose the ones only old Done tasks carry.

WeeklyHistory

The Overview's charts over time, one entry per week oldest first: weeks holds each Monday, added / finished count that week, scope / done are running totals at the week's end.

Field Type Default
weeks list[str] []
added list[int] []
finished list[int] []
scope list[int] []
done list[int] []

ProjectTally

The Overview's numbers, computed where the tasks live so the page never has to load the whole history to count it.

Field Type Default
project_id str required
total int 0
done int 0
blocked int 0
active int 0

MemberTally

Field Type Default
member_id str required
open int 0
done_in_week int 0

Board

BoardData

One page of one project's working set, plus the workspace lists the board renders. project_id is the project the page was scoped to (the default when the request named none). The workspace fields are filled only when with_workspace asks: the poll has no reason to refetch them.

Field Type Default Description
rows list[TaskRow] required
has_more bool required
older int required
project_id str required
categories list[str] required
members list[MemberView] required
projects list[Project] required
steps list[StepView] required
repos list[RepoView] required
roles list[RoleView] required
github_connected bool required
webhook_live bool required
flow_name str required The rest of WorkspaceView, so the board can prime the client's workspace cache from its own result.
template_key str required
github GithubConnectionView required
filter_sets list[FilterSetView] required
board_filters dict[str, str] required The board's filters as the account left them (FilterSets.board), the saved set they came from, and whether they were ever saved.
board_set str required
board_saved bool required
ai_open int 0

WorkspaceView

The workspace part of BoardData plus the flow line's own record (GetFlowLineMeta) and the full connection view (GithubStatus), so a page needs no second call for either.

Field Type Default Description
members list[MemberView] required
projects list[Project] required
steps list[StepView] required
repos list[RepoView] required
roles list[RoleView] required
filter_sets list[FilterSetView] required Every page's saved filter sets, by name.
github_connected bool required
flow_name str required
template_key str required
github GithubConnectionView required
webhook_live bool required A delivery reached the receiver inside the server's live window, so the board polls its queue every 20 s; otherwise once per poll.
ai_open int 0 AI runs queued or running, which the sidebar's AI link shows.

FilterSetView

Field Type Default
id str required
name str required
page str required
filters dict[str, str] required

Roadmap

RoadmapData

The tasks whose span overlaps the window, with that span (starts / ends index-aligned with rows), plus the open tasks with no dates. counts is the line bar's: the working set per step, dated or not.

Field Type Default
from_date str required
to_date str required
rows list[TaskRow] required
starts list[str] required
ends list[str] required
unscheduled int required
total int required
truncated bool required
counts dict[str, int] required

Roster

MemberView

Field Type Default
id str required
name str required
first_name str required
last_name str required
roles list[str] required
email str required
github_username str required
tags list[str] required
color str required
active bool required
project_ids list[str] required
project_names list[str] required

RoleView

Field Type Default
id str required
name str required
blurb str required
color str required
sort_order float required

RepoView

Field Type Default
id str required
full_name str required
project_id str required
project_name str required
auto_sync bool False
auto_done bool False
auto_close bool False
label_sync bool False

Flow lines

StepView

Field Type Default Description
id str required
name str required
kind str required
color str required
x float required
y float required
sort_order float required
owner str ""
blurb str ""
needs_due_date bool False
needs_pr bool False
prev_ids list[str] []
next_ids list[str] []
next_labels list[str] [] Index-aligned with next_ids, all read off the step's field.
next_carries list[str] []
next_triggers list[str] []
next_github_labels list[str] []
next_keep_labels list[bool] []
task_count int 0 How much work is sitting here, counted per request in GetFlowLine because it depends on the project filter the caller asked for.
task_titles list[str] [] The first two titles in the step panel's order, filled with the count, so a close zoom on the flow line needs no request.
ai list[str] [] The AI responsibilities that run when a task lands here, by name.

AI responsibilities

A role's AI responsibilities and their runs. The catalogue of what a responsibility can be is AI_RESPONSIBILITIES in constants.jac, and AGENT_LIMITS caps what one workspace's AI may do.

AiSettings

What the Roles editor reads: the switch and every role's responsibilities.

Field Type Default
enabled bool required
enabled_at str required
responsibilities list[ResponsibilityView] required

ResponsibilityView

Field Type Default
id str required
role_id str required
key str required
enabled bool required
on_steps list[str] required
instructions str required
mode str required
model str required
updated_at str required

AgentRunView

Field Type Default
id str required
task_id str required
responsibility_id str required
key str required
status str required
pr_repo str required
pr_number int required
head_sha str required
verdict str required
comments int required
blocking int required
summary str required
review_url str required
error str required
model str required
tokens_in int required
tokens_out int required
cost_usd float required
attempts int required
next_try_at str required
queued_at str required
started_at str required
finished_at str required

AgentRunLine

objAgentRunViewmodels.jac:910

One line of the AI page: a run plus the task it ran on. A deleted task leaves its run as history, with an empty title.

Field Type Default Description
id str required from AgentRunView
task_id str required from AgentRunView
responsibility_id str required from AgentRunView
key str required from AgentRunView
status str required from AgentRunView
pr_repo str required from AgentRunView
pr_number int required from AgentRunView
head_sha str required from AgentRunView
verdict str required from AgentRunView
comments int required from AgentRunView
blocking int required from AgentRunView
summary str required from AgentRunView
review_url str required from AgentRunView
error str required from AgentRunView
model str required from AgentRunView
tokens_in int required from AgentRunView
tokens_out int required from AgentRunView
cost_usd float required from AgentRunView
attempts int required from AgentRunView
next_try_at str required from AgentRunView
queued_at str required from AgentRunView
started_at str required from AgentRunView
finished_at str required from AgentRunView
task_title str ""
project_name str ""

AgentRunPage

One page of the workspace's runs, and how much of today's budget is used.

Field Type Default
rows list[AgentRunLine] required
has_more bool False
runs_today int 0
daily_limit int 0

AI agents

An agent plays one role and runs on the workspace's own model key. The tools an agent may be given, the responsibility templates it starts from and the providers it can use are AGENT_TOOLS, AGENT_DUTIES and AI_PROVIDERS in constants.jac.

AgentView

Field Type Default Description
id str required
name str required
role_id str required
projects list[str] required
steps list[str] required
event str required
tools list[str] required
access dict[str, bool] required
mode str required
duties list[str] required
prompt str required
rules str required
model str required
enabled bool required
runs bool required Whether this agent's kind can run yet (a review: read_pr and comment_on_pr).
canvas dict[str, any] required
updated_at str required

ProviderView

What the page learns of a provider account: never the key.

Field Type Default
key str required
name str required
connected bool required
key_last str required
base_url str required
custom_model str required
tested_at str required

AiKeys

Field Type Default Description
providers list[ProviderView] required
models list[list[str]] required [value, label] of every model a connected provider offers.
default_model str required
daily_tokens int required
tokens_today int required
secrets_ready bool required False when the server has no secrets key, so no key can be saved.

What a role's AI can be responsible for. needs is what a task must carry for a run ("pr": a linked pull request), modes how far the result may go (comment only, or send the task back).

glob AI_RESPONSIBILITIES: list[dict[str, any]] = [
    {
        "key": "code_review",
        "name": "Code review",
        "blurb": "Reviews the linked pull request and leaves inline comments.",
        "needs": "pr",
        "modes": ["comment", "request_changes"]
    }
];

constants.jac:3

Caps on what one workspace's AI may do: runs per day, what one review reads (files, changed lines, input tokens, file calls in flight), the comments it posts and the length of a team's instructions.

glob AGENT_LIMITS: dict[str, int] = {
    "daily_runs": 50,
    "max_files": 60,
    "max_changed_lines": 3000,
    "max_input_tokens": 200000,
    "files_in_flight": 4,
    "max_comments": 20,
    "max_instructions": 2000,
    "max_attempts": 3
};

constants.jac:3

Activity log

LogPage

Field Type Default
rows list[LogEntry] []
page int 1
page_size int 200
has_more bool False
total int 0

LogTotals

Field Type Default
by_week list[int] []
by_day list[int] []
members list[MemberDays] []

MemberDays

One person's entries this week, by roster name (a log row's member_name is every assignee comma-joined, split server-side): a count per weekday, Monday first, and the week's total.

Field Type Default
name str required
by_day list[int] []
total int 0

Insights

OverviewData

Exactly what the Overview renders. The three queues are the only Snapshot slices the page uses; the rest of a Digest is assistant-only.

Field Type Default
counts TaskTotals required
logs LogTotals required
attention list[TaskRow] required
attention_total int required
members list[MemberView] required
projects list[Project] required
review_queue list[ReviewItem] required
aging list[AgingItem] required
blocked list[BlockedItem] required

Snapshot

Everything the assistant is allowed to know, in one prompt-sized object.

Field Type Default Description
generated_at str required
period_from str required
period_to str required
org_members int required
active_projects int required
open_tasks int required
done_in_period int required
log_entries_in_period int required How many log lines the period holds in all.
blocked list[BlockedItem] required
review_queue list[ReviewItem] required
aging list[AgingItem] required
overdue list[OverdueItem] required
people list[PersonStat] required
projects list[ProjectStat] required
activity list[ActivityLine] required The period's newest log lines, at most 200, oldest first.

BlockedItem

Field Type Default
task_id str required
title str required
project str required
assignees str required
reason str required
since str required

ReviewItem

Field Type Default
task_id str required
title str required
project str required
reviewer str required
review_due str required
pr_link str required
waiting_days int required

AgingItem

Field Type Default
task_id str required
title str required
project str required
status str required
assignees str required
idle_days int required

OverdueItem

Field Type Default
title str required
project str required
assignees str required
due_date str required
status str required

PersonStat

Field Type Default
name str required
roles str required
tags str required
open_tasks int required
done_in_period int required
log_entries int required
blocked int required

ProjectStat

Field Type Default
name str required
total int required
done int required
active int required
blocked int required

ActivityLine

Field Type Default
date str required
who str required
what str required
task str required
project str required

Assistant

StandupNote

A standup note, ready to paste into a team channel.

Field Type Default Description
headline str required One sentence on where the team stands overall.
shipped list[str] required Work completed in the period. One short line each, naming the person.
in_flight list[str] required Work actively moving. One short line each, naming the person.
blocked list[str] required Blocked work, with the reason from the snapshot. One line each.
needs_attention list[str] required Anything a lead should chase: overdue, stale, or waiting in review too long.

ProposedAction

A single proposed board change, awaiting human confirmation.

Field Type Default Description
kind str required Either 'create_task' or 'move_task'. Use 'none' if the request is not a board change.
title str required The task title. For a move, the title of the existing task being moved.
project str required Project name, exactly as it appears in the snapshot, or empty.
assignee str required Member name, exactly as it appears in the snapshot, or empty.
status str required One of the board columns, or empty to leave it in Backlog.
priority str required High, Medium or Low. Empty means Medium.
category str required A category from the workspace vocabulary, or empty.
due_date str required ISO date (YYYY-MM-DD) or empty. Never guess a date.
note str required One sentence telling the user what this will do and what you assumed.
confidence str required high, medium or low: how sure you are this is what the user meant.

AssistantReply

What the one composer gets back: an answer, or a change to confirm.

Field Type Default
kind str required
text str ""
proposal ProposedAction | None None

GitHub

GithubConnectionView

What the client is allowed to know about the GitHub link. The connection node itself is never reported: report <node> serializes every field, so routing it through a view is what keeps internals off the wire.

Field Type Default
connected bool False
account_login str ""
account_avatar str ""
status str ""
connected_at str ""
last_sync_at str ""
webhook_seen_at str ""
configured bool False
missing_config list[str] []

GhRepoRow

Live GitHub reads. These are request-scoped projections, never persisted, so they can change shape freely.

Field Type Default
full_name str required
private bool False
description str ""
attached bool False

GhIssueRow

Field Type Default
number int required
title str required
state str required
labels list[str] []
assignee str ""
html_url str ""
already_imported bool False
imported_task_id str ""

GhPrRow

Field Type Default
number int required
title str required
state str required
author str ""
html_url str ""
linked_task_id str ""
updated_at str ""