jig-harness/jig
Jig as a software factory · the line

The line: one work item, from pickup to follow-up.

The unit of work is one work item. What the line hands on is a merged pull request, and filed follow-ups. Two rails run under the stations: on the first a person merges, and on the second the dispatcher starts a station when nobody does.

The line, station by stationone work item, seven stations

Every change passes the same stations, one work item at a time. A station is one fixed step, with its input, its output and who runs it. A skill, a named procedure an agent follows, runs most of them, and the plugin ships the skills.

  1. 1Pick upRun by a skill: do-itemRun by a tool: launcherthe “open in coding agent” button in Linearhands ona branch, a workspace and a plan
  2. 2BuildRun by a skill: do-itemRun by a skill: reviewhands onthe change, reviewed before its first push
  3. 6MergeRun by a persona personOn the roadmap: roadmap 9a converged drive arming the merge it certifiedwould change “a person merges”; decided on its ownhands ona merged pull request
  4. 7Follow upRun by a tool: repository follow-upthe plugin's followup skill unless the repository names its own; started by a person or the dispatcherRun by a skill: followupRun by a persona personStarted by a tool: dispatcherstarts the repository's follow-up commandhands onfollow-up items, back to station 1

The upper rail, at station 6, Merge: a person merges

  • 1Pick up: pickup
  • 4Drive: re-arm · re-drive
  • 7Follow up: follow-up

The dispatcher starts these stations when nobody does, every few minutes. It never merges. ↺ Follow-up items enter the line again at station 1.

Every change follows the same pull-request loop, and the stations run it:

  1. 1

    Develop on a branch, and reuse a remote branch before creating one. Open a draft pull request early, so CI and the review bots start, or a ready one where the repository’s policy says so.

  2. 2

    Review rounds. Reviewers in layers read each round: an in-house shadow reviewer, commercial bots, people. What changed decides which review steps are mandatory.

  3. 3

    Resolve every comment. Each thread gets one recorded outcome: accepted and fixed, rejected with the reason, won’t fix, deferred to a filed item, or moot (the outcomes). Once the draft reviewers settle, a person or the drive marks the pull request ready, and the reviewers that wait for that join. The loop ends when a later round settles with nothing left, every expected reviewer has reported on the current head, and the build is clean.

  4. 4

    Merge. A person merges once no conflict is left, and the follow-up updates the tracker.

Follow-up items enter the line again at station 1, so the line is itself a loop. At station 4 the review rounds run unattended, as one PR drive loop, a drive for short. A drive stops on one named end state, such as converged, waiting on a person, or in conflict. It never approves and never merges. With nobody at the keyboard, the dispatcher starts stations 1, 4 and 7.

On the roadmapOn the roadmap: roadmap 9a converged drive arming the merge it certifiedOn the roadmap: roadmap, Latera drive's repair round running fix-ci
1Pick upA tracker item becomes a branch, a workspace and a plan, and goes to the right agent. Each session takes one sub-issue of an epic, and the dispatcher starts its ready sub-issues in parallel.Run by a skill: do-itemRun by a tool: launcherthe “open in coding agent” button in Linear
2BuildThe agent makes the change and its validation plan. A review before the first push checks it in tiers. A small change skips the tiers and keeps the reviews its areas require.Run by a skill: do-itemRun by a skill: review
3OpenA pull request shaped by the repository’s declared policy: draft or ready, its base, its size. Several small items from one area can share one.Run by a skill: do-itemRun by a skill: work-batch
4DriveReview rounds run unattended. Each round waits for the reviewers and gives every finding one recorded outcome. Then it fixes, verifies, pushes and resolves. An arbiter rules on contested findings.Run by a skill: drive-prRun by a skill: resolve-review-commentsRun by an agent: review-arbiter
5RepairRed CI or a conflict with the base gets a bounded repair round, and the drive checks again.Run by a skill: drive-prRun by a skill: resolve-conflictsRun by a skill: fix-ci
6MergeA person merges.Run by a persona personOn the roadmap: roadmap 9a converged drive arming the merge it certifiedwould change “a person merges”; decided on its own
7Follow upAfter a merge, the dispatcher starts the repository’s follow-up, which settles what the merge owes. Deferred review findings become tracked follow-up items.Run by a tool: repository follow-upthe plugin's followup skill unless the repository names its own; started by a person or the dispatcherRun by a skill: followupRun by a persona personStarted by a tool: dispatcherstarts the repository's follow-up command