From 997b440e32daa87f9ae4a8c987861de39224c73a Mon Sep 17 00:00:00 2001 From: Tak Hoffman <781889+Takhoffman@users.noreply.github.com> Date: Thu, 19 Mar 2026 15:00:36 -0500 Subject: [PATCH] fix authoring skill review edge cases --- skills/openclaw-github-authoring/SKILL.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/skills/openclaw-github-authoring/SKILL.md b/skills/openclaw-github-authoring/SKILL.md index 28e10a3dadb..dc032e08bd9 100644 --- a/skills/openclaw-github-authoring/SKILL.md +++ b/skills/openclaw-github-authoring/SKILL.md @@ -17,13 +17,6 @@ metadata: "bins": ["gh"], "label": "Install GitHub CLI (brew)", }, - { - "id": "apt", - "kind": "apt", - "package": "gh", - "bins": ["gh"], - "label": "Install GitHub CLI (apt)", - }, ], }, } @@ -107,10 +100,11 @@ PR requirements - Require: - explicit PR title - explicit base branch - - explicit head ref in either `` form for branches on `openclaw/openclaw` or `:` form for fork branches + - explicit head ref in either `` form for branches on `openclaw/openclaw` or `:` form for personal fork branches that `gh pr create` can target - proof that the remote head branch already exists - If the remote head branch does not exist, return `NOT_ENOUGH_INFO`. -- If the head branch lives on a fork and the owner is missing, return `NOT_ENOUGH_INFO`. +- If the head branch lives on a fork and the user/login is missing, return `NOT_ENOUGH_INFO`. +- If the head branch lives on an organization-owned fork, return `NOT_ENOUGH_INFO` unless the user provides a different supported creation path. - Preserve the canonical PR section structure in the generated body. - If branch context is missing, ask the smallest grouped follow-up possible before failing.