[agent-feedback] Respect CI and telemetry opt-out (#99062)
### What? Make automatic agent feedback respect CI, the user's Next.js Telemetry preference, and the existing remote kill switch. The managed instructions are omitted in CI or when telemetry is disabled, and the internal reporting command fails closed before returning the protocol. ### Why? Agent feedback should never open from CI and should share the user's telemetry opt-out. The existing Playground gate remains the remote emergency switch; this change makes the local entry points consistently honor the other safety conditions. ### How? - Gate managed feedback instructions on non-CI execution and enabled telemetry. - Gate the internal feedback command locally before checking the remote switch. - Preserve explicit `--dry-run` diagnostics without opening a browser. - Document the CI and telemetry behavior and cover it with focused tests. <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment