Built-in lines

When a workspace is created in the web app, Spotlight opens two lines for its first team: Delivery and Review. A team created through the resource API or Terraform gets no lines. See A workspace created in the web app.

Both are ordinary lines, with the fields described in spotlight_line. Neither names repositories. Every work station of both has harness set to claude-code, with no model, effort or profile.

The same team gets a task titled Set up your team at Delivery's backlog. See Setup task.

Delivery

Line fieldValue
keydelivery
nameDelivery
roledelivery
KeyNameKindPasses toEndsDiffsDecisionsTools
backlogBacklogbacklogtriagenonono
triageTriageworkspec, implementationnononoopen-tasks
specSpecworkimplementationnonono
implementationImplementationworkcode-review, specnonoyeschecks
code-reviewCode Reviewworkspec, implementationyesnonopull-request
completedCompletedcompletednonono
HappeningFromTo
github.checks.failedany stationimplementation
github.pull_request.commentedany stationcode-review
github.pull_request.changes-requestedany stationcode-review
github.pull_request.mergedany stationcompleted

Review

Line fieldValue
keyreview
nameReview
rolereview
KeyNameKindPasses toEndsDiffsDecisionsTools
backlogBacklogbacklogcode-reviewnonono
code-reviewReviewworkyesyesnoreview-comment, review
completedCompletedcompletednonono
HappeningFromTo
github.pull_request.mentionedany stationcode-review
github.pull_request.labelledany stationcode-review
github.pull_request.mergedany stationcompleted
github.pull_request.closed-unmergedany stationcompleted

The Review line's review policy (reviews) has every default. See Review policy fields.

On both lines, a reaction that arrives while the task has a current run waits until the run ends, and is dropped if the run passes the task on. A reaction to completed moves the task at once and stops the run. While the run waits on a person's answer to its question, a reaction to another station moves the task at once and the question closes. See Moves.

Station prompts

Each work station has a Markdown prompt. Backlog and completed stations have none.

LineStationOpens withTells the agent to
Deliverytriage"Decide what the request actually wants, and whether it is clear and coherent enough to plan against."Read only, state what the request comes down to, and pass the task to Spec once a plan could be written against it. List the other open tasks on the line, and give a duplicate to a person with the task it repeats.
Deliveryspec"Take the request as triage decided it and turn it into a plan someone can implement without going back to the requester."Write a plan: the approach, the files and functions to change, how to test it, and what is out of scope. Revise the plan against the returned note when implementation or code review passes the task back.
Deliveryimplementation"Make the change the spec describes, and no more than it."Make the change with tests, leave tests and linter passing, and push the task's branch. Pass the task back to spec when the spec is wrong or leaves something out.
Deliverycode-review"Review the change against what the task requested, not against how you would have written it."Pass the task back to implementation with findings, or to spec when the fault is in the plan, or open a pull request and pass the task to done.
Reviewcode-review"Review the pull request this task names."Leave comments with spotlight tools call review-comment, submit them with spotlight tools call review, make no edits, and pass the task to done.

Station judges

Each work station has a judge block with a list of claims. A replay passes the judge when it does what the accepted change did and meets every claim. See Judging.

LineStationThe claims check that
DeliverytriageThe note says what the request comes down to and what it leaves open, the run changed no file, and the task went to a person when the request was unclear or a duplicate of an open task, which the note names.
DeliveryspecThe plan names the approach, the real files and functions, the tests and what is out of scope, and does not reopen what the request wants.
DeliveryimplementationThe change does what the spec describes and no more, has tests that fail without it, passes the tests and the linter, and is pushed.
Deliverycode-reviewEach finding is real, has a severity and says what would fix it, and the task went back to the right station or on to a pull request.
Reviewcode-reviewEach finding is a comment on its line with a severity, changes are requested only for a high finding, and the run pushed nothing.

A built-in line is changed and deleted like any other line. See Change a line's stations.

Setup task

In the inbox, the Set up your team task lists three steps, each ticked once done:

StepTicked whenAction
"Install the GitHub App"Spotlight's GitHub App is installed for the workspace."Install on GitHub", or "Configure on GitHub" once installed.
"Connect a host"A push pool exists, or a host with a heartbeat in the last 24 hours can use an image that contains a harness."Go to runners", which opens /w/<slug>/settings/runners.
"Set up configuration as code"The team's setup chat has opened its pull request.The setup form. Once the chat started, "Open setup chat" for the person who started it. Once the pull request is open, "Open pull request" for everyone.

A ticked step hides its action until the step is selected. Once the task's inbox item is resolved, the actions of "Install the GitHub App" and "Connect a host" are greyed out and cannot be used.

The setup form shows once the GitHub App is installed, and a push pool names an egress or a host with a heartbeat in the last 24 hours can use an image that contains a harness. Before then the step reads The setup chat needs the GitHub App and egress. Connect a host, or name an egress in a push pool. Only an owner or admin of the workspace sees the form. For anyone else, the step reads Only a workspace owner or admin can set up configuration as code. The form has:

PartContains
"Repository"The repository the configuration goes in, from those the GitHub App can access.
FolderThe folder in it, spotlight at first.
"Repositories"The code repositories the chat checks out, "No repositories" at first.
AgentThe harness, model and effort of the chat. The first harness at first, or the one last picked in this browser, here or in another chat.
"Start setup chat"Starts the chat, once a repository, a folder and a harness are chosen. Above it, the form reads Spotlight lets this repository's GitHub Actions plan pull requests and apply its default branch.

The chat's first message reads Set up our configuration as code in <repository>, under <folder>/. Where the chat cannot start, a message at the bottom of the page gives the reason. Where another person started the chat, the step reads <Name> is setting this up., or A former member is setting this up.

Once the step is done, it reads GitHub Actions: pull requests in <repository> plan, and pushes to <defaultBranch> apply. When Spotlight could not set the configuration repository's GitHub Actions variables, it also reads Add the repository variables that the pull request lists. When merging into the default branch needs no approving review, as far as Spotlight can see, the step shows a warning icon, labelled <branch> does not require a review. Its tooltip reads <branch> does not require an approving review, as far as Spotlight can see. Anyone who can push to <branch> can change this workspace's configuration. Please require at least one approving review. See Trusts the setup creates. See Chats.

On this page