All docs

Checks after each task

Set up project checks, approve suggestions and read the results after a task changes files.

Each project can have its own checks, described in plain English, such as “The app still builds for Android.” When a Work task leaves changes, Ophio runs the approved checks that apply. These results are separate from anything the agent ran or said it checked.

To set up or change checks, both the phone and computer need Øphio 0.3.0 or later. With a 0.2.0 phone, a newer computer still runs checks you already approved, but the phone shows the task as Working while they run. See updating the phone and computer.

Set up and approve checks

  1. Choose your project in the header and open Library → Checks. Tap Set up checks to ask an agent to find useful tests or build commands. If checks are already set up, tap Add a check, describe what you want checked, then tap Send. Your phone needs to be connected and allowed to use tasks and edit the Library on that computer.
  2. Open Suggested checks in the Library or on the setup task’s receipt. Ophio tries the suggested new or changed checks on the project as it is now. Wait for those trial results. Read what each check covers, when it runs and whether it asks to use the internet. If a trial failed or couldn’t run, check why before approving it.
  3. Tap Leave out beside any suggestion you don’t want, then Use these to approve those still selected. Discard leaves the approved checks unchanged. If the approved checks changed while the agent was drafting, use Ask again to get a fresh suggestion.

The agent can propose changes, but it can’t approve them. A trial run does not add a check to the ones that run automatically.

Change or remove a check

Open the check in Library → Checks. Under Change this check, describe the change and tap Send. Review and approve the suggestion as above. If you know the command and want to edit it yourself, open Details → Edit by hand. Save and run approves your edit and tries the check once; the edit stays saved even if the check fails.

Use Turn off to keep a check without running it automatically, or Delete to remove it. If you delete one by mistake, use Undo in the confirmation message. Use Run it now to try a check without starting a task, while the project is idle.

Which checks run

Ophio compares the project’s files before and after the work. An enabled check set to run after a task applies if at least one changed file matches the folders or files it watches. If it doesn’t watch anything specific, any detected change counts. A task that leaves no detected changes does not trigger checks. Changes in excluded folders, such as build output, may not count. If the comparison is incomplete, Ophio errs on the side of running checks rather than assuming nothing changed. Read-only Ask and Plan tasks do not trigger them.

The Before merging (not run yet) option doesn’t run a check automatically, and the setup command field is stored but not run. These checks do not replace anything your repository requires before merging.

Read results and deal with failures

While checks run, the task shows Checking… and its completion notification waits. Use the task’s Stop if you need to stop the checks. Open the task’s receipt and look under Checks → Ophio’s results. Expand a check to see its status, how long it took and the end of its output. The Library also shows the last result for each check. See Tasks and task history for the rest of the receipt.

Passed means the command completed successfully, not that it covered everything. Failed means the command ran and reported failure. Could not run gives a reason. Time limit reached, Not needed for these changes, Off and Not checked: stopped are not passes. A task can finish even when a check fails; Ophio doesn’t undo the changes or fix them automatically. Read the output or reason, then rerun the check after addressing the problem. If Ophio couldn’t confirm a check finished or stopped, don’t rely on its result or start another run until you know what happened.

A check can depend on files such as a test script. If those files differ from what you approved, Ophio flags the change even if the check passes. Review the files before choosing Keep the change in the Library.

What checks can access

On Linux, and on the experimental Mac download, checks run in a sandbox that limits what the command can access. A check that runs after a task gets no more access than that task’s agent, and can use the internet only if both the check and the task allow it. A check started with Run it now gets the access a new ordinary Work task would have. The sandbox still lets a check write in the project folder, so approve commands you trust.

On experimental Windows, checks run without that sandbox. They have the file and internet access of a normal program on that computer, and Ophio records that they ran without a sandbox. See the platform support notes for the release limits.

Stars on GitHub help people find Øphio. If you like it, consider starring it. Star on GitHub