Skip to content
Jupiter documentation
Menu

Completion gate

The rules that turn criteria, evidence and findings into one status, and what ends a workflow.

The Completion gate is a function of the Workflow record. open_ultracode_completion_report runs it. The model reports the gate's status and does not judge completion itself.

Rules#

The gate applies these rules in order and returns the first status that fits:

A check proves a criterion when its result is pass and its criteriaIds contain the criterion's ID.

Evidence#

Each check has an id. The gate uses the latest record of each id. A check that failed and then passes under the same id no longer holds the gate. A check that passed and then fails does.

The record keeps every result, so the history of a check stays readable.

Findings#

A finding is open until it is accepted or rejected:

Findings of low severity never hold the gate. With adversarialReview: disabled the report lists findings and they do not change the status.

End of a workflow#

A workflow ends when a completion report has one of these statuses:

Setting the phase to completed with open_ultracode_record_intake also ends it. After the end, the next command starts an empty record, and the high-effort hints stop.

Differences from upstream 2.0.1#

  • The upstream gate did not read findings. A report could be verified with an open finding of high severity.
  • Evidence could not be replaced. One fail record kept the status at failed after the check passed.
  • Research workflows reported partial.
  • advisory behaved like strict.

Source: belikh/OpenUltraCode v2.1.1