Skip to content

feat: refresh primaries without WordPress - #1317

Merged
chubes4 merged 3 commits into
mainfrom
fix/1314-standalone-primary-refresh
Aug 30, 2026
Merged

feat: refresh primaries without WordPress#1317
chubes4 merged 3 commits into
mainfrom
fix/1314-standalone-primary-refresh

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • add a standalone safe-primary-refresh operation that does not bootstrap WordPress or its database
  • preserve clean divergence and detached-HEAD safety contracts, including deterministic recovery worktrees and typed refusal evidence
  • return the executable standalone remediation from worktree planning and persist freshness evidence accepted by subsequent plans

Closes #1314.

Verification

  • php tests/standalone-primary-refresh.php
  • php tests/standalone-worktree-provider.php
  • php tests/standalone-worktree-provider-command.php
  • PHP syntax checks for all changed PHP files
  • git diff --check origin/main...HEAD

AI assistance

OpenAI GPT-5.6-sol via OpenCode inspected the existing standalone and WordPress refresh contracts, implemented the standalone operation and deterministic tests, rebased the branch, and ran the verification above. Chris Huber directed and reviewed the work.

@chubes4
chubes4 marked this pull request as ready for review August 30, 2026 19:15
@chubes4
chubes4 merged commit b15328c into main Aug 30, 2026
11 checks passed
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.

Provide DB-independent primary refresh for standalone worktree recovery

1 participant