Skip to content
Jupiter documentation
Menu

Workflow record

The file that holds one workflow, its fields, and when the plugin creates, replaces and ends it.

The plugin stores one Workflow record per project:

The path is relative to the project root, also when opencode runs in a subdirectory. The plugin writes a .gitignore with the content * into the directory, so git ignores the record. It leaves an existing .gitignore as it is.

Fields#

Phases#

idle, intake, planning, execution, research, adversarial-review, reconciliation, verification, remediation, completed, blocked.

A command sets intake. The model moves the phase with open_ultracode_record_intake. The plugin sets two phases itself:

A workflow is open in every phase except idle and completed.

Evidence that counts#

The verification list keeps every record. The gate, the status tool and the compaction summary use the latest record of each id.

Damaged files#

The plugin checks the file each time it reads it. A file that is not JSON, has an unknown mode or phase, or lacks one of the lists is moved to workflow-state.json.bak. The plugin then reports the notice workflow-state-corrupt and continues without a record.

Compaction#

When opencode compacts a session of the workflow, the plugin adds a summary of the record to the compaction prompt. It starts with OpenUltraCode workflow continuity and lists the mode, the phase, the goal, the open findings and the latest result of each check. Sessions outside the workflow get no summary.

Source: belikh/OpenUltraCode v2.1.1