Skip to content

Fullsend CLI ​

The fullsend CLI manages the complete fullsend lifecycle: provisioning GCP infrastructure, configuring GitHub, enrolling repositories, and running agents locally.

Installation ​

Download the latest binary from GitHub Releases. For detailed setup instructions, see Getting Started.

To update an installed binary later, run fullsend self-update.

Command groups ​

Command groupDescription
fullsend agentGenerate a custom agent and manage agent registrations — new, add, list, set, update, remove
fullsend githubConfigure GitHub repos — setup and single-value config updates
fullsend inferenceManage inference credentials — GCP Workload Identity Federation for Agent Platform, OpenAI WIF enrolment for GPT on pi or codex, and gateway status to check an inference gateway block and its authentication
fullsend mintDeploy and manage the OIDC token mint service
fullsend reposManage per-repo installations at scale via declarative manifest

Additional commands ​

CommandDescription
fullsend runExecute an agent locally in a sandbox. See running agents locally.
fullsend review-dedupDecide whether an unchanged synchronize event can skip review, publish the skip note, or supersede an earlier skip note.
fullsend prepareResolve an agent's sandbox image as fullsend run does, pre-pull a private image with the CI job's registry credential (ghcr.io on GitHub Actions, CI_REGISTRY on GitLab CI) as run does, and create and delete a restrictive preflight sandbox, which makes the gateway pull the image. Run it once before many parallel runs. --json prints the resolved image, architecture, and result.
fullsend pollDiscover forge events and dispatch agent pipelines. --forge gitlab runs the cron poller (ADR 0067); events-mode polling also recovers issue opens whose webhook delivery was missed. --input-driver jira-poll polls Jira (see Jira integration). It matches each Jira event against the harness triggers of the agents that config makes effective. These are the built-in triage and code agents (review, fix, retro and prioritize are never dispatched from Jira) selected by the effective roles: setting and not disabled by agents:: omitting roles, setting it to null, or leaving a bare roles: key all inherit the parent/default selection, while an explicit roles: [] selects none. Built-ins are resolved from the fullsend-ai/agents release that matches the CLI version as fullsend run resolves them, with the GitHub token fullsend run uses when one is available; agents registered with a source: are also included (Check which agents handle Jira events). It reads the Jira site, API gateway, projects, and query only from the effective entity-source configuration: the source translated from tracker.jira (base_url and project required), which becomes connections.jira and the jira source; or Jira entity_sources entries with discovery that enabled agents bind (the removed --jira-url, --jira-project, and --jql flags are rejected). It authenticates with FULLSEND_JIRA_TOKEN (plus FULLSEND_JIRA_EMAIL for a bot user) or with OAuth 2.0 client credentials via FULLSEND_JIRA_CLIENT_ID and FULLSEND_JIRA_CLIENT_SECRET. Those credentials are used only for the default connection, connections.jira, declared explicitly or translated from tracker.jira, after its base_url and api_url are verified as https URLs and its site's cloud ID is looked up without credentials; a source on a Jira connection with any other name is refused, and explicit sources are refused when enabled agents bind different entities.source lists. It skips the cycle unless a selected source permits discovery (tracker.jira.poll.enabled is true for the translated source); by default it writes dispatch records (--output) for a GitHub repository (--target-repo, an owner/repo slug; one that contains .. is refused), and with --target-forge gitlab it starts the protected agent pipelines of the GitLab project named by --project (full path, nested groups allowed; default CI_PROJECT_PATH) on the https --gitlab-url instance, through the same signed, typed-input dispatch route and Poller credential as the GitLab poller, advancing a Jira issue's checkpoint only once its pipelines are created (GitLab runtime). --input-driver gitlab-webhook is the GitLab dispatcher job's webhook fast-path (ADR 0125). It reads the native webhook body from the file-type TRIGGER_PAYLOAD variable, re-validates it against the GitLab API, and creates each routed stage's pipeline (typed inputs, FULLSEND_DISPATCH_SECRET HMAC) with the poller-role credential (the api route, the default). Scheduled cron polling and the webhook fast path run as the trigger-only service account: once its dispatch activation is recorded, the managed webhook carries the account's pipeline trigger token (#8509), the scaffold sets FULLSEND_GITLAB_DISPATCH_ROUTE=child-pipeline, and the command instead starts each pipeline with the job's own CI_JOB_TOKEN through the pipeline trigger API (source=pipeline); an unknown route, or child-pipeline without CI_JOB_TOKEN, fails closed. fullsend poll --forge gitlab --print-dispatch-routes prints the routes the CLI supports (api and child-pipeline) and exits; the scaffold runs it before selecting child-pipeline, and a CLI that predates the route rejects the flag, so the job stops before any dispatch. It requires --project, which has no CI_PROJECT_PATH fallback. It deduplicates against the poller's per-mode state on the fullsend-poll-state-slash and fullsend-poll-state-events branches, so an event the webhook dispatched is not dispatched again by the poller, and the reverse. Shared poller state is occurrence-aware (label additions are keyed on the resource label event ID, dispatched keys are retained for the webhook freshness window, and a failed label dispatch is handed back to the poller as a pending retry); legacy persisted keys keep working. Older pollers do not recognise the new label keys, so before a rollback or mixed-version run, follow the ADR 0132 guidance to drain in-flight poll jobs or pin every poller to one version. Both GitLab drivers dispatch the fix stage only for a changes-requested marker note authored by the registered Analyst, whose numeric user ID the scaffold exports as the job-local FULLSEND_GITLAB_ANALYST_USER_ID.
fullsend dispatchEvaluate harness CEL triggers for one forge event and print the dispatch matrix (--output-driver gha-matrix or json); used by the dispatch workflow's Harness dispatch job. --route <agent> (review, retro, triage or prioritize) instead decides routing for that built-in agent and prints one JSON line, {"agent":"<agent>","decision":"run|skip|bash","reason":"…","harness":"config:<source>|agents@<sha>"} (harness is optional: it is omitted when the harness cannot be resolved or the decision did not need it, as for bash): run or skip when the repository set agents[].trigger on the agent's entry (Choosing when review runs, Choosing when retro runs, Choosing when triage and prioritize run), bash to leave the decision to the workflow's built-in rules. Built-in agents resolve from a configured Forgejo instance when FULLSEND_FORGEJO_URL is set, as in fullsend run. The dispatch workflow's Route job runs it. With --input-driver gha-event, a GitHub bot actor's registered fullsend role is looked up first through the mint (a layered mint_url, else FULLSEND_MINT_URL) with the job's Actions OIDC token, so the job needs id-token: write (ADR 0107); label-added events skip the lookup, and an unregistered bot or a failed lookup is denied (an empty matrix, or a skip decision) rather than failing the command. An absent config falls back to FULLSEND_MINT_URL, but a config that fails to load or parse is a failed lookup, not a fallback. --input-driver forgejo-event maps a Forgejo Actions event payload (FORGEJO_EVENT_PATH, bound to FORGEJO_SERVER_URL and the repository); it is the default when FORGEJO_ACTIONS or GITEA_ACTIONS is true, even when GITHUB_EVENT_PATH is also set. This changes the default for pipelines on Forgejo or Gitea runners that relied on the implicit gha-event driver; pass --input-driver gha-event to restore the previous behavior. No Forgejo permission lookup is wired yet, so its events are denied by the authorization gate (Forgejo adapter notes).
fullsend bot-roleResolve the registered Fullsend role (ADR 0107) of the actor that produced a comment on the entity the run handles (--entity <entity.id> --comment <action id>) — a harness pre-/post-script helper: fullsend run starts the loopback bot-role helper and hands the scripts FULLSEND_BOT_ROLE_URL/FULLSEND_BOT_ROLE_TOKEN and the entity's canonical ID as FULLSEND_ENTITY_ID, so scripts learn a comment's bot role without touching the OIDC token. The answer is for the comment's current-revision actor (the last editor of an edited comment). Prints the registered role or no_match and exits 0; a lookup that cannot be completed, a comment on another entity, or a run with no trusted lookup (GitLab and Jira today, and any run with no mint URL, no Actions OIDC environment, or no resolvable GitHub entity) exits non-zero with empty stdout, so callers fail closed. See Bring your own agent.
fullsend lock [agent-name]Pin remote dependencies to lock.yaml. If lock.yaml exists but cannot be parsed or declares an unsupported version, the command exits without writing and leaves the file unchanged. An entry is stale when the harness file or the harness: block of the agent's agents: entry has changed. When it composes a harness (a new or stale entry, or --update), it also prints the harness diagnostics, including reserved env.sandbox keys. A current entry is not composed, so its keys are not checked, and lock composes without event context, so keys from event-guarded overlays are reported only by fullsend run. A harness whose runtime fetch service can start (allow_runtime_fetch: true, URL-sourced skill or plugin directories, or a bare, deprecated allowed_remote_resources declaration) must have every harness-level allowed_remote_resources prefix covered by the config-level allowlist — config.yaml's allowed_remote_resources plus the built-in default prefixes (the defaults are included when the list is omitted or non-empty; an explicit allowed_remote_resources: [] stays deny-all and excludes them); lock fails naming an uncovered prefix, and fails closed when no repository config (config.yaml or config.base.yaml) exists. With a harness: block on the agent's entry, the prefixes checked are the ones the block sets.
fullsend lintLint config.yaml and agent harness definitions — deprecations, misconfigurations, and file checks, with diagnostics for each enabled agent, or for one agent with fullsend lint <agent-name>. See fullsend lint, and Checking a trigger before you merge for a walkthrough.
fullsend scanRun security scanners on agent input/output
fullsend self-updateUpdate the local fullsend binary to the latest release, or to --version, after verifying the release's Sigstore signature and checksum.
fullsend eval-measureScore wild-run traces into eval-measurements.jsonl. See Eval measurements.
fullsend prepare-artifactsBuild, in --artifact-dir, the filtered copy of a run's --output-dir that CI uploads as the run artifact. The level (all, metadata or none) comes from config.yaml's artifacts setting and the run's source; a run whose source is unknown gets the strictest configured level. Prints the level on stdout and the rule it applied on stderr. If the level cannot be resolved, it leaves --artifact-dir empty and exits non-zero. action.yml and the GitLab agent job run it after eval-measure. See Run artifacts and private data.
fullsend issues transitionTransition an issue: exactly one of --state closed, --state started (Jira), --transition NAME (Jira), or --status NAME (Jira). Jira --state selects by status category and returns a skip listing the candidates when no single transition fits. Accepts --resolution ID_OR_NAME (Jira) and --comment TEXT, plus the existing --tracker, --project, --number, --fullsend-dir, and --token flags. See Issue transitions for permissions, ambiguity handling, and partial failures.

Global flags ​

All commands that interact with GitHub resolve authentication via GH_TOKEN, GITHUB_TOKEN, or gh auth token (in that order). Explicit token flags such as --token and --forge-token override the chain. For GitLab, set GITLAB_TOKEN or pass --gitlab-token to repos subcommands. The CLI runs preflight checks and tells you exactly which OAuth scopes are missing before making any changes.

For built-in agent lookup during Jira polling, the shipped GitHub workflow passes its read-only job token as GH_TOKEN. On GitLab, configure a masked, protected GITHUB_TOKEN CI/CD variable. Without a GitHub token, the lookup shares the anonymous API rate limit with other jobs using the same public IP address. See GitLab Jira polling requirements.

For the complete command tree with implementation details, see CLI internals.