diff --git a/.changes/repo-fleet-hygiene/chore-tidy-adhoc-plugins-repo-fleet-hygiene-2026-11-04-e9cae37a.md b/.changes/repo-fleet-hygiene/chore-tidy-adhoc-plugins-repo-fleet-hygiene-2026-11-04-e9cae37a.md new file mode 100644 index 00000000000..0f13d210f4b --- /dev/null +++ b/.changes/repo-fleet-hygiene/chore-tidy-adhoc-plugins-repo-fleet-hygiene-2026-11-04-e9cae37a.md @@ -0,0 +1,7 @@ +--- +bump: patch +--- + +### Changed + +- The apply script's decision recorder now appends its fields in parameter order; behavior is unchanged. diff --git a/plugins/repo-fleet-hygiene/skills/apply/scripts/apply-plan.sh b/plugins/repo-fleet-hygiene/skills/apply/scripts/apply-plan.sh index c51f8131c75..e05f2dbc948 100755 --- a/plugins/repo-fleet-hygiene/skills/apply/scripts/apply-plan.sh +++ b/plugins/repo-fleet-hygiene/skills/apply/scripts/apply-plan.sh @@ -511,10 +511,6 @@ D_KEY=() D_REPO=() append_decision() { - D_REMOTE+=("${12:-}") - D_CLASS+=("${13:-}") - D_KEY+=("${14:-}") - D_REPO+=("${15:-}") D_PHASE+=("$1") D_OP+=("$2") D_CANONICAL+=("$3") @@ -526,6 +522,10 @@ append_decision() { D_ACTION+=("$9") D_REASON+=("${10}") D_WT_PATH+=("${11}") + D_REMOTE+=("${12:-}") + D_CLASS+=("${13:-}") + D_KEY+=("${14:-}") + D_REPO+=("${15:-}") } refresh_branch_delete() {