Skip to content

Commit 8f6adde

Browse files
committed
server instructions
1 parent cac823c commit 8f6adde

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/github/instructions.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,17 @@ Pagination (mandatory):
7777
- Loop while pageInfo.hasNextPage=true using after=pageInfo.nextCursor.
7878
- Keep query, fields, per_page IDENTICAL on every page.
7979
- Use before=pageInfo.prevCursor only when explicitly navigating to a previous page.
80-
- Do not analyze until ALL pages fetched.
8180
8281
Counting rules:
8382
- Count items array length after full pagination.
84-
- If multi-page: collect all pages, dedupe by item.id (fallback node_id) before totals.
8583
- Never count field objects, content, or nested arrays as separate items.
86-
- item.id = project item ID (for updates/deletes). item.content.id = underlying issue/PR ID.
8784
8885
Summary vs list:
8986
- Summaries ONLY if user uses verbs: analyze | summarize | summary | report | overview | insights.
9087
- Listing verbs (list/show/get/fetch/display/enumerate) → enumerate + total.
9188
9289
Self-check before returning:
9390
- Paginated fully
94-
- Dedupe by id/node_id
9591
- Correct IDs used
9692
- Field names valid
9793
- Summary only if requested.

0 commit comments

Comments
 (0)