You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f6c2de4
Browse filesBrowse the repository at this point in the historyBrowse files
docs(plan): add P12 to remove the temporary CI trigger after the merge
Revision 6: P0 now lists the temporary feat/site-deployment push trigger
in ci.yml, and a new last phase, P12, drops it right after the branch is
merged into develop (a one-file PR). It also notes that pushes run CI
twice while a PR is open. The phase count goes from 43 to 44.
Copy file name to clipboardExpand all lines: docs/plans/site-deployment.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Site deployment — manage WordPress plugins on remote sites
2
2
3
-
Status: **in progress**: P0 implemented and verified locally (macOS and Ubuntu clients); its first CI run is pending. Rewritten 2026-10-09; revisions 2 and 3 (review feedback), 4 (P0 results) and 5 (adversarial audit, 2026-10-11). · Target version: **3.4.0** (from 3.3.0) · Author: Sandy Figueroa
3
+
Status: **in progress**: P0 implemented and verified locally (macOS and Ubuntu clients); its first CI run is pending. Rewritten 2026-10-09; revisions 2 and 3 (review feedback), 4 (P0 results), 5 (adversarial audit, 2026-10-11) and 6 (CI on the branch). · Target version: **3.4.0** (from 3.3.0) · Author: Sandy Figueroa
4
4
5
5
---
6
6
@@ -18,12 +18,18 @@ Status: **in progress**: P0 implemented and verified locally (macOS and Ubuntu c
18
18
-**Ownership respects owner *and* group:** WP-CLI runs as the plugins directory's owner **and group** (`sudo -n -u <owner> -g <group>`), so `ftpuser:www-data` sites stay `ftpuser:www-data` with the group bits the web server needs. Mismatches are repaired without root (`chgrp`, `chmod g+`); a root `chown` runs only on sites that opt in, under strict preconditions.
19
19
-**Uploads:** each zip is inspected locally, streamed over SSH into a private **staging dir** (`/tmp/apvm.XXXXXXXXXX`, owned by the identity, `0700`), checksum-verified, installed from there, and always cleaned up.
20
20
-**Transport:** system OpenSSH (your `~/.ssh/config`, agent, ProxyJump), multiplexed on Unix. Scripts travel over SSH's stdin, so the remote login shell (bash, zsh, fish, …) never parses them.
21
-
-**Phases:**43 small ones; libraries first, then the CLI and NAPI front ends in parallel tracks. No new crates.io dependencies.
21
+
-**Phases:**44 small ones; libraries first, then the CLI and NAPI front ends in parallel tracks. No new crates.io dependencies.
22
22
23
23
---
24
24
25
25
## 0. Change log
26
26
27
+
### Revision 6 (CI on the branch, 2026-10-11)
28
+
29
+
| Topic | Change |
30
+
|---|---|
31
+
| CI |`ci.yml` temporarily runs on pushes to `feat/site-deployment` (P0); new last phase P12 removes the trigger after the merge |
32
+
27
33
### Revision 5 (adversarial audit of P0 and revision 4, 2026-10-11)
0 commit comments