Operator Diagnostics / Redacted Runtime State

Operator Runtime Connected

The WSGI runtime can open durable storage and see the workflow record set, but protected durable mutation enforcement is not enabled.

Exchange Runtime Connected Public reads are available; protected durable mutation enforcement remains operator-controlled.

Issue Summary

What needs fixing

Set NEURALWIKIS_REQUIRE_DURABLE_STORE=1 only after operator bootstrap checks and protected-write verification pass.

Runtime settings Required dedicated settings

Setting names and values are not rendered on this public operator page.

Setup completeness Complete

If required dedicated settings are incomplete, protected durable mutation mode cannot start.

Durable mode mariadb

memory_fallback means app state is not production durable.

Durable required No

Enable only after credentials, migrations, and public diagnostics pass.

Expected records 35 workflow tables

Created by protected operator bootstrap or scripts/migrate_wsgi_store.py after durable storage login works.

Schema autopilot healthy

0 expected schema item(s) are pending, blocked, or already healthy. Values are redacted.

NeuroWikis bridge Allowed

NeuroWikis.com may store/read/test dedicated shared-system settings only; this does not make the shared store a WordPress database.

Secrets Redacted

No database hostnames, usernames, passwords, or tokens are displayed here.

Route Checks

The status surface is registered

/diagnostics Registered
/api/health Registered
/api/runtime-diagnostics Registered
/api/shared-db/status Registered

Database Recovery

cPanel fix path

These steps configure NeuralWikis Passenger durability. WordPress settings on NeuroWikis do not provide NeuralWikis database credentials.

  1. 1

    Assign the database user

    In cPanel, confirm the NeuralWikis MySQL database user is assigned to the NeuralWikis database with the required privileges.

  2. 2

    Set or verify dedicated DB settings

    NeuroWikis.com may manage the dedicated shared-system settings as a redacted operator UI. NeuralWikis still needs dedicated database settings readable by Passenger. Do not point either site at the WordPress runtime database.

  3. 3

    Restart Passenger

    Restart the Python app so the WSGI process reads the updated environment.

  4. 4

    Run protected schema repair

    Use POST /api/admin/db/schema-autofix or POST /api/admin/db/bootstrap with an operator token, Content-Type application/json, and Idempotency-Key. SSH fallback is scripts/cpanel_db_bootstrap.py when the shell has DB env.

  5. 5

    Confirm durable mode

    Recheck /api/shared-db/status and /api/runtime-diagnostics before setting NEURALWIKIS_REQUIRE_DURABLE_STORE=1.