radar: improve wordpress:wp-env v1.1.0 - #25
Open
masoudgolchin wants to merge 1 commit into
Open
Conversation
Added SSH-key preflight, apex-domain search-replace, uploads-not-pulled note, core-version guard, and a safe caddy-start rule to wp-env. Opened automatically by the Skill Analyzer. Evidence in the PR body.
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.
Opened by the Skill Analyzer — week 2026-W32. Human review is the gate; nothing merges on its own.
Action: improve
wordpress:wp-env→ v1.1.0 (minor)Change: Added SSH-key preflight, apex-domain search-replace, uploads-not-pulled note, core-version guard, and a safe caddy-start rule to wp-env.
Why this decision was made: Anchored additions: ssh-add preflight (blocked), caddy-start redirect not pipe (blocked), uploads-not-pulled note, apex domain variant. Multi-session evidence incl. refact-website fork.
The problems that caused it — every quote below was checked character-for-character against the real session transcript before this decision was made:
wordpress:wp-envv1.1.0 — sessionaf71b25d· credaily-website ·skill.missing-instructioncaddy startforks a daemon inheriting stdout; piping its output (as the skill's own domain-set commands are written) hangs the wrapper, and killing that hung task kills Caddy, taking the local site down.domain set/ Caddy steps: runcaddy startwith output redirected to a file, never piped throughtail/grep, and verify separately withpgrep/curl.wordpress:wp-envv1.1.0 — sessionaf71b25d· credaily-website ·skill.ambiguoushttps://credaily.com(bare domain) survives in 6 options and 3,815 posts — inline editorial links"wordpress:wp-envv1.1.0 — sessionaf71b25d· credaily-website ·skill.missing-instructionssh-add -l), so a passphrase-protected key blocks the whole pull with no automated recovery.ssh-add -lcheck to the pull preflight (Step 2a); if the required key isn't loaded, stop early and tell the user to load it before any export/import work begins.local:wp-env— sessionffdee3ed· refact-website ·skill.failedrefact.local:8891only because wp-env baked myWP_HOMEoverride into the fresh install, so a DB pull is genuinely needed"local:wp-env— sessionffdee3ed· refact-website ·skill.missing-instruction.wp-env.jsonpinsWordPress/WordPress#6.8. The import arrived atdb_version61833 andwp core update-dbdowngraded it to 58975 to match local 6.8."wordpress:wp-env— session997b39f0· usc-ksom ·skill.not-loaded/refact wp-env domain set) and its guardrails, but never fired; agent instead spent ~30 tool calls rediscovering Local-by-Flywheel port conflicts and stale cert locks by hand./refact wp-env domain set <hostname>"wordpress:wp-env— session997b39f0· usc-ksom ·skill.missing-instructionEdits applied (anchored — nothing outside these anchors changed):
insert_after@ "-/refact wp-env pull— alias for pull plugins + mu-plugins + db…"insert_after@ "If it doesn't printok, stop. Common causes: wrong port (on WP Engin…"replace@ "- The stagingurlfrom.refact-os.json- The WP Engine `*.wpengine…"insert_after@ "wp db tables --all-tables-with-prefixreturns only the tables that m…"replace@ " - Skip silently ifnpm run wp:cli -- option get siteurlreturns a…"insert_after@ " # If already running: caddy reload --config ~/.refact/Caddyfile …"Size: 55137 → 57913 chars
Expectation (checked automatically next run, written back into
CHANGELOG.md):wp-env pull/setup no longer blocks on unloaded SSH keys or kills the site on caddy start; missing-step findings drop.
findings.skill.missing-instructionforwordpress:wp-env: baseline 3 → target 1.Versions bumped: skill 1.1.0 · wordpress 1.1.1 · marketplace 2.12.2.