{"version":"2.1.245","anchor":"groundwork-for-running-autofix-pr-without-the-interactive-ui","canonical_anchor":"groundwork-for-running-autofix-pr-without-the-interactive-ui","heading":"Groundwork for running \/autofix-pr without the interactive UI","tier":"soon","area":"Slash Commands","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.245\/e\/groundwork-for-running-autofix-pr-without-the-interactive-ui","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.245","markdown":"### Groundwork for running \/autofix-pr without the interactive UI\n\nA non-interactive version of \/autofix-pr exists in the build but nothing calls it yet.\n\n**What**\n\n`\/autofix-pr`, which watches your current pull request and fixes problems it finds, gains a second code path that returns a plain text result instead of drawing a UI. Nothing in this build calls it, so the command still behaves exactly as before: interactive only, and only when remote sessions are enabled for your account.\n\n**Details**\n\n- The new path trims the arguments you pass, runs the same autofix work, and returns text for success and failure, or the fixed string `Autofix PR cancelled` when the run is stopped.\n- That text-result shape is what commands usable from print mode return elsewhere in the bundle, which is what suggests a future non-interactive `\/autofix-pr`.\n- The command's own description is unchanged and it is still declared as a UI command, without the flag that around 30 other commands set to mark themselves usable outside the interactive session.\n- The interactive flow is untouched, including its `Spawning cloud autofix session\u2026` and `Turning on autofix\u2026` steps.\n- Availability of `\/autofix-pr` itself is unchanged: it needs the remote-sessions capability on your account plus an enterprise or API-key condition.\n\n**Evidence**\n\n`return { type: \"text\", value: \"Autofix PR cancelled\" };`\n\n- Area: Slash Commands\n- Names: `\/autofix-pr`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}