fullsend repos
Manage per-repo installations across multiple orgs via a declarative repos.yaml manifest. Compare the manifest's desired state against actual forge state and report installation status and configuration drift.
Global flags
These flags are inherited by all repos subcommands:
| Flag | Default | Description |
|---|---|---|
--gitlab-token | GitLab personal or project access token (overrides GITLAB_TOKEN env var) |
Commands
| Command | Description |
|---|---|
fullsend repos install [repos...] | Converge repos to the desired state defined in a manifest |
fullsend repos uninstall <repos...> | Tear down fullsend from repos and remove from manifest |
fullsend repos status | Compare manifest against actual repo state |
fullsend repos set-default <key> <value> | Set or remove a platform-level default in repos.yaml |
The former repos migrate <org> command (per-org to per-repo migration) has been removed along with per-org installation.
repos install
Converge repos to the desired state defined in a manifest. This is the primary command for managing per-repo installations — it handles adding repos to the manifest, provisioning new repos, repairing component drift (workflow, thin callers, variables, secrets, pipeline schedules, GitLab poller protected-ref pipeline access — a disabled GitLab schedule is reported as drift and reactivated only when --reactivate-schedules is passed; typed GitLab jobs require verified no_one_allowed before template delivery, even with FULLSEND_GITLAB_PIPELINE_VAR_RESTRICTION=enforced — see GitLab Role-Credential Contract), repairing scaffold content drift (including structural rewrites of .gitlab/ci/fullsend-pipeline.yml at an unchanged template ref, and removal of a leftover .gitlab/ci/fullsend-dispatch.yml from installs predating #7707), and upgrading scaffold refs.
GitLab version pins require an upstream GitHub client to fetch matching templates; unavailable templates are an error, not an embedded fallback. GitLab vendor mode is rejected because its installer does not run a matching vendored binary. Legacy variable-based wrappers retain their compatible project setting. Typed activation migrates managed schedules off pipeline variables while preserving disabled schedules and unrelated user settings.
When the manifest file does not exist and positional repo arguments are provided, repos install bootstraps a new manifest (version: 1), adds the specified repos, and writes the file. The --forge flag is required in this case, and so is --inference-auth (a new manifest has no inherited inference authentication selection). This enables a greenfield setup without manually creating the YAML first.
Runs in two phases:
- Manifest add — repos specified as positional arguments that are not already in the manifest are added (
--forgeis required when the target platform cannot be inferred). Per-repo overrides (--vertex-region,--fullsend-ref,--mint-url,--app-set,--inference-auth) are written to the manifest entry. Per-repo config fields such asruntimeandallowed_remote_resourceshave no install flag; declare them in aconfigsection of the manifest (see below). When--inference-authis omitted and neither the forge section nordefaultsselects an inference authentication method, install fails before the manifest is written. - Converge — all manifest repos are converged through a unified probe → diff → apply pipeline. Repos whose shim workflow is not yet on the default branch are freshly installed (scaffold files, variables, secrets, a declared configuration preset as
.fullsend/config.base.yaml, and a canonical managed.fullsend/config.yaml) onto the initialization branch (fullsend/scaffold-install). That includes a re-run while the initialization PR/MR is still open: variables and secrets may already exist from the first run, but the installer still updates the same initialization PR rather than opening a competing upgrade PR. Repos whose workflow is already on the default branch are checked for drift (workflow, thin callers, variables, secrets, pipeline schedules, GitLab poller protected-ref pipeline access — repaired automatically, except a disabled GitLab schedule, which is reported as drift and reactivated only with--reactivate-schedules; typed GitLab dispatch's required pipeline-variable restriction and managed schedule-variable migration), scaffold content drift (repaired automatically, including structural rewrites of.gitlab/ci/fullsend-pipeline.ymlat an unchanged template ref, and removal of a leftover.gitlab/ci/fullsend-dispatch.ymlfrom installs predating #7707), declared configuration-preset drift against.fullsend/config.base.yaml(replaced wholesale;.fullsend/config.yamlis preserved), managed.fullsend/config.yamldrift (replaced wholesale; an existing file without the ownership marker stops install before any writes until it is adopted), and scaffold ref drift (upgraded automatically). When no configuration preset resolves for a repo, the desired state is no.fullsend/config.base.yaml. An existing base file then stops that repo's fresh or repeat install, including--dry-run, before any writes, with an error telling you to declare aconfig_basesource or remove the file.
defaults.config, github.config, gitlab.config, and per-repository config declare a sparse typed managed configuration for .fullsend/config.yaml (ADR 0122). Each accepts every per-repo config field, including runtime and allowed_remote_resources. Each field resolves through code defaults, the selected config_base preset, defaults.config, the repository's forge section config (github.config for GitHub repositories, gitlab.config for GitLab ones), and then the repository entry's config (glob entries included), using that field's normal layered merge rule: a more specific scalar wins, nested maps merge key by key, allowed_remote_resources unions a non-empty list with the inherited prefixes, and an explicit empty list (for example allowed_remote_resources: []) replaces the inherited value. Because the managed file is sparse and cannot record that reset, manifest validation rejects a non-empty allowed_remote_resources list declared in a more specific layer than an explicit empty one (for example defaults.config [] with a non-empty github.config or repository list) unless the most specific declared list is itself empty, which denies every remote resource whatever the earlier layers say; declare the full list in a single layer instead. Omitted values inherit and are not written into the managed file. Every repository selected from the manifest has a managed .fullsend/config.yaml; no config key is required. With no config declared, install renders the canonical sparse file carrying only the ownership marker (omitted values still inherit from a declared preset and the code defaults). Unknown fields and invalid values fail validation with an error naming the section (for example github.config or github.repos[acme/api].config). This is not config_base, which copies a preset to .fullsend/config.base.yaml. Every managed file carries an ownership marker; a pre-existing .fullsend/config.yaml that lacks the marker is reported by repos status as "managed configuration (adoption required)" rather than ordinary drift, and install stops with an error before any manifest or forge write, leaving the file untouched, until it is adopted (manually edited to carry the marker, or replaced with the rendered managed body). This applies even when the repository has no config key. Once a file carries the marker, install writes the canonical sparse file, repos status reports whole-file differences as drift, and convergence rewrites it. On a first install with no overlay yet, install records install-time choices in the repository's repos.yaml entry before rendering, so the manifest stays the source of truth: with no config_base preset and no explicit create_issues declaration it writes config.create_issues.allow_targets.repos: [fullsend-ai/fullsend] (the target repository is always allowed and is not listed), and an explicit --roles value is written to config.roles even when it equals the inherited or default roles. A glob-covered repository gets its own entry copied from the glob; --dry-run shows the change without writing. If the manifest is an HTTPS URL or cannot be written, install fails before any manifest write or forge write and prints the exact entry or config edit to make in the manifest source, for repositories already in the manifest, covered by a glob, or not yet listed. See Repo Management — Managed configuration. Before any write of a managed file, install and converge also compare the candidate and current effective configurations through the full runtime accessor chain (kill_switch, roles, allowed_remote_resources, agent enabled: false suppressions, create_issues.allow_targets, inference.gateway.url, and inference.gateway.audience). A less-restrictive candidate is rejected unless the manifest explicitly declares that relaxation; a change to either inference.gateway field, including a preset introducing a gateway where an established installation has none configured, must be declared in the manifest; status and install output identify the affected keys. Adding a config_base preset to a repository that has no base file is compared the same way (an absent base is an empty layer), even when its managed overlay is unchanged. A pristine first install (no Fullsend installation, no overlay and no base) has no current effective configuration to relax, so it inherits permissions such as create_issues targets from its declared preset without a safety rejection. A fresh install that adoption or the safety gate blocks stops before any forge file, variable, secret or PR/MR write, in a dry run and a live run alike, and fails with an error.
version: 1
defaults:
config:
runtime: pi
kill_switch: false
github:
config:
allowed_remote_resources:
- https://example.com/agents/ # GitHub repositories only
repos:
- name: acme/api # inherits defaults.config
- name: acme/special
config:
kill_switch: true # repository values win
- name: acme/plain # no config key: still managed (sparse, marker only)fullsend repos install -f repos.yaml
fullsend repos install --dry-run
fullsend repos install acme/api acme/web
fullsend repos install "acme/*" --direct --concurrency 8
fullsend repos install acme/new-repo --forge github --inference-auth vertex-wif --directWhen repos are specified as positional arguments, only those repos are processed. Glob patterns (e.g. acme/*) are matched against manifest entries. When no repos are specified, all manifest repos are converged. Credentials are required only for the forges of the selected repos: a GitLab-only selection does not need GH_TOKEN, and a GitHub-only selection does not need GITLAB_TOKEN. An unfiltered run still requires credentials for every forge present in the manifest.
DCO sign-off
Repositories that enforce the Developer Certificate of Origin reject commits without a Signed-off-by trailer. repos install can add one to every scaffold commit it creates or updates — fresh installs, re-runs of an open initialization PR/MR, drift repair, and upgrades — on GitHub and GitLab, for both direct (--direct) and PR/MR delivery. The trailer names the user who owns the installing token, resolved from the forge's authenticated-user API (Signed-off-by: Name <email>). When the profile has no name, the login is used. When it has no public email, the forge's noreply address is used.
Enable it with a boolean signoff in repos.yaml, at any of three levels:
version: 1
defaults:
signoff: true # every repo
github:
signoff: false # overrides defaults for GitHub repos
repos:
- name: acme/api # inherits github.signoff (false)
- name: acme/dco-repo
signoff: true # repo entry wins over its forge section
gitlab:
repos:
- name: group/project # inherits defaults.signoff (true)
signoff: false # explicit false disables an inherited trueA repo entry (or the glob entry that matches the repo) takes precedence over its forge section (github or gitlab), which takes precedence over defaults. Signoff is off when no level sets it. Passing --signoff or --signoff=false on the command line overrides every manifest level for that run only and is never written to repos.yaml.
When signoff is enabled for any selected repo, the identity is resolved once per forge before anything is committed. A missing identity, such as a GitHub App installation token that cannot read /user, or an identity without a name or email fails the install before any scaffold commit is made. --dry-run runs the same identity check and reports the trailer that would be added. When signoff is disabled, no trailer is added and no identity lookup is made. Uninstall commits (file deletions) do not add a trailer.
Inference authentication selection
Every repo that repos install converges or repos status checks must resolve an explicit inference authentication method, inference.auth. Three values are accepted:
| Value | Meaning |
|---|---|
vertex-wif | Vertex AI through GCP Workload Identity Federation |
openai-api-key | OpenAI through an API key |
openai-wif | OpenAI through Workload Identity Federation (GitHub only; see OpenAI Workload Identity) |
inference.auth can be set under defaults, in a forge section (github / gitlab), and on repo or glob entries. Resolution goes entry → forge section → defaults, using the normal entry matching rules: an explicit entry wins over a glob, and among globs the first match wins. A value on one entry never affects sibling repos. Only the selection is stored. Credentials, GCP values, and secret references do not belong under inference, and unknown keys there fail validation.
version: 1
defaults:
inference:
auth: vertex-wif
github:
repos:
- name: acme/api
- name: acme/openai-svc
inference:
auth: openai-api-key
gitlab:
url: https://gitlab.example.com
inference:
auth: openai-api-key # every GitLab repo unless its entry says otherwise
repos:
- name: group/projectThere is no implicit default. When no level selects a method, repos install (convergence) and repos status report a per-repo configuration error: no inference authentication selected for <repo>. The error names the levels where inference.auth can be set. Install reports it before any forge mutation for that repo, and other repos in the run still converge. An invalid value fails manifest validation. repos uninstall does not need the setting and does not validate its value, so a missing or invalid selection never blocks teardown.
--inference-auth takes the same three values (openai-wif is GitHub only). It has the highest precedence, because it is persisted as inference.auth on each selected manifest entry:
- New entries (repos added by this command) always get the flag value pinned on the entry, even when it matches the inherited value. Without the flag, a new entry carries no
inference.authof its own and inherits from the forge section ordefaults. If neither provides a value, install fails before writing the manifest. - Existing entries selected by the positional arguments (or every entry, in both forge sections, when no repos are given) are updated in place. A concrete repo that is matched only by a glob entry gets its own explicit entry, copied from that glob, so its siblings keep their selection.
defaults, forge sections, and unselected entries are never changed.--dry-runapplies the selection in memory only.
Because the override is kept at repo scope, later repos status and repos install runs resolve the same desired state without the flag. To change a forge-wide or global selection, use repos set-default with github.inference.auth, gitlab.inference.auth, or defaults.inference.auth.
Upgrading existing manifests
Older manifests have no inference.auth, and they are not treated as Vertex. Until a selection is added, repos install and repos status report every affected repo as misconfigured. Before upgrading, add the method each repo actually uses. For example, to keep the previous Vertex WIF behaviour for every repo:
fullsend repos set-default defaults.inference.auth vertex-wifOr scope it to one forge or one repo:
fullsend repos set-default gitlab.inference.auth openai-api-key
fullsend repos install acme/api --inference-auth openai-api-keyYou can also edit repos.yaml by hand and add inference: {auth: ...} at the level you want.
Inference credentials
Each repo's effective inference.auth decides which credentials repos install provisions and converges for it:
inference.auth | Secrets / CI/CD variables | Inputs |
|---|---|---|
vertex-wif | FULLSEND_GCP_PROJECT_ID, FULLSEND_GCP_WIF_PROVIDER (secrets) and FULLSEND_GCP_REGION (variable) | --vertex-project, --vertex-region, plus --vertex-wif-provider when the project number cannot be derived |
openai-api-key | FULLSEND_OPENAI_API_KEY (GitHub secret or masked GitLab CI/CD variable) | --openai-api-key |
openai-wif | None required. FULLSEND_GCP_PROJECT_ID, FULLSEND_GCP_WIF_PROVIDER and FULLSEND_GCP_REGION are written only when Vertex inputs are supplied, for Vertex sub-agents | Optional --vertex-project, --vertex-region, --vertex-wif-provider |
- Per repo, before any write. Every selected repo is validated against its own method before anything is written. A repo whose method's secrets are missing, with no inputs supplied for that method, fails with an error that names the repo and the parameters to supply. Inputs for one method are accepted when any selected repo uses it; repos with another method ignore them, so a mixed fleet can be installed in one run.
- Reuse and replacement. When no inputs are supplied for a method, existing secrets are reused unchanged, and re-running is a no-op (including while an initialization PR/MR is open). Supplied inputs replace the existing values. On GitLab, an existing
FULLSEND_OPENAI_API_KEYis reused only when it is a masked, protected environment variable (not a file-type variable) with the wildcard*environment scope; otherwise the repo fails without echoing the value, so repair the variable or supply--openai-api-keyto replace it. - No GCP lookups for OpenAI-only repos. OpenAI-only repos get no GCP secrets or region variable. The GCP project number is looked up at most once, and only when a
vertex-wifrepo needs a derived WIF provider. The per-repo WIF provider derivation is unchanged. - Changing
inference.auth. Install writes the new credentials first and only after every convergence step for the repo succeeded deletes the Fullsend-managed secrets of the other method (FULLSEND_GCP_PROJECT_ID/FULLSEND_GCP_WIF_PROVIDERorFULLSEND_OPENAI_API_KEY). If any write fails, the old credentials are kept. The cleanup is attempted on every run once the selected method is established, so a deletion that failed earlier is retried by the next run. GitLab's unprefixedOPENAI_API_KEYvariable is never deleted. --openai-api-keyvalue. Surrounding whitespace is trimmed. On GitLab the key must be storable as a masked CI/CD variable (at least 8 characters fromA-Z a-z 0-9 _ + = / @ : . ~ -, no whitespace); otherwise the repo fails instead of the key being stored unmasked.- Dry run.
--dry-runlists the secrets that would be written or deleted, by name only. It reports credentials that would be kept when the replacement is not yet live or inherited-variable scopes cannot be verified. Values are never printed. openai-wifidentifiers. Anopenai-wifrepo needs a complete set of OpenAI WIF identifiers, resolved like the runtime: when any of theFULLSEND_OPENAI_AUDIENCE,FULLSEND_OPENAI_IDENTITY_PROVIDER_IDorFULLSEND_OPENAI_SERVICE_ACCOUNT_IDActions variables is set (a repository variable wins over an organization variable of the same name, as in the workflowvarscontext), those three variables are the only source and must all be set. Otherwiseinference.openai(audience,identity_provider_id,service_account_id) in.fullsend/config.yamlis used, each identifier falling back to.fullsend/config.base.yaml. The two sources are never mixed. Install accounts for the managed configuration and configuration preset it is about to deliver. A repo with no identifiers or a partial set fails before anything is written, with an error that names the missing identifiers (never their values). The reusable workflows must also forward these variables and must not require GCP secrets the repo will not have (FULLSEND_GCP_PROJECT_IDandFULLSEND_GCP_WIF_PROVIDER, unless the repo already has them or the install supplies them with--vertex-project). Non-vendored reusable workflows are read from the pinnedfullsend_ref, or from the release-default ref when none is pinned; rendered shim and thin callers must grantid-token: writebefore installation can change variables, secrets, or scaffold files. Vendored reusable workflows are checked from the actual vendor source. An established installation with no ref or planned scaffold delivery must have compatible installed workflows. An unpinned OpenAI WIF installation converges its callers to the running release’s upstream ref, including migration from an existinggithub setupinstallation. Otherwise the install is rejected and an existingFULLSEND_OPENAI_API_KEYis kept.openai-api-keyand leftover identifiers. Anopenai-api-keyrepo is rejected while OpenAI WIF identifiers are still configured for it (repository or organization variables, or aninference.openaiblock in.fullsend/config.yamlorconfig.base.yaml), because the runtime prefers WIF over the static key. Remove those user-owned variables or the configuration block before installing; install never deletes them. On GitLab, group and instance variables the caller cannot read (no group Owner or administrator access, or a personal namespace) cannot be verified and are not treated as errors, and a configuration block is ignored.- Switching to
openai-wif.FULLSEND_OPENAI_API_KEYis deleted only once a complete identifier set is live on the default branch. While the identifiers are still in an unmerged initialization PR, the key is kept, and a later run removes it.FULLSEND_GCP_PROJECT_ID,FULLSEND_GCP_WIF_PROVIDERandFULLSEND_GCP_REGIONare never removed from anopenai-wifrepo, so Vertex sub-agents keep working. openai-wifis GitHub only. The token exchange needs a GitHub Actions OIDC token. Selectingopenai-wiffor a GitLab repo (on its entry, in thegitlabsection, or inherited fromdefaults) is rejected before anything is written.--openai-api-keyis command-line only. It is never written torepos.yamland never logged.
GitLab: FULLSEND_OPENAI_API_KEY replaces OPENAI_API_KEY (breaking)
GitLab CI now reads the OpenAI key only from the FULLSEND_OPENAI_API_KEY CI/CD variable. The Fullsend job maps it to OPENAI_API_KEY for fullsend run. There is no fallback: an unprefixed OPENAI_API_KEY CI/CD variable on its own no longer works and does not satisfy the install check or repos status, which reports FULLSEND_OPENAI_API_KEY as missing. Fullsend never deletes the unprefixed variable, not even on repos uninstall, because other jobs may use it. Running fullsend run locally still reads OPENAI_API_KEY.
To upgrade an openai-api-key GitLab project that used OPENAI_API_KEY:
- Provision the prefixed variable. Either run
fullsend repos install group/project --openai-api-key "$KEY", or add a masked, protectedFULLSEND_OPENAI_API_KEYCI/CD variable of type Variable (not File) in Settings → CI/CD → Variables. - Re-run
fullsend repos installso the project gets the updated.gitlab/ci/scripts/run-agent-job.sh. - If no other job uses it, delete the old
OPENAI_API_KEYvariable yourself.
runtime and allowed_remote_resources moved into config (breaking)
runtime and allowed_remote_resources are no longer sibling keys under defaults or a repository entry. Loading a manifest that still uses defaults.runtime, defaults.allowed_remote_resources, or the repository-entry equivalents fails with an error naming the replacement path (for example defaults.runtime is no longer supported; move it to defaults.config.runtime). The old spellings are not migrated automatically and are not accepted as aliases. repos install no longer accepts --runtime or --allowed-remote-resources, and repos set-default rejects defaults.runtime and defaults.allowed_remote_resources; there is no replacement flag.
To upgrade, move each value under the matching config section, then re-run fullsend repos install:
# Before (rejected)
defaults:
runtime: pi
allowed_remote_resources: []
github:
repos:
- name: acme/api
runtime: claude
# After
defaults:
config:
runtime: pi
allowed_remote_resources: []
github:
repos:
- name: acme/api
config:
runtime: claudeA repository-level allowed_remote_resources value now follows the per-repo config merge rule: a non-empty list is unioned with the prefixes inherited from github.config / gitlab.config and defaults.config (previously it replaced the defaults list). Because a repository can only add to inherited prefixes, it can no longer narrow them to a subset; only an explicit empty list (allowed_remote_resources: []) denies every remote resource.
Vertex flags renamed (breaking)
The Vertex AI credential inputs of repos install now carry a vertex- prefix. The old names were removed with no aliases, so passing them fails with unknown flag. Update scripts and CI jobs that invoke repos install:
| Removed | Replacement |
|---|---|
--inference-project | --vertex-project |
--inference-wif-provider | --vertex-wif-provider |
--inference-region | --vertex-region |
The values, validation, WIF provider derivation, and the FULLSEND_GCP_* secret and variable names they write are unchanged. --inference-auth and --openai-api-key keep their names. Other command groups (github setup, admin install, inference) keep their --inference-* flags.
Flags
| Flag | Default | Description |
|---|---|---|
-f, --manifest | repos.yaml | Path or URL to repos.yaml manifest |
--dry-run | false | Preview what would change without making modifications |
--concurrency | 4 | Max parallel operations (1-32) |
--roles | triage,coder,review,fix,retro,prioritize | Agent roles to install. On a fresh install of a repo with a declared configuration preset, the preset's own roles take effect instead of this default unless --roles is explicitly passed on the command line. |
--direct | false | Push scaffold directly to default branch (skip PR) |
--vertex-project | Optional GCP project ID for Vertex inference (written as FULLSEND_GCP_PROJECT_ID secret) | |
--vertex-wif-provider | Full WIF provider resource name (projects/{number}/locations/global/workloadIdentityPools/{pool}/providers/{id}); uses this provider for all repos instead of deriving per-repo providers. Project number is embedded in the path, so no auto-derivation is needed. | |
--forge | Forge type for new repos (github or gitlab). Required when adding repos not already in the manifest; inferred from existing platform sections when unambiguous. | |
--force | false | Allow scaffold ref downgrades |
--reactivate-schedules | false | Reactivate required GitLab pipeline schedules that exist but are disabled (leave disabled by default so off-system polling setups are not silently reverted) |
--vertex-region | Per-repo GCP inference region override (default: global when --vertex-project is set; install-time only, not stored in the manifest) | |
--openai-api-key | OpenAI API key written as FULLSEND_OPENAI_API_KEY to selected repos whose inference.auth is openai-api-key (GitHub and GitLab). Command-line only: never written to repos.yaml and never logged. See Inference credentials. | |
--fullsend-ref | Per-repo fullsend workflow ref override | |
--mint-url | Per-repo mint URL override | |
--app-set | GitHub App set prefix (apps named {app-set}-{role}), persisted as the FULLSEND_APP_SET repository variable for selected repos and recorded as a per-repo manifest override. GitHub-only; rejected when combined with a GitLab install. Must be lowercase alphanumeric with optional hyphens, max 23 characters. Pass none to reset an inherited manifest default back to the built-in fullsend-ai. | |
--inference-auth | Inference authentication method (vertex-wif, openai-api-key, or openai-wif; openai-wif is GitHub only) persisted as inference.auth on each selected manifest entry, new and existing. It overrides forge-section and defaults values for those repos and never changes defaults, forge sections, or unselected repos. Required for new repos when no forge-section or defaults value exists. See Inference authentication selection. | |
--vendor | false | Vendor binary, reusable workflows, actions, and agent content into each repo for offline CI. Can also be set via defaults.vendor or per-repo vendor in the manifest. By default, the binary is auto-resolved from --fullsend-ref; use --fullsend-binary or --fullsend-source to provide it explicitly. |
--fullsend-binary | Path to a pre-built Linux fullsend binary to upload when vendoring instead of auto-resolving (requires --vendor) | |
--fullsend-source | Path to a fullsend source checkout for content and cross-compile instead of auto-detecting or fetching from GitHub (requires --vendor) | |
--signoff | false | Add a Signed-off-by trailer for the authenticated installing user to every scaffold commit (GitHub and GitLab, direct or PR/MR). When passed (--signoff or --signoff=false) it overrides the manifest signoff settings for this run only. Otherwise the per-repo, forge-section, and defaults signoff values apply. See DCO sign-off. |
--gitlab-url | GitLab instance URL (e.g. https://gitlab.example.com); sets gitlab.url in the manifest and implies --forge=gitlab when no forge is specified. Private-CA instances also need runner tls-ca-file / CI_SERVER_TLS_CA_FILE — see Private CA (self-hosted GitLab) | |
--gitlab-role-registry | Path to administrator GitLab role registry JSON (custom roles: credential references and policy, never secret values). Written as the protected unmasked FULLSEND_GITLAB_ROLE_REGISTRY variable. | |
--gitlab-role-token | Administrator-provided GitLab role PAT (role=token, repeatable) for free-tier enrollment or a custom own credential. Values are never logged. | |
--rotate-gitlab-roles | false | Force-rotate GitLab role credentials even if they are not near expiry. Auto-rotation of expiring, expired, revoked, or unverified own-credential roles runs during every repos install. |
--rotate-gitlab-role | Rotate a specific GitLab role (repeatable). Default is all own-credential roles that are due. A reuse role follows its target. | |
--rotate-gitlab-trigger-token | false | Force-rotate the GitLab webhook fast-path pipeline trigger token (FULLSEND_TRIGGER_TOKEN). The webhook is updated to the new token first; the previous token is revoked afterwards. |
GitLab role credentials
For GitLab repos, repos install provisions the built-in Poller, Analyst, and Coder role credentials (FULLSEND_GITLAB_*_TOKEN) and any registered custom roles. Runtime and CI routing always select the registered role credential and fail closed if it is missing; the legacy FULLSEND_FORGE_TOKEN is never used, and there is no migration gate. Install does not remove a leftover legacy shared secret or revoke the fullsend-bot project token — a repository installed before the role-only rollout requires manual cleanup of those. Custom roles are registered with --gitlab-role-registry; a custom role may reuse another registered credential or enroll its own token via --gitlab-role-token. The same repos install run rotates any own-credential role whose project access token is expiring, expired, revoked, or unverified. --rotate-gitlab-roles force-rotates every own-credential role; --rotate-gitlab-role=poller limits the run to one role. A failed rotation leaves the previous secret in place. There is no public rollback to the shared token. See gitlab-role-credentials.md and Configuring GitLab § Role identity model and credential lifecycle. Developer is sufficient because poller state lives on dedicated unprotected branches rather than Maintainer-only CI/CD variables. Creating project access tokens requires GitLab Premium or Ultimate on gitlab.com; self-managed instances, including Community Edition, can create them without a paid tier. The token expiry is computed in UTC so a local-timezone date cannot produce a token that GitLab already considers expired (active: false).
For GitLab repos, repos install also provisions the ADR 0125 webhook fast path: a pipeline trigger token (FULLSEND_TRIGGER_TOKEN) and webhook secret (FULLSEND_WEBHOOK_SECRET), both stored as protected, masked CI/CD variables, plus a project webhook for issue, merge request, and comment events that triggers a pipeline on the protected default branch. The step is deferred (and reported) until the dispatcher is on the default branch, that branch is protected, and ci_pipeline_variables_minimum_override_role=no_one_allowed is verified. Re-runs are no-ops when everything is in place and repair a missing or drifted webhook or token. --rotate-gitlab-trigger-token mints a new token, updates the webhook, and then revokes the old token. Token, secret, and webhook URL values are never printed. The fast-path provisioning and safety-reconciliation steps run under the FULLSEND_GITLAB_INSTALL_LEASE project lease; when it cannot be taken they change nothing and report the step as deferred together with an error (see Upgrade compatibility).
Install-time administration and runtime access are separate. Creating webhooks and trigger tokens requires a Maintainer (or Owner) credential, which repos install uses only transiently to provision and revoke resources; it never becomes a runtime identity. A pipeline trigger token runs pipelines with the permissions of the user who owns it, so the token is a persistent runtime credential and must not be owned above Developer. After minting a token, and whenever an existing managed token is reused or converged, repos install looks up the owner's effective project role (including group-inherited membership). A token whose owner is a Maintainer or Owner, or whose owner cannot be identified or looked up, is rejected: the token is revoked, the managed webhook is removed, the reason is reported, and the fast path stays disabled while the polling schedules continue. When the owner is only rejected (not unverifiable) and cleanup succeeds, this is a nonfatal deferral rather than a failed repository; owner-lookup and cleanup failures are still reported as errors. An owner at Developer level must also hold push or merge access to the protected default branch, or the fast path is deferred. Webhook teardown and revocation attempt every cleanup whose ownership can be established, even when variable, token-scope, or webhook discovery fails, and report all failures together. GitLab binds a trigger token to the user who creates it and only Maintainers can create one, so a fast path whose token would be owned by the installing Maintainer is blocked by this runtime privilege requirement rather than worked around by raising the poller, dispatcher, or agent credentials. The runtime role credentials stay Developer-level, ci_pipeline_variables_minimum_override_role stays no_one_allowed, and dispatch continues to use typed inputs.
Developer (30) access also depends on the default branch's protection settings: the poller creates pipelines via the API (CreatePipeline), which requires merge or push access to the protected default branch (see ADR 0067). GitLab's default "Protected" preset grants Developers merge access, so this works out of the box. When a repo restricts both merge and push to Maintainers (or otherwise excludes Developer), repos install grants the poller project-access-token user (fullsend-poller) merge access — not push — on the protected default branch so the poller can create pipelines without widening Developer-class merge policy. If that grant is not possible (no poller token user id, or the GitLab API rejects the protection update), install fails closed with a remediation error instead of leaving dispatch silently broken. repos status reports protected-ref-pipeline drift when that access is later removed or tightened. If the permission gap reappears anyway, a CreatePipeline 403 now fails the poll cycle after persisting retry state (the event is retried, then dropped after three failures) rather than reporting a healthy cycle with nothing dispatched.
Install and converge also provision FULLSEND_DISPATCH_SECRET (a masked, protected CI/CD variable used to HMAC-sign dispatch variables and poller state) and create two unprotected poll-state branches (fullsend-poll-state-slash and fullsend-poll-state-events) holding an initial signed state.json. Existing FULLSEND_LAST_POLL_AT_* / FULLSEND_LABEL_STATE / FULLSEND_DISPATCHED_KEYS_* / FULLSEND_FAILED_KEYS_* values are migrated into those documents when present; otherwise each branch is seeded with an empty signed baseline. Already-written branch state is left untouched. After migrating, converge deletes any still-present retired poll-state CI/CD variables; they are treated as known-retired by the orphan detector (no warnings) and are not re-seeded on install.
On free-tier or Community Edition instances where project access tokens are not available, enroll each required role with a personal access token using --gitlab-role-token:
fullsend repos install group/project --forge gitlab --gitlab-role-token poller=glpat-xxxxxxxxxxxx --gitlab-role-token analyst=glpat-yyyyyyyyyyyy --gitlab-role-token coder=glpat-zzzzzzzzzzzzProject paths can include nested groups (e.g., group/subgroup/project):
fullsend repos install group/subgroup/project --forge gitlab --gitlab-role-token poller=glpat-xxxxxxxxxxxx --gitlab-role-token analyst=glpat-yyyyyyyyyyyy --gitlab-role-token coder=glpat-zzzzzzzzzzzzGitLab project service-account lifecycle
Status: rolling out, not active yet. This section describes the target GitLab role-identity lifecycle that #7772 delivers as a series of small changes. Until the CLI activation change (#8242) merges,
repos installkeeps provisioning role project access tokens as described in GitLab role credentials. Until then,repos statusdoes not reportgitlab_service_accountsandrepos uninstallbehaves as described inrepos uninstall. The webhook fast path stays deferred and cron polling stays the dispatch path until the live fresh-identity Poller handoff (#8243) merges and is validated. Nothing in this section enables the fast path.
Install and reconciliation
On supported GitLab instances, normal install replaces positively identified Fullsend-managed legacy role tokens with project service-account credentials. It verifies each replacement before publishing it and retains outgoing tokens for the normal rotation grace period. Administrator-supplied credentials are preserved; no separate migration command is required.
Install provisions project service-account PATs where supported; legacy project access tokens are a fallback and require GitLab Premium or Ultimate on gitlab.com; self-managed instances, including Community Edition, can create them without a paid tier. The same repos install run rotates any own-credential role whose service-account PAT or legacy project access token is expiring, expired, revoked, or unverified. A failed replacement validation leaves the previous secret in place. If a managed account cannot be restored to verified Developer access, its managed PATs are contained and only a secret attributed to that account is removed. When neither project service-account PATs nor legacy project access tokens are available, enroll each required role with a personal access token using --gitlab-role-token, as shown above.
Reinstall reconciles each positively owned, non-supplied role account to direct Developer membership and verifies effective Developer access before retaining its credential. Inherited higher access or failed verification fails provisioning. For positively owned, non-supplied accounts, failed membership verification also revokes and verifies managed role PATs on a bounded cleanup context independent of cancellation. The installed secret is removed only after attributing it to that account; ownership records remain for retry. Unmanaged credentials and incomplete containment require administrator recovery.
When the default branch excludes Developer from merge and push, the protected-branch merge grant described above goes to the Poller service-account user, or to the project-access-token user on the fallback path.
Legacy GitLab role tokens without explicit creation records are preserved during service-account convergence, grace cleanup, and uninstall. A matching token name or a historical distribution record does not prove ownership. Install reports manual recovery or explicit supplied-credential enrollment when creation provenance is unverified. Version 1 rotation state stores positively created token IDs in created_token_ids; older state without those records does not authorize destructive legacy-token cleanup.
Poller-owned trigger token (deferred)
Poller elevation safety: Re-elevating a Poller identity that ever held a distributed runtime credential requires a verified server-side guarantee that requests accepted before credential revocation, including asynchronous credential and job creation, have finished. The current GitLab adapter cannot establish that guarantee, so it defers temporary Maintainer elevation and new trigger creation. Polling continues with Developer credentials; compliant existing triggers can still be reused. Revocation and empty resource inventories alone do not prove that requests have drained.
GitLab binds a trigger token to the user who creates it and only Maintainers can create one. The target design therefore creates the token as a fresh replacement Poller service account that has never held a distributed runtime credential, rather than the installing Maintainer or the current Poller. Neither of those owns the token, and the current Poller is never elevated. When the live handoff (#8243) is wired to an adapter, install records the replacement account in FULLSEND_GITLAB_POLLER_GENERATIONS, creates an installer-only bootstrap credential for it, grants it Maintainer only for the create call, restores Developer and verifies it, and revokes the bootstrap credential. It then publishes the replacement runtime credential and cuts over before the webhook is enabled or updated, and the previous Poller is retired. The current Poller keeps polling throughout, so polling and in-flight jobs that authenticate as it are not interrupted. If any step after the trigger-create request fails, install publishes nothing and quarantines the generation, which blocks any new generation until an administrator reconciles it. A Poller that is still a project access token bot leaves the fast path deferred. See Poller identity generations.
Until such an adapter exists, re-runs reuse compliant existing credentials and reconcile webhook configuration; new trigger creation and rotation stay deferred. The runtime role credentials stay Developer-level, ci_pipeline_variables_minimum_override_role stays no_one_allowed, and dispatch continues to use typed inputs.
Service-account status
repos status adds a gitlab_service_accounts JSON array with each account's id, name, effective access_level, and whether ownership is managed, without credential values. A managed account whose effective access differs from Developer (30) adds gitlab-service-account:<id> drift and clears gitlab_roles_ready. Missing recorded managed accounts also clear readiness. Unreadable account inventories or ownership state produce diagnostics rather than an apparently empty inventory.
Managed-account name drift or an inventory, ownership, or effective-access verification failure adds service-account drift and marks role readiness unverified. An unsupported service-account capability preserves legacy readiness only when the rotation state records no managed accounts requiring verification. Recorded managed accounts with an inaccessible inventory remain unverified and add drift.
Service-account uninstall
For GitLab, uninstall removes Fullsend-owned webhook/trigger resources, their wildcard-scoped secrets, poll-state branches and retired variables, role credentials, and durably identified Fullsend-managed project service accounts. It preserves contributions, administrator-supplied accounts and their tokens, and accounts without ownership proof. Remaining credentials, SSH authentication keys, unfinished jobs or owned schedules/triggers prevent account deletion. Failed inventory, revocation or deletion retains the manifest entry and ownership state for retry. Supplied-account exclusions survive successful uninstall.
Matching account names alone never authorize reuse, membership changes or credential cleanup. Install and rotation require durable managed ownership; unverified same-named accounts are preserved rather than adopted.
Uninstall does not remove a leftover FULLSEND_FORGE_TOKEN secret or its fullsend-bot project token; those require manual cleanup. It also retains the FULLSEND_GITLAB_POLLER_GENERATIONS variable, which records quarantine and retirement obligations for replacement Poller accounts and triggers, until an administrator has reconciled them. Reinstall reconciles managed legacy role identities to service accounts using ordinary rotation and the existing in-flight-job grace period. It preserves administrator-supplied identities and never introduces a fourth role identity.
Upgrade compatibility
FULLSEND_GITLAB_INSTALL_LEASE serializes project lifecycle operations and is removed when the operation finishes. Older CLIs do not honor it and can report it as orphan drift; do not run them concurrently. If an installer dies, stop all project installers, restore and verify effective Developer access for the Poller, then remove the lease in Settings → CI/CD → Variables and rerun install. Never delete a live installer's lease.
The rotation-state format changes in two steps. A tolerant reader (#8233) lands first and accepts both the prior unversioned format and version: 1; new writes to FULLSEND_GITLAB_ROLE_ROTATION include version: 1 only after the writer flips in #8242. The upgraded CLI refuses unsupported versions without rewriting them. This marker does not make older CLIs safe: versions that ignore unknown fields can still erase ownership records when writing.
Use the upgraded CLI consistently for install, rotation, status and uninstall after service-account convergence. Mixed-version lifecycle operations and downgrading the CLI after convergence are unsupported: older versions cannot interpret the managed-account ownership and supplied-account exclusions. Downgrading is unavailable while any administrator-supplied account exclusion remains. Successful uninstall preserves that exclusion in the rotation document, and the older CLI rejects the document because it does not recognize the version or exclusion fields. Do not delete the ownership protections to work around this. Where no supplied-account exclusions exist, stop lifecycle operations, uninstall using the upgraded CLI, confirm managed cleanup succeeded, then reinstall with the older version. Administrator-supplied accounts remain untouched.
Upgrade notes for when convergence activates: Convergence replaces managed project-access-token bot identities with project service-account identities; consumers must not rely on the previous bot user ID. Status JSON adds gitlab_service_accounts; managed accounts not exactly Developer produce drift. Successful uninstall preserves supplied account exclusions, and incomplete managed-account cleanup retains ownership. Once the live handoff (#8243) enables it, trigger creation uses a fresh replacement Poller service account that is temporarily raised to Maintainer with an installer-only bootstrap credential, creates the trigger, and is verified back at Developer before any cutover; the current Poller is never elevated or modified and keeps polling throughout. Polling provides catch-up until the replacement runtime credential is published.
Common workflows
Converge all repos from a manifest (provision new, repair component drift, repair scaffold content drift, refresh a declared configuration preset, rewrite a drifted managed configuration file, upgrade refs):
fullsend repos install -f repos.yamlPreview changes without modifying infrastructure:
fullsend repos install -f repos.yaml --dry-runAdd a new repo to the manifest and install it:
fullsend repos install acme/new-repo --forge github --inference-auth vertex-wif --directSwitch one existing repo to OpenAI API key authentication (persisted on its manifest entry):
fullsend repos install acme/api --inference-auth openai-api-keyInstall specific repos:
fullsend repos install acme/api acme/webAdd a GitLab repo and install it:
fullsend repos install group/project --forge gitlab --gitlab-url https://gitlab.example.com --inference-auth vertex-wif --directIn fullsend repos status --json, gitlab_roles_ready is true only when the base role diagnosis, built-in role readiness, and every registered-role mapping are ready. GitLab status always evaluates role credentials; missing role secrets are unconditionally reported as drift.
repos status
Read-only comparison of the repos.yaml manifest against actual forge state. Reports installation status and configuration drift for each repo, including declared configuration-preset drift against .fullsend/config.base.yaml and managed configuration drift against .fullsend/config.yaml. An existing .fullsend/config.base.yaml with no resolved preset is reported as drift. Both configuration files are checked even for a repo with no Fullsend components yet: an undeclared base, a differing preset base, or a managed .fullsend/config.yaml that lacks the ownership marker is reported before first install. Files that install would simply add are not reported as missing until the repo is installed. An existing zero-byte .fullsend/config.yaml counts as an existing markerless file, so it also requires adoption. For every markerless overlay, the table and the JSON detail field show the proposed repos.yaml entry that carries each existing setting (all under the entry's config, including runtime, allowed_remote_resources, and values equal to the code defaults) the setting-level difference between the existing file and the managed file adoption would produce, and the effective layered-configuration change (the existing overlay over the installed base compared with the managed overlay over the base layer the run would leave in place), so the operator can see which settings would be lost, or would change only through the base layer, before adopting. A markerless overlay that is malformed or not a per-repo configuration is reported as a status error rather than adoption guidance.
fullsend repos status
fullsend repos status -f path/to/repos.yaml
fullsend repos status --repo acme/api --repo acme/web
fullsend repos status --repo "acme/*" --jsonFlags
| Flag | Short | Default | Description |
|---|---|---|---|
--manifest | -f | repos.yaml | Path or HTTPS URL to manifest file |
--repo | Filter to specific repos (repeatable, supports globs) | ||
--json | false | Emit JSON output instead of table | |
--concurrency | 8 | Max parallel API calls |
Output
Table output (default) shows per-repo status with columns:
- REPO —
owner/reponame (GitLab repos with nested groups display asgroup/subgroup/project) - REF — Current workflow ref. Named refs (tags, branches) display as-is (e.g.,
v2.3.0,main). When the ref is a commit SHA, shows a truncated 7-character SHA with the expected ref in parentheses (e.g.,6f8b968 (main)). - STATUS —
installed,not installed, orerror. A repo with no resolved inference authentication selection is reported aserrorwith a configuration message, and its forge state is not inspected. - DRIFT — Fields that differ from the manifest, scaffold files whose template content has changed, orphan files or variables no longer in the managed set, or
none
Inference credentials are checked against each repo's own effective inference.auth, so a mixed fleet is evaluated repo by repo (see Inference credentials):
- A missing secret or CI/CD variable of the selected method is reported as drift on that name (for example
FULLSEND_OPENAI_API_KEYreported asmissing). The other method's credentials are not required. - An
openai-wifrepo reports drift onidentifierswhen no complete OpenAI WIF identifier set is live on the default branch (missing, or partially configured). Only identifier names are reported. The GCP secrets are optional andFULLSEND_OPENAI_API_KEYis reported as obsolete. Drift onworkflowsmeans an installed caller or its actual reusable-workflow target cannot forward WIF identifiers, obtain an OIDC token, or run with the available secrets. Status checks live targets, including vendored workflows, rather than assuming the manifest pin has landed. - An
openai-api-keyrepo on GitHub reports drift onresidual-identifierswhen OpenAI WIF identifiers (complete or partial) stay active in an organization variable it inherits or ininference.openaiconfiguration on the default branch, since the runtime prefers them over the API key. Repository-scoped identifier variables are reported as orphans. Only names are reported.repos installrejects such a repo until the residual variables orinference.openaiblocks are removed. - A Fullsend-managed secret of the method that is not selected (
FULLSEND_GCP_PROJECT_ID/FULLSEND_GCP_WIF_PROVIDERon anopenai-api-keyrepo, orFULLSEND_OPENAI_API_KEYon avertex-wiforopenai-wifrepo) is reported as obsolete drift (expected absent). So is a leftoverFULLSEND_GCP_REGIONvariable on anopenai-api-keyrepo. This drift is reported even when the repo is otherwise not installed.repos installremoves these once the replacement configuration is on the default branch. Only presence is checked, so values are never read or printed. - On GitLab, only
FULLSEND_OPENAI_API_KEYsatisfies theopenai-api-keyrequirement. An unprefixedOPENAI_API_KEYCI/CD variable does not, and is neither reported nor touched.FULLSEND_OPENAI_API_KEYis always classified as Fullsend-managed, never as an orphan.
On self-managed GitLab, a non-admin token generally cannot inspect instance CI/CD variables. Inaccessible group or instance scopes are reported as unverified rather than blocking an otherwise valid static-key install. After switching to openai-api-key, obsolete inference credentials remain until all inherited scopes can be verified. Confirm no inherited FULLSEND_OPENAI_* identifiers override the key, then remove credentials that are no longer needed manually. Confirmed residual identifiers still block convergence. Status reports inherited identifier conflicts and unread scopes as readiness drift. File-type OpenAI identifier variables also block the static-key route, even with blank stored contents: GitLab exports a nonblank temporary file path.
GitLab variable lookups use the wildcard environment scope (*), which is visible to Fullsend jobs without a deployment environment. Fullsend-managed variables, including FULLSEND_MINT_URL, are already created at wildcard scope, so Fullsend installations require no migration. A variable visible in GitLab settings but absent to the CLI may have only a named environment scope: check environment_scope before treating it as deleted. Optional GitLab variables can be absent without status drift; Fullsend currently has no required GitLab repository variables. Reads, updates, and deletion all target *, preserving definitions of the same name in named environments. Readable inherited OpenAI identifiers with blank values do not block a static-key installation; the nearest group overrides ancestor and instance values, while unreadable scopes remain unverified.
Status is read-only and reports secret and variable names only, never their values.
For GitLab repos, table and JSON output also include per-role credential lifecycle diagnostic lines for roles needing attention (expiring, expired, revoked, unverified, or overlapping); roles that are ok or unconfigured do not get a diagnostic line. Missing, expired, or revoked role credentials are reported as gitlab-role:<name> drift. Status also appends built-in Poller/Analyst/Coder and registered-role readiness checks (secret presence, capability contract, and job-to-identity mapping). When token inventory is available, expired, revoked, or unverified role credentials also downgrade readiness; the base status path has no inventory and does not apply that lifecycle refinement. A present shared FULLSEND_FORGE_TOKEN is not treated as a substitute for a missing built-in role. Registered roles with no agent mapping are also reported as not ready. These checks do not retire the shared token. Status also reports protected-ref-pipeline drift when the poller cannot create pipelines on the protected default branch (Developer merge/push is absent and the poller user is not in allowed_to_merge / allowed_to_push). For the service-account diagnostics that are rolling out, see GitLab project service-account lifecycle § Service-account status.
JSON output (--json) returns the full StatusResult object with per-repo details and aggregate summary counts.
Exit codes
The command returns a non-zero exit code when any repo has drift, is not installed, or encountered an error. This makes it suitable for CI checks.
Authentication
Requires a GitHub token via GH_TOKEN, GITHUB_TOKEN, or gh auth token. For GitLab repos, set the GITLAB_TOKEN environment variable or pass --gitlab-token to the repos command group.
repos uninstall
Tear down fullsend from the specified repos and remove them from the manifest. By default, the command tears down first (opening a PR to remove workflow files, then deleting variables and secrets via the API), then removes successfully-torn-down repos from the manifest. Partial failures leave the manifest entry intact so the user can retry.
File deletions (workflow YAML, .fullsend/config.yaml, and GitLab .gitlab-ci.yml unmerge) are delivered as a pull request unless --direct is set, matching repos install. Variable and secret deletions are API-only operations and always happen immediately. For GitLab repos, uninstall also deletes the fullsend-poll-state-slash and fullsend-poll-state-events branches (a missing branch is ignored so older installs still uninstall cleanly) after deleting the Fullsend-owned webhook fast-path project webhook (hooks Fullsend does not own are left untouched) and revoking its managed pipeline trigger token before any scaffold file is removed, and deleting the wildcard-scoped FULLSEND_TRIGGER_TOKEN and FULLSEND_WEBHOOK_SECRET variables (a failure there fails uninstall and leaves the manifest entry in place for retry), while continuing to delete the retired poll-state CI/CD variables, registry/rotation-state variables (but not FULLSEND_GITLAB_POLLER_GENERATIONS, which uninstall retains until an administrator has reconciled the quarantine and retirement obligations it records), built-in and custom FULLSEND_GITLAB_*_TOKEN secrets, and the corresponding fullsend-poller / fullsend-analyst / fullsend-coder / fullsend-role-* project access tokens. Uninstall does not delete a leftover FULLSEND_FORGE_TOKEN secret or revoke a matching fullsend-bot project access token — a repository installed before the role-only rollout requires manual cleanup of those. Token revocation is part of uninstall success: if listing or revoking the role project access tokens fails, uninstall fails and the manifest entry is left in place for retry. Reinstall and converge do not revoke credentials that are already distributed. Before deleting anything, uninstall reads the rotation-state variable and fails closed, leaving every variable, secret, and token in place, if it is unreadable or malformed. The rotation-state variable is deleted last, after every other cleanup step succeeds; when it records administrator-supplied service-account exclusions, an exclusions-only document is retained so a later install or uninstall does not treat those accounts as Fullsend-managed. When the rotation state records an administrator-supplied credential whose owner was never recorded and the CLI's token client cannot attribute it, uninstall does not guess: it leaves the supplied role's project access token and the whole rotation-state variable in place (reporting this in the cleanup diagnostics) and still removes everything else.
GitLab uninstall holds the FULLSEND_GITLAB_INSTALL_LEASE project lease for the whole teardown, from webhook removal through the final variable, secret, branch, and token deletions, so no concurrent installer can publish a replacement hook, trigger token, or role credential mid-teardown. It fails closed: if another installer holds the lease or the client cannot take it, uninstall stops before removing anything and the manifest entry is left in place for retry. See Upgrade compatibility for stranded-lease recovery.
For the service-account cleanup that is rolling out, see GitLab project service-account lifecycle § Service-account uninstall.
Uninstall PR delivery intentionally reuses the same branch as repos install/converge (fullsend/scaffold-install), since already-deployed per-repo shims only exclude that branch name from dispatch. Known limitation: if an install PR is still open on that branch when uninstall runs (or an uninstall PR is open when install/converge runs), the existing PR is updated with the new commit but its title and body are left unchanged — the PR may show an install-oriented title while its diff now removes files, or vice versa. Check the PR's diff, not just its title, before merging when install and uninstall run close together against the same repo.
GCP WIF pool/provider cleanup for GitHub repos is handled separately via inference deprovision. This does not cover GitLab's shared gitlab-oidc WIF provider — for GitLab repos, see Operations § Per-repo teardown step 6 to revoke that repo's WIF trust.
When multiple repos are targeted (via globs or explicit bulk lists), the command prompts for confirmation unless --yes is set. Credentials are required only for the forges of the targeted repos. Uninstall does not require an inference.auth selection, so manifests without one can still be torn down.
Uninstall removes every Fullsend-managed inference credential, whatever the repo's inference.auth is (or whether it is set or valid at all): FULLSEND_GCP_PROJECT_ID, FULLSEND_GCP_WIF_PROVIDER, and FULLSEND_OPENAI_API_KEY, plus the FULLSEND_GCP_REGION variable. Leftovers from an earlier method and partially installed repos are cleaned up the same way. A credential that is already absent is skipped, so re-running uninstall is safe. Uninstall never deletes an unprefixed OPENAI_API_KEY secret or CI/CD variable, or any other credential Fullsend does not manage. It also leaves the user-managed FULLSEND_OPENAI_AUDIENCE, FULLSEND_OPENAI_IDENTITY_PROVIDER_ID and FULLSEND_OPENAI_SERVICE_ACCOUNT_ID identifier variables in place. Remove OPENAI_API_KEY yourself if nothing else uses it.
fullsend repos uninstall acme/old-api
fullsend repos uninstall "acme/*" --yes
fullsend repos uninstall acme/old-api --dry-run
fullsend repos uninstall acme/old-api --manifest-only
fullsend repos uninstall acme/old-api --uninstall-only
fullsend repos uninstall acme/old-api --directFor GitLab repos with nested group paths, use the full path:
fullsend repos uninstall group/subgroup/projectModes
| Flag | Teardown | Manifest removal |
|---|---|---|
| (default) | Yes | Yes (only if teardown succeeds) |
--manifest-only | No | Yes |
--uninstall-only | Yes | No |
- Default: tear down + remove from manifest. Only repos whose teardown succeeds are removed from the manifest.
--manifest-only: remove the manifest entry without tearing down the installation. Use when the repo is already deleted/transferred or was never successfully installed.--uninstall-only: tear down the installation but keep the manifest entry. Use for temporary teardown with intent to reinstall later.
Flags
| Flag | Default | Description |
|---|---|---|
-f, --manifest | repos.yaml | Path or URL to repos.yaml manifest |
--dry-run | false | Preview what would be uninstalled without making changes |
--yes | false | Skip confirmation prompt when multiple repos are targeted |
--direct | false | Push file deletions to the default branch instead of opening a PR |
--concurrency | 4 | Max parallel operations (1-32) |
--manifest-only | false | Remove from manifest without tearing down |
--uninstall-only | false | Tear down without removing from manifest |
repos set-default
Set or remove a platform-level default in repos.yaml. An empty value removes the key. Creates the manifest with version: 1 if the file does not exist.
fullsend repos set-default <key> <value>
fullsend repos set-default github.fullsend_ref v2.5.0
fullsend repos set-default github.mint_url "" # removes the keyset-default does not write per-repo config fields. Declare runtime, allowed_remote_resources, and every other .fullsend/config.yaml field by editing defaults.config, github.config, gitlab.config, or a repository entry's config in repos.yaml. The former keys defaults.runtime and defaults.allowed_remote_resources are rejected with that guidance, and nothing is written.
Valid keys
| Key | Type | Description |
|---|---|---|
defaults.inference.auth | vertex-wif, openai-api-key, or openai-wif | Global inference authentication selection; forge-section and per-entry inference.auth override it |
defaults.vendor | true or false | Vendor fullsend binary and content into each repo for offline CI; per-entry vendor overrides it. Currently GitHub-only; GitLab CI templates do not yet reference the vendored binary. |
defaults.config_base.source | local path or HTTPS URL | Configuration preset written as .fullsend/config.base.yaml; a per-entry config_base.source overrides it (none disables inheritance: the desired state is then no base file, and an existing one blocks install and shows as drift). A local path is resolved relative to repos.yaml's directory and must not escape it; manifests loaded from an HTTPS URL must use an HTTPS preset URL. Fetch/validation semantics otherwise match github setup --config. |
defaults.config_base.sha256 | 64-character SHA-256 hex | Optional digest that validates the fetched preset; a per-entry config_base.sha256 overrides it (none skips validation). Same semantics as github setup --config-hash. |
github.url | URL | GitHub instance URL (default: https://github.com) |
github.mint_url | URL | Token mint service URL (defaults to https://mint.fullsend.sh in public mode) |
github.mint_mode | public or private | Controls the default mint URL: public defaults to https://mint.fullsend.sh; private requires an explicit mint_url (default: public) |
github.fullsend_ref | ref string | Git ref to pin in scaffold workflow YAML |
github.inference.auth | vertex-wif, openai-api-key, or openai-wif | Inference authentication selection for every GitHub repo; overrides defaults.inference.auth, and a per-entry value overrides it |
gitlab.url | URL | GitLab instance URL |
gitlab.fullsend_ref | ref string | Git ref to pin in scaffold CI template files |
gitlab.inference.auth | vertex-wif or openai-api-key | Inference authentication selection for every GitLab repo; overrides defaults.inference.auth, and a per-entry value overrides it |
gitlab.agent_runner_tags | comma-separated tags | CI runner tags for routing agent (data-plane) jobs |
gitlab.control_runner_tags | comma-separated tags | CI runner tags for routing control-plane jobs (poll today). Independent of gitlab.agent_runner_tags; unset renders tags: [] (untagged) |
gitlab.runner_tags | comma-separated tags | Deprecated alias for gitlab.agent_runner_tags. Still accepted; rewrites persist agent_runner_tags. On-disk persistence happens on repos set-default, repos install (only when it appends new manifest entries), and repos uninstall (only when it removes entries) — not repos converge, which resolves the alias in memory for rendering but does not rewrite repos.yaml |
Flags
| Flag | Default | Description |
|---|---|---|
-f, --manifest | repos.yaml | Path to repos.yaml |
Examples
Select Vertex WIF inference authentication for every repo, and OpenAI API key authentication for GitLab repos:
fullsend repos set-default defaults.inference.auth vertex-wif
fullsend repos set-default gitlab.inference.auth openai-api-keySet GitLab agent runner tags:
fullsend repos set-default gitlab.agent_runner_tags fullsend-agentSet multiple agent runner tags:
fullsend repos set-default gitlab.agent_runner_tags "fullsend-agent,gpu-runner"Route control-plane jobs (poll) onto a cheaper runner fleet. gitlab.control_runner_tags is independent of gitlab.agent_runner_tags; left unset, control-plane jobs render tags: [] (untagged):
fullsend repos set-default gitlab.control_runner_tags fullsend-apiRemove agent runner tags:
fullsend repos set-default gitlab.agent_runner_tags ""gitlab.runner_tags remains a deprecated alias that writes gitlab.agent_runner_tags:
fullsend repos set-default gitlab.runner_tags fullsend-agentThis alias rewrite is not scoped to set-default: repos install (only when it appends new manifest entries) and repos uninstall (only when it removes entries) also drop the deprecated gitlab.runner_tags key and persist gitlab.agent_runner_tags, even if you never ran set-default yourself. repos converge resolves the alias in memory for rendering scaffold files on every run, but it does not rewrite repos.yaml — a manifest that still has gitlab.runner_tags on disk keeps parsing correctly until a command that actually writes the manifest runs. Tooling that parses repos.yaml directly outside fullsend's own commands should prefer gitlab.agent_runner_tags when present and treat gitlab.runner_tags as deprecated.
Set the GitLab instance URL:
fullsend repos set-default gitlab.url https://gitlab.example.comSee also
- Getting Started — Standard per-repo installation
- Configuring GitLab — GitLab getting-started guide
- Operations — Day-2 administration
- CLI Internals — Command structure and implementation details
