Repository navigation
feat(feedback): add apify feedback command - #1645
Open
patrikbraborec wants to merge 6 commits into
Open
patrikbraborec wants to merge 6 commits into
patrikbraborec wants to merge 6 commits into
Conversation
Adds Codex, Claude Cowork, Cursor agent-exec, Antigravity, Augment, OpenCode client, Hermes, Grok, Kiro, Replit, GitHub Copilot, the generic AI_AGENT/AGENT variables, and Devin. Agent-specific signals win over the generic ones. Part of #1519.
Lets humans and agents report a problem, or say something worked, from the terminal. The report goes to Segment as a 'CLI Reported Problem' event with the same properties as the MCP server's, plus the previous command and its exit code. It's sent even when telemetry is disabled, and the command exits 1 if Segment doesn't accept it. Part of #1519.
Every message that printed a bare GitHub issues link now offers `apify feedback` first and keeps the issues link for when you want a reply. Documents what feedback sends in the telemetry page and mentions the command in the agent skill. Part of #1519.
A retried or second `apify feedback` named `feedback` as the last command. It now leaves the recorded command in place. Also points the troubleshooting page at the command.
The command a report is about is now recorded when it starts and again when it ends, so a report still names a command that hung, was interrupted, or failed on a usage error. `help` and `feedback` don't take its place. Every command now writes the telemetry state twice, so the file is written atomically. Parallel commands could tear it, and a torn file made every later command exit 1. An unreadable state file now turns telemetry off instead of failing the command. Part of #1519.
patrikbraborec
requested review from
DaveHanns,
l2ysho and
szaganek
as code owners
November 26, 2026 14:49
commit: |
apify feedback now rejects a report whose text holds an Apify token, a value passed to something named like a credential, or one of the machine's own stored credentials. The event sender also masks recognisable credentials in every telemetry event as a backstop.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
apify feedbackso humans and agents can report a problem from the terminal. Part of #1519 (P0 and P1).apify feedback <message>sends aCLI Reported ProblemSegment event that mirrors the MCP server'sreport-problemfields, plus CLI version, OS, install method, the previous command, and whether a human or an agent sent it.CURSOR_TRACE_ID.Affects every command:
wasRetriedshifts slightly.telemetry.jsonis written atomically. Parallel commands could tear it.Follow-up: P2 (agent host detection).