Repository navigation
Concierge 0.6.0
Pre-release
Pre-release
Developer tools, as a separate module: off by default, administrators only, the developer
permission, and the most powerful parts behind switches in wp-config.php.
- Files:
fs_list,fs_read(line ranges),fs_search(text or regex, like grep) over
the install; secrets (wp-config.php, .env, keys, dumps, backups, logs, version control) are
never listed or read, and symlinks cannot escape the install. WithCONCIERGE_DEVELOPER:
fs_writeandfs_edit(exact find/replace, all or nothing) in plugins, themes and
mu-plugins, never Concierge itself — PHP syntax checked before saving, the site checked
after saving when the file is live, automatic rollback when it breaks, undo from the log. - Database:
db_schema, anddb_queryfor one SELECT/SHOW/DESCRIBE/EXPLAIN/WITH…SELECT,
without comments, on its own connection inside a READ ONLY transaction that is rolled back,
with a time limit and at most 500 rows; password hashes, keys, tokens and secret options
masked. - Debug log: the last entries, grouped with their stack traces, filtered by level or
text, secrets masked; whether logging is on. - Options:
options_raw_get(secrets masked); withCONCIERGE_DEVELOPER,
options_raw_update(undoable; never site address, admin email, registration, default
role, roles, active plugins and theme, or Concierge's settings). - WP-CLI:
wpcli_runwithCONCIERGE_DEVELOPER, without a shell, as the connected user,
60-second limit; commands that run code, reach the database directly, change wp-config,
credentials or Concierge are refused. - PHP:
php_evalwithCONCIERGE_DEVELOPERandCONCIERGE_ALLOW_PHP_EVAL, output,
return value and errors captured. - Every tool's input properties now declare a type (checked by a test).