- Provider independent diagnostic reports
- Plugin startup and recovery contract
- System Health read authority
- Relational runtime fields and compatibility
- Reliable System Update Tracking (1.98.9)
- Plugin dependencies and member access — CMS 1.99.0
- Shared payment contracts and update recovery — CMS 1.100.0
- Shared Publisher Client progress (1.104.3)
- Hosting storage and scheduled maintenance
- Backup lifecycle and Cleanup workspace
- Retention tables and scheduler setup (1.105.25)
- Update progress copy and activity visibility (1.105.26)
Operations and maintenance
Review diagnostics, updates, plugin recovery, storage, backups, and job execution.
Provider independent diagnostic reports
System operators with access-system may open installation diagnostics from
System Health or from a specific run in System Updates history. The report page
belongs to System Health. Select categories and check the consent box to enable
report preparation. The provider-independent report schema is
webblocks-diagnostics/1; UTF-8 serialized reports are limited to 64 KiB.
Prepared previews are encrypted, installation- and user-bound, and expire after
30 minutes. Download validates the existing artifact and never recollects data.
Reports expose controlled runtime version/limit fields, a selected or latest update run's status and timings, installed plugin manifest versions/state, saved health counts with their measurement time, and optional bounded error timestamps/severity/ fingerprints. Unavailable or stale evidence remains explicit. Collection does not refresh health, boot plugin reporters, probe a provider, execute updates or repair the installation. Raw update summaries/output, log messages/context, content, credentials, environment files, cookies and host filesystem paths are excluded. No public diagnostic route or Internal Content API capability is added.
Support provider discovery, credentials, tickets, consented transport and external support links remain owned by the optional Support plugin. Downloading a report requires no provider connection or Support installation.
Plugin startup and recovery contract
Catalog and ZIP installation, updates, and panel/API activation validate plugin source,
provider startup, commands, and routes in a fresh PHP process through cms:plugin-probe.
Validation is required even when no migration is pending. A failed or timed-out probe
leaves the current package active; subprocess diagnostics are not exposed in responses.
The default startup timeout is 30 seconds (webblocks-plugins.install.boot_timeout_seconds).
Super admins see the number of installed plugins with a newer installable catalog release in the Webadmin notification bell. The entry opens System → Plugins. The panel checks installed plugins in a background request. The bell and Plugins list share the last successful result for one hour. Super admins can use Check for updates in the Registered plugins header to query the catalog immediately. Both paths share the same refresh lock and results. A successful check refreshes the timestamp and row actions. A failed check preserves the last successful timestamp and results and displays a warning. Applying an update requires the separate row action. Updating or uninstalling a plugin clears its pending entry on the next panel load.
Enabled CMS-managed Laravel service providers are registered and booted once per application after the host boot completes, including when routes are cached. Provider bindings, notification channels and view composers therefore participate in normal HTTP and console requests. Disabled, incompatible and recovery-suppressed plugins do not start. Catchable provider startup failures quarantine the plugin without exposing its diagnostics.
Successful updates retain the previous package and record whether migrations ran. Database setup failures leave the plugin disabled and preserve its tables and packages. Runtime source/route failures quarantine the plugin; an explicit disable overrides configuration-based enablement. Lifecycle JSON records use atomic replacement.
Catalog updates synchronize the incoming plugin's block types before activation. The isolated database setup loads the incoming provider for an enabled plugin, even when there are no pending plugin migrations. Disabled plugins synchronize their manifest declarations. The CMS package update also backfills missing catalog rows for already installed plugins. Synchronization keeps existing row IDs, categories, sort orders and workflow status.
Panel and API uninstall share the installed-package check. A package must be disabled before either entry point removes its code and published assets. The panel requires Super admin access and the API requires plugins.uninstall. Plugin-owned database tables are preserved.
/webadmin/plugin-recovery and its login form load without installed plugin source,
routes, or commands. Existing CMS login controls, active admin-access and Super admin authorization, and CSRF
protection apply. Recovery can disable a plugin or restore the retained package when
no migration ran, after another startup probe. A restore also republishes its assets.
This is recovery for CMS-managed packages; it does not isolate arbitrary host providers
or sandbox executable PHP. Uncatchable process termination still requires the separate
recovery request rather than an in-process error handler.
System Health read authority
GET /webadmin/api/system/health requires the opt-in system-health.read
capability and an installation-wide system token (allowed_site_ids: null)
owned by an active operator with access-system. Personal and site-scoped
credentials cannot read installation health. An optional validated site_id
filters site checks while installation-wide checks remain visible.
The endpoint returns safe message keys/parameters, ordered issues, category
statuses (healthy, warning, critical, unknown, not_applicable), site
summaries, system information, and recent operation outcomes. The live scheduler
object includes controlled runtime states, UTC execution timestamps, the stale
threshold, and required derived from the filtered sites.
Site, backup, storage, plugin, update-readiness, and history observations are
cached for five minutes; scheduler evidence is read on each request. Unknown
and optional checks remain distinct from successful checks. Reading or
refreshing health does not mutate content, reconcile backup records, send mail,
run cleanup or updates, fetch release metadata, or create scheduler evidence.
Plugin reporters retain their existing health-reporter contract; raw reporter
messages and exception details are excluded from this overview.
Existing operational routes remain available. The core sidebar group is labeled Maintenance, with System Health as a child destination. Plugin Help destinations join System and plugin Maintenance destinations merge by the stable maintenance group key; the core Help item links directly to documentation. System Information has no separate screen or sidebar destination; all nine non-sensitive runtime fields remain in System Health's System details table. The legacy named route and URL redirect to System Health under the same system-access middleware. Health status is evidence for review, not authority to publish content, restore a backup, or update a host. Search checks compare eligible published page/locale scopes with index rows; they do not prove text freshness. Backup availability does not prove restore integrity. Update readiness remains separate from normal site operation.
Relational runtime fields and compatibility
CMS 1.98.5 stores page layout/shared-slot references, staged-update and restore markers, source-sync fields and managed-slot lists in relational tables. Block application references, token capability/site/network lists, site notification policy and scheduler health also use SQL as their authority. The existing API field names, nested structures, list order and null/empty distinctions are unchanged. Existing JSON fields remain compatibility copies during this transition; they are refreshed from authoritative values on supported model writes. In 1.98.5, unmapped block settings and full revision snapshots retain their existing storage contract for later migration. Historical malformed values and unresolved references are preserved, rather than silently normalized or dropped.
From CMS 1.98.6, remaining Block settings use relational records. Core appearance, media, navigation and content fields have finite typed column schemas; content bindings, collection configuration and application instance values have their own records. Typed nodes preserve document structure, key/list order and historical or plugin extensions, including malformed values, without storing a JSON document in a new column. Collections batch-load these records rather than issuing a settings query for every block.
Embedded Application CSS/JavaScript declarations, supported context flags, setting field definitions/defaults/bounds and enum options also use relational records. Existing API names and structures, ordered duplicate values, legacy script strings and omitted/null/empty distinctions remain compatible. Existing JSON columns are synchronized rollback copies. Update migration rollback retains SQL data; drift written by an older package must be reconciled before returning to SQL authority. Full revision snapshot and remaining legacy content/runtime storage are outside this phase.
CMS 1.98.7 prepares the remaining persistence in SQL: page/slot/layout settings, block and translated metadata, full page/shared-slot snapshots, import/export summaries and manifests, import continuation maps, backup-restore data, update request receipts, icon lists and moderation reasons. Snapshots remain independent complete restoration documents, represented by historical typed records and ordered structure nodes. Historical identifiers are independent of live content lifetimes. Existing wire field names and nested serialized settings remain intact. Plugin lifecycle state and promotion plans now write SQL; plain emergency disable markers remain available if the database cannot be reached. Legacy files are imported once, preserving newer SQL changes on repeated migrations.
This is the preparation bridge for column retirement. The previous updater's in-flight API request still needs its physical result column to finish, so 1.98.7 retains physical copies. Runtime adapters also support their absence on the next update. Update History displays duration, and the update modal shows elapsed time and the active operation. These observations do not initiate updates or grant any new API capability.
CMS 1.98.8 completes the cutover after the 1.98.7 preparation bridge. Remaining persistent JSON columns, encoded metadata/continuation fields, imported mutable plugin/plan files and the scheduler copy are removed. New and existing records use SQL, including complete independent page and shared-slot snapshots. Virtual model attributes preserve the existing API and transfer contracts. Known runtime references and core settings continue using their dedicated relational tables; ordered nodes preserve legacy shapes and extension values. Snapshot byte counts measure the logical restoration payload, excluding SQL row/index overhead.
In-app updates to 1.98.8 require CMS 1.98.7 or later. Earlier installations receive the preparation bridge first. Full pre-update backups remain necessary for rollback to a package that requires the removed columns/files; reverse migrations retain SQL data instead of recreating empty compatibility copies. Immutable package/backup/export formats and API serialization remain protocol contracts.
Reliable System Update Tracking (1.98.9)
From CMS 1.112.2, Publisher-managed CMS updates select the shared Client's
composer-package strategy. Composer resolves and installs the selected release;
the installed product file boundary must match the verified signed artifact.
Publisher retains backup, migration, asset/catalog synchronization and final
verification. Composer generates the lock and installed registries; CMS does not
manually relabel their versions or patch generated autoload files in this mode.
Choosing an update advances an exact CMS pin through Composer require; version
ranges and unrelated root requirements are preserved. Source/path/linked installs,
unsupported layouts, dependency conflicts and unavailable or mismatching releases
are refused. A complete vendor and Composer recovery copy is kept until success;
dependencies restore before database recovery and incomplete recovery retains
maintenance. Existing other-product strategies are not automatically changed.
webblocks:updates:run uses the same CMS-configured Publisher engine as the panel.
After a separately managed Composer deployment, webblocks:updates:finalize
checks lock/runtime agreement and runs discovery, package update migrations,
cache/catalog/asset synchronization and installed-version persistence under the
CMS update lock. It does not recreate a pre-deployment backup or supply automatic
rollback for an earlier manual Composer command. Production CLI execution requires
confirmation or --force.
Historical archive-based updaters first install preparation release 1.112.3 through the panel using their existing package/registry recovery boundary. No Composer operation is injected into their migration subprocess. The following update to 1.112.4 or later runs through the new transactional engine and can add missing CMS dependencies under its complete vendor recovery copy. Only that following update reconciles legacy Composer state. No terminal bootstrap is required. Versions before 1.112.1 use the existing compatible-release path first; releases after 1.112.3 require that preparation updater. The unsuccessful single-step 1.112.2 bridge is superseded. This changes no authoring schema or publication authority. Update history shows the sanitized receipt summary and up to 20,000 retained log characters, preserving failure details that the earlier 4,000-character display hid.
From 1.113.0 the panel and webblocks:updates:run use Publisher plan protocol 1.
One admitted operation pins the final target and ordered required releases with
checksum/signature identities. Optional releases are skipped; publication during
execution does not expand the approved target. Each step boots a fresh PHP worker
and verifies the newly installed CMS/Composer state in another fresh process
before its transaction commits. A global lease and maintenance span the chain.
Typed relational parent fields and wbcms_update_chain_steps are authoritative;
parent completion, aggregate elapsed time and per-step receipts remain distinct.
The System Updates preflight and chain admission require the physical chain
schema. CMS-managed completion and external Composer finalization verify the
schema before persisting success. A system administrator can explicitly repair
a pending chain migration from System Updates. The action requires a verified
backup, uses the migration shipped in the running package and leaves recovery
records intact. Recorded-but-incomplete migrations and damaged step tables
require operator review.
All audit rows survive a database rollback. Failure restores only the failed
step's last verified checkpoint and stops; unknown child exits or incomplete
recovery keep maintenance active and block new updates pending review. The
single-step Internal Content API approval remains unchanged and cannot overlap
an active or unresolved chain. Existing clients and other products keep their
one-step behavior until they adopt a durable adapter. Older engines require an
ordinary upgrade to acquire the coordinator; there is no retroactive chaining.
Panel updates are admitted as typed SQL operation records and executed by a detached CLI worker. The admission pins the release version/checksum and rejects overlapping or repeated execution. The Internal Content API retains its synchronous receipt and authorization contract. No content-authoring or snapshot format changes occur.
The modal tracks the operation identity, elapsed time and most recent phase, reconnects after transient HTTP/transport failures, and resumes on returning to the screen. Only a terminal server result ends tracking; success also requires the installed target version. Missing/stale worker evidence is Status unconfirmed, not proof of success or failure. The open Unfinished updates table lists pending, queued, running and interrupted SQL runs, operations and API receipts independently of the recent-history limit, including operations with no run and chains with unfinished child steps under a terminal parent. Retention protects these records, recovery-flagged records and runs referenced by unresolved operations/chains. History keeps saved statuses; worker evidence is displayed separately.
CMS-owned adapters capture typed worker PID, booted-host/PID-namespace identity and SQL heartbeat fields for new executions. Passive review evaluates these alongside cache heartbeats, admission/run/worker locks and related receipts. Missing identity, another host or boot, unavailable inspection, contradictory evidence and held locks do not prove stoppage. Boot identity inspection currently uses Linux procfs plus POSIX; unsupported hosts retain an unconfirmed state. No process is killed and no lock is forcibly released by review. Active or unverified unrelated workers also prevent reconciliation.
Only an explicit system-authorized POST with a bounded review reason can record a verified stopped non-chain group as interrupted. It rechecks evidence under owned admission, run and worker locks plus a SQL transaction; expired ownership or changed evidence refuses the action. A typed relational reconciliation journal retains actor, time, prior/new states, worker/heartbeat and lock evidence, and review reason. Original logs, summaries, versions and execution times remain unchanged. Interruption always retains recovery_required: it is not a verified checkpoint or permission to replay. All engine admission paths continue to block unresolved runs, other admitted operations/requests and recovery requirements; only the current process's admitted request/claimed worker context is exempt from its own receipt. Chains are reviewed through their parent/step checkpoints and are not cleared by this action. Unknown legacy records require hosting-owner investigation and verified backup/checkpoint recovery. There is no automatic state repair, recovery certification or replay from this screen; API status keeps requires_attention for reconciled recovery receipts.
Only the existing authenticated, system-authorized status route is exempted from rendered maintenance mode. Public pages and other admin paths remain in maintenance.
From CMS 1.111.2, update maintenance pre-renders a translated page using the public 404 design's
WebBlocks UI typography, centered error shell and primary action. HTML responses
retain HTTP 503 and both HTML and JSON maintenance responses include
Retry-After: 60. Laravel 12 may return the pre-rendered HTML to JSON requests; Laravel 13 negotiates JSON after application boot. The preboot entry point serves the prepared HTML. The retry link reloads the visitor's current URL, including its
query. The page is prepared in the application's configured locale with packaged
English, Turkish, German, French, Spanish and Italian translations and English
fallback. It uses local CMS styles and a neutral public theme, without querying
site data or resolving per-request branding/locales. Laravel's saved HTML can be
served before Composer or the database is available; JSON requests retain the
framework's JSON maintenance response. Both the embedded client adapter and the
package installer use this command. Maintenance exit, recovery and the existing
authorized status-route exemption remain unchanged. The update that first adds
this behavior still runs through the previously installed updater.
Workers require a POSIX host with a CLI PHP executable and process execution;
launch failures are recorded and shown. Large backfills have a configurable bounded
one-hour subprocess limit (WEBBLOCKS_UPDATES_COMMAND_TIMEOUT). The first upgrade
from an older package still starts with that package's updater; installing this fix
does not retroactively replace a running older HTTP request.
Plugin dependencies and member access — CMS 1.99.0
New plugin manifests may declare dependencies.required and
dependencies.optional as plugin-handle to Composer-semver constraint maps.
Legacy requires entries remain advisory. Required dependencies are enforced
transitively at runtime and before activation. Cycles and incompatible provider
versions are rejected. Missing or disabled optional integrations do not deactivate
the consumer. Summaries expose dependencies, dependency_problems,
optional_dependency_problems, dependents and active service_contracts.
The plugin detail screen shows both declaration kinds and unavailable integrations.
Normal disable/uninstall operations reject providers used by configured required consumers. Updates and recovery activation check incoming version constraints as well as the candidate's requirements. Recovery disable and automatic quarantine can force a safe stop; dependent consumers then become inactive. Lifecycle state mutations share a dependency lock. Candidate checks use manifest metadata without executing replacement code, including before running activation migrations.
A plugin definition can expose a core-owned PHP interface through
services([Contract::class => Implementation::class]). Consumers resolve it at
call time through PluginServiceRegistry::resolve(handle, contract, constraint).
Only a compatible active provider can supply the implementation. This works with
ZIP-installed plugins through their static definition; it does not require a
Composer provider boot side effect. Service discovery does not grant API token
capabilities or bypass plugin/site authorization.
MemberDirectory is the first shared visitor contract: current site-scoped
MemberIdentity, active package membership and site package options. Visitor
accounts and membership grants belong to the separate Memberships plugin; CMS
administrator accounts remain distinct. The first plugin stage supports verified
accounts, free self-enrollment and manual membership periods; no recurring billing
or payment-provider integration is included.
CMS page access requirements use the relational wbcms_page_access_rules table.
No rule means public. A rule with null package_id requires a verified site member;
a non-null package_id also requires an active grant for that site/package. Missing,
disabled or quarantined membership providers deny protected content. Protected
HTML responses are private/no-store and noindex/noarchive. Responses that include
logged-in member form data are also private/no-store. Public search indexing and
queries, sitemap, page-list blocks, fallback related-page lists and automatic
navigation exclude protected pages regardless of visitor membership.
Access rules are security policy outside content snapshots: restoring an older
content revision leaves current protection intact. Page duplicates, revision
candidates, staged updates and site clones carry protection forward. Site export
includes an access_rule projection and exports protected pages as drafts for
older consumers. Import/promotion preserves protection and does not treat foreign
package IDs as local authorization: a package requirement becomes unresolved
(package_id 0) until the operator explicitly selects a local package. Import does
not loosen an existing target rule. Shared Slot source pages cannot be assigned
member access rules.
Page protection does not revoke URLs of files already stored publicly. The Memberships private download endpoint checks a published protected page, current member access, a published block's media association, private media visibility and private filesystem visibility. Confidential files must use a non-public storage disk. Public media and confidential downloads remain separate authoring choices.
Appointments can declare Memberships as an optional integration. Its service
fields members_only and nullable required_package_id default to guest access;
restricted services deny bookings and slot discovery without the matching member
rights. Verified member bookings retain nullable member_id plus the existing
customer snapshot. Operator manual bookings retain their existing authority.
Shared payment contracts and update recovery — CMS 1.100.0
PaymentProviderDirectory is a provider-independent service contract for safe
provider metadata, authenticated API requests and signed webhook verification.
PaymentWebhookListener lets another active plugin consume payment notifications.
The contracts contain no credentials or subscription storage. Commerce supplies
its existing PayPal/SumUp configuration; Memberships owns plans, consent, payment
attempts, subscription periods and renewals. Both integrations remain optional for
free/manual accounts. Paid package rights use verified, non-voided payment periods
through the existing MemberDirectory, including Appointments and protected pages.
Approval, a browser return, and reimbursed card setup are not paid access evidence.
The updater retains the previous package tree until the complete operation, including migrations, succeeds. Automatic rollback restores package files along with the pre-update database/uploads, removes tables introduced by that attempt, and preserves the current operation, receipt and phase durations across the restore. Rollback refreshes restored PHP timestamps; terminal status polling reads the canonical version source and invalidates stale package opcode entries in the web process when its loaded version differs. History reports the real outcome and duration, including a failed migration followed by restoration.
Composer subprocesses obtain a private local Composer home if a cleared web process supplies neither HOME nor COMPOSER_HOME. Pending historical migrations on fresh installations recognize already-prefixed engagement tables and do not depend on the retired license-promotion helper. SQLite backups serialize multiline scalar text as one SQL expression, preserving update logs with quotes and semicolons. These changes do not change block authoring, full revision snapshots, API token capabilities or the maintenance exemption for the authorized status route.
Shared Publisher Client progress (1.104.3)
The embedded Client 1.2.0 supplies the shared release-detail normalizer, phase reporter contract and external versioned modal asset. CMS binds the reporter to its existing SQL operation and step records; the Client file journal is not used for CMS operations. The modal now lists all reached steps with their durations and explicit recorded failure state; a nullable step-state migration is additive and repeatable. Existing admission, backup restoration with receipt preservation, role/API capability checks and installed-target verification remain authoritative. Structured notes suppress their raw duplicate and repeated summary/group items; detailed procedures remain in the Updates handbook. No public authoring fields, block schemas, rendering contracts or content API permissions change.
From CMS 1.105.15, the embedded Client 1.2.1 progress adapter opens the modal once and keeps the displayed elapsed time continuous across asynchronous server admission, later status samples and read-only rechecks. The compact modal uses the native WebBlocks UI indeterminate progress bar, with the current phase above and elapsed time below; no completion percentage is inferred from steps. Recorded steps and durations remain in the SQL receipts and progress payload. Unknown, unavailable or mismatched installed-version status hides unconfirmed activity; terminal/interrupted monitoring stops the timer. Refreshing a tracked operation adopts its server elapsed time without issuing another update POST. The corrected asset uses a new immutable versioned URL. No persistence, authoring, authorization, update verification or recovery contract changes.
Hosting storage and scheduled maintenance
Panel Dashboard, Backups and Cleanup GETs read the last completed maintenance report without parsing backup SQL or starting background work on a synchronous queue. A cold or unavailable cache is explicitly unverified; a report older than five minutes or invalidated by CMS mutations is labeled stale with its original measurement time. The transient cache retains the last report for at most seven days. Settings remain editable before a report is available. No report cache can authorize deletion or restore.
system:reports:refresh is scheduled every five minutes and shares a refresh
lease with the authorized System Health refresh action. It validates at most
eight previously unverified or changed recovery-floor archives per invocation,
then publishes the shared retention/storage report and Dashboard health summary.
Installations without a running scheduler can use System Health → Refresh checks;
ordinary panel requests never fall back to a synchronous full scan. Cache write
failure does not recompute a completed health snapshot.
Typed SQL backup validation provenance records the backup ID, filesystem
signature, compressed archive SHA-256, validator version, status and timestamp.
Backup creation/upload records validation outside list requests; existing
archives are backfilled in bounded batches. Unknown validation withholds cleanup
eligibility in the panel report. This provenance is an optimization for reports,
not a replacement for full current archive inspection under the cleanup lease
or before restore. A cached file signature is not proof against malicious file
replacement. The existing explicit API/CLI cleanup previews still perform fresh
validation; their plan adds a validation_pending count (zero for full checks).
Missing provenance schema never triggers heavy list-request fallback. Fresh and
package-update migrations create it idempotently, and restore maintenance repairs
it after restoring an older database. Public uploads and variants are partitioned
in one filesystem traversal in the physical usage report.
Maintenance → Cleanup and GET /webadmin/api/system/cleanup expose a read-only
storage_report with measured_at and categories. Each category has physical
files, bytes and status (available, missing, partial, unavailable).
Categories cover the backups and site-transfers disks, public uploads excluding
variants, generated media variants, known temporary workspace roots, asset
revision roots, site public files and standard application logs. No filenames,
absolute paths, log contents or credentials are returned. Measurements are not
hosting quota, allocated database size or a deduplicated cross-disk grand total;
custom log locations are excluded. Unavailable category previews carry a failure
rather than claiming a confirmed zero. Existing logical revision byte totals
remain separate from physical-file measurements.
The optional automatic object on maintenance settings writes patches boolean
selection by asset-revisions, media-variants, temporary-workspaces,
page-revisions and shared-slot-revisions. Omitted flags keep their values;
unknown categories and non-boolean values fail validation. All five new flags
default to disabled. Existing maintenance.read, maintenance.settings.write,
maintenance.delete and System panel authorization remain separate.
Page and Shared Slot revision retention now defaults to 90 days, with the latest
50 revisions per owner still protected independently of age. Explicit saved
settings, including a 365-day policy, are not rewritten; the new fallback also
applies wherever no setting was stored. The Cleanup form groups each category's
age and protected-count fields together and explains the combined condition.
Retained History uses standard wb-action-group icon actions with localized
accessible labels: revision policy links target the corresponding focusable form
group, while the transfer action opens its existing management screen. Management
status is separate from Actions. Empty cleanup categories show a neutral empty
state instead of a disabled destructive button; eligible categories retain their
confirmation modal. Per-category daily/weekly schedule labels use shared
translation placeholders without changing scheduler execution times.
Laravel Scheduler registers assets at 04:00, obsolete media variants at 04:10 and
temporary workspaces at 04:20 daily; page and Shared Slot revisions run on Sunday
at 04:30 and 04:45, in the application's scheduling timezone. Each command uses
system:cleanup <category> --scheduled, checks its category flag, and has
scheduler overlap/single-server protection plus a shared maintenance execution
lock. Existing age/minimum-count protections and active revision-restore source
protection remain authoritative. Existing asset-write cleanup and backup,
visitor and editor-recovery schedules are unchanged. A host scheduler and
shared atomic-lock cache are required; reads show actual scheduler evidence
without creating a heartbeat.
Latest execution summaries are bounded to one SQL row per maintenance category,
with manual/scheduled source, timestamps, candidate/deleted counts and bytes,
failure count and last successful completion. Missing summary schema blocks
execution; fresh and package-update migrations install it idempotently. A
running summary older than the execution lock lifecycle is presented as
interrupted without mutating state. Dry-run and overview reads do not write
summaries. Partial variant deletion credits only bytes from successfully removed
directories. Current fingerprints and original media remain protected. Temporary
cleanup selects timestamp/UUID update runs and timestamp/random backup/restore
scratch runs under the known app/temp/system-backups and
app/temp/system-backup-restores roots. The age threshold covers every nested
entry. Installation identity, unknown run names, updater recovery-backup folders,
symlinked trees/ancestors and roots overlapping backup or public-upload storage
are retained. Stale running/pending update history alone does not block cleanup;
fresh admission/heartbeat evidence, queued operator jobs, held update locks and
process-held backup/restore leases remain protective. Cleanup holds a live update
lease and the process-held backup lease while rechecking tree identity and age
before deletion, without changing update history or manufacturing progress.
An unverified heartbeat cache write stops cleanup; integer and numeric-string
cache representations are both supported.
Flat abandoned catalog downloads use nonblocking exclusive file locks, while
installation holds a shared lease. Other files, transfer archives and application
logs are not added to automatic deletion. Physical measurements may therefore
include retained files with no cleanup candidate.
New system backup ZIP archives omit the reserved generated-cache namespace
media/transforms/ from uploads. The immutable version-one manifest records
excluded_upload_paths: ["media/transforms/"]; database, original uploads,
unrelated public files and site public files retain their existing restoration
contract. Variants regenerate on renderer demand with codec failure falling
back to the original. Existing version-one and legacy manifests remain
restorable, including archived variants when present. Unique archive names
prevent same-second safety backups from overwriting restore sources. Archive
resolution supports a configured symlinked disk root while rejecting relative
traversal, internal symlink escapes and absolute paths outside the disk.
Backup lifecycle and Cleanup workspace
CMS 1.105.12 adds is_protected (boolean), retention_mode
(policy, never, expires) and nullable expires_at SQL fields on backup
records through idempotent fresh/update migrations. No new JSON authority is
introduced. Missing retention or summary schema blocks automatic cleanup.
Protection blocks single, forced and bulk deletion until explicitly removed.
Bulk failures expose localized protection/operation feedback without diagnostics.
never blocks automatic expiration but permits an explicit operator deletion.
Running backups and recovery archives for recent failed/restored updates remain
protected. The operation lease serializes creation, upload, restore, retention
changes and deletion on the backups filesystem, survives SQL restoration, and
releases on process exit. Restores may create their safety archive under the
same process lease; shared filesystems must support advisory file locks.
Defaults are pre-update 14 days/latest five valid successful archives; restore
safety 14 days/latest two; content apply seven days/latest three; manual 30
days/latest three with manual-policy cleanup disabled. Uploaded archives in
policy mode remain indefinite. Explicit expires opts an individual archive
into cleanup even for manual/uploaded types, without overriding protection or
successful-count floors. Age and count safeguards apply together. Only readable,
structurally validated, distinct physical archives count toward each type's
floor; missing/corrupt snapshots do not displace valid recovery points. Saved
settings are preserved. Multiple records sharing a physical archive do not
multiply eligible bytes; a retained reference protects that file, and explicit
record deletion does not unlink a file still referenced elsewhere.
The backup budget is unset by default, accepts 0.01–10240 GiB, warns at 80% and
reports an overrun at 100%. It is a soft reporting budget, never authority to
shorten age/count protection. Measurements include unregistered files on the
backups disk but cleanup never automatically selects those files. Reports expose
total, explicitly protected, eligible and estimated post-cleanup bytes, measurement
status, current/remaining overrun, per-record decisions and the last bounded SQL
cleanup outcome. CMS 1.105.13 adds reason_summary, which groups the existing
per-record decisions by reason, with record_count, distinct attributed
file_count and physical bytes. Its total record count is independent of the
physical file count. Shared archives contribute bytes once, to the first
applicable group in displayed order: schema missing, explicit protection,
running, failed-update recovery, minimum count, indefinite, manual disabled,
within retention, invalid policy, unavailable, shared archive, eligible.
other_files reports measured files not matched to an archive, including lock
or support files; these remain outside automatic cleanup. Complete scans reconcile
group bytes plus other bytes with total disk usage. Incomplete or inconsistent
scans expose a partial/unavailable summary and null total/other-file metrics,
while still showing measured known archives. Running archives can be measured
but remain ineligible. Cleanup and Backups render the same summary, and the
existing backup-cleanup API exposes it under preview.overview.reason_summary.
No new write operation, persistence, policy default or archive format is added.
Partial/unavailable scans are explicit. Preview reads do not
create archive directories, acquire an operation lease, delete files or write
execution history. Runs compute their plan under the lease and credit only bytes
actually removed. If unlink succeeds but deleting its SQL record fails, freed
bytes are recorded with a failure and no deleted-record count. Oldest eligible
records are processed first.
PUT /webadmin/api/system/backup-cleanup keeps its original required fields and
patches optional manual_enabled, manual_days, keep_latest_manual,
keep_latest_restore_safety, keep_latest_content_apply and nullable budget_gb.
Omission preserves saved values; null budget clears the budget. Existing read,
settings-write and delete capabilities remain separate. New GET/PUT
/webadmin/api/system/backups/{backup}/retention use backups.read and
backups.settings.write; PUT requires is_protected, retention_mode and, for
expires, a valid expires_at in the application timezone. Admin changes use
SystemBackupPolicy and FormRequest validation. The policy accepts the configured
authenticatable user contract and still requires system access. Manual creation stores selected
retention before the SQL dump, so its own snapshot includes that state. Older
SQL snapshots receive the additive retention/summary schema during restore
maintenance. No backup format change or remote-copy automation is introduced.
Cleanup uses native wb-tabs for storage/history, retention/automation and
cleanup actions. Policy links open the settings panel and focus their group;
validation and save/run redirects preserve the relevant panel. Informational
cards have no destructive actions. All CMS admin templates use named WebBlocks UI
groups/cards instead of HTML fieldset/legend, including shared listing
controls and translated-page SEO groups; existing SEO edit restrictions remain.
The contributor contract and a template-wide regression guard enforce the rule.
Retention tables and scheduler setup (1.105.25)
Cleanup’s Retention Policy uses three native WebBlocks UI tables: selected categories and schedules, backup age/minimum-count protections, and revision or temporary-workspace policies. Mobile rows stack with visible column labels; each input retains an explicit accessible label and its existing name, limits, old input and stored value. Manual-backup inclusion and the GiB budget retain their previous semantics. Revision policy links preserve their focusable row anchors. No saved policy, opt-in flag, default or execution time changes.
GET /webadmin/system/scheduler requires the existing System Health policy
(active account with system access). It reads actual scheduler evidence and
shows installation-specific, shell-quoted CLI/hosting commands; cron percent
characters are escaped for the hosting command. A configured CLI PHP path can
be supplied with WEBBLOCKS_CMS_SCHEDULER_PHP_BINARY. Web requests neither
inspect private crontabs nor execute OS setup. Cleanup and System Health link
to setup; updates show a nonblocking link when scheduler evidence needs review.
webblocks:scheduler:setup defaults to read-only inspection. --install
requires interactive confirmation, or explicit --yes after external scheduler
review (--json never prompts). Installation is limited to a supported Unix
application account owning artisan, with readable application and writable
runtime directories; root and other accounts are refused. A recent heartbeat,
readable external definition, existing exact entry, ambiguous scheduler entry,
unsupported shell or unavailable crontab prevents appending a duplicate. Unknown
cron access failures are not treated as an empty crontab. Unreadable hosting or
system definitions still require operator review; no universal discovery is
claimed.
Setup holds a cache lock, rechecks context and current crontab, preserves its existing bytes and appends one marked every-minute entry. Concurrent changes observed before write abort installation. Read-back failure is explicit and never triggers a blind rollback over another writer. Raw cron contents and errors are never rendered or logged. The OS crontab remains host-owned; no new CMS persistence is introduced. Installing an entry is not execution evidence: only the actual scheduled heartbeat verifies scheduler activity. Updates never silently install OS tasks or enable destructive cleanup categories.
Update progress copy and activity visibility (1.105.26)
From CMS 1.130.4, a temporary status request failure keeps the last confirmed phase and elapsed timer visible. After 15 seconds of continuous status request failures, the modal displays a reconnecting message while it continues polling the same operation. A valid status response clears the warning. Operation admission, terminal result verification, authorization and recovery are unchanged.
The CMS progress payload uses one label resolver for the current phase and recorded steps: product translation, shared Client translation, then a readable CMS fallback. All current engine phases have product labels in six panel languages. Missing or future phase translations never expose a translation key in the phase heading. Operation identity, elapsed time, terminal-state and installed-version verification remain unchanged.
The product-owned dialog uses a neutral title with the final target version. A plan with multiple version transitions displays the current step number, total steps, and the source and destination versions for that step. The progress payload returns no display label for a single transition. The activity group contains the current phase, native indeterminate progressbar and waiting advice; the existing Client visibility contract hides the whole group on unconfirmed, interrupted or terminal results. Elapsed time and the recorded result remain outside that group. Failed and restored results stay available with the update-history link.
The System updates screen can hide the progress dialog while the detached worker continues. A backdrop click keeps the dialog open. Hide and Escape return focus to Show status. The screen follows the same server-issued operation UUID and offers Show status in place of the update form. Returning to the screen first uses the active SQL receipt, then a remembered UUID from the tab for an exact read. If admission is unconfirmed, a read-only lookup can find the active receipt. Status requests never submit the update again. When the tracked operation reports success without warnings and its installed and target versions match, the browser returns directly to a fresh System updates screen, whether the dialog is open or hidden. The server verifies the exact completed operation against the installed version and shows a success message alongside the refreshed card and update history. Warnings and failures stay available for review in the dialog and on the page.
Jobs and automation workspace 1.115.0
GET /webadmin/jobs exposes Jobs, Run history and Automatic execution through native
WebBlocks UI tabs. System task execution and setup require an active Super admin.
Site operators with all SEO source-read permissions can view and advance only
SEO runs for their permitted sites. JobRequest and JobPolicy authorize every
POST again. No general command, class, path or free-form task arguments are
accepted. This workspace is session-only; content API tokens do not acquire
execution authority through content.read.
Code-owned JobDefinition records supply a stable key, translated label, cron, owner, allowed scopes, web-batch support and side-effect classification. PluginDefinition::jobs accepts definitions owned and prefixed by that plugin. Only enabled plugins contribute runnable tasks. New plugin schedules default to explicit opt-in; existing Memberships billing cadence remains enabled. Global task switches do not override a domain's own opt-ins, consent, retention, recipient, order or payment safeguards. Existing commands share admission through JobCommandBridge; manual CLI execution does not create automatic tick evidence.
JobRun, attempts, automatic settings and tick evidence use typed SQL columns. Run admission is serialized with a unique active identity; automatic due slots also have a unique identity across trigger sources. A SQL lease excludes another worker and fences replaced workers' result writes. Queued, running, paused, complete, failed and cancelled are explicit states. Exception bodies, recipients, raw command output and credentials are not retained. Domain records remain the authority for effects and partial outcomes; execution leases alone are not an exactly-once transport guarantee. Run and attempt history is disposable; terminal history is pruned by the worker to 30 days and at most 100 records per job/site scope; active work is preserved. Pause/cancel requests made during an active step are recorded and applied at its boundary. A finished step wins over a late stop request and completed effects are never represented as undone. Expired or replaced workers cannot overwrite a later pause or cancellation. SEO partial evidence can finish task execution while retaining an explicit partial-result reason; it is not misreported as a worker crash.
SEO and the connection probe support explicit short panel POST steps. Opening a page or refreshing results never starts processing. Closing the tab keeps saved progress; automatic work continues only when an external trigger exists. Existing unbounded notification, maintenance and plugin command adapters are CLI-only and are identified as such; HTTP availability does not establish their execution. The common command processes bounded selections within a soft 40-second budget; a current indivisible CLI operation may run longer. Web steps use a five-second soft budget subject to existing render/provider timeout limits.
The automatic setup tab retains installation-specific hosting commands and offers an explicit fixed-command CLI setup bridge only for a supported non-root process running as the application owner. Unsupported process, account and cron contexts retain the hosting instructions. Setup reuses current CLI duplicate/ambiguity, lock, context recheck and readback safeguards. Updates never install OS tasks or change saved destructive cleanup opt-ins without the operator's action.
An opt-in POST /webblocks-jobs/tick accepts HTTPS and a dedicated Bearer key;
it has no session/CSRF exemption on panel mutations and cannot call arbitrary
Artisan or host tasks. The key is shown once, stored only as a hash, rotated or
revoked through explicit system actions, and never embedded in a URL. An external
service must POST every minute. Source rate limits, due-slot admission, shared
leases and short web steps bound execution. Only web-compatible jobs run here.
Laravel CLI and HTTP ticks are recorded separately from panel execution. Automatic
health requires completed probes in two distinct recent automatic minutes; manual
runs, key creation and cron installation never establish runtime health.
Navigation is composed by AdminNavigation with stable group identities and existing plugin group aliases. Jobs and automation is under Maintenance; SEO audits has a permission-filtered site selector under communication/reports. Content, access, privacy, structure/design and system groups retain their individual route and permission checks. Existing route URLs and plugin operation groups are preserved. Metadata and progress summaries prefer row-heading tables; technical fingerprints are available in optional details without recreating expanded label/value stacks.
Manual-first execution 1.116.0
Fresh installations do not require cron, a daemon or a queue worker for ordinary editing and manual maintenance. New sites use immediate notifications with daily summaries off; existing saved notification policies and explicit job switches are preserved. Batched notifications and daily summaries still require periodic dispatch and show that requirement. Optional missing scheduling does not mark a manual installation unhealthy.
An explicit panel request starts sequential short POST steps in that screen. SEO start/resume/retry and manual job requests flash a one-response start marker; opening a URL or refreshing results alone never processes work. The browser continues until completion, a stop/error or navigation away, without a minutely trigger. Closing the tab preserves committed progress; Run in this screen can resume it. The state/progress table updates during execution. Independent continuation requires an enabled job and a hosting trigger; automatic ticks do not take over panel runs whose automatic switch is off.
Visitor retention and expired editor-recovery cleanup now support bounded manual steps (up to 500 event/total records and 200 checkpoints respectively). Visitor rollup and deletion commit atomically under the existing shared retention lock; recent events and recoverable edits remain. Existing Cleanup, Backups and System Health manual screens remain the entry points for their domain operations. CLI-only tasks cannot be requested into a waiting panel run. JobDefinition adds optional translated help and a policy fingerprint guard; new definitions default to automatic execution off. The nullable typed SQL policy_hash column stops guarded work as paused/policy_changed when its saved policy changes between steps; cancel and review before starting a new run. No persistent JSON state or general command execution is added.
The automatic setup tab explains shared-hosting cron/PHP CLI and VPS scheduling, source verification and the optional scoped HTTP adapter. It no longer installs OS cron from a web process. Hosting remains responsible for OS setup; the existing explicit CLI setup helper remains available. Manual work and creating an HTTP key do not verify independent execution. Plugin job help explains optional automation, existing manual paths and CLI-only limitations. Forms retention, due appointment reminders and stale pending Commerce order expiry have explicit manual adapters in their matching plugin releases. Large Campaigns sends remain CLI-only with clear setup guidance. Free/manual Memberships needs no timer; existing consented recurring subscriptions retain billing automation.
Manual progress and persistent feedback 1.116.1
Explicit SEO and web-compatible job start/resume actions open one shared native
WebBlocks UI modal. It shows keep-tab-open guidance, saved counts, a real or
indeterminate progress bar and a compact table. Elapsed time measures the current
screen session. Only one browser work POST is active; duplicate presentations of
the same run do not start another driver. Passive page and progress GET requests
never advance work. GET /webadmin/jobs/{jobRun}/progress applies the same scoped
job authorization and returns localized saved state with no-store caching.
Pause and exit, Escape, backdrop and close controls wait for the active POST, then request an authorized pause. Pending lease transitions are verified through passive reads before the dialog closes. Transport or identity failure stops further steps and links to saved results without claiming a successful pause or replaying effects. Completion remains visible until explicit close or viewing results, with the outcome retained in the page. Existing server scheduling and optional independent execution policies are unchanged.
CMS-generated feedback uses persistent in-page native alerts rather than toast
notifications. Block publication outcomes remain beside their switch; failures
restore its previous value. Public contact submission success stays in normal
page flow. The admin layout exposes a hidden data-wb-page-feedback region for
compatible plugin notifications; alerts use escaped text and do not expire on a
timer. Shipped WebBlocks UI toast primitives and explicitly authored trusted HTML
overlays remain supported, without generating CMS feedback toasts.
From CMS 1.123.1, current-tab admin modal submissions show localized busy feedback after native validation and block repeat submissions while awaiting the response. Longer operations show a native indeterminate progress bar and keep-tab-open guidance. Native requests retain their form values, validation and redirects. Media picker uploads request an explicit JSON success receipt from the existing panel upload action and show an in-panel alert if the outcome is unknown. Site import keeps its saved phase and counts, stops between steps on a pause request, and retains the result in the modal until dismissal or opening the saved results. Rejected import input shows the validation message. A competing tab or unknown response stops the browser from sending further steps.