diff --git a/formulas/run-planner.toml b/formulas/run-planner.toml index bdd6711..c2ab01b 100644 --- a/formulas/run-planner.toml +++ b/formulas/run-planner.toml @@ -128,7 +128,11 @@ Evidence from the preflight step informs whether each prediction is valid -d '{"labels":[]}' For DISMISS: - a. Comment with explicit reasoning + a. Comment with explicit reasoning: + curl -sf -X POST -H "Authorization: token $CODEBERG_TOKEN" \ + -H "Content-Type: application/json" \ + "$CODEBERG_API/issues//comments" \ + -d '{"body":"Dismissed — "}' b. Relabel: remove prediction/unreviewed, add prediction/actioned: curl -sf -X DELETE -H "Authorization: token $CODEBERG_TOKEN" \ "$CODEBERG_API/issues//labels/" @@ -136,7 +140,11 @@ Evidence from the preflight step informs whether each prediction is valid -H "Content-Type: application/json" \ "$CODEBERG_API/issues//labels" \ -d '{"labels":[]}' - c. Close the prediction issue + c. Close the prediction: + curl -sf -X PATCH -H "Authorization: token $CODEBERG_TOKEN" \ + -H "Content-Type: application/json" \ + "$CODEBERG_API/issues/" \ + -d '{"state":"closed"}' 6. Track promoted predictions — they compete with vision gaps in the strategic-planning step for the per-cycle 5-issue limit.