Fistron docs

fistron.io

Fištrónek’s chat

Fištrónek in the menu opens the chat. Ask it anything, as you would a general AI chat: an answer that uses none of your organisation’s data is marked General knowledge. What it says of your organisation (its builds, tests, issues, repositories, set-up, plan, Fistron Memory) rests on what it read in Fistron, and each such sentence ends with the mark of its source, such as [b1] or [w2]. The sources are listed under the answer, each with its link: a page of the guide opens beside it, a work opens its page, a file opens on its code host. A place that cited nothing Fištrónek read says (not in what Fištrónek read). Within a topic, what an earlier answer read stays a source: an answer that rests on it cites it again, listed as Read earlier in this topic. A repository is named as Fistron read it: an answer that names one under another owner is written again.

Your organisation’s admin may keep the chat to the work (What Fištrónek’s chat answers on the Model endpoints page): it then answers questions about Fistron, engineering and your organisation’s work, and declines anything else with a notice of its own, Outside the work, never as general knowledge: why, where an admin changes it (Change it on Model endpoints), and a few questions it does answer, each a button that puts it in your question. When the chat does not answer at all here, the same notice says why. The line under the page’s title says which it does.

While it answers, Fištrónek shows what he is doing: he thinks with a light bulb, reads the guide at the blackboard, a document with a red pen, the build’s log like the morning paper, and writes the answer at his desk once he has read enough, with a line of his own beside him. Beside a step he waits for your stamp, paces while its work runs and juggles once it is done; when an answer ends with a question, he tilts his head: your turn. He only illustrates: the lines of the turn and each step’s state say what happens, and with reduced motion in your system’s settings he stands still.

Your question shows in the conversation as soon as you send it, and the field is empty for the next one. When an answer used up the question’s budget, Continue under it has Fištrónek read what it said it would read next and finish, in the same topic. What Fištrónek does is a path of dots, one for each step he made and a ringed one for the step he is on, with that step’s line under it; choose a dot to read its step, or open Every step so far to see them all. Once he answers, what he read is folded under the answer. A command he gives you is a block of its own, its long lines wrapped, with Copy; several commands have Copy all too. A command of several lines stays one block: a heredoc up to its last line, a quote or a bracket open across lines, a line ended by \, | or &&, and a loop or an if up to its end.

In a control plane the chat opens right after you sign in: the chosen project’s chat, or with no project chosen the organisation’s. After you sign in, open under the chat’s title chooses the dashboard instead (the project’s, or the organisation’s); the choice is kept on your account at once, and the page says so.

Investigate and fix with it

Say what you need: “I have a failed build”, “fix this failure”, “run the health audit of my organisation”. Fištrónek uses what Fistron reads and does before it asks you anything. He knows today’s date and the time in your time zone, as your browser or terminal says it, so “yesterday’s build” or “this week” needs no date from you; an investigation’s model is told the time it runs, in UTC and in the zone of who started it.

Review a pull or merge request

Paste the request’s link and ask what you want to know: “is this fine to merge?”, “what would you change?”, “explain it to me, I am new to this code”.

Change the request, or answer its review

Ask for a change in the request (“name the total in cents”, “do what the comment on pay.py asks”), or for a reply to one of its review threads. The chat does it with Fistron’s own steps; each one that writes, or spends a model, waits for you:

Triage the new failures

Ask “triage the new failures since yesterday” or “why is this one flaky?”.

Report a release cycle

Ask “make the completion report for <the epic’s address>” or “status of the current validation cycle”.

Set Fistron up with it

Say what you want Fistron to do (“review our pull requests from CI”, “my fork can’t be read”): Fištrónek reads what the project has set up and lacks, then leads you through what is missing.

Ask about the world as it is today

Where your organisation’s admin turned the web on, Fištrónek searches the web and reads its pages for what changes: today’s news or results, a release’s changelog, a known bug of a library. His answer is labelled From the web, and each search and page it rests on is among its sources, a page linked to it. Only public words go into a search: never a host, a name, a path, code, a log’s line or a key of yours, and he reads only pages of the public web. Each search is counted (the day’s searches have a cap) and is in your Where your data went.

When the web is off, he says why (“the web is off in this organisation”, in an air-gapped installation, in a project that runs with Fistron Sovereign Rules, or once the day’s searches are spent) and answers what he can; he always knows today’s date. An admin turns it on under Model endpoints (Configure models (LLM endpoints)).

Attach files and screenshots

Attach files under the question attaches files as they are: pictures and screenshots (PNG, JPEG, GIF, WebP), PDF, Word, Excel and PowerPoint files, texts and logs, and zip or tar archives of them; at most 10 files, 20 MB in all, a picture at most 5 MB. You may also drop files on the conversation, or paste a screenshot into the question; a text you paste of more than 4,000 characters or 50 lines (a log, a command’s output) becomes a file of its own, read whole. A question you type past 2,000 characters says how long it is (at most 20,000), and Attach it as a file makes it one. Each file says how Fištrónek will read it, and one it does not read says why (a video, a sound, an older Office file); Do not attach takes it off. Nothing goes to the model before you click Send.

Fištrónek reads a document’s text, a workbook’s sheets as tables, each slide’s text, a PDF’s pages and an archive’s files, each its own, and cites them as it cites anything it read. A picture, and a PDF as it is, goes to the model with the question when the chat’s model reads them; when it does not, the files say so before you send, and the question afterwards: paste the picture’s text instead, or ask your admin to mark an endpoint that reads them (Pictures and PDFs on the Model endpoints page). Under the question, What you attached says what was read of each file. The files are not kept: a later question of the topic reads them only when you attach them again.

Each question has a budget, as an investigation’s: the rounds of reads, the files and the calls of a code host. The budget of a question under the question raises it, up to the most your organisation allows.

Topics

In a control plane your conversation is kept for you alone, in topics. New topic starts one with a clean slate; the earlier ones are listed beside the conversation and open again, each named by its first question’s first sentence (the whole question when you point at it). The pencil beside a topic (on hover, or with the keyboard) renames it in place: Enter saves, Esc cancels, and an empty name names it by its question again. The address holds the topic open, so a reload or a link opens it again, with its steps as they stand: a step that ran says how its work ended, with Open its work; a step not confirmed yet still waits for Do it; a work the page was following when you reloaded it is followed on, and the conversation goes on from its result. A step you confirmed is followed by this browser also when you open another topic or close the chat: when its work ends, Fištrónek sums its result up in the step’s topic by himself (a health audit: its score, the hypotheses it confirmed, its weakest area and the plan’s first step; a failed work: why, and what next), and the topic says New answer until you open it. He never asks you for a work’s id. Closed, the summary comes when you open the chat again in the same browser. The local UI keeps none: the page holds the conversation until you leave it.

The topics are a column of their own: it stays in view and scrolls apart from a long conversation, Hide the topics folds it to a button (the page remembers it in this browser), and with more topics Find a topic finds one by a word of its name or its first question. Each topic runs its own question: while one is answering, marked Answering in the list, you open and ask another; its answer stays in its own topic and shows when you open it again. What you typed and did not send stays with its topic too.

Recommendations, outcomes and the status report stay on Fištrónek’s page, linked under the chat’s title.

On the command line

fistron chat --organisation talks to the same chat in your organisation’s control plane, after fistron licence login --control-plane <address>; with --project <id> it is the chat of that project, which reads its CI through the project’s agent. It says what Fištrónek read, the answer, its sources and its steps: a step that only reads runs at once, any other runs after you answer y. The questions of one run are one topic, which the chat in the browser lists too. The lines of what it reads come as it reads them, while it works, and its answer when it ends.

fistron chat without --organisation works in your working copy, as a coding assistant: it reads its files without asking, and writes, runs a command or the team’s checks after you answer y (a for the rest of the run, --allow from the start). It follows the team’s confirmed procedure for the files it changes and says a missing tool as missing. Once you agree it commits the change on a branch of its own and pushes it to your own fork (one of [actions.experiments] forks), never upstream, and gives you the link to open its request there; it never merges.

What it costs

The chat answers with your organisation’s models. Its calls are counted apart: Fištrónek’s chat on the Model use pages, with its questions, tokens and cost; a question asked outside a project is under No project.