Skip to content

Clarify social refresh cost and approval - #1302

Merged
sidneyswift merged 1 commit into
mainfrom
codex/social-refresh-description
Nov 27, 2026
Merged

sidneyswift merged 1 commit into
mainfrom
codex/social-refresh-description

Conversation

@sidneyswift

@sidneyswift sidneyswift commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Use the approved copy for scrape_artist_socials. The description says an existing credit balance is used only after approval. The first call still quotes the actual maximum in both credits and USD.

Evidence

  • The updated description assertion failed with the old wording and passed with the new wording.
  • All 24 focused tests passed. The tool test confirms both amounts appear in the first response before any credit check or provider dispatch. Formatting and lint passed.

Merge Danger

Door Two-way. The code change is limited to the tool description. The approval flow, charging logic, and provider dispatch use their existing code. The publisher draft remains unsubmitted.


Summary by cubic

Updates the scrape_artist_socials tool description to the approved copy, clarifying that Recoup quotes the maximum credit cost before a refresh starts and only charges existing credits after approval. The test now asserts the exact new description instead of the old price-based wording. No billing or approval flow logic changed.

Written for commit 1d45d42. Summary will update on new commits.

View guided diff Turn on auto-fix

@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Nov 27, 2026 12:29am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 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-27T00:29:56.747418Z 1d45d42 PR opened
ℹ️ 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.

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant MCP as MCP Server
    participant Client
    participant Tool as registerScrapeArtistSocialsTool
    participant Description as Tool Description
    participant Schema as Input Schema
    participant Test as Test Suite

    Note over MCP,Test: Tool Registration and Description Flow

    MCP->>Tool: registerScrapeArtistSocialsTool(server)
    Tool->>Tool: Build tool config
    Tool->>Description: Set description (copy)
    Tool->>Schema: Set input schema
    Tool-->>MCP: Tool config with description

    Note over Description: Contains credit quote and<br/>approval copy (not pricing)

    MCP->>MCP: Expose tool to client
    alt Client requests tool info
        MCP-->>Client: Tool config (description + schema)
        Note over MCP,Client: Description clarifies:<br/>max credit cost shown first,<br/>credits only used after approval
    end

    Note over Test,Tool: Test Verification
    Test->>Tool: Retrieve tool config
    Tool-->>Test: Config object
    Test->>Test: Assert exact description string
    alt Description matches approved copy
        Test-->>Test: Pass
    else Description does not match
        Test-->>Test: Fail
    end

    Note over MCP: No changes to approval flow,<br/>billing logic, or provider dispatch
Loading

Auto-approved: Updates the scrape_artist_socials tool description to approved copy clarifying credit quote and post-approval charging, with the test updated to pin the exact wording. No billing, approval, or dispatch logic changed.

View guided diff | Turn on auto-fix | Re-trigger cubic

@sidneyswift
sidneyswift merged commit ff33a11 into main Nov 27, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1d45d42d Deployed Nov 27, 2026 by vercel[bot]
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