# Joust

Races 2 to 4 coding subagents on one task, each in its own Git worktree, judges them with your tests and merges only the best patch after you approve.

- Type: Plugin
- Version: 0.1.1
- Updated: 22 Nov 2026
- Publisher: mrnetwork0001
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Races 2 to 4 coding subagents on one task, each in its own Git worktree, judges them with your tests and merges only the best patch after you approve. joust_launch provisions one detached worktree per contender under the profile's plugin-data folder (uncommitted tracked edits are mirrored and committed as the baseline) and, inside an agent turn, launches one Ulpi subagent per contender through ctx.subagent_lifecycle, optionally each on its own model.

A tool_request middleware rewrites each child session's file paths, V4A patch headers, search roots and terminal workdir into its worktree, and a pre_tool_call hook vetoes escapes. joust_evaluate runs the bout's test command in every worktree through the Ulpi terminal tool, 1 to 7 times (Flake Shield: every run must pass, median speed, flaky contenders cannot win), scoring Correctness 60, Speed 25 and Diff minimalism 15.

joust_crossfire fires each contender's new tests at every rival worktree, and survival is the first tiebreak. joust_merge applies the winner with git apply behind Ulpi's approval gate, after saving a rollback patch and keeping every contender as a joust/\<bout\>/\<contender\> branch; joust_report writes a markdown bout report.

Also adds /joust, the ulpi joust CLI, the joust-arena skill and a Desktop half (/joust page, right pane, status-bar chip, palette command,::joust-bout inline card). Disclosure — runs local git in the repository you name (rev-parse, worktree add/remove/prune, add -N, diff, apply, apply -R, reset, branch, write-tree and commit-tree; init/add/commit for its demo repo and the copy fallback, which copies the repository into the profile's plugin-data folder), registers worktrees in that repository's.git/worktrees until joust_merge action=cleanup, creates joust/\<bout\>/\<contender\> branches (config keep_loser_branches, default on), and writes the approved patch into your working tree.

Contender subagents' file paths and terminal workdir are redirected into their worktrees, but their

## Tools it adds

The tools an agent gets once this plugin is installed.

- `joust_launch`
- `joust_evaluate`
- `joust_diff`
- `joust_steer`
- `joust_merge`
- `joust_status`
- `joust_crossfire`
- `joust_report`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [jp-address](https://www.ulpi.io/en/marketplace/plugins/jp-address): Splits one Japanese address into prefecture, city, town and the remainder with address_split, built on Geolonia's address data.
- [jp-charts](https://www.ulpi.io/en/marketplace/plugins/jp-charts): Bar, line, stacked and 100% band charts as phone-sized PNGs for chat replies and reports, with Japanese text, 万/億 units and a required unit and source line.
- [jp-corporate](https://www.ulpi.io/en/marketplace/plugins/jp-corporate): Japanese corporate lookup (法人照会): find or verify a company by name or corporate number and read its gBizINFO record.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
