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:
--tokenwith 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?
| Feature | Terminal | Console | Notes |
|---|---|---|---|
| Findings and reasoning | explain <finding-id> | /findings | Every finding with its origin label, evidence, fix and step-by-step reasoning. |
| Pre-merge scan | scan | /findings?view=pre-merge | Problems in the code, before it merges. |
| Pre-Merge: scan a branch on GitHub | scan --github | /scan | Any 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) | /scan | No GitHub App or sign-in; the console shows progress at the bottom right. |
| PDF report of a scan | scan --pdf | /scan | Scanned 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 production | runtime --pdf | /runtime | Runtime → 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 Reject | fix accept|reject | /findings | On every finding, in the list and on its page. |
| Fix pull request on Accept | fix accept --pr | /findings | Signed in with GitHub: a pull request with the fix, as you, with auto-merge. |
| Fix pull requests and their status | fix prs | /dashboard | Opened, merged, open, closed; time to merge; by fix source. |
| Fix safety timeline | fix timeline | /dashboard | Each accepted fix: merged, in the code, deployed, kept or reverted (also on each finding). |
| Production Context Graph | graph | /graph | Code and production connected; export as JSON, GraphML or Cypher. |
| AI-drafted fix with your own model | fix draft | /findings | Off unless you configure your own provider. |
| Dashboard numbers | audit | /dashboard | The terminal gets the same numbers as an audit report (text, JSON or CSV). |
| Audit report | audit | /audit | Repositories, files, when they were checked, agents run, reliability weakness rate, decisions and changes. |
| Agent work and weekly digest | digest | /agent | What model assist did this week. |
| Agent memory: what, why, how much | memory stats | /memory | What is remembered locally, why, and statistics. |
| Delete agent memory | memory reset | /memory | Model assist starts again from nothing. |
| When the agent works, and its daily budget | agent schedule · agent budget · agent status | /settings · /health | Continuously, 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 now | agent 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 data | ingest pause|resume|status | /settings · /health | Data that arrives while paused is dropped and counted; senders are never slowed. |
| Rejected findings → your rules | contrib queue | /contributions | Rejected findings that can make a rule more precise (Correct the rule). |
| Contribute a rejected finding | rules contribute finding:<id> | /contributions | You see and edit exactly what is sent; DCO sign-off. |
| Auto Contribute | rules contribute --all --engine URL | /contributions | A 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 signals | signals show, signals export --out DIR | /audit/signals | Exactly what the next upload holds; on by default, cloud.channels.signals turns it off. |
| Turn Tomosu Cloud off or on | cloud off, cloud on, cloud status | /settings | cloud 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 rule | rules contribute <rule-id> | /rules/catalog | Custom and proposed rules. |
| Rules catalogue | rules stats | /rules/catalog | Every check, its status and scorecard. |
| Write and test a rule | rules new|test|try | /rules/catalog | Scaffold, run on its examples and on your code. |
| Create a rule from a few answers | rules create | /rules/new | Name, 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 installs | keys create|list|revoke | /settings/keys | Named 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 changes | unlock-link | /unlock | Type 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 bundles | rules import|status|rollback | /rules | Signed bundles for air-gapped installs. Not in the menu: open /rules directly, or use the commands. |
| Settings | config init|check | /settings | Also .env and TOMOSU_* variables. |
| Code hosts: comments and reports | publish | /integrations | GitHub, GitLab and Bitbucket. |
| Code indexes | index push|pull | /indexes | Built in CI, delivered through your own storage. |
| Setup health | health | /health | What is missing and the exact fix. |
| Production services | runtime | / | Services, endpoints and signals from OpenTelemetry. |
| Connect GitHub | connect github | /connect/github | Your own GitHub App, in one click. |
| Sign in with GitHub | login github | /connect/github | Instead of the start-up key. |
| Who is signed in | auth status | /connect/github | And 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 | /integrations | Device-style sign-in through the engine; works for all three hosts and self-managed GitLab. |
| Connect GitLab or Bitbucket | connect gitlab|bitbucket --client-id ID | /connect/gitlab | Your 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 connection | integrations test github|gitlab|bitbucket | /integrations | The Connect page's Test. |
| Findings list | findings | /findings | Filters: --view, --repo, --origin, --severity. |
| Accept all and Reject all | fix accept-all|reject-all --repo R | /findings | One repository at a time; Accept all opens one pull or merge request as you. |
| One pull or merge request for accepted fixes | fix pr --repo R | /findings | "Open one pull request" for accepted fixes not in one yet. |
| Revert an accepted fix | fix revert <finding-id> | /dashboard | Fix safety's revert pull request. |
| Answer the CI/CD check | fix gate apply <gate-id> | /findings | Also fix gate use <finding-id> corrected|original. |
| Auto Fix plan | autofix plan --repo R|--service S | /findings | Nothing changes until it is applied; --apply applies it with the console's default ticks. |
| Auto Fix: show or apply a plan | autofix show|apply <plan-id> | /findings | --only / --skip change the ticks. |
| Pre-Merge: scan a branch on GitHub, GitLab or Bitbucket, on the engine | scans start --github|--gitlab|--bitbucket | /scan | Runs on the engine as you, and waits for the result (--no-wait to return at once). |
| Scanned branches: list and remove | scans list | scans forget | /scan | scans forget --id ID, or --repo R --branch B, or --repo R --all-branches. |
| Read and change settings | settings list|get KEY|set KEY=VALUE... | /settings | settings list --group G shows one group, as on the page. |
| Load models for a provider | settings models | /settings | The Settings page's Load models. |
| Restart the engine | settings restart | /settings | Restart now. |
| Test the code index storage | settings test-index-store | /settings | With the storage keys as KEY=VALUE to try new ones. |
| Access keys on a running engine | keys create|list|revoke --engine URL | /settings/keys | Without --engine, keys works on the engine's data folder on its own computer. |
| Community Rules: one rule on the engine | rules catalog list|customize|test|save|rollback <rule-id> | /rules/catalog | test and save take --file check.yaml; rollback takes --version N. |
| Correct a rule from a rejected finding | contrib correct <finding-id> | /contributions | Correct the rule; the new version starts in shadow. |
| Make a rule from an agent pattern | contrib propose <pattern> | /contributions | Make a rule. |
| Auto Contribute: plan and Apply plan | contrib apply <plan-id> | /contributions | Plan 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 scans | cloud backfill --repo R | /pri | Also cloud sync (update now) and cloud logout --engine URL. |
| Pro rules and Update now | prorules update | /prorules | prorules lists the Pro rules in use. |
| Plan and accounts | profile | /profile | Your plan and Tomosu cloud account. |
| Dashboard headline numbers | dashboard | /dashboard | --json gives every chart's data. |
| Console work running in the background | tasks | /dashboard | Auto Fix plans and applies in progress. |