Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

Console and terminal map

Everything the console does can be done from the terminal, and the reverse. A test checks this on every change: every console action has a command. Commands that change a running engine act as you after tomosu login <host> --engine URL, or as a named key.

  • Every feature, both ways
  • Checked by a test
  • Updated

How do terminal commands reach a running engine?

Commands that read or change a running engine take --engine http://host:7600, or TOMOSU_ENGINE. Changes act as one of two:

  • You: sign the terminal in once with tomosu login github|gitlab|bitbucket --engine URL. Every command then acts as you, exactly like the console. See Sign-in and access keys.
  • A key: --token with an access key or the start-up key, for scripts and CI. Changes are recorded under the key’s name.

Two tests keep this page true: one checks that every row’s command is in the help and its page loads; the other reads every change the console can make (each POST and DELETE route) and fails if one has no command.

Which page and which command do the same thing?

FeatureTerminalConsoleNotes
Findings and reasoningexplain <finding-id>/findingsEvery finding with its origin label, evidence, fix and step-by-step reasoning.
Pre-merge scanscan/findings?view=pre-mergeProblems in the code, before it merges.
Pre-Merge: scan a branch on GitHubscan --github/scanAny branch of a repository your GitHub App is installed on; downloaded to a temporary folder, scanned, deleted.
Scan a public repository--public (with scan --github owner/name)/scanNo GitHub App or sign-in; the console shows progress at the bottom right.
PDF report of a scanscan --pdf/scanScanned branches → Report: open a PDF with a summary and charts, the problem categories, the pattern detectors that fired, the findings, the recommended fixes in four groups (rule fix, fix drafted by Tomosu Agent, guidance only, found by Tomosu Agent), and an appendix on how the rules decide. Pro detection logic is never included.
PDF report of a service in productionruntime --pdf/runtimeRuntime → Report, after To fix (terminal: runtime --pdf <file> --service <name>): open a PDF of what production shows on the service over the last 15 minutes (traffic, versions, code index) and every recommendation carrying its evidence, grouped like the scan report. The button is marked New when what to fix changed since that browser last opened the report. Evidence is redacted; Pro detection logic is never included.
Accept and Rejectfix accept|reject/findingsOn every finding, in the list and on its page.
Fix pull request on Acceptfix accept --pr/findingsSigned in with GitHub: a pull request with the fix, as you, with auto-merge.
Fix pull requests and their statusfix prs/dashboardOpened, merged, open, closed; time to merge; by fix source.
Fix safety timelinefix timeline/dashboardEach accepted fix: merged, in the code, deployed, kept or reverted (also on each finding).
Production Context Graphgraph/graphCode and production connected; export as JSON, GraphML or Cypher.
AI-drafted fix with your own modelfix draft/findingsOff unless you configure your own provider.
Dashboard numbersaudit/dashboardThe terminal gets the same numbers as an audit report (text, JSON or CSV).
Audit reportaudit/auditRepositories, files, when they were checked, agents run, reliability weakness rate, decisions and changes.
Agent work and weekly digestdigest/agentWhat model assist did this week.
Agent memory: what, why, how muchmemory stats/memoryWhat is remembered locally, why, and statistics.
Delete agent memorymemory reset/memoryModel assist starts again from nothing.
When the agent works, and its daily budgetagent schedule · agent budget · agent status/settings · /healthContinuously, every hour or day, on matching signals, or only when asked; at most llm.max_daily_calls model requests a day (default 200). Apply at once.
Ask the agent about one finding nowagent ask <finding-id>/findings/{id}Ask Tomosu Agent now on a finding the agent is waiting on; the daily budget still applies.
Pause taking in OpenTelemetry dataingest pause|resume|status/settings · /healthData that arrives while paused is dropped and counted; senders are never slowed.
Rejected findings → your rulescontrib queue/contributionsRejected findings that can make a rule more precise (Correct the rule).
Contribute a rejected findingrules contribute finding:<id>/contributionsYou see and edit exactly what is sent; DCO sign-off.
Auto Contributerules contribute --all --engine URL/contributionsA plan of everything not yet sent (send, merge duplicates, leave out with a reason); Apply plan opens one pull request to contributions/ as you, or GitHub links without a GitHub sign-in.
Learning signalssignals show, signals export --out DIR/audit/signalsExactly what the next upload holds; on by default, cloud.channels.signals turns it off.
Turn Tomosu Cloud off or oncloud off, cloud on, cloud status/settingscloud off stops everything sent to Tomosu Cloud for your user account on this computer, with or without a running engine; cloud status shows what is sent and why. In the console: cloud.enabled.
Contribute your own rulerules contribute <rule-id>/rules/catalogCustom and proposed rules.
Rules cataloguerules stats/rules/catalogEvery check, its status and scorecard.
Write and test a rulerules new|test|try/rules/catalogScaffold, run on its examples and on your code.
Create a rule from a few answersrules create/rules/newName, functions, when they are a problem, the fix and two examples; written in the usual rule format, tested, saved in shadow.
Access keys for scripts, CI and installskeys create|list|revoke/settings/keysNamed keys an admin creates; each is shown once, can be revoked at any time, and is recorded in the activity log.
Unlock the console for changesunlock-link/unlockType the start-up key or an access key once, or open the one-time link printed at start; or sign in with GitHub. Before anyone can sign in, the engine's own computer can start first-time setup with no key.
Install, check and roll back rule bundlesrules import|status|rollback/rulesSigned bundles for air-gapped installs. Not in the menu: open /rules directly, or use the commands.
Settingsconfig init|check/settingsAlso .env and TOMOSU_* variables.
Code hosts: comments and reportspublish/integrationsGitHub, GitLab and Bitbucket.
Code indexesindex push|pull/indexesBuilt in CI, delivered through your own storage.
Setup healthhealth/healthWhat is missing and the exact fix.
Production servicesruntime/Services, endpoints and signals from OpenTelemetry.
Connect GitHubconnect github/connect/githubYour own GitHub App, in one click.
Sign in with GitHublogin github/connect/githubInstead of the start-up key.
Who is signed inauth status/connect/githubAnd the repositories you can open pull requests on.
Sign this terminal in to a running engine (acts as you)login github|gitlab|bitbucket --engine URL/integrationsDevice-style sign-in through the engine; works for all three hosts and self-managed GitLab.
Connect GitLab or Bitbucketconnect gitlab|bitbucket --client-id ID/connect/gitlabYour own OAuth application; the secret is read from a file or standard input, never a flag. disconnect gitlab|bitbucket removes it.
Test a code host's connectionintegrations test github|gitlab|bitbucket/integrationsThe Connect page's Test.
Findings listfindings/findingsFilters: --view, --repo, --origin, --severity.
Accept all and Reject allfix accept-all|reject-all --repo R/findingsOne repository at a time; Accept all opens one pull or merge request as you.
One pull or merge request for accepted fixesfix pr --repo R/findings"Open one pull request" for accepted fixes not in one yet.
Revert an accepted fixfix revert <finding-id>/dashboardFix safety's revert pull request.
Answer the CI/CD checkfix gate apply <gate-id>/findingsAlso fix gate use <finding-id> corrected|original.
Auto Fix planautofix plan --repo R|--service S/findingsNothing changes until it is applied; --apply applies it with the console's default ticks.
Auto Fix: show or apply a planautofix show|apply <plan-id>/findings--only / --skip change the ticks.
Pre-Merge: scan a branch on GitHub, GitLab or Bitbucket, on the enginescans start --github|--gitlab|--bitbucket/scanRuns on the engine as you, and waits for the result (--no-wait to return at once).
Scanned branches: list and removescans list | scans forget/scanscans forget --id ID, or --repo R --branch B, or --repo R --all-branches.
Read and change settingssettings list|get KEY|set KEY=VALUE.../settingssettings list --group G shows one group, as on the page.
Load models for a providersettings models/settingsThe Settings page's Load models.
Restart the enginesettings restart/settingsRestart now.
Test the code index storagesettings test-index-store/settingsWith the storage keys as KEY=VALUE to try new ones.
Access keys on a running enginekeys create|list|revoke --engine URL/settings/keysWithout --engine, keys works on the engine's data folder on its own computer.
Community Rules: one rule on the enginerules catalog list|customize|test|save|rollback <rule-id>/rules/catalogtest and save take --file check.yaml; rollback takes --version N.
Correct a rule from a rejected findingcontrib correct <finding-id>/contributionsCorrect the rule; the new version starts in shadow.
Make a rule from an agent patterncontrib propose <pattern>/contributionsMake a rule.
Auto Contribute: plan and Apply plancontrib apply <plan-id>/contributionsPlan with rules contribute --all --engine URL, then send it as one pull request as you.
Sign up for Tomosu cloud (PRI)cloud login/pri--provider google|github; opens the sign-up in a browser and waits.
PRI: update now and score past scanscloud backfill --repo R/priAlso cloud sync (update now) and cloud logout --engine URL.
Pro rules and Update nowprorules update/prorulesprorules lists the Pro rules in use.
Plan and accountsprofile/profileYour plan and Tomosu cloud account.
Dashboard headline numbersdashboard/dashboard--json gives every chart's data.
Console work running in the backgroundtasks/dashboardAuto Fix plans and applies in progress.