Skip to content

feat(agentstudio): add conversation list filters - #301

Open
leonardocuco wants to merge 2 commits into
feat/cec-1883-conversation-impact-analyticsfrom
feat/cec-1883-conversation-filters
Open

leonardocuco wants to merge 2 commits into
feat/cec-1883-conversation-impact-analyticsfrom
feat/cec-1883-conversation-filters

Conversation

@leonardocuco

@leonardocuco leonardocuco commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Agent Studio supports filtering conversation lists by feedback vote and impact signals, but the CLI does not expose those filters.

Change

  • Add --feedback-vote, --clicked, --converted, and --has-algolia-search to agentstudio conversations list.
  • Validate feedback votes (0 or 1) and require --include-feedback; require --include-impact-analytics for impact filters, including explicit false values.
  • Preserve omitted versus explicit false/zero values, pagination and JSON output. Reject invalid inputs before making a request.

Verification

  • go generate ./...
  • go test ./...
  • go build ./...
  • git diff --check

Stacked on #300; retarget to main after #300 is merged. Related to CEC-1883. Draft during the code freeze; no release or deployment.

@leonardocuco

Copy link
Copy Markdown
Contributor Author

Claude Code reviewed this change at 33a8d1b for the author: 5 findings, 0 fixed, no functional bugs found.

  • pkg/cmd/conversations/list/list.go:85: the include-flag requirements for the feedback vote and impact filters are enforced client-side only. Left: this is what the description sets out to do, so it is intended.
  • pkg/cmd/conversations/list/list.go:88: the impact-filter error doesn't name the flag that triggered it. Left: minor wording nit, not worth a push on its own.
  • pkg/cmd/conversations/list/list.go:101: line wrapping and constant fmt.Errorf messages might not match the repo's formatting and lint style. Left: the lint check passes on this head.
  • pkg/cmd/conversations/list/list.go:102: help text doesn't say what vote values 0 and 1 mean, or that an explicit false value selects the negative case. Left: optional doc nit.
  • pkg/cmd/conversations/list/list_test.go:223: the invalid-input tests assert only on a generic word, and the omitted-filters case doesn't check that the include parameters are absent. Left: optional test-strength nit.

@leonardocuco
leonardocuco marked this pull request as ready for review November 30, 2026 15:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T15:38:36.171817Z 33a8d1b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 33a8d1b8c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pkg/cmd/conversations/list/list.go Resolved
…lidation

Use cmdutil.FlagErrorf for the feedback vote and impact filter validations so
users get the standard flag-error guidance, as AGENTS.md requires.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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