Debug a failure with your own fork and pipeline
When an investigation ends with a cause, the most likely cause or a fix that no test verified, you settle it the way you would by hand: put the fix or a diagnostic into a branch of your own fork, run your own CI job on that branch, and read the result. Fistron does the steps, but each write and each run waits for your approval. It writes only to your own forks and runs only your own jobs, never an upstream repository and never a shared pipeline.
Set it up once
In the agent’s configuration (Agents › its Configuration), name your forks and your jobs:
[actions.experiments]
forks = ["you/deploy"] # your forks, owner/name
runs = 3 # runs per investigation, at most
[[actions.experiments.jobs]]
job = "you/acceptance" # your Jenkins job's full name
repository_parameter = "TEST_REPO" # the parameter that points it at a repository
ref_parameter = "TEST_BRANCH" # ... and at a branch
Each fork is also in a group of [actions.github] or [actions.gitlab]
whose allow names propose-code-fix, and its token writes it. For an
agent of a control plane (one installed with the Helm chart too), set all
three in Change the configuration: a fork in no such group there is
said before the version is saved. Each job is
also in [actions.jenkins] with ci-run-start allowed, and its user starts
it.
1. Send the fix to your fork
On Investigate a failed build, under a cause’s fix, Where the fix goes offers Your fork, for your own pipeline first. Name your fork and a branch, then click Send it to your fork. A new branch gets the fix and no request. An existing branch gets a request inside your fork. The fix is checked against your fork’s files, and a fork that is behind is never written over.
The page keeps what was sent, also when you come back to it: the branch and its link, and when. Next under the fix says how to test it there, proposes the run of your job on that branch, and gives the message for your team’s review (the request’s own text) to copy.
Once your own pipeline confirmed the fix on a branch of your fork (step 2),
Then upstream under the fix opens the request to the build’s own
repository from that branch of your fork: the branch of the fix’s own, or
your branch once you merged the request inside your fork. Tick I confirm a request to
2. Propose the run, run it, read it: on the page
Under each cause on Investigate a failed build, Your own pipeline
lists the cause’s experiments. Name Your fork and Its branch with
the change, then click Propose a run of your job. While the cause’s
fix waits to be sent, these are folded under
Run your job on a branch of your fork: the fix asks for your fork
first, and once it is sent they start with your fork and its branch. The proposal shows
the job, its parameters, those it will not send, what confirms and what
refutes the cause, and the cost. Tick I approve the run of
A run of your job that you started by hand joins the same chain: paste its link in A run you started by hand and click Join it. Its fork and branch are read from its parameters. Fistron reads it through the read connector and never stops it.
Each experiment shows the cause before it and after its verdict. The verdict is also added to the cause’s notes. A confirmed run verifies a concluded cause: How sure then says it rests on evidence read live.
From your coding assistant (fistron mcp --engineer), the tools
experiment_propose, experiment_run, experiment_status and
experiment_join do the same.
The assistant runs an experiment only after you approve it in the
conversation.
The steps below do the same on the command line.
Propose the run (command line)
fistron causes experiment propose <case> --group g1 --fork you/deploy \
--branch fix-the-repo --repository acme/deploy --config fistron.toml
Fistron reads the failed build’s parameters and keeps them, except any whose name says it may hold a secret (a password, a token, a key): those are never sent. It points your job’s repository and branch parameters at your fork’s branch. Then it says:
- what confirms the cause: the group’s failed tests pass;
- what refutes it: they fail again;
- what it costs: about as long as the failed build took.
Nothing runs yet.
Run it, on your approval (command line)
fistron causes experiment run <case> --id e1 --approve --config fistron.toml
Without --approve, nothing runs. Once the investigation has started as
many runs as runs allows, the run is refused.
Join a run you started by hand (command line)
fistron causes experiment join <case> --group g1 \
--build https://ci.example.com/job/you/job/acceptance/16/ --config fistron.toml
Read the result (command line)
fistron causes experiment status <case> --config fistron.toml
Fistron follows the run to its build and reads its test report:
confirmedwhen the group’s tests passed;refutedwhen any of them failed again;inconclusivewhen the run reported no test.
Every experiment of the investigation, its parameters, its build and its verdict stay in the investigation’s report. The page, the assistant and the command line all show the same chain.
Coming next: a diagnostic change drafted by the model for a cause that has no fix yet.