Skip to content

fix: hide receipts for catalogue list lookups - #252

Merged
developersdigest merged 1 commit into
mainfrom
fix/quiet-catalog-list
Sep 17, 2026
Merged

developersdigest merged 1 commit into
mainfrom
fix/quiet-catalog-list

Conversation

@developersdigest

@developersdigest developersdigest commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Catalogue list lookups now omit the Request ID, Scrape ID, and Credits lines from stderr. Structured JSON retains receipt metadata, and execution commands and error messages retain their existing behavior.

Validation: TypeScript build and the list/Alexandria test suites passed. Updated the existing pagination test to verify receipt lines are absent.


Summary by cubic

Catalogue list lookups no longer print Request ID, Scrape ID, and Credits lines to stderr. Structured JSON output still includes receipt metadata, and other commands keep printing receipts as before.

Written for commit bae2812. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Confidence score: 4/5

  • In src/commands/list.ts, root list category lookups bypass fetchPage, so they still print a Request ID despite receipt suppression elsewhere; apply the same suppression to requestCategories for consistent output.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="src/commands/list.ts">

<violation number="1" location="src/commands/list.ts:333">
P2: The receipt suppression only covers Find Tools page lookups; root `list` category lookups still print `Request ID` because they bypass `fetchPage`. Apply the same receipt suppression to `requestCategories` so all catalogue `list` lookups have receipt-free stderr.</violation>
</file>

Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.

Shadow auto-approve: would not auto-approve because issues were found.

Fix all with cubic | Re-trigger cubic

Comment thread src/commands/list.ts
},
],
options
{ ...options, showReceipt: false }

@cubic-dev-ai cubic-dev-ai Bot Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The receipt suppression only covers Find Tools page lookups; root list category lookups still print Request ID because they bypass fetchPage. Apply the same receipt suppression to requestCategories so all catalogue list lookups have receipt-free stderr.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/commands/list.ts, line 333:

<comment>The receipt suppression only covers Find Tools page lookups; root `list` category lookups still print `Request ID` because they bypass `fetchPage`. Apply the same receipt suppression to `requestCategories` so all catalogue `list` lookups have receipt-free stderr.</comment>

<file context>
@@ -330,7 +330,7 @@ export async function handleList(
           },
         ],
-        options
+        { ...options, showReceipt: false }
       );
       receipts.push({
</file context>
Fix with cubic

@developersdigest
developersdigest merged commit 6a2aac0 into main Sep 17, 2026
7 of 8 checks passed
@developersdigest
developersdigest deleted the fix/quiet-catalog-list branch September 17, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant