Lingtai
Docs
GitHub

Documentation

Events

An attempt writes events as it goes. Pick a step to see the events it writes. Listed by group, every event appears once, under its group; listed by stream, it appears under each stream prefix it is written on.

work item 16

TicketDiscovered

The conductor found a new ticket to work on, from a GitHub issue, a person, or an agent's follow-up.

stream ticket- · schema v1 · defined events.ts:216 · appended bootstrap.mjs:54 · on: [TicketDiscovered]

TicketClaimed

The conductor claimed a ticket and began a run on it.

stream ticket- · schema v3 · defined events.ts:227 · appended ticket.ts:933 · on: [TicketClaimed]

TicketContinued

A person approved a held run, and it went on.

stream ticket- · schema v1 · defined events.ts:281 · appended ticket.ts:1009 · on: [TicketContinued]

TicketReleased

The conductor gave up its claim on a ticket, so the ticket can be taken again.

stream ticket- · schema v2 · defined events.ts:326 · appended ticket.ts:1094 · on: [TicketReleased]

WaitStarted

A ticket stopped to wait for a person's decision.

stream ticket- · schema v3 · defined events.ts:391 · appended commands.ts:1055 · on: [WaitStarted]

WaitResolved

A person answered a waiting ticket.

stream ticket- · schema v2 · defined events.ts:406 · appended ticket.ts:1220 · on: [WaitResolved]

TicketSplit

A person approved splitting a ticket into smaller ones, and which of them depend on which.

stream ticket- · schema v1 · defined events.ts:471 · appended ticket.ts:1217 · on: [TicketSplit]

SplitStarted

The conductor began creating the child tickets of an approved split on GitHub.

stream ticket- · schema v1 · defined events.ts:501 · appended split-ticket.ts:263 · on: [SplitStarted]

SplitChildWritten

The conductor created one child ticket of a split on GitHub and confirmed it exists.

stream ticket- · schema v1 · defined events.ts:516 · appended split-ticket.ts:426 · on: [SplitChildWritten]

SplitLinkWritten

The conductor set one blocked-by link between two child tickets on GitHub and confirmed it.

stream ticket- · schema v1 · defined events.ts:528 · appended split-ticket.ts:473 · on: [SplitLinkWritten]

SplitFailed

Creating the tickets of a split stopped partway, because a step failed or GitHub refused.

stream ticket- · schema v1 · defined events.ts:539 · appended split-ticket.ts:267 · on: [SplitFailed]

TicketLinkedretired

No longer written: a link saying one ticket caused, followed up, or duplicated another.

stream ticket- · schema v1 · defined events.ts:568 · no append site found · on: [TicketLinked]

TicketLanded

A ticket's change was merged into the base branch.

stream ticket- · schema v1 · defined events.ts:574 · appended commands.ts:926 · on: [TicketLanded]

TicketSatisfied

A ticket ended satisfied by what the base already held.

stream ticket- · schema v1 · defined events.ts:583 · appended ticket.ts:1645 · on: [TicketSatisfied]

TicketClosed

A person closed the ticket without landing it.

stream ticket- · schema v1 · defined events.ts:612 · appended ticket.ts:1619 · on: [TicketClosed]

DispatchRefused

The conductor refused to start an agent because its runtime cannot fail closed.

stream ticket- · schema v1 · defined events.ts:623 · appended commands.ts:901 · on: [DispatchRefused]

run 15

RunStarted

An agent's run started on its own worktree, cut from the base commit.

stream pass- · schema v2 · defined events.ts:668 · appended conduct.ts:5142 · on: [RunStarted]

RunPrompted

The conductor handed the agent its prompt.

stream pass- pr- · schema v2 · defined events.ts:760 · appended record-prompt.ts:114 · on: [RunPrompted]

RunTouchedFile

An agent edited, wrote, or deleted a file during its run.

stream pass- · schema v1 · defined events.ts:805 · appended hook-socket.ts:300 · on: [RunTouchedFile]

RunContextExhausted

An agent ran out of room in its context and had to compact, a sign the ticket was too large.

stream pass- · schema v1 · defined events.ts:812 · appended hook-socket.ts:237 · on: [RunContextExhausted]

RunAwaitingInput

An agent stopped to ask for input instead of carrying on.

stream pass- · schema v1 · defined events.ts:815 · appended hook-socket.ts:245 · on: [RunAwaitingInput]

RunProducedDiff

An agent's run left a branch with changes on it.

stream pass- · schema v1 · defined events.ts:818 · appended conduct.ts:2751 · on: [RunProducedDiff]

RunRefsPublished

The conductor tried to push a run's branches to the remote, and recorded whether it pushed, had nothing to push, or was refused.

stream pass- · schema v1 · defined events.ts:869 · appended conduct.ts:2718 · on: [RunRefsPublished]

RunKeptUncommitted

The conductor saved a stopped agent's uncommitted work as a commit of its own, so it was not lost.

stream pass- · schema v2 · defined events.ts:986 · appended conduct.ts:2925 · on: [RunKeptUncommitted]

RunAppliedKeptWorkretired

No longer written: the conductor carried a stopped run's uncommitted edits into the new worktree before the agent started.

stream pass- · schema v1 · defined events.ts:1012 · no append site found · on: [RunAppliedKeptWork]

RunProposedCompletion

An agent finished and offered its work, so the checks began.

stream pass- · schema v1 · defined events.ts:1030 · appended conduct.ts:4599, conduct.ts:5437 · on: [RunProposedCompletion]

RunFinished

An agent's process ended.

stream pass- · schema v1 · defined events.ts:1038 · appended conduct.ts:5378 · on: [RunFinished]

SandboxBoundaryRecorded

The sandbox boundary one action's invocation ran under.

stream pass- · schema v1 · defined events.ts:1088 · appended sandbox-record.ts:98 · on: [SandboxBoundaryRecorded]

SandboxConnectionsRefused

The outbound connections the sandbox refused one invocation.

stream pass- · schema v1 · defined events.ts:1109 · appended sandbox-record.ts:146 · on: [SandboxConnectionsRefused]

RunFailed

An agent's run failed.

stream pass- · schema v1 · defined events.ts:1158 · appended conduct.ts:5314 · on: [RunFailed]

RunSpent

One paid call to an agent runtime finished, and what it cost was recorded.

stream pass- chat- ticket- pr- · schema v1 · defined events.ts:1180 · appended commands.ts:803 · on: [RunSpent]

verdicts 5

StepsResolved

The conductor worked out the plan for a run: what will happen at each of its ten steps.

stream pass- · schema v1 · defined events.ts:1265 · appended conduct.ts:5167 · on: [StepsResolved]

RecipeRecordedretired

No longer written: the conductor recorded a recipe, once, under the hash that names it; a run's StepsResolved carries it again.

stream rcp- · schema v1 · defined events.ts:1295 · no append site found · on: [RecipeRecorded]

EndActionsResolved

The conductor worked out what to do at the end of a run, given how the run ended.

stream ticket- · schema v1 · defined events.ts:1324 · appended end-step.ts:164 · on: [EndActionsResolved]

StepStarted

A step of a run began.

stream pass- · schema v1 · defined events.ts:1360 · appended run-attempt.ts:2554 · on: [StepStarted]

StepEnded

A step of a run ended, with the result of every action it ran.

stream pass- pr- · schema v1 · defined events.ts:1515 · appended conduct.ts:6757 · on: [StepEnded]

backlog 3

FindingAccepted

A person accepted a minor review finding, to be worked as a ticket of its own.

stream bkl- · schema v1 · defined events.ts:1544 · appended backlog.ts:304 · on: [FindingAccepted]

FindingProposed

The ticket that an accepted finding asked for now exists in the ticket store.

stream bkl- · schema v1 · defined events.ts:1568 · appended backlog.ts:375 · on: [FindingProposed]

FindingDeclined

A person declined a minor review finding.

stream bkl- · schema v1 · defined events.ts:1587 · appended backlog.ts:485 · on: [FindingDeclined]

integration 6

MergeLaneWaited

A run was ready to merge but waited, because another run was landing.

stream pass- · schema v1 · defined events.ts:1602 · appended conduct.ts:4100 · on: [MergeLaneWaited]

IntegrationAttempted

The conductor tried to merge a run's branch into the base branch.

stream int- · schema v1 · defined events.ts:1607 · appended integrate.ts:736 · on: [IntegrationAttempted]

IntegrationRefused

The merge of a run's branch into the base branch was refused.

stream int- · schema v1 · defined events.ts:1616 · appended integrate.ts:287 · on: [IntegrationRefused]

IntegrationSucceeded

A run's branch was merged into the base branch.

stream int- · schema v1 · defined events.ts:1623 · appended integrate.ts:305 · on: [IntegrationSucceeded]

BaseChecked

The conductor ran a project's check command on the base branch and recorded whether it passed.

stream int- · schema v1 · defined events.ts:1637 · appended base-check.ts:342 · on: [BaseChecked]

BaseFixProposed

The conductor opened the one ticket that makes a red base green and recorded which one it is.

stream int- · schema v1 · defined events.ts:1663 · appended base-fix.ts:131 · on: [BaseFixProposed]

route 4

PassRoutedretired

No longer written: the step after review chose where the ticket goes next; ProposalRouted replaced it.

stream pass- · schema v3 · defined events.ts:1699 · no append site found · on: [PassRouted]

ProposalRouted

The step after review chose where the ticket goes next; the log keeps the offer, and names the StepEnded that holds the evidence.

stream pass- · schema v3 · defined events.ts:1730 · appended conduct.ts:5987 · on: [ProposalRouted]

StepRerunInPlaceretired

No longer written: a step run again in place, under the name it had before; the rows already on the log read as the new one.

stream pass- · schema v1 · defined events.ts:1789 · no append site found · on: [StepRerunInPlace]

StepRedone

A run a transient API error cut off is run again in place, after a wait that grows.

stream pass- · schema v1 · defined events.ts:1770 · appended run-attempt.ts:1531 · on: [StepRedone]

control 15

ConductorPaused

The conductor paused itself over a tier a runtime cannot provide, and takes no new work until a person resumes it.

stream ctl- · schema v1 · defined events.ts:1814 · no append site found · on: [ConductorPaused]

ConductorResumed

A person resumed the conductor after the setup's pause.

stream ctl- · schema v1 · defined events.ts:1857 · appended control.ts:171 · on: [ConductorResumed]

DayCeilingReached

Today's spend reached the daily ceiling; no new work starts until it is lifted.

stream ctl- · schema v1 · defined events.ts:1860 · appended ceiling-lock.ts:125 · on: [DayCeilingReached]

DayCeilingLifted

The daily ceiling was lifted: a new day, the configuration, or a person raising today's figure.

stream ctl- · schema v1 · defined events.ts:1870 · appended ceiling-lock.ts:105 · on: [DayCeilingLifted]

ConductorShutdownRequested

A person asked the conductor to stop once the pass in flight finishes.

stream ctl- · schema v1 · defined events.ts:1905 · appended control.ts:232, control.ts:271 · on: [ConductorShutdownRequested]

ConductorStarted

A conductor started, and recorded who started it, why, and from which commit.

stream ctl- · schema v1 · defined events.ts:1954 · appended control.ts:321 · on: [ConductorStarted]

ConductorShutdownWithdrawnretired

No longer written: a request to shut the conductor down was withdrawn.

stream ctl- · schema v1 · defined events.ts:2010 · no append site found · on: [ConductorShutdownWithdrawn]

OutboxDeliveredretired

No longer written: a queued action, such as posting a GitHub comment, was carried out.

stream · schema v1 · defined events.ts:2059 · no append site found · on: [OutboxDelivered]

OutboxFailedretired

No longer written: a queued action, such as posting a GitHub comment, failed.

stream · schema v1 · defined events.ts:2073 · no append site found · on: [OutboxFailed]

IssueUpdated

Lingtai changed a GitHub issue, such as a comment, its labels, or closing it, and GitHub accepted the change.

stream ticket- · schema v1 · defined events.ts:2117 · appended write-section.ts:125 · on: [IssueUpdated]

IssueUpdateFailed

Lingtai tried to change a GitHub issue and the change was refused or failed.

stream ticket- · schema v1 · defined events.ts:2144 · appended tell.ts:191 · on: [IssueUpdateFailed]

QueueChanged

GitHub reported a change to a project's issues, so the queue needs another look.

stream ctl- · schema v1 · defined events.ts:2154 · appended route.ts:74 · on: [QueueChanged]

RunRequested

A person asked for a ticket to be run now.

stream ctl- · schema v1 · defined events.ts:2162 · appended control.ts:443 · on: [RunRequested]

ContinueRequested

A person approved a held run, so the conductor owes it a continuation.

stream ctl- · schema v1 · defined events.ts:2191 · appended resolve-wait.ts:650 · on: [ContinueRequested]

DiscussionRequested

A person asked a question about a ticket.

stream ctl- · schema v1 · defined events.ts:2218 · appended actions.ts:851 · on: [DiscussionRequested]

discussion 4

DiscussionAsked

A question went to the discussion assistant, along with a note of what it could read to answer.

stream chat- · schema v1 · defined events.ts:2247 · appended discuss.ts:526 · on: [DiscussionAsked]

DiscussionAnswered

The discussion assistant answered a question, saying what it read and what it could not establish.

stream chat- · schema v1 · defined events.ts:2280 · appended discuss.ts:554 · on: [DiscussionAnswered]

DiscussionHeld

A discussion was filed away, having produced a prompt edit, a ticket, or nothing.

stream ticket- · schema v1 · defined events.ts:2312 · appended commands.ts:1159 · on: [DiscussionHeld]

PromptEdited

A person added a sentence to the next run's prompt, or took the sentence away.

stream ticket- · schema v2 · defined events.ts:2345 · appended commands.ts:1070 · on: [PromptEdited]

project 43

ProjectOnboardingStartedretired

No longer written: a person began adding a repository, which was recorded but not yet worked.

stream prj- · schema v1 · defined events.ts:2410 · no append site found · on: [ProjectOnboardingStarted]

ProjectConfigured

A project was registered with its owner, its base branch and the hash of the configuration resolved for it.

stream prj- · schema v3 · defined events.ts:2442 · appended commands.ts:141 · on: [ProjectConfigured]

ProjectRecipeChanged

A project's declared recipe changed, recorded as the text a person wrote and its hash.

stream prj- · schema v1 · defined events.ts:2464 · appended project.ts:266 · on: [ProjectRecipeChanged]

ProjectSandboxObserved

A run met a sandbox state different from the last one recorded for its project.

stream prj- · schema v1 · defined events.ts:2478 · appended project.ts:279 · on: [ProjectSandboxObserved]

ProjectRefused

The conductor could not look at a project and said why, once, when it began.

stream prj- · schema v1 · defined events.ts:2512 · appended project.ts:249 · on: [ProjectRefused]

ProjectRecovered

The conductor looked at a project it had refused and no longer refused it.

stream prj- · schema v1 · defined events.ts:2532 · appended project.ts:237 · on: [ProjectRecovered]

ProjectPaused

A person paused one project: it starts no new work until resumed.

stream prj- · schema v1 · defined events.ts:2546 · appended locks.ts:162 · on: [ProjectPaused]

ProjectResumed

A person resumed one project.

stream prj- · schema v1 · defined events.ts:3033 · appended locks.ts:168 · on: [ProjectResumed]

ProjectPrNumbered

The project's highest PR number.

stream prj- · schema v1 · defined events.ts:3040 · appended pr.ts:175 · on: [ProjectPrNumbered]

PrDraftTicketAdded

A ticket joined a PR's draft: its merge commit, and the PR that handed it back (null for a landing).

stream pr- · schema v1 · defined events.ts:2564 · appended pr.ts:671 · on: [PrDraftTicketAdded]

PrSubmitRequested

A person asked to submit the personal branch as a PR: the first event of a PR's stream.

stream pr- · schema v1 · defined events.ts:2556 · appended pr.ts:662 · on: [PrSubmitRequested]

PrSubmitRefused

A submit request was refused while it was served; that PR number is spent.

stream pr- · schema v1 · defined events.ts:2579 · appended pr.ts:757 · on: [PrSubmitRefused]

PrInProgress

A PR's branch was frozen at one commit with the tickets it holds, and it is In progress.

stream pr- · schema v1 · defined events.ts:2589 · appended pr.ts:675 · on: [PrInProgress]

PrFixLanded

A pr-fix ticket landed on a PR's branch, so the PR is owed In progress again.

stream pr- · schema v1 · defined events.ts:2604 · appended pr.ts:729 · on: [PrFixLanded]

PrStepDone

One of a PR's In progress steps finished, on the head commit it ran on.

stream pr- · schema v1 · defined events.ts:2617 · appended pr.ts:767 · on: [PrStepDone]

PrWaiting

A PR's step needs a person before it can go on: the PR is Waiting on you.

stream pr- · schema v1 · defined events.ts:2669 · appended pr.ts:1070 · on: [PrWaiting]

PrPushed

A PR's branch is on the remote at one commit, pushed now or found already there.

stream pr- · schema v1 · defined events.ts:2684 · appended pr.ts:780 · on: [PrPushed]

PrDraftOpened

A PR is open on GitHub as a draft pull request, opened now or found already there.

stream pr- · schema v1 · defined events.ts:2692 · appended pr.ts:911 · on: [PrDraftOpened]

PrCiSkipped

A PR has no CI step: the project's CI was declared none or no workflow runs on pull requests.

stream pr- · schema v1 · defined events.ts:2705 · appended pr.ts:931 · on: [PrCiSkipped]

PrCiFollowing

A PR's CI now follows this head commit: the pull request's head moved, or CI began reading it.

stream pr- · schema v1 · defined events.ts:2713 · appended pr.ts:921 · on: [PrCiFollowing]

PrChecked

A PR's checks on its head finished: green moves the PR on, red names the failing checks.

stream pr- · schema v1 · defined events.ts:2721 · appended pr.ts:950 · on: [PrChecked]

PrOpened

A PR is In review: on GitHub with a pull request, or on another remote, unfollowed.

stream pr- · schema v1 · defined events.ts:2754 · appended pr.ts:1001 · on: [PrOpened]

BranchSynced

Main is in a PR's commit: it already was, or it was merged and built clean; the merge is the PR's target.

stream pr- · schema v1 · defined events.ts:2768 · appended pr.ts:795 · on: [BranchSynced]

PrOutsideMerged

Commits others pushed to a PR branch were merged into the PR's commit and built; the merge is the PR's target.

stream pr- · schema v1 · defined events.ts:2782 · appended pr.ts:810 · on: [PrOutsideMerged]

PrMergedBack

A PR's branch was merged back into the personal branch, built and pushed.

stream pr- · schema v1 · defined events.ts:2796 · appended pr.ts:850 · on: [PrMergedBack]

PrMergeBackFailed

Merging a PR's branch back into the personal branch did not complete; with why unknown, whether the push landed is not known.

stream pr- · schema v1 · defined events.ts:2808 · appended pr.ts:861 · on: [PrMergeBackFailed]

PrCaughtUp

After a PR merged, the tip of main was brought into the personal branch once, or was already there.

stream pr- · schema v1 · defined events.ts:2822 · appended pr.ts:873 · on: [PrCaughtUp]

PrCatchUpFailed

Catching the personal branch up with main did not complete.

stream pr- · schema v1 · defined events.ts:2833 · appended pr.ts:889 · on: [PrCatchUpFailed]

SyncRoundStarted

A round of the conflict agent started on a PR: one commit merged into another, round n, for a conflict or a red build of a clean merge.

stream pr- · schema v1 · defined events.ts:2848 · appended pr.ts:1211 · on: [SyncRoundStarted]

SyncRoundRefused

A round of the conflict agent was refused, and what refused it.

stream pr- · schema v1 · defined events.ts:2869 · appended pr.ts:1238 · on: [SyncRoundRefused]

PrMerged

A PR was merged, found by git reachability or reported by the code host.

stream pr- · schema v1 · defined events.ts:2883 · appended pr.ts:1013 · on: [PrMerged]

PrClosed

A PR was closed on the code host without merging; its tickets return to Draft.

stream pr- · schema v1 · defined events.ts:2894 · appended pr.ts:1017 · on: [PrClosed]

PrRoundsGranted

A person gave the conflict agent three more rounds for one commit of main.

stream pr- · schema v1 · defined events.ts:2902 · appended pr.ts:1303 · on: [PrRoundsGranted]

PrRetryRequested

A person asked for a waiting PR to be checked again, after resolving it by hand or re-running a workflow.

stream pr- · schema v1 · defined events.ts:2915 · appended pr.ts:1384 · on: [PrRetryRequested]

PrHeadAdopted

A head a person pushed to the PR branch was adopted as the PR's last pushed commit.

stream pr- · schema v1 · defined events.ts:2923 · appended pr.ts:1427 · on: [PrHeadAdopted]

PrBackRequested

A person asked to take a PR back: close the draft and return its tickets to Draft.

stream pr- · schema v1 · defined events.ts:2930 · appended pr.ts:1400 · on: [PrBackRequested]

PrSummaryWritten

The summary agent wrote a PR's title and summary, at submit or topped up after a pr-fix.

stream pr- · schema v1 · defined events.ts:2939 · appended pr.ts:971 · on: [PrSummaryWritten]

PrSummaryNotWritten

No PR summary was written this time, and why: a lock, a failed run, or a person's edit that won.

stream pr- · schema v1 · defined events.ts:2953 · appended pr.ts:980 · on: [PrSummaryNotWritten]

PrSummaryEdited

A person replaced a PR's summary; the daemon pushes the regenerated description to the code host.

stream pr- · schema v1 · defined events.ts:2966 · appended pr.ts:1365 · on: [PrSummaryEdited]

PrDescriptionPushed

A PR's regenerated title and body are on the code host.

stream pr- · schema v1 · defined events.ts:2974 · appended pr.ts:992 · on: [PrDescriptionPushed]

AccountLimitReached

An account (a runtime's, or github) reached its limit; no project that uses it starts new work until it is lifted.

stream acct- · schema v2 · defined events.ts:2989 · appended account.ts:102 · on: [AccountLimitReached]

AccountLimitLifted

An account's limit was lifted: its time passed, or a person said it is over.

stream acct- · schema v2 · defined events.ts:3022 · appended account.ts:92 · on: [AccountLimitLifted]

Reconciled

A restarted conductor found state the log did not predict, and recorded what it did about it.

stream ctl- · schema v2 · defined events.ts:3057 · appended reconcile.ts:878 · on: [Reconciled]

github app 1

GitHubAppCreated

A person created the team's GitHub App from Lingtai's setup page.

stream ctl- · schema v1 · defined events.ts:3108 · appended create-app.ts:655 · on: [GitHubAppCreated]

triage 2

TriageStarted

The conductor began triaging a waiting ticket, using an agent or its own rules.

stream ticket- · schema v1 · defined events.ts:3154 · appended ticket.ts:1317 · on: [TriageStarted]

WaitTriaged

The conductor finished triaging a waiting ticket, with advice or a failure.

stream ticket- · schema v2 · defined events.ts:3167 · appended ticket.ts:1371 · on: [WaitTriaged]

extension 1

PluginFailed

An event subscriber was given an event and did not finish handling it.

stream ext- · schema v1 · defined events.ts:3197 · appended failure-recorder.ts:59 · on: [PluginFailed]

Rendered from doc/events.json; every link goes to commit ec60ec7e188bdef584b890cf95b80ab18d390322.