Skip to content

setup-matt-pocock-skills: GitHub wayfinder frontier query lists repo-wide issues capped at 30, not the map's sub-issues #1490

Backlog

Description

@mfroembgen

Summary

The Frontier query line in setup-matt-pocock-skills/issue-tracker-github.md (line 48 at 59db609) tells /wayfinder to find the map's tickets with:

list the map's open children (`gh issue list --state open`, scoped to the map's sub-issues / task list) ...

gh issue list has no way to scope to one parent's sub-issues, and it returns at most 30 issues by default (-L, --limit int ... (default 30)). An agent that runs the command as written lists open issues across the whole repo, and once the repo has more than 30 of them it can miss the map's frontier tickets entirely. The "scoped to" part is left for the agent to improvise.

Reproduction

In a repo with native sub-issues and dependencies (gh 2.105.0):

map=$(gh issue create --title "map" --label wayfinder:map --body x | grep -o '[0-9]*$')
gh issue create --parent "$map" --title "ticket A" --label wayfinder:grilling --body x
for i in $(seq 1 31); do gh issue create --title "unrelated $i" --body x; done

gh issue list --state open --json number,title --jq '.[].title' | grep -c ticket
# expected 0: with the default newest-first order, ticket A is the second-oldest of 33 open issues and falls past the default limit of 30

Suggested fix

Read the map's sub-issues directly. Dependency counts come with each child, so blocked and claimed tickets drop out in the same call:

gh api --paginate repos/{owner}/{repo}/issues/<map>/sub_issues --jq '.[] | select(.state == "open" and (.assignees | length) == 0 and .issue_dependencies_summary.blocked_by == 0) | "#\(.number) \(.title)"'

I checked this on a live map with seven children. It returned the three open, unassigned, unblocked tickets in map order and left out the two with open blockers. Repos that use the documented task-list and Blocked by fallbacks would still need a body-parsing path.

Activity

  1. added
    needs-triage
    on Nov 26, 2026
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

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions