Skip to content

fix: gate reporting checkpoints in ultra-flow-route and release-route #14

Description

@LeXwDeX

Blocked by: LeXwDeX/OpenCode-GraphAgent#320 (runtime authoring enforcement; runtime-compat.json bump waits for the merged runtime SHA)

Problem

The runtime is about to reject report_to_parent checkpoints whose dependents are not gated by a condition on the checkpoint output (authoring-enforced; see runtime issue #320 and the 2026-08-17 incident where an ungated ultra flow ran to completion after every decision gate returned replan).

Audit of this repo's curations found exactly two affected shapes:

  1. ultra-flow-route.yaml — all five checkpoint→stage edges ungated (cp-after-explorationstage-design, cp-design-decisionstage-development, cp-after-developmentstage-acceptance, cp-acceptance-decisionstage-release, cp-after-releasestage-summary). This template produced the incident graph.
  2. release-route.yamlrelease-execute depends on release-gate (report_to_parent: true) with no condition: the release would auto-execute the moment the human gate node settles, regardless of verdict.

Fix (grill-settled)

  • Add condition gates on each checkpoint's verdict output (backward compatible — runs correctly on current and older runtimes, so this can land BEFORE the runtime PR).
  • release-execute condition: proceed on the gate's accept-verdict (graph stays whole; human adjudication stays in the gate child session).
  • After runtime #320 merges: bump runtime-compat.json to the merged full-runtime commit SHA and pass template-validation CI.

Acceptance

  • Both YAMLs pass the new authoring validation (no ungated-checkpoint diagnostics) and template-validation CI
  • Gate verdict vocabulary taken from each checkpoint's own output_schema/prompt (verify per file; do not invent verdicts)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions