Fistron docs

fistron.io

Set an agent’s configuration in the control plane

Everything specific to your organisation is set here: the Jenkins jobs an agent may read, its repositories, its write path, its model endpoints, the data class of what it reads. Nobody changes a file on the agent’s host for it, and the agent does not restart: its next work uses the new version.

Before you start

The agent’s page

Open Agents and, under the agent’s name, Configuration. The page has tabs:

A link to a tab opens it (#tokens, #versions). A project’s Configuration has the tabs Configuration and Versions.

Change what an agent reaches

  1. Open Agents and, under the agent’s name, Configuration.

  2. The first version is the agent’s own file, without secrets, which it sent when it started with the consent. Click Change the configuration.

  3. Edit the sections as in fistron.toml: change what is shown rather than writing only what is new. A section set here replaces the agent’s file’s whole section, so it lists everything it keeps (every endpoint of llm.endpoints, every job of acquisition.jenkins). For example the jobs of your Jenkins and its private CA:

    [acquisition.jenkins]
    base_url = "https://ci.example.com"
    user_env = "FISTRON_JENKINS_USER"
    token_env = "FISTRON_JENKINS_TOKEN"
    jobs = ["shop/**", "platform/nightly acceptance"]
    ca_pem = """
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
    """

    The agent’s sections: acquisition.jenkins, acquisition.github, acquisition.gitlab, acquisition.kubernetes, acquisition.bugzilla, acquisition.registries, acquisition.allow, acquisition.web (the chat’s searches of the web, Configure models (LLM endpoints)), actions.github, actions.gitlab (the write path, with the agent’s write token), actions.experiments (your own forks and jobs: each fork also in a group of actions.github or actions.gitlab here, or in the agent’s file, that allows propose-code-fix), llm.endpoints, llm.default_data_class (the class of what it reads), validation and data_flow (where its data may go, Set up sovereignty). A section left out is taken from the agent’s file; to drop one of the file’s, tick it under Remove from the agent’s own file.

  4. While you edit an agent that has a file of its own, read the table Where each section comes from under the editor: for each section, whether the agent’s next work takes it from here, from its file, or neither (removed). The table is there only while you edit: what the agent reads now is on its page, under What the tokens may read. A warning above the table says what looks like a mistake but is saved if you go on: a value listed twice, two endpoints with the same base_url and model, or a section of the current version left out, which the agent then takes from its file again.

  5. Write why under Why and click Save the configuration. Fistron checks the version as the agent reads it; a mistake is shown and nothing is saved. The same table or key written twice is not TOML and is not saved either.

The next work of the agent uses the new version, and work is routed by what it now reaches: a job you added goes to this agent at once.

Model endpoints (llm.endpoints) are offered on each project’s Models page at once, before the agent’s next work: the section replaces the endpoints of the agent’s file, so list every endpoint it keeps, with the key as a secret sealed here (api_key_env = "cp:<name>", below). One the agent would not apply is listed there as not usable, with why (Configure models (LLM endpoints)).

See what the agent’s tokens may read

What the tokens may read, a tab of the agent’s Configuration page, shows each repository of its [acquisition.github] and project of its [acquisition.gitlab]: the token that read it (by its configuration key, or the organisation’s platform access) and its kind (a fine-grained or a classic personal access token, a GitHub App’s token), and each read (the repository, its code, its pull or merge requests, its issues, its checks, its CI runs) with the permission it needs and what it is for (Investigate an issue reads issues, Review a request its pull requests and checks). A refused read says why (a missing permission and which one, single sign-on not authorised, the organisation’s approval, a rate limit) and the fix. Above the repositories, each token once: how many reads it has left this hour as the code host said them at the check, the fewest its repositories saw, and when they are given back, in your time (“the token in GH_TOKEN (GitHub): 4210 of 5000 reads left, as of 11/24/2026, 9:03 PM GMT+1; given back at 11/24/2026, 10:05 PM GMT+1”). Fewer than a tenth left is said as a warning. A health audit’s histories leave 500 of them to the investigations, and the same read made again costs none. GitHub’s limit of code searches (10 a minute) is its own: an investigation’s searches wait a minute when it is spent, and its result says so, but it is never the token’s reads.

A fine-grained token reads the private repositories of its one owner only, and a GitLab group or project access token its own group or project only: an engineer’s private fork of your organisation’s private repository is read with a token that reaches it. The write token of the [actions.github] (or [actions.gitlab]) group that names the fork reads it where the read token is refused, or a read token of its owner in [[acquisition.github.tokens]] ([[acquisition.gitlab.tokens]]) reads it first; each repository says which token read it. A repository no token reaches says why and what to do: a token of its owner, the group whose token reaches it, or taking it out of the read section.

Two reads are said as they are, not as refusals to fix:

The control plane checks when the agent starts and each time you save its configuration; Check again checks once more. An agent of an older Fistron does not check. On the agent’s host the same check is fistron integrations access --config fistron.toml.

Keep a secret in the control plane

A new key need not go onto the agent’s host either:

  1. On the agent’s Configuration tab, under Secrets sealed here, enter a Name (for example jenkins-token), the Hosts it may go to (for example ci.example.com) and the Secret, and click Seal the secret. It is never shown again.
  2. Name it in a section instead of a variable: token_env = "cp:jenkins-token". A section that would send it to another host than it was given for is refused; seal it again for that host.

The agent gets it with each work, for that work only, never on its disk. A secret a section names cannot be removed until no section names it.

Set what holds for every agent of a project

  1. Open the project’s Configuration (under the project’s settings).

  2. Click Change the configuration and set the data class the project’s evidence never goes below, whatever an agent reads:

    [llm]
    default_data_class = "confidential"

    A run’s data class is the stricter of the agent’s and the project’s. It applies to every agent of the project that consents; the page names those that do not. The project’s models, reviewers and analysis sources have pages of their own.

    Where the project’s data may go is set the same way, and also holds for every agent of the project:

    [data_flow]
    regions = ["EU", "on-premises"]
    model_origins = ["EU"]
    
    [data_flow.locations]
    "gitlab.example.com" = { location = "Germany", jurisdiction = "EU" }

    A run allows only the jurisdictions and origins both the agent’s and the project’s policies allow, and reads the hosts and models of both (the agent’s own entry first).

    Where the project’s bugs are filed, so that a cause in the product has its bug report’s page there (Report the bug, File it in), is set the same way: the project’s own over the agent’s.

    [bugs]
    kind = "gitlab"                   # or "github", "bugzilla", "link"
    repository = "qa/shop"
    url = "https://git.example.test"  # a self-hosted GitLab's site

    A Bugzilla product takes url, product and optionally component and version; any other tracker kind = "link" with the address of its new bug, {title} and {text} where they go. A section that does not say where (no repository, no product) is not saved, and says what it lacks.

  3. Click Save the configuration.

See what changed

The tab Versions lists every version, the newest first: who made it, when, why, and which sections the next one changed. Every change is also in the audit log (agent.configuration, project.configuration).

Troubleshooting

You see Cause and fix
Not applied by an agent Its file does not consent: add control_plane_config = true under [agent] when it is (re)installed.
A work warns that the configuration names variables the agent does not have Add them to the agent’s environment file and restart it once; the next change needs no restart.
A section is not applied, it names a host not in control_plane_hosts The agent limits the hosts the control plane may name; extend that list in its file or use an allowed host.
A section is not applied, it names a variable not in control_plane_variables The agent limits the variables of its environment the control plane may name; use one it lists.
Not saved: a secret is never part of the configuration Seal it under Secrets sealed here and name it as cp:<name>, or put it into the agent’s environment and name its variable (token_env).
Not saved: cp: was given for another host The section sends it elsewhere: seal it again with that host.
Not saved: version N is current Someone saved meanwhile: reload the page and change it again.
A read refused under What the tokens may read Do what its fix says (give the token the permission, authorise it for single sign-on, ask the organisation to approve it), then Check again.

Details: agent.md.