Skip to content

feat(agency): WP-CLI command + wp-config constants API (2.5.0) - #78

Merged
cport1 merged 1 commit into
mainfrom
feat/agency-automation
Aug 18, 2026
Merged

feat(agency): WP-CLI command + wp-config constants API (2.5.0)#78
cport1 merged 1 commit into
mainfrom
feat/agency-automation

Conversation

@cport1

@cport1 cport1 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

wp webdecoy status|config|allowlist|logs for deploy scripts, and three
new wp-config.php constants: WEBDECOY_DEFAULT_MODE (forces + locks the
mode; the settings sanitizer carries the stored value forward while
forced so a save cannot silently drift it), WEBDECOY_HIDE_ADMIN_UI
(menu, widget, and all notices including critical-moment and connect;
plugins list stays visible on purpose), WEBDECOY_MAX_LOG_RETENTION
(clamped 1-3650 days, wired into the cleanup cron).

Constant parsing and CLI value validation live in pure classes with
tests (94 passing). An unrecognized WEBDECOY_DEFAULT_MODE is ignored,
never guessed: a typo must not pick a side between watching and
enforcing. config keys are a closed whitelist: api_key is encrypted at
rest and org fields belong to the connect flow, so neither is writable
from the CLI.

wp webdecoy status|config|allowlist|logs for deploy scripts, and three
new wp-config.php constants: WEBDECOY_DEFAULT_MODE (forces + locks the
mode; the settings sanitizer carries the stored value forward while
forced so a save cannot silently drift it), WEBDECOY_HIDE_ADMIN_UI
(menu, widget, and all notices including critical-moment and connect;
plugins list stays visible on purpose), WEBDECOY_MAX_LOG_RETENTION
(clamped 1-3650 days, wired into the cleanup cron).

Constant parsing and CLI value validation live in pure classes with
tests (94 passing). An unrecognized WEBDECOY_DEFAULT_MODE is ignored,
never guessed: a typo must not pick a side between watching and
enforcing. config keys are a closed whitelist: api_key is encrypted at
rest and org fields belong to the connect flow, so neither is writable
from the CLI.
@cport1
cport1 merged commit 516a4cd into main Aug 18, 2026
3 checks passed
@cport1
cport1 deleted the feat/agency-automation branch August 18, 2026 03:15
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.

1 participant