[ENG-4046] Print setup progress as a short, plain status report - #299
Merged
Merged
Conversation
guide, setup and scan now end on the same checklist the dashboard shows (install, connect, sync, deploy) and print one next step with the command or link to run. The scattered "Next steps", "Setup not complete" and "Connect this site" blocks are gone, and the remaining CLI lines are shorter. Technical leftovers (hooks, widget tag, production marker, runtime protection) show under their step in guide, only when missing. The widget is part of the install: the prompt and AGENT-INSTALL.md now tell the agent to add it without asking, and to honour "widget": false only when the user set it. The "Report a vulnerability" button is no longer mentioned in CLI output or the install docs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… the dashboard A production scan is a build, not a deploy: Lovable builds without publishing, so a scan there reported All done while nothing was live. The checklist now names the environment the scan came from and says a production report is waiting for Patchstack to see the live site. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The default output now says what was done, what is missing and what to do next, in words a non-developer can follow. The stage headers, the installer log lines, the environment and endpoint lines and the note addressed to AI agents are gone from it. - setup and scan group their results under Done and Missing, then end on the same four-step checklist and one next step. - guide lists what is missing with the exact thing to do, instead of technical lines under each step. - The warning that an unconnected project can be connected by anyone who opens it is back, under Missing. - A scan inside an install or build prints two lines; mark-build one. - Errors say what went wrong and what to do, with the error code last. - --verbose brings back the site ID, endpoint, checksum, environment and why, files written and the installer's own lines. AGENT-INSTALL.md describes the Done/Missing report and --verbose. The hostile field test for this guide output is still owed after release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
/review |
|
Introduces a unified status report with clear progress steps. 🎯 Quality: 62% Average · 📦 Size: Oversized — strongly consider breaking this down 🛡️ Standards: Not checked — 2,067 lines changed, over your team's 400-line limit, and nothing checked before it was opened. Coding agents can call the 🤖 Authorship: Agent-written — Claude Code, going by its own attribution. Whether a person read it is unknown; coding agents can call the 📈 This month: Your 139th PR — above team average · Averaging Average |
daniloradovic
approved these changes
Sep 28, 2026
On a CI runner the CLI reads the runner's own variables and names the environment sandbox or production, so the two tests that expect the local label failed there and passed on a laptop. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Ref ENG-4046
What changed
setup,scanandguidenow print a short, plain status report instead of paragraphs of explanation:--verboseflag. The note telling the AI agent to "narrate" is gone from the output;AGENT-INSTALL.mdkeeps it for agents.mark-buildprints one.Could not reach Patchstack. Check your internet connection and try again. (NETWORK_ERROR).AGENT-INSTALL.mdnow say the widget is part of the install and on by default."widget": falseis honoured only when the user set it.Across the same 11 demo runs, output went from 366 lines / 3,675 words to 186 lines / 1,026 words.
How each step is decided
@patchstack/connectis inpackage.json.claimedorowned-by-youby the server. That is what the--claim-tokenprompt produces.Reported as a publish. Patchstack ticks this once it sees the live site.and leaves the tick to the dashboard.Flags, exit codes,
--jsonand--dry-runoutput are unchanged.Verified
npm run typecheck,npm run buildandnpm run capabilities:checkpass.npm test: 207 files, 3,454 passed, 7 skipped, on top of currentmain.--verbosebrings the detail back;setup --claim-token …from the dashboard's prompt against a mock API: it creates the site, prints the dashboard link, and ticks Install, Connect and Sync.node field-test/run.mjs --persona hostile --rounds 3) on the widget prompt change. Every round scored 11/12, and in all three the agent added the widget without asking. The failing check wasprotectionVerified, because the fixture is a browser-only Vite app with no server to protect.Out of scope, worth a follow-up
guideshows Connect as not done. Saving it to.patchstackrc.jsonafter a claimed response would fix it.guideoutput orAGENT-INSTALL.md. Run the hostile field test right after the release that ships this.guidestill appends the full reference guide while setup is unfinished, because agents rely on it.Docs: deferred. One docs companion will cover this output and the dashboard card from saas#1884 once this is released.
🤖 Generated with Claude Code