PromptBridgeFor Divi

Architecture

Follow a text request from the Divi field to its reviewed draft.

How a draft moves through PromptBridge

FIVE STEPSFrom your request to a draft you can review
  1. DIVI EDITOR

    You ask for a text change.

    In a Divi Text module, choose Generate and enter an instruction. Your page is not changed yet.

  2. WORDPRESS CHECKS

    WordPress checks who you are.

    It checks that you can edit this page, that the administrator accepted the current policies, and that service access is enabled.

  3. PRIVATE JOB

    WordPress queues the work.

    The instruction and selected Text field content go into a private, temporary job. WordPress Cron starts the worker.

  4. YOUR SERVER

    Your server runs Codex locally.

    The worker uses the fixed Codex path and private home set by the site owner. Codex communicates through a local input/output pipe, not a public network port.

  5. YOU REVIEW

    You decide whether to apply it.

    PromptBridge sanitizes the result and shows a separate preview. Apply changes the Divi field only if it has not changed while the job was running.

Where the text goes

DATA BOUNDARYWhat stays on your server and what leaves it

YOUR WORDPRESS SERVER

Divi → WordPress job → local Codex process

The job is private. Codex runs from the site owner's configured path and dedicated home.

Only after admin opt-in and an editor request

OPENAI SERVICE

Instruction + selected Text field

The separately installed Codex runtime uses the account signed in to its dedicated home.

Plugin activation and page load do not send this text to OpenAI. The administrator must separately enable service access first.

What works in the staging alpha

  • An authorized administrator or editor can request a text draft for a Divi Text module.
  • WordPress stores the request in a private job and rechecks permission and consent before starting Codex.
  • Before submitting the draft request, PromptBridge checks that Codex confirms a restricted read-only profile with network access off for sandboxed tools.
  • The editor sees an editable preview. The page changes only after the editor chooses Apply to Divi field.

What still needs a live test

The app-server protocol is experimental. Real account behavior, host compatibility, and Divi undo, responsive value, and save/reload behavior still need testing. See Limitations and gates before using this on a production site.

Plain-English glossary

  • WordPress Cron: WordPress's built-in scheduler. On a quiet site, a queued job may wait until another visit triggers it. A host cron can trigger it on a schedule.
  • Dedicated Codex home: A private folder for this site's Codex sign-in and session files. It must be outside the public website folder.
  • stdio: A local input-and-output connection between WordPress and the Codex process. It does not open a port for other computers.

Protocol detail for developers

The Codex app-server documentation describes newline-delimited messages over stdio. The CLI still labels this command experimental, so pin and test the exact Codex version before relying on it in production.

On this page