Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .factory-plugin/plugins/autocoder/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
9 changes: 8 additions & 1 deletion .pi/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
9 changes: 8 additions & 1 deletion codex-plugins/autocoder/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
9 changes: 8 additions & 1 deletion plugins/autocoder/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
9 changes: 8 additions & 1 deletion plugins/autocoder/skills/autocoder/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
9 changes: 8 additions & 1 deletion skills/autocoder/scripts/issues-gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ cmd_list() {
[ "$state" = "open" ] || [ "$state" = "working" ] || [ "$state" = "blocked" ] && args+=(--state open)
[ -n "$search" ] && args+=(--search "$search")
[ -n "$label" ] && args+=(--label "$label")
[ -n "$limit" ] && args+=(--limit "$limit")
# Default the page size well above gh's own default of 30. With --search in
# play gh goes through the search API, whose ordering is "best match" over a
# purely negative query — so a 30-issue page is an arbitrary slice, not the
# newest or the highest priority. Callers rank P0>P1>P2>P3 *after* this call,
# which only ever reorders whatever the slice happened to contain: an
# unblocked P0 outside the page is invisible, not deprioritised, and the
# swarm reports IDLE_NO_WORK_AVAILABLE with real work outstanding.
args+=(--limit "${limit:-200}")
gh issue list "${args[@]}" --json number,title,body,labels,state || exit 3
}

Expand Down
Loading