Skip to content

Say what connecting protects in the setup summary - #510

Merged
ejntaylor merged 1 commit into
mainfrom
summary-wording
Nov 23, 2026
Merged

ejntaylor merged 1 commit into
mainfrom
summary-wording

Conversation

@ejntaylor

Copy link
Copy Markdown
Member

The setup summary's connect step said "turn on protection" without saying what that protection is. When the scan finds no known vulnerabilities, that gives people little reason to connect.

The step now says what connecting protects and where:

### 🛡️ Checked 2 packages: no known vulnerabilities

#### 👉 Connect your Patchstack account to protect your live app from common attacks, secret leaks and future vulnerabilities

https://api.patchstack.com/monitor/claim?site=…

When you've connected, say **done**, and we'll get your live app protected.

When vulnerabilities are found, the heading starts "…to see the details and protect your live app from…". Apps where setup found no server keep their current wording ("…to see the details"), because there is nothing on a server to protect.

  • "Secret leaks" refers to the secret-exposure rules, which redact secrets from responses.
  • AGENT-INSTALL.md's fallback layout is updated to match. That file ships in the package, so the hostile field-test run is still owed right after the release that carries this change.

Verification

  • npx vitest run tests/report.test.ts tests/install-prompt.test.ts tests/bin-invocation.test.ts: 74 passed
  • npm run typecheck, npm run build
  • npm test: everything passes except per-rule-enforcement "does not stop an outbound request for a dry-run egress rule", which also times out on main in the environment I used

The connect step now names what protection covers in the live app (common
attacks, secret leaks and future vulnerabilities) and ties saying done to
getting the live app protected. Apps with no server keep their wording.

Amp-Thread-ID: https://ampcode.com/threads/T-3683de3b-6bda-4144-9052-100e040b0842
Co-authored-by: Elliot Taylor <elliot.t@patchstack.com>
@coderbuds

coderbuds Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🎯 Elite quality (97%) — Concise copy change that names what connecting protects, with the no-server wording preserved and docs kept in sync.

📦 Small

🤖 Written by Amp — going by its own attribution. Unknown whether a person read it; agents can report that with the report-ai-usage-tool tool.

🟢 Low risk — 9 lines of code, and nothing that needs a person.

✅ Reviewed — approved by @mariojgt.

🩺 Coderbuds triage found nothing that should stop this merge.

See how your team is trending →

Copy link
Copy Markdown
Member Author

/review

@ejntaylor
ejntaylor merged commit 075a073 into main Nov 23, 2026
28 checks passed
@ejntaylor
ejntaylor deleted the summary-wording branch November 23, 2026 15:25
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.

3 participants