Claude
Triage issues, pick up backlog work and review linked pull requests with a local or cloud agent.
Track agent runs
Open Agents in the workspace navigation when a provider is enabled. History includes Claude and Codex, with source issues, timestamps and recorded state. Select a run to inspect its status, model, result, error and linked changes. Run pages update while visible and can be opened directly or refreshed.
A pending local run needs an authorized worker for the issue's workspace and team. Follow the setup link in its detail page. Reading a run does not start it. Missing logs or model information are identified; a completed state is a worker report, rather than proof of a deployed change. Raw prompts, checkpoints and credentials are not displayed.
Owners and admins configure Claude and Codex separately in Settings → Agents. Members can inspect settings and recorded runs. Existing Claude settings URLs redirect there. Codex supports local issue work, mentions, assignments, concurrency and emergency stop; hosted Codex and API action approval are not available. Other MCP clients connect through MCP setup.
Set up an agent
Connect Claude from Settings → Agents → Claude. Enable a Claude Code worker, a local API agent, or the cloud agent. Automatic workflows are off by default. Workspace owners and administrators can configure them under Autonomous Claude.
A local Claude Code worker edits, tests, and commits code in the writable repository you select. Native execution uses your installed Claude Code sign-in; an explicitly supplied Anthropic API key selects SDK execution. For hosted Claude Code repository work, follow the cloud execution guide. The tool-only Anthropic API agent does not edit a local checkout. Opening a pull request requires pushed commits. Configure repository mappings and templates in the GitHub integration.
Start a Claude Code worker
Install Claude Code and sign in with claude auth login. Use Node 18.20 or newer. Install the Velocity worker, sign in to Velocity, and select one or more workspaces. The worker saves private credentials and refreshes them automatically:
npm install --global https://github.com/velocity-quest/velocity-agent/releases/download/agent-v0.5.74/velocity-agent-0.5.74.tgz
velocity-agent login
velocity-agent whoami
velocity-agent repo link --workspace YOUR_WORKSPACE --team YOUR_TEAM --repo /path/to/repository
velocity-agent run --executor claude-code --team YOUR_TEAMFor SSH or a browser on another machine, use velocity-agent login --no-browserand paste the login code shown by Velocity. Input is hidden. You can also paste the full redirected URL when a local callback cannot arrive. Use velocity-agent logout to revoke the saved grant. For token-based automation, see the MCP setup guide. No workspace flag is required after browser login.
The worker polls all approved workspaces by default. Add --workspace ID_OR_SLUG to focus on one. Sign in again to expand an older single-workspace grant. The worker claims queued Claude Code runs for the selected team. Add --allow-delivery to authorize pushing and opening a PR. Connecting Claude Code or Claude.ai to MCP tools alone does not start a worker. Both clients use the same endpoint; see client setup.
Command failures and retries
Worker 0.5.20 distinguishes a process that could not start, such as Text file busy, from a command that ran and exited unsuccessfully. Open Agents → the run and expand the failed event to see its command, reported exit code and bounded output. Long output is marked truncated; known credentials and terminal controls are removed before upload. Missing exit status remains unknown.
The native runtime controls retries. Each retry result is recorded separately, preserving the earlier failure. The worker does not automatically replay commands that may have completed side effects. Other raw tool output and private reasoning are omitted from saved progress.
Run a repository task in the cloud
An eligible pending Claude Code issue run can use an isolated cloud machine when a platform administrator has enabled a compatible backend and workspace policy permits cloud work. The hosted executor uses server-side API authentication; it does not reuse your local Claude subscription sign-in. Codex and the other native runtimes use their documented local-worker paths.
- Open Agents and select the pending Claude Code issue run. A workspace owner or admin opens Hosted execution → Run in the cloud.
- Enter the repository test command, choose a machine-size preference and set the time limit. The form allows 5–60 minutes, up to 30 model turns and $10 of model spend. Infrastructure usage is recorded separately.
- Optionally select an Agent configuration JSON bundle for this run. It can contain Claude instructions, Markdown skills and supported user preferences within 6 KB. Credentials, permissions, hooks and MCP settings stay under the hosted workflow's control.
- Choose Preview machine size. Review the actual resources and selection reason, then choose Queue hosted run.
Configure the workspace's GitHub repository mapping and Claude Code executor first. Cloud execution currently prepares a tested pull request; a workflow requiring merge or deployment needs another compatible executor. Queueing work does not enable an integration or relax shared workspace policy.
Choose an approved machine size
Platform admins configure immutable private snapshots under Admin → Cloud backends → Approved Daytona machine sizes. The configured catalog can offer the following standard sizes; the run preview shows which sizes are actually available for your deployment.
| Size | vCPUs | RAM | Writable disk |
|---|---|---|---|
| Small | 1 | 1 GiB | 3 GiB |
| Medium | 2 | 4 GiB | 8 GiB |
| Large | 4 | 8 GiB | 10 GiB |
Your explicit job choice overrides project and workspace preferences, including an explicit Auto choice. Declared minimum resources still apply. Auto can reuse an exact matching successful workflow allocation. Without matching history, it selects the smallest approved size meeting declared minima. When neither requirements nor history exist, it uses the platform fallback. Image size and resource allocation are separate from live CPU and memory utilization, which are not currently measured.
Queueing freezes the snapshot and resources. Refresh a stale preview before queueing. Project and workspace defaults changes preferences for future jobs. Recovery uses the original size and deadline; a larger machine requires a new authorized job.
Find the next action for waiting work
Open the run's readiness explanation. A workspace owner or admin handles Emergency stop, Local execution preference and local-only delivery restrictions. A platform admin handles backend credentials, dispatcher upgrades and provider access. Missing quota evidence or capacity keeps work queued without starting a model. Unfinished linked prerequisites must be completed or their relations corrected; repeatedly requeuing does not satisfy them.
Daytona configuration requires an organization API key and an approved private snapshot in the configured region. Keys are write-only in Admin, and an Admin save does not start a machine. Platform admins set machine and aggregate CPU/RAM/disk limits; a zero machine limit pauses new admissions. Backend setup and account-wide capacity are platform controls, rather than worker settings.
Check delivery and recovery separately
The run records coding, delivery and compute cleanup separately. Compute released confirms infrastructure cleanup; follow the delivery links to check the PR, review, merge and deployment requirements. A completed model turn alone does not prove the issue was deployed.
Checkpoints preserve repository work outside the sandbox. Cancellation or dispatcher loss retains the original outcome and requires confirmed cleanup. Recovery does not replay coding or automatically resume an interrupted task; an operator reviews and authorizes a continuation. Keep historical provider credentials and encryption keys available while retained allocations need recovery.
Provider references: Daytona sandboxes, persistence and network limits. Organization network restrictions can prevent required service access; a sandbox setting does not override the organization's policy.
Native Claude model and effort checks
Worker 0.5.10 validates explicit model/effort overrides against the exact native runtime before fetching repository refs or claiming work. A supported alias is pinned to its resolved model ID for execution and the saved result. Invalid choices, incompatible metadata and cancellation leave work pending.
velocity-agent claude models --repo /path/to/repository
velocity-agent run --executor claude-code --team YOUR_TEAM --model LISTED_MODEL --effort highThe catalog command needs no Velocity sign-in or model call. It displays only model IDs and supported efforts, with entitlementVerified: false, using a metadata-only connection with safe mode, tools/hooks/MCP disabled and no persistent session. It has a 15-second deadline. Catalog entries are not proof of provider access or quota.
Claude effort overrides require an explicit model so the pair can be checked. Omit both flags to keep native configured defaults. Use VELOCITY_CLAUDE_BIN to select a compatible installed executable; older runtimes may need an upgrade for overrides.
Repository worktrees
--repo is a local Git checkout path, such as ~/projects/velocity/velocity, not a GitHub org/repo or Velocity workspace/team name. Select the actual checkout inside any wrapper directory. --workspace velocity-project selects an authorized workspace and --team ENGIN selects its team; the GitHub org/repo comes from that workspace’s team/project mapping. Directory names never expand account access.
repo list shows saved local links for the selected server and authorized workspaces. An empty [] means no matching saved links; use repo link for the intended checkout.repo link and repo tasks default to the current Git checkout, including subdirectories and worktrees. Local paths are checked before sign-in or remote selection. Explicit workspace/team selection and the existing GitHub mapping checks still apply.
By default, local API and Claude Code workers receive eligible queued issues by priority (Urgent through None), earliest due date, oldest issue and stable run order. Current provider and enabled shared controls filter candidates before the batch limit. Non-issue API tasks remain supported with an unprioritized run-age fallback. Edits affect the next poll; running tasks retain their leases. Change the priority order in Settings → Agents → Loops. The full loop scheduler is not yet available.
Worker 0.5.5 uses an owned writable worktree per task, leaving the source checkout’s branch and existing changes intact. Repository links are private, local and scoped to workspace/team/project. Configure the GitHub repository mapping first; add --project PROJECT_UUID when linking a specific project. Current mapping, repository identity and server lease are rechecked before claim/delivery. The runner handles commits and authorized delivery after the native worker returns; the child cannot request delivery through its allowed tools.
Worktrees live under $XDG_DATA_HOME/velocity-agent/worktrees (default ~/.local/share/velocity-agent/worktrees). Install project dependencies there when needed; private files are not copied automatically. Add --single-checkout only to use a clean selected checkout directly with one worker. Optional repo link --write-context appends verified workspace context to VELOCITY.md and an AGENTS.md reference while preserving existing instructions.
Failed tasks retain their owned branch, commits and diff. Requeue the failed run in Velocity to resume. repo tasks --repo PATH lists saved local issue/run IDs and paths for authorized workspaces, not the remote issue queue. An empty [] means no matching local task checkouts. After stopping a worker, use repo recover --workspace WORKSPACE --repo PATH --issue ISSUE_UUID --run RUN_UUID for a confirmed dead lock. The same options with repo cleanup remove only clean inactive owned worktrees and retain their branches/commits. Dirty or ignored files, live locks and foreign paths are refused; see the worker recovery guide.
Local Anthropic API model checks
Worker 0.5.9 verifies the configured API model before claiming work. Aliases resolve to one model ID for all turns and the run result. Invalid models, unavailable metadata and interrupted checks leave tasks pending; the worker never silently selects another model. Each attempt checks again, with a ten-second deadline and no automatic metadata retry. Use --model MODEL_ID to choose an available model. This metadata check does not run inference or guarantee remaining credits. Idle polling, status and native Claude Code/Codex workers do not make it.
Automatic workflows
Worker 0.5.4 adds PRD, requirement and user-story context and operator-selected manual planning edits to Claude Code. The local API worker discovers current issue/planning schemas from the authenticated MCP server. Its AI planning tools return proposals for human review; applying selected changes requires a subsequent explicitly requested run. Native workers expose manual planning tools rather than platform AI proposals. PRD approval stays with a human, and current workspace/run scope, credit limits and emergency stop remain authoritative.
- Triage new issues: processes issues created while this mode is enabled. It preserves existing labels, adds suitable labels and suggests priority in a comment. It can set priority when the issue currently has None. Optional assignment assigns Claude only when neither a human nor another agent is assigned.
- Pick up backlog issues: selects unassigned issues by priority, then age. It assigns Claude and moves the issue into progress when that team has an In Progress status. It reports tasks that need a code executor instead of claiming code was run.
- Review linked pull requests: reviews newly linked, open PRs in the issue’s configured GitHub repository. It reads the current commit and changed-file patches and posts a GitHub COMMENT review tied to that commit. It does not approve or merge PRs. Reviews cover at most 300 files and a bounded context; missing and truncated patches are identified.
The scheduler runs periodically and persists its scan position. A linked PR gets one initial review even if both a webhook and an MCP call link it. Enabling triage or review starts from that time; it does not process all historical issues or PRs.
Scope and concurrency
Filter by project, label and priority. Empty filters include everything. Every selected dimension must match; any one selected label is sufficient. None is a distinct priority. The agent rechecks scope before acting, so changing filters can cancel runs that are no longer eligible.
The concurrency limit is shared across local and cloud agents in a workspace, from 1 to 10, with a default of 1. Waiting for approval frees an active execution slot. Automatic backlog pickup also reserves pending and waiting work so it does not flood the queue.
Optional action approval
Approval is off by default. Enable Require approval for sensitive actions to pause before creating a branch, opening a PR or moving an issue to a completed or cancelled status. The pending action shows resolved arguments and repository settings. An owner or administrator can approve or reject it from Settings → Agents → Claude.
Approval applies to that exact action and policy, expires after 24 hours and is consumed once. The runner saves its remaining tools and conversation, then resumes after approval without repeating earlier tools. Changing policy or repository settings invalidates the action. Rejecting an action cancels its run. Turning approval off resumes waiting runs under the current policy.
This checkpoint is supported by the API workers. The native Claude Code worker requires it to be off; it uses Claude Code's own tool controls and the explicit --allow-delivery flag.
Emergency stop
Emergency stop cancels queued and active managed runs and blocks new automatic and reactive dispatch. Both runtimes check ownership and policy before tools and check for cancellation during model requests every five seconds. Writes already sent to a provider cannot be undone.
Resume Claude allows new eligible work to be queued. Cancelled executions do not continue their old conversations. Velocity stops the Claude Code subprocess owned by a managed worker when its next heartbeat detects cancellation. Independent Claude Code chats in your IDE use their own stop controls.
Choose a model for one issue
Worker 0.5.16 supports Agent model overrides in the issue detail panel. Choose Codex, Claude Code or the local Anthropic API worker, enter a model ID and, for native workers, an optional supported effort. Save the settings to use them for new attempts. Empty fields inherit defaults; Use defaults for all workers clears every override. Claude Code effort requires a model. The API worker accepts a model only; hosted agents keep the platform model policy.
Explicit worker --model and --effort flags override their corresponding issue fields. Issue settings override the worker/provider defaults. Shared workspace scope, concurrency, runtime, stop and delivery limits always apply; these settings do not authorize additional billing methods, tools or repositories. Model availability and effort support are checked with the exact execution runtime before Git fetches or claims. Invalid or unavailable choices leave the run pending. Correct the issue settings or worker configuration and retry.
Queued work reads current server settings at attempt start. Running attempts and API approval resumes retain their validated selection. Settings changes affect the next attempt. Older workers cannot claim issues with applicable overrides; upgrade them or clear the override. A pre-upgrade suspended API conversation without a saved selection may require recovery with its original worker.
Workspace members who can edit issues can manage these settings; guests and managed agents cannot change them. GraphQL Issue.agentModelOverrides, Issue.agentModelRevision and create/update inputs, the REST issue API and MCP create_issue/update_issue expose the same provider-specific object. Set it to null or {} to clear it. Management CLI 0.2.25 supports:
vel issues get ENGIN-123 --select '{ id agentModelOverrides agentModelRevision }'
vel issues update ENGIN-123 --input '{"agentModelOverrides":{"codex":{"model":"YOUR_MODEL_ID","effort":"high"}}}'
vel issues update ENGIN-123 --input '{"agentModelOverrides":null}'Use codex, claudeCode and anthropic keys for their respective workers. Enter model IDs from your worker’s catalog. These settings contain configuration IDs, never credentials.
Delivery authorization and recovered runs
Worker 0.5.36 names the issue and run when delivery is waiting and explains the current restriction. Allow delivery does not override a shared local-only policy, integration approval requirements, the connection that owns the attempt, or a human change to issue ownership or workflow. Review the specific setting named in the message rather than repeatedly enabling delivery.
Temporary restrictions are checked again after 30 seconds; unchanged waiting messages repeat at most every five minutes. An already closed issue or changed source, workflow or execution stops its original local continuation. The branch and worktree are preserved and the server’s original outcome is unchanged. If delivery finished elsewhere, open the original run’s delivery links. Restart an existing worker after installing an update to load its new code.
Minimum worker versions
Workspace owners and admins can set a minimum in Settings → Agents → Workers. Platform administrators set the system minimum in Admin → System. The stronger minimum applies. Both start unset, so existing installations remain eligible until an administrator configures a floor.
Preview the affected machines before applying a change. Enforcement is immediate for new tasks and delivery attempts; active attempts can finish safely, while expired or released leases require the current minimum before resuming. Policies require worker 0.5.27 or later to identify the version on every claim request. Earlier workers and unknown versions need an update whenever a minimum is configured. A version reported by another machine on the same account cannot authorize an old worker’s request.
Agents shows restricted workers and their actual reported versions, platform floor and workspace floor. Inbox records policy changes and deduplicated cutoff notices for workspace owners/admins and machine owners. Platform increases are announced even when a workspace’s higher minimum keeps its effective requirement unchanged. Credentials remain on the host; update the installed package and restart the worker to activate the new version.
When website settings are saved but a worker is waiting
Website settings save the required stop and checks. The worker also needs the corresponding validation, deployment and acceptance commands loaded on its machine. A deployment requirement with no host adapters keeps the issue queued; signing in again does not install those commands.
On Agents → Local workers, select Fix setup for a workflow problem, or expand the worker’s summary and select Edit settings → Delivery. In the dialog, open Deployment workflow and enable Configure workflow commands from this website. Only the machine owner can edit these executable commands. Choose the Default delivery stop, review Validation commands and configure Deployment and acceptance, then select Save and start.
The worker suggests validation scripts from the selected app’s package.json. Review the suggestions and add any checks required by the issue or profile. Use Name :: executable arguments for each validation line, with the exact required check names. Commands run in the task checkout without an implicit shell; use project scripts for pipelines. If no script is found, add a suitable command or an authorized validation waiver.
Choose Vercel for the built-in path. The worker retrieves the linked project and team IDs and production domains from the selected checkout’s .vercel/project.json and its local Vercel sign-in. Missing values in a new workflow can be filled automatically. Under Retrieve from Vercel, select Use discovered settings to copy the current details into your draft; choose a production domain first when several are available. If discovery is unavailable, follow its reported action or enter the IDs and production URL manually.
Review the suggested HTTP acceptance path, optional required response text and Vercel configuration path. A conventional health route is preferred; otherwise the default checks the home page. Stable response text is suggested only when it can be inferred; otherwise the default requires HTTP 200. These are editable suggestions, not proof that your application works. Saved values and your edits are preserved.
Install Vercel CLI and run vercel login on the host, or set VERCEL_TOKEN there. No provider credential is saved in Velocity. If the checkout is not linked, run vercel link there first. Save a changed repository selection before waiting for fresh discovery. The worker deploys a clean checkout of the merged commit, waits for Ready, checks that production has not changed during the build, promotes the project and verifies the same artifact around the HTTP acceptance check. An already Ready production artifact for that exact source can be reused. A known deployed descendant is never replaced by its older ancestor.
Vercel HTTP acceptance requires HTTP 200 and, when enabled, your chosen response text, in addition to the project, source, Ready and production-alias checks. Choose Custom commands or validation only for existing scripts, browser tests or another provider; use explicit deployment targets for a workflow spanning multiple projects. Commands execute from the installed worker, so a different velocity-agent earlier on PATH cannot replace the built-in verifier. The optional Vercel configuration path is relative to the repository root. The preset does not create projects or domains, change provider credentials or infer acceptance from issue completion.
Saved and applied revisions are separate. The worker acknowledges the loaded checks and deployment/acceptance capabilities before claiming its next task. Active attempts retain their pinned commands; changing a workflow does not replace an existing delivery’s evidence. Older workers show an upgrade message. Worker version is reported separately from the native Codex or Claude Code version.
Open Command inputs and required receipts for the deployment contract below. Use real release and acceptance scripts that verify the artifact and source SHA; a successful generic deploy command alone does not verify delivery. Credentials and provider sign-in stay on the host; never put tokens into website commands.
A private --workflow /absolute/path/workflow.json remains supported and takes precedence over website commands. Keep that file private (chmod 600); host-file changes require a restart. Explicit CLI delivery options also retain precedence, and protected policy always applies. Only the machine owner can change executable website commands, through their signed-in browser; issue text and managed executions cannot supply them.
Saved delivery profiles
Worker 0.5.24 adds saved native delivery profiles. Personal preferences belong to the connected worker’s signed-in account in the selected workspace.
Open Settings → Agents → Delivery defaults & overrides. Stable profiles are codex, claudeCode and anthropic. Codex and Claude Code support native delivery; Claude API does not support the native Git/CI/deployment adapters. Capabilities follow the installed worker release; there is no separate platform-admin delivery-defaults system.
Owners and admins set shared defaults and protected limits: the furthest permitted stop, required validation, deployment verification and named host checks. Members save only their own preferences and cannot authorize merge or deployment. Empty personal fields inherit shared defaults; clearing all personal fields restores inheritance. Model and effort choices remain separate.
Choose local implementation, tested PR handoff, merge after CI/review, or end-to-end deployment/release and verified Done. Host validation and deployment verification can be required individually. Commit/push, PR, exact-head CI/reviews, merge and verified closure have stage dependencies; a preference cannot disable a repository gate. Local and PR handoffs keep the issue unfinished.
To enable saved preferences once, add "profilePreferences": true beside "version": 1 in the private --workflow file, or enable inheritance in the website workflow editor. Keep credentials on the host. Assignments can then follow the saved authorized end-to-end stop without repeating --allow-delivery. Existing files remain explicit and existing local-only restrictions stay in effect until the operator opts in. An explicit --no-allow-delivery remains local-only; choose a workflow or a delivery flag, not both.
Protected system, workspace/provider and shared-profile constraints always apply. Within those limits: explicit CLI → per-issue settings/cues → personal preferences → shared defaults → host fallback. Host-required checks and deployment verification remain floors. A profile never supplies credentials, executable commands, repository authorization or GitHub access.
The worker fetches a next-attempt preview at connection, pins shared/personal revisions with the issue choice before claim, and revalidates relevant writes and delivery boundaries. Workers and run details show the selected stop, sources, revisions, unsupported stages and missing checks/adapters. GitHub/CI/release access is verified at the actual boundary. Any profile edit stops active delivery at its next authorization check; start a new attempt to adopt it. Retrying an existing prepared delivery preserves its original evidence. Older workers cannot ignore a configured shared profile and need upgrading. Settings show recent shared and caller-owned history.
MCP get_agent_delivery_profile takes profileId. update_agent_delivery_profile also takes scope (workspace or personal), expectedRevision, expectedSharedRevision and settings. Both revisions must match; conflicts require reload and review. Personal settings accept mode, validationRequired, deploymentRequired and requiredChecks. Shared settings wrap these in defaults and add limits with maxMode, validationRequired, deploymentRequired and requiredChecks. No user/workspace selector can replace authenticated ownership; managed executions cannot change their own profiles.
GraphQL exposes agentDeliveryProfile(workspaceId, profileId) and updateAgentDeliveryProfile(workspaceId, input). The management CLI provides velocity agents delivery-profile --profile-id codex and velocity agents update-delivery-profile --input @profile.json; select the authorized workspace normally. Run details expose the frozen workflowSelection separately from delivery progress.
Per-issue workflow choices
In issue details, open Agent workflow before choosing an assignee. Set the stop point and named host checks, or clear overrides to restore inheritance. The last attempt shows its pinned revision, resolved policy and value sources.
For a worker configured with --workflow, add "issueOverrides": true at the top level of the private configuration file to let issue choices replace its defaults. Without this operator opt-in, the explicit CLI workflow takes precedence. Required host checks, workspace policy and role restrictions still apply. Issues select check names; they cannot supply executable commands.
A user can add a top-level paragraph in an issue or a new comment containing one of these exact directives:
/agent-workflow implement and test only
/agent-workflow open a PR but do not merge
/agent-workflow complete delivery and mark Done after verificationUse one directive at a time, or /agent-workflow inherit. The first two resolve to local and PR handoffs with validation required. Complete delivery requests merge, deployment acceptance and Done; only owners/admins can request it and a deployment adapter is required. Structured issue controls take precedence over cues. Quotes, code blocks, attachments, agent comments, imports and API text cannot authorize delivery. Ambiguous directives block new work until resolved in the controls.
Queued work reads the latest revision. Running work keeps its pinned attempt: any workflow edit stops it at the next host authorization boundary before further delivery writes, and requires a new attempt. Once delivery is prepared, reassign the agent to start a new run after an edit; an ordinary retry retains its original evidence. Recover saved changes with velocity-agent repo tasks. Editing or deleting the latest recorded directive revokes it; newer directives are preserved. The issue controls also clear recorded directives. This is delivery steering, not arbitrary live model instruction updates.
Finish a delivery workflow
Worker 0.5.12 can validate changes, commit and link them, open a PR, wait for GitHub checks and required reviews, merge, and close the issue after any required deployment. Coding and delivery have separate recorded states in Agents → the run.
Use the website workflow editor, or --workflow /absolute/path/workflow.json with a private operator file (chmod 600). Existing commands keep their local-only behavior; --allow-delivery remains a PR-only handoff. Choose one delivery option.
{
"version": 1,
"policy": {
"mode": "merge",
"validationRequired": true,
"deploymentRequired": false,
"maxRepairAttempts": 1
},
"checks": [
{
"name": "Repository checks",
"argv": [
"pnpm",
"test"
]
}
]
}Replace the check with the appropriate commands for your repository. Arguments execute directly, without a shell. Supply credentials through your environment, never command arguments. For a low-impact change that needs no checks, set validationRequired: false and provide a meaningful skipValidationReason; the reason is recorded.
The stop modes are local, pr, merge and deploy. Local and PR modes leave an explicit handoff and keep the issue unfinished. Merge/deploy require a workspace owner or administrator. Current permissions, repository mapping, approval settings, emergency stop and delivery limits still apply. The CLI file cannot override a protected workspace limit.
For a product that requires release or deployment, choose deploy and deploymentRequired: true. Configure deployment.deploy and deployment.verify as argument arrays for your existing release and acceptance scripts. Each receives VELOCITY_DELIVERY_SOURCE_SHA. Deploy must print one JSON receipt with sourceSha, artifactId and an HTTPS url without credentials, query parameters or a fragment. Verify receives that receipt on stdin, checks the actual artifact and meaningful acceptance behavior, and prints the same identity plus acceptancePassed: true. Logs go to stderr. Failure or a different source/artifact keeps the issue unfinished. Merge-only mode does not claim a production release.
Use Stop delivery on the run page to stop an unfinished workflow, including after coding has completed; the runner owner or a workspace administrator can do this. CI waits release the coding session. Keep the same runner polling, or restart it with the same account, workspace, repository links and workflow file. A changed workflow does not upgrade a pinned job. Confirm a crashed process is stopped before using velocity-agent repo recover for its owned checkout lock; dirty work and branches are preserved.
If delivery continues elsewhere, open Delivery continuations on the original run and link the specific successor run, pull request or follow-up contact. Successor runs link back to their origins. A completed coding turn or an issue marked Done does not verify deployment; the original execution result remains visible alongside its continuation.
For a Vercel deployment completed outside the run, an owner or administrator can run the preset’s vercel-verify command with --external-receipt, then submit its successful receipt using velocity-agent workflow record-delivery --workspace WORKSPACE --run RUN_ID --pr PR_URL --receipt FILE. The server confirms the exact merged source, successful checks, required reviews and origin backlink. Artifact links identify the immutable deployment. Recording acceptance retains the original run result and does not close the issue.
When no new source changes are needed
Worker 0.5.40 can reuse a same-issue, exact-source accepted delivery after rechecking the merged PR’s checks, required reviews and pinned host acceptance verifier. No empty commit, duplicate PR or deployment is needed. Without sufficient proof, the run stays open with DELIVERY_NO_CHANGES.
Open Review existing work on the run, select its actual earlier delivery or linked PR, and run the displayed velocity-agent workflow verify-existing command from the linked repository on the original worker host. Add the original private --workflow file if one was used; its command digest must match. The command locks the preserved worktree, reruns pinned validation and only the acceptance verifier, then records fresh evidence. The original requester must explicitly accept in the browser within 15 minutes. Completion adds one comment and marks the issue Done together, preserving the coding outcome and earlier handoff with links to the actual delivery. Current permissions, requirements, ownership, policy and minimum worker versions still apply. Local and PR handoffs retain their selected stop.
Relevant validation and CI failures can queue up to maxRepairAttempts additional native turns (0–3, default 0). Repairs retain the original runtime deadline and use normal claim/concurrency checks. Exhausted repairs become Blocked with the reason and preserved work. A provider outage waits for a later poll. No request bypasses GitHub branch protection or required reviews.
An approval does not clear outstanding review findings. Delivery rechecks current conversations and standing change requests before merging, even when a reviewer check is neutral or skipped. Address the finding and resolve its conversation on GitHub; the worker rechecks the same PR. Unreadable review evidence waits for a complete read.
To require an automated reviewer such as Cursor Bugbot, list it under Required reviewers in the GitHub integration settings as app-slug/Check name, for example cursor/Cursor Bugbot. Delivery then waits, as Review required, until that app reports its own check on the pull request's current commit. A reviewer that never started or ran only on an earlier commit is never counted as skipped, and local-only validation does not waive it. A neutral or skipped result is accepted once its annotations are read and none is a warning or failure.
Done requires recorded validation or a skip reason, exact-commit CI/review evidence, a confirmed merge, any required verified deployment, and one completion comment committed together with the issue transition. Per-profile web configuration is tracked separately. Authorized per-issue choices can refine the operator file when it opts in with issueOverrides.
Run history
Run history records the trigger, runtime, outcome, token usage and cost. A run waiting for approval keeps its checkpoint and usage totals. Pending actions are shown separately with their expiry and preview. If an execution expires or an approved write has an uncertain outcome, inspect the issue and GitHub before starting a new run.
Native model usage and cost
Worker 0.5.15 records resolved models and available cached-input, cache-write and output categories in the run detail page. API-equivalent estimates show their pricing source, verification date and missing data. Actual reported charges are separate; native subscription sign-in does not establish an additional invoice or marginal subscription charge. Native model usage does not consume Velocity AI credits. Unknown historical costs remain unavailable.
Configure a waiting worker on the website
Install the verified worker release linked in the worker installation guide, then run velocity-agent login, then velocity-agent run. You can focus on one approved workspace with --workspace ID_OR_SLUG. Account-wide consent is not required.
Open Agents → Local workers in your workspace. Expand your worker’s row for a short summary, then select Edit settings to open its settings dialog. Fix setup opens the relevant problem directly; View details opens the full read-only details. The same controls are in Settings → Agents → Workers.
In Setup, choose an execution method, team, linked repository/project and optional model/effort, then select Save and start. Delivery contains the host workflow; Profiles contains delivery preferences; Details shows versions and runtime checks. Claude Code, Codex, Grok Build, Muse Code, Cursor and Antigravity have local execution adapters. Each still needs a compatible installed CLI and its own authentication. If several runtimes are detected, select one. An unconfigured worker stays connected and waiting.
Native execution uses the runtime’s own sign-in. Sign in separately with codex loginor claude auth login; Velocity never signs you in automatically or uploads provider secrets. Anthropic API execution needs ANTHROPIC_API_KEY on the worker; supplying an API key for Claude Code selects its SDK execution path. Configured authentication is not proof of model access; catalog and execution checks still apply.
Explicit CLI flags override website values. Omitted flags preserve the selected provider and execution method. Fields marked CLI option show the explicit value and cannot be changed on the website. Remove the corresponding option when restarting to give the website control. Use --no-allow-delivery to keep commits local or --no-single-checkoutto require task worktrees. Shared workspace restrictions remain authoritative.
A save stays pending until the worker acknowledges the saved revision. Needs attention lists the reported setup problems. Open Fix setup to review the runtime’s reported cause and next action; detection or saved sign-in alone does not prove access or remaining quota. Idle workers apply updates on the next poll; active tasks keep their execution settings until they finish. An offline worker must reconnect before applying updates. Conflicting saves preserve your draft; Reload settings fetches the latest revision for review. Older workers display applied revision not reported until upgraded.
Link a new private checkout once with velocity-agent repo link. The website selects among declared links; private checkout paths and credentials stay on the machine. The machine owner can save executable workflow commands on the Delivery tab or use a private host workflow file. Commands execute on the worker, so keep secrets in its environment. Full delivery needs the required validation, deployment and acceptance adapters; delivery preferences alone cannot supply them. See the host workflow setup steps.
Each workspace has its own settings and heartbeat. The worker refreshes inventory every minute, heartbeats every 15 seconds and appears offline after 90 seconds without contact. Pause, Stop and configuration edits take effect between tasks. Missing sign-in, unsupported model/effort pairs, unavailable runtimes, disconnected servers and missing repository links leave work pending. Check the terminal, correct the selection or relink the checkout, and the worker retries automatically.
Shared workspace controls
Worker 0.5.7 reads Settings → Agents → Loops before starting work and before each claim. Emergency stop or a different provider or hosted execution preference leaves the local worker waiting. It keeps queued work pending and never switches your agent, model or billing method automatically.
Each authorized workspace has its own controls and event cursor. Committed policy changes are checked at five-second heartbeat and safe execution boundaries, with settings refresh within 30 seconds while polling. Unavailable or revoked controls prevent new work and interrupt an active task. Changes are preserved; current controls are checked again before committing, delivery and the final result. The server must support get_agent_loop_settings. Existing model and repository settings remain in force; disabling shared controls does not requeue stopped runs.
Require isolated worktrees to keep code changes away from a shared checkout. A worker using --single-checkout, an API worker or an older/hosted worker waits rather than bypass this requirement. Local changes only prevents managed GitHub delivery even with --allow-delivery. Existing delivery permissions never grant push access unless you also authorize it locally. The runner refreshes these limits before committing, pushing and opening a pull request; local branches and changes are preserved when access changes.
Reorder priorities in Loops to choose which eligible queued work agents take first. Local API, Claude Code, Codex and hosted queues apply the published order before their batch limit; due dates and age break ties. Changes apply on the next queue poll and leave running tasks alone. Disabling shared controls uses the default Urgent-to-None order and keeps your saved order for the next apply.
Continue owned work first
Before selecting new queued work, workers check for eligible runs on In Progress issues assigned to their agent. Pending owned work is returned first. Already leased work stays with its owning worker and preserves configured concurrency. Native workers stay within their selected team and execution method. The Todo-only setting selects new work; it also allows an existing queued assignment to continue its agent's In Progress issue. Explicit status lists, project/team scope, provider permissions, worktrees, runtime limits and emergency stop still apply.
Assign an issue to Codex or Claude, or mention the agent in a comment, to queue a run. Moving an unassigned issue to Todo does not queue it automatically. Blocked, review, waiting and terminal issues are skipped. Failed or cancelled runs require an explicit retry; polling does not restart them. Existing workers receive this server-side behavior without an upgrade.
Model defaults and protected limits
Loops supports separate defaults and allowed model IDs/effort levels for Codex, Claude Code and the local Anthropic API executor. Blank defaults preserve provider configuration. Explicit CLI flags take precedence over issue choices, then workspace defaults, then worker/provider defaults; every choice must satisfy the workspace allowlists. These controls never silently switch to another model. Local runtimes validate the selected model and effort before claiming; unavailable metadata, auth or choices leave work queued. Claude Code effort requires a model; API effort and hosted model policy are explicitly unsupported. Use resolved model IDs in allowlists.
Model policies require a compatible worker. Older workers wait when they cannot verify the protected receipt. Running and approval-resumed attempts keep their pinned model; tightening an allowlist stops incompatible active work at its next authorization check. Default-only edits affect future work. Provider credentials stay local or in their existing secret storage and never appear in policy responses.
Daily run quotas
Set an optional daily run cap for the whole workspace and for each provider. Blank means no additional cap; zero stops new claims. The server counts each run’s first successful claim once per UTC day under the shared workspace lock, across legacy, local and hosted workers. Failed runs still count; retries with a new run count again. Approval resumes and renewals do not double-count, and deleting a run or disabling controls does not refund usage. Existing work can finish when a quota is exhausted. Reload Loops to see current usage. Workers explain the quota wait and resume admission after UTC rollover or an authorized limit change.
Daily run quotas and elapsed runtime are resource budgets. They do not promise a hard provider charge or token ceiling: native subscription/API usage cannot provide that guarantee. Those capabilities remain explicitly unavailable, and hosted billing keeps its existing platform credit/budget authority.
Request protocolVersion: 5 to read or write modelPolicies and dailyRunLimits, including capability support and current UTC usage. Apply the complete settings with both revisions. The management CLI exposes the same contract through vel agents loop-settings --protocol-version 5 and vel agents update-loop-settings --input.
Runtime budget
Set Maximum elapsed runtime in Loops to 60–1800 whole seconds, or leave it blank to keep existing provider timeouts. Time starts when the run is claimed and includes approval pauses. Applying a shorter budget also bounds active runs. Raising, clearing or disabling the limit never extends a deadline already committed for a run. Provider timeouts can stop sooner.
The server rejects expired claims, renewals, managed actions and final results. Existing workers interrupt execution on their next five-second heartbeat; owned local changes are preserved. This is an elapsed-time limit, not a provider spending, token or quota guarantee. No worker upgrade is needed. Existing clients preserve the separately published budget.
Request protocolVersion: 4 with get_agent_loop_settings or the GraphQL settings query to include maxRunSeconds. To apply, send the complete protocol-4 settings and both current revisions; use a number from 60 to 1800 or null. For the CLI, use vel agents loop-settings --protocol-version 4and vel agents update-loop-settings --input with that complete JSON envelope. Protocols 1–3 keep their existing response shape and preserve the saved budget on writes.
API and MCP clients request protocolVersion: 2 to read or update execution controls, or protocolVersion: 3 to include priorityOrder, all five priorities in preferred order (0 Urgent, 1 High, 2 Medium, 3 Low, 4 None). Both current revisions are required for updates. Older clients retain the claim-only contract until execution restrictions are activated, then receive an upgrade error. Existing private worktree/delivery/priority drafts are never activated automatically. Older settings clients preserve the published priority order when editing their known fields. Existing workers follow server ordering without a worker upgrade. Protocols 1–4 preserve separately published model policies and daily quotas.