impl-tool:session
impl-tool:session@0.0.0
recordedMeasurement
Extends measurement.
issueRunConfig
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
uuid | string | Yes | The issue's permanent identifier, minted when its queue entry is created; it stays the same when the queue renumbers | |
depends | list[string] | No | [] | The uuid of every issue this one depends on |
role | enum one of issue, pre, post | No | "issue" | Which note of its issue's family this entry is: issue for the issue's own entry, pre for a note worked before it, post for one worked after |
issue | string | Yes | The issue's id: capital letters, a hyphen and seven digits. It names the branch and prefixes every commit title | |
title | string | Yes | The issue's title: what the work is called in the session's prompt, and the title its pull requests open under | |
prompt | string | No | "" | What the issue asks for, in full: the text the session is prompted with |
sessionState
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
config | issueRunConfig | Yes | The queue entry the session was started from, as it was given | |
title | string | No | "" | The entry's title collapsed to one line, as commits carry it |
branch | string | No | "" | The branch the session belongs to; empty where none was recorded |
prompt | string | No | "" | The entry's prompt unwrapped to one line per paragraph, as commits and pull request descriptions carry it |
increment | integer | No | 0 | The last commit increment the session recorded, numbered from 0. The branch's commit log is the authority wherever it can be read, and this is the fallback |
started | integer | No | 0 | The increment the branch stood at when the session opened; the increments the session made are counted from it |
started | string | No | "" | When the session opened, as a local ISO 8601 timestamp to the second |
ended | string | No | "" | When the session ended, in the same form; empty while the session is open |
timings | list[recordedMeasurement] | No | [] | What each turn reported of its own actions, in the order recorded, each with the increment it belonged to. An action that took no time is left out |
started | dict[string, string] | No | The commit each repository stood at when the session opened, keyed by path: . for the top-level repository, otherwise the submodule's path | |
session | string | No | "" | The session's own identifier, minted when it opens and independent of any agent; model calls made for the session are attributed to it |
described | boolean | No | false | Whether every push of the session so far has written the pull request descriptions. false means closing the session has descriptions left to write |
release | enum one of dev, prod | No | The release stage the session was started under, which decides how a backwards-incompatible change is reported. Absent where none was recorded, and the configuration answers | |
banked | integer | No | 0 | How many consecutive turns have ended with uncommitted work and no result block; 0 again once a commit lands the work |
banked | string | No | "" | When the first of those turns ended, as a local ISO 8601 timestamp to the second; empty when nothing is banked |
banked | list[string] | No | [] | What was asked over those turns, oldest first, so the commit that lands the work can cite every prompt |
refusal | integer | No | 0 | How many refused result blocks have been handed back to the session since it was last prompted; capped by maxRetries |
provider | string | No | "" | The agent the session was started on; empty means the default agent |
model | string | No | The model the session was started on; absent means the agent's own default | |
description | string | No | "" | The agent pull request descriptions are written on; empty means the session's agent |
description | string | No | "" | The model pull request descriptions are written on; empty means that agent's own default |
Used by
The versions of each application and library holding this build.