Skip to content

Add bounded setup command for agent onboarding#74

Merged
ejntaylor merged 6 commits into
mainfrom
shrink-field-test-prompt
Jul 14, 2026
Merged

Add bounded setup command for agent onboarding#74
ejntaylor merged 6 commits into
mainfrom
shrink-field-test-prompt

Conversation

@ejntaylor

@ejntaylor ejntaylor commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Agent onboarding previously required interpreting guide output and manually editing build hooks, which cautious hosted assistants could treat as an unbounded instruction chain.
This adds an idempotent patchstack-connect setup command that scans or reuses the site, manages the widget, preserves and wires existing npm/Bun build scripts, and never runs the project build or protect.
It also improves native package-manager detection, replaces claim-oriented wording with neutral dashboard language, and replaces the 699-byte prompt with an authorization-led request that pre-approves the widget and production hooks while documenting a dependency-first Bolt fallback.
Validation: npm test (391 tests), npm run typecheck, npm run build, npm pack --dry-run --json, node field-test/setup-demo.mjs, the scripted field-test (8/8), and git diff --check.

@coderbuds

coderbuds Bot commented Jul 14, 2026

Copy link
Copy Markdown

Implements an idempotent setup command that wires build hooks cleanly.

🎯 Quality: 74% Good · 📦 Size: Large — consider splitting if possible

🛡️ Standards: no pre-flight fit check ran for this change — wire assess-change-fit into your coding agents to catch size before opening.

📈 This month: Your 228th PR — above team average · Averaging Average

See how your team is trending →

@ejntaylor ejntaylor marked this pull request as ready for review July 14, 2026 16:38
@ejntaylor ejntaylor merged commit 0035ba3 into main Jul 14, 2026
4 checks passed
@ejntaylor ejntaylor deleted the shrink-field-test-prompt branch July 14, 2026 16:39
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.

2 participants