OpenCode Desktop Automations: Find Which Job Wakes a Session

Trace OpenCode Desktop automations across two projects named docs. Match prompts to their sessions and verify that pausing one job leaves the other active.

Two OpenCode Desktop automation tracks. The local track has a gap at Pause while the integration track continues toward its own transcript.Two OpenCode Desktop automation tracks. The local track has a gap at Pause while the integration track continues toward its own transcript.
Illustrative test. Pause the local timer and look for a fresh integration marker while the local transcript stays quiet. Based on the OpenCode Desktop rollout and v2.4.3 scheduler.

Two projects called docs are open in OpenCode Desktop. A session wakes while you’re working elsewhere, and you suspect a timer. Which job sent the prompt? OpenCode Desktop automations give you three clues to check together. Read the trigger, check Last run, and find the incoming prompt in the target session’s transcript.

You’ll give two jobs distinct messages, pause one job while the other keeps running, and verify a fresh delivery after resume. Use OpenCode Desktop v2.4.3 or later, two connected servers that support automations, a working model connection in each test session, and a disposable project on each server. OpenCode shipped the Desktop view in its November 29, 2026 release. The timing behavior described here comes from the v2.4.3 server implementation. OpenCode v2.4.3 release notes

The OpenCode v2.4.3 release page on GitHub.
OpenCode’s v2.4.3 release notes, published on GitHub. · Original source

Make two jobs that leave distinguishable traces

  1. On your local server, open a disposable project whose folder is named docs. Create a test session there and name it Docs local. The example directory is /work/local/docs.
  2. On your integration server, open a separate disposable project also named docs. Create a test session there and name it Docs integration. The example directory is /work/integration/docs on that server.
  3. In each session, send a brief ordinary message to confirm that the model responds. Use different wording in the two sessions so you can recognize the exchanges later. When both turns finish, check that the composer offers /automation in each session. Keep the server connections available throughout the exercise.

Use your actual paths when comparing directories. The example deliberately gives both folders the same final component. When Desktop falls back to a folder name for an unknown project, both rows can read docs. The inspector still shows the full directory. The rollout removed the server address from the list and inspector, so even a full path can be ambiguous if the two servers use the same directory layout. Make a note of the server associated with each session while you have its project open. That gives you an independent reference when you follow a recipient link from the combined list. Desktop rollout changes · Inspector and project display diff

An ordinary message checks whether you can work in that particular session before you ask its agent to create a job. If the session itself fails to load, check the server connection first. If the session loads and the ordinary message fails, resolve the model connection before starting the timers. For either problem, work from the project on the server that showed the symptom so a healthy connection elsewhere in Desktop doesn’t mask it. OpenCode server troubleshooting guide · OpenCode V2 setup

In the Docs local composer, select /automation and use the rest of this line as the request. The text after the command is a natural-language instruction to the agent in Desktop.

/automation Create one recurring timer automation named docs-local-check. Use a prompt action every 2 minutes and deliver it to this existing session, Docs local, in the current project. Store exactly this scheduled prompt: DOCS-LOCAL-TICK. Use the prompt action directly, with no shell, script, subagent, file changes or external calls as part of the job. Give the timer no expiration. Report the created job's name, interval and target session.

In the Docs integration composer on the integration server, use this request.

/automation Create one recurring timer automation named docs-integration-check. Use a prompt action every 3 minutes and deliver it to this existing session, Docs integration, in the current project. Store exactly this scheduled prompt: DOCS-INTEGRATION-TICK. Use the prompt action directly, with no shell, script, subagent, file changes or external calls as part of the job. Give the timer no expiration. Report the created job's name, interval and target session.

Let each setup turn finish, then inspect the stored jobs. If the response merely describes a job, look for it in Automations before submitting the request again. An ambiguous response can accompany a successful creation. If you see duplicate rows for a test name, use their directories, actions and recipients to identify what you created. Resolve the duplicate before counting messages, since two jobs sending the same text make the transcript evidence ambiguous. If an identified test row has the wrong action or target, delete that row, submit the request from the intended session, and base your checkpoints on the replacement job’s schedule.

OpenCode documents /automation for recurring prompt actions. With the tagged scheduler, an interval prompt timer must be at least one minute, and its first slot is one interval after creation. The two- and three-minute intervals give you time to open the inspector and let you recognize the timers separately. Each request names the current session as the recipient. An explicitly selected existing session has to belong to the same project, which is another reason to submit each request from its own test session. The reported name and interval are useful for finding the row. Use the stored action and recipient to verify the result of the natural-language request. OpenCode automation changelog · Scheduler implementation at v2.4.3

Match each job to a new transcript entry

  1. Open Automations from the Desktop sidebar or Home. Select docs-local-check. Check that the trigger repeats every two minutes and that the action stores DOCS-LOCAL-TICK for Docs local. Compare the directory with the local project you opened during setup.
  2. Select docs-integration-check. Check its three-minute interval, DOCS-INTEGRATION-TICK prompt, Docs integration recipient and integration project directory. If either row differs from the request, correct the disposable setup before collecting the baseline.
  3. After each job has had time to fire, read its Last run and open the recipient session. Find a new incoming copy of the exact marker below the setup exchange. Record the job name, its last-run observation and the corresponding transcript entry before proceeding.

The inspector shows when a job is scheduled to run, what action it takes and what happened on its last run. In this exercise the creator and recipient can be the same session. On an existing job, follow the recipient link in the action to reach the session that should receive the prompt. Desktop hides Created by if it can’t resolve that session’s name. It can display a generic recipient label while still offering a link to the target. When a title is ambiguous, open the intended server’s project separately and use the session menu’s Copy submenu to compare the Session ID with the one reached through the recipient link. Make that comparison in the corresponding server context before changing a row. Inspector implementation · Recipient and creator display diff · Session menu release notes

Two prompt routes pair a verified job and trigger with the last run and the corresponding incoming marker in its target session.Two prompt routes pair a verified job and trigger with the last run and the corresponding incoming marker in its target session.
Each timer has its own target and marker. Match the inspector's last run to a new incoming prompt in the correct transcript. Illustrative, based on the Desktop inspector and v2.4.3 scheduler.

The marker appears in the setup request itself, and an assistant might echo it in a setup confirmation. Look for a separate incoming message whose body is the marker. It should occur after the setup exchange and around the recorded run. If several jobs are due at the same time, use the prompt body and recipient to distinguish them. A model reply can help diagnose what the session did after receiving the prompt. The incoming entry is the observation you need for this exercise. Keep evidence you can replay

A countdown on an active row is a cue to look again after the next expected slot. The chip rounds the time, so give the view time to update before interpreting the absence of an entry. Start the pause test once both rows have a matching delivery. If one timer has shown a countdown but has yet to produce a marker, check its action, recipient and last outcome while both timers are still active. This gives you a chance to correct a setup problem before testing the effect of Pause. Countdown formatting and row behavior

The table gives illustrative expected observations for task:docs-wakeup-01. All times use one clock. The local job is created at 10:00 and the integration job at 10:01. Their first due slots are 10:02 and 10:04. The local timer also has a second slot at 10:04, so the pause comparison uses a newer local checkpoint than the first baseline. Use the slots from your own jobs when you run the exercise.

Input Action Expected result
task:docs-wakeup-01 local baseline, /work/local/docs, Docs local, two-minute interval Open docs-local-check in Automations, verify its trigger and action, then follow the recipient after the first due slot. Illustrative. Last run records 10:02 and a new incoming DOCS-LOCAL-TICK appears in Docs local below the setup exchange.
task:docs-wakeup-01 integration baseline, /work/integration/docs, Docs integration, three-minute interval Open docs-integration-check, verify its trigger and compare Last run to its target transcript after the first due slot. Illustrative. Last run records 10:04 and a new incoming DOCS-INTEGRATION-TICK appears in Docs integration.
task:docs-wakeup-01 pause, both jobs have a settled 10:04 run At about 10:05, select docs-local-check and click Pause. Keep both servers available through the 10:06 local slot and the 10:07 integration slot, then recheck both rows and transcripts. Illustrative. Local Last run stays at 10:04 and there is no new local marker. Integration Last run advances to 10:07 and a new integration marker appears.
task:docs-wakeup-01 resume, local paused with last run at 10:04 At about 10:07:30, select the same docs-local-check, click Resume and inspect the row and Docs local after its next due slot. Illustrative. Local Last run advances to 10:08 and a new incoming DOCS-LOCAL-TICK reaches Docs local.

Pause the local job and let the integration job run

  1. Wait for the two test turns to settle. Select docs-local-check and verify its directory and recipient again. Record the most recent run and the position of the corresponding marker in Docs local. In the filled example that’s the 10:04 local run. Record the latest integration marker and run too.
  2. Click Pause on docs-local-check well before the next local slot. Confirm the selected row is paused and leave docs-integration-check active. Keep both servers available during the comparison.
  3. Stay paused through a full two-minute interval and through the next integration slot. Check both Last run records after the view updates. Look below the previously recorded markers in both transcripts. If Last run uses relative time, compare the run the label describes. A label that changes from two to four minutes ago can still describe the same run.

Illustrative minute-scale chart from 10:04 to 10:08. Local delivers at 10:04, misses 10:06 while paused, and delivers at 10:08 after resume. Integration delivers at 10:04 and 10:07.Illustrative minute-scale chart from 10:04 to 10:08. Local delivers at 10:04, misses 10:06 while paused, and delivers at 10:08 after resume. Integration delivers at 10:04 and 10:07.
Illustrative timeline. During the local pause, the 10:06 local slot produces no new prompt and integration fires at 10:07. The local job fires at 10:08 after resume. Scheduling behavior from OpenCode v2.4.3, November 29, 2026.

Pick a pause time that leaves room before the next local slot. A prompt handed off just before the pause may appear later. The scheduler checks that the job is active when it takes up a due timer, and a run already under way can still update the record after Pause. If you clicked near the boundary and a local message arrives, note it and let the session settle. Use the newly settled local run and marker as the next comparison point, then watch a full later interval while the job is paused. In the example, starting at 10:05 gives roughly a minute before the local 10:06 slot. Timer admission and pause logic

Start with what you can establish from the integration side. At the 10:07 checkpoint, the advancing record and fresh integration marker show that this job continued delivering. It runs on another server, so verify the local connection independently. Reopen Docs local from the intended server’s project and check that the session loads and its job still shows as paused. If you know either connection dropped during the observation window, use another interval with both connections available. A previously loaded inspector and a quiet transcript give weak evidence when the server’s current state is unknown.

If both jobs go quiet, start with the job you left active. Check whether the integration server is reachable, whether the integration row is still active and what outcome it records. If a test row disappears or the composer stops offering /automation, check the effective top-level automations setting for that directory. It defaults to enabled, and project configuration can override global configuration. Desktop can still show its Automations entry while the server hides jobs whose directories have automations disabled. Use an enabled disposable project if the existing project is intentionally disabled. Restore two working baselines before attributing a quiet interval to Pause. Core configuration change · Desktop rollout · Server listing and timer logic

Resume and verify a fresh local delivery

  1. In Automations, select the verified paused local row and click Resume. Confirm that it becomes active. Use your recorded schedule and the countdown to estimate the next due slot.
  2. After the slot, compare Last run with the pause checkpoint. Open Docs local and look for a new incoming DOCS-LOCAL-TICK below the one you recorded before pausing.
  3. Record the resumed delivery once both observations agree. If one is missing, use the checks below before submitting another creation request or changing the job state again.

A repeating timer keeps its schedule on resume and advances past elapsed slots. In the example, resuming at 10:07:30 advances past the missed 10:06 slot and makes 10:08 the next due slot. There are only 30 seconds between clicking Resume and that expected run. If you return after a newer run has replaced the 10:08 record, match the latest record to a fresh entry in the local transcript. You can still confirm that the job resumed. If you need to verify the first due slot specifically, repeat the test and keep the two relevant views ready before you click Resume. Recurring timer resume semantics

Observation Next check
The local row appears active, but Last run stays old after the due slot Check the last outcome and any diagnostic. Verify the directory and target on the intended server. The scheduler can pause a prompt job if its target has disappeared or moved to another project.
Last run advances and the marker is missing Read the stored prompt, follow its recipient link and give the session time to process the incoming prompt. Check for the input entry even if the assistant has yet to reply.
One marker appears and a later due slot produces no duplicate Check whether the earlier timer prompt was still pending. The scheduler can skip a duplicate for the same job while the previous prompt remains pending in the existing session. Let the session settle and check a later slot.
Two rows still look like plausible matches Confirm the full directory and recipient identity from the intended server’s project. Compare the stored prompt and interval with your notes before using Pause, Resume or Delete.

The tagged scheduler records a successful prompt run after the handoff is durable. A session can take more time to show or process the prompt. In particular, when the previous timer message remains pending, the scheduler can advance the schedule without inserting a fresh copy. If the first slot is unclear, preserve what the inspector and transcript showed, let the target settle, and check a later slot. Label the later delivery with the run you actually matched. Prompt admission and pending-message handling

If you need to diagnose a model or connection problem mid-test, use an ordinary message with different text from the scheduled marker. Finish that turn before the next timing check. Typing the marker yourself adds an incoming entry with the same body as the automation, leaving you with a harder attribution problem at the next checkpoint. If normal prompts fail with request-size errors, resolve the session problem before repeating the comparison. OpenCode context-limit recovery

Read shell results and remove the test jobs

  1. If an existing row uses a fixed shell action, inspect its saved command and Last run output. Use its exit code and output to judge the run. Both jobs in task:docs-wakeup-01 use prompt actions, so the example requires no shell action.
  2. After verifying the resumed marker, select docs-local-check. Verify the name, directory and recipient, then use Delete for that disposable test row. Do the same for docs-integration-check, checking it against the integration project and recipient before deleting it.
  3. With both servers available, return to Automations and confirm the two test rows are gone. Keep the transcripts if you need to share the evidence. For a later repeat, use the original setup requests and establish new baselines from the new schedules.

A fixed shell action runs on its server and can record the completed command’s exit code and output while the session stays quiet. For an illustrative diagnostic, suppose Last run shows Exit code: 1 and the output reports a missing required file. Inspect the saved directory and the command’s expectations about that file. That result is evidence of a failed command, even with a quiet transcript. If a shell command is still executing when you pause its job, it can continue to completion. Use the appropriate interruption procedure for the running operation if it needs to stop. Fixed shell action implementation and behavior · Interrupting agent work safely

For a live job that may be needed again, record its prior state before pausing so you can restore that state after the investigation. Keep the expectation tied to the action type. For an existing-session timer prompt, write down the verified recipient and a specific transcript entry alongside the last run. For the disposable case, your completed record should have the local baseline, the missed local slot alongside the continuing integration delivery, and a fresh local marker after resume. If the control job never delivered or the local server was unavailable during the window, preserve the observations and repeat the comparison under working conditions before drawing a conclusion.

Sources

  1. OpenCode v2.4.3 release notes
  2. OpenCode Desktop inspector implementation
  3. OpenCode Desktop rollout pull request
  4. OpenCode v2.4.0 changelog
  5. OpenCode automation settings change
  6. OpenCode fixed shell action implementation
  7. OpenCode Desktop rollout diff and regression fixtures
  8. OpenCode v2.4.3 scheduler source

Many assistants.
One place to remember.

Bring your AI sessions, context, and usage together with Automater.

Meet Automater