Workers, monitor, merge

Send non-critical work to orkai/work. You keep the critical task in OpenCode. Test that branch yourself.

You will learn

  • That each task runs on the harness, model and variant you pick, and that harness must already work on its own
  • How you extend Stall, then assign workflow, harness and model in Work mode
  • That worktrees merge into orkai/work, and you switch there to test before main

The idea

A model is a resource. Two unrelated jobs should not share one prompt and rewrite catalog math. Daily specials is a banner. The accountant CSV is an export. Neither is “make croissant 350 into a float.”

Background workers pick up tasks that already have a workflow_id, a harness and a model. The harness is the coding tool that runs the task, Claude Code or OpenCode. The model is one of that harness's models. If the harness cannot call the key, the worker cannot run.

Default integration branch is orkai/work. Each task runs in a worktree and merges there. You do not merge to main from a chat. When the tasks are on orkai/work, you switch to that branch, test, then you accept the land to main.

Workers are for work you can let run: extra UI, an export, tech debt, a benchmark, an A/B. Critical path stays with you in OpenCode, where you read the reasoning live. Most days that means one critical task in the chat, and planning while the workers run.

Do this in OpenCode

  1. Check that the harness you will use works on its own. In OpenCode, valid keys: /connect adds a provider, /models lists what is connected. Claude Code works the same way once you are logged in.
  2. Open the OrkAI window. Setup, then Work. Set the planner. There is no model list here.
  3. New chat in the Stall folder. Extend the same Stall requirement (Product Owner, Architect if needed, Feature Planner). Do not put workflow, harness or model on the tasks in the chat.
  4. Open Project Manager, select the plan, switch to Work mode. Select the tasks, Configure work. Pick Fullstack Developer, then Harness, Model and Variant for Implementation, in bulk. Review can use the same settings or its own.
  5. orkai work start, then orkai work monitor --category stall (use the name or id from .orkai.yaml if yours is different). You can keep planning in OpenCode while that runs.
  6. When the tasks are merged into orkai/work, switch to that branch and test it yourself. Then review against main and merge. Save the session.

Workflows: Workflows. Tasks: Plans, milestones and tasks. Review: Review.

Harness first

orkai Work does not log you into a provider. The harness does. Each model you will assign must already work in its harness with a valid key: OpenCode with /connect, Claude Code with your login. If a model is missing there, do not expect orkai to add it.

Work setup in OrkAI

Run orkai open if the window is not already open. Open Setup, then Work. There is one job here:

  • Planner. A small LLM that decides which pending tasks can run together. Ollama or OpenAI-compatible only. You can reuse the Review model if it is compatible. For this tutorial, DeepSeek V4 is enough.
orkai open

There is no list of coding models in Setup. You do not type model ids here and you do not edit a config file. Harness, model and variant are set on each task, in the next step. The lists you pick from come from the harnesses installed on this computer: for OpenCode, its free models plus the providers you connected with /connect.

Extend Stall, then assign in Work mode

Same requirement as before. Specials: a banner on the shop, not the catalog price table. CSV: an export the accountant can open. Tasks must not touch croissant cents or the sold-out rule. Same loop you already know: Product Owner, Architect if needed, Feature Planner. Leave workflow, harness and model empty.

Load the Product Owner workflow to extend the requirement. The new features are: a daily specials banner on the shop, and an accountant price CSV. Still catalog plus orders. No payments. Do not change catalog pricing rules.
Load the Architect workflow to validate if the new features need to extend the architecture or a new standard.
Load the Feature Planner workflow. Add this work to the existing Stall v1 plan. New milestones are enough. Do not assign workflow_id, harness or model on the tasks. Stop for my approval.

Then orkai open. Project Manager, open the plan, switch Default to Work mode. Select the new tasks (or Select all). Configure work assigns workflow, harness and model together:

  • Workflow. Fullstack Developer. It is the prompt the task follows.
  • Implementation. Required. Pick the Harness (OpenCode or Claude Code), then the Model, then a Variant if that model has one. For OpenCode on Stall, a DeepSeek model such as deepseek/deepseek-v4-pro is enough.
  • Review. Leave Review: same as implementation checked, or clear it and fill Gatekeeper (review) with its own harness, model and variant. A cheaper or different model can review.

A task with no harness is skipped until you set one. Start with one lane, or many tasks from many milestones. The planner coordinates. Do not start workers until this is done.

Start workers and watch

orkai work start
orkai work monitor --category stall

start wakes the worker inside the daemon you already have running.

Monitor is how you watch without sitting in every chat. Same board in two places: the terminal command above, or orkai open → Work Monitor. You see tasks that are valid for work (workflow, harness and model already assigned), plus in progress, done, and blocked.

Open a task that is in progress. You get Details, Steps, and Agent: live output from the background run, on whichever harness you picked. That is the value. You still keep one critical task in your own OpenCode chat. Monitor is for the rest.

Always pass --category with this project's name or id from .orkai.yaml. Without it, you see every project. There is no /docs/work page.

Test on orkai/work

Worktrees merge into orkai/work, not into your current checkout. When monitor says the tasks are done, switch and validate there. Catalog math must still hold.

git switch orkai/work

Merge to main is an accept decision

Do not merge orkai/work to main until I have tested that branch and orkai review --process stall passes vs main.
I will run review. If it fails, fix. Then merge.
orkai review --process stall --base main --head HEAD

Done looks like this

Specials and the CSV landed on orkai/work through the git hook. You switched there and tested. Review vs main passed. You merged on purpose. The critical shop rules stayed in your hands.

Save the session

Save the session, I will continue in a new one.

Recap

You kept one critical thread. Workers filled orkai/work. You tested that branch. Parallel work is extra evidence under the same house rules. Next you ask the project where Stall stands.