Entidex Bridge · in development · progress updated 18 October 2026A product by Entidex

Entidex Bridge / Developers / How the recorded run was made

For developers · development evidence

How the recorded run was made.

The sandbox's recorded run shows a Bridge change on a real Visual FoxPro 9 engine: plan, rehearse, approve, apply, undo, and a run that stops when someone else edits a record. This page lists what was installed, in what order, with which versions and settings, and the commands that were run, so a developer can see exactly what the recording is and is not.

Development evidence on synthetic data. Not a product release and not a production install. The run used a disposable sandbox folder on our own Visual FoxPro 9 installation, a five-row table of made-up customers, and a local stand-in for the approval service. No live system and no customer data were involved. No FoxPro support, vendor certification or production readiness is claimed.

At a glance

What was recorded

Where a detail was not written down at the time, this page says not recorded rather than guess.

ItemValue
Date of the recording12 October 2026
Result on the real engineConnector test script: 26 of 26 checks passed. Worker end-to-end script: 21 of 21 checks passed.
Visual FoxProVisual FoxPro 9, build 09.00.0000.5815 (version 9.0 without Service Pack 2). Installed at the default path C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9.exe.
Operating systemWindows. Edition and build not recorded for 12 October (the follow-up run on the same connector the next day was on Windows 11).
Windows PowerShellUsed to drive the run. Version not recorded.
Node.jsUsed only for the local stand-in approval service. Version not recorded.
Bridge codeThe VFP 9 connector and worker, slice 0.1 (research and development), from the Bridge repository at commit 61960c2. The connector source is private.
DataOne free table, cust.dbf, with five invented rows, built by the test scripts in a disposable folder.
NetworkEverything on 127.0.0.1. The worker refuses any approval service that is not localhost.

Folders

Three folders, all disposable.

The test scripts use these paths. Change them in the scripts if your machine differs.

FolderHolds
C:\BridgeProbe\connectorThe connector (bridgeconn.prg), the worker loop (bridgeworker.prg), the test scripts and their results files.
C:\BridgeSandbox\ConnThe sandbox: cust.dbf, its index, the import CSV, and the marker file BRIDGE_SANDBOX.TXT. Every connector verb refuses a folder without that marker. Plans, journals and progress files go in bridgeconn_out inside it.
C:\BridgeUI\mockThe local stand-in for the approval service (mock-control-plane.mjs), listening on 127.0.0.1:3101, in memory only, with a development sign-in. It is not the real control plane.

Install and run

In the order it was done.

  1. Install Visual FoxPro 9

    A licensed copy of Visual FoxPro 9, installed to its default folder. Check the build from the VFP command window and note it:

    ? VERSION(4)   && the recording used 09.00.0000.5815
    ? OS(1)
  2. Install Node.js

    Any current release. It runs the local stand-in approval service and nothing else.

  3. Copy the connector and tests

    Into C:\BridgeProbe\connector: the connector, the worker loop, conn_test.prg, the three e2e_*.prg helpers and worker_e2e.ps1. Into C:\BridgeUI\mock: mock-control-plane.mjs. Files copied from a download or a zip are marked as internet files, so unblock them once:

    New-Item -ItemType Directory -Force C:\BridgeProbe\connector, C:\BridgeUI\mock | Out-Null
    Get-ChildItem C:\BridgeProbe, C:\BridgeUI -Recurse | Unblock-File
  4. Build the synthetic sandbox

    The test scripts rebuild it on every run, so this step is shown for clarity. It creates the folder, writes the marker, and builds the five-row table with two index tags:

    lcDir = "C:\BridgeSandbox\Conn\"
    IF !DIRECTORY(lcDir)
      MKDIR (lcDir)
    ENDIF
    STRTOFILE("disposable sandbox for connector tests", lcDir + "BRIDGE_SANDBOX.TXT")
    CREATE TABLE (lcDir + "cust") FREE (id I, name C(20), email C(30), balance N(10,2), joined D)
    INDEX ON id TAG id
    INDEX ON UPPER(name) TAG name
    INSERT INTO cust VALUES (1, "Ann", "ann@x.com", 10.50, {^2026-01-01})
    INSERT INTO cust VALUES (2, "Bob", "bob@x.com", 20.00, {^2026-02-01})
    INSERT INTO cust VALUES (3, "Cy",  "cy@x.com",  30.00, {^2026-03-01})
    INSERT INTO cust VALUES (4, "Di",  "di@x.com",  40.00, {^2026-04-01})
    INSERT INTO cust VALUES (5, "Ed",  "ed@x.com",  50.00, {^2026-05-01})
    USE

    The import file, import1.csv, has eight rows: one unchanged, two updates, three inserts (one with a quoted comma), one impossible date and one duplicate key. That is where the recording's "3 to insert · 2 to update · 1 unchanged · 2 refused" comes from.

    id,name,email,balance,joined
    1,Ann,ann@x.com,10.50,2026-01-01
    2,Bob Jones,bob@x.com,20.00,2026-02-01
    3,Cy,cy@new.com,30.00,2026-03-01
    6,Fay,fay@x.com,60.00,2026-06-01
    7,Gus,gus@x.com,70.00,2026-07-01
    8,Bad,bad@x.com,80.00,2026-13-45
    2,Dup,dup@x.com,1.00,2026-01-01
    9,"Quote, Inc",q@x.com,9.99,2026-09-09

    Session settings the scripts use: SET EXCLUSIVE OFF, SET DELETED OFF, SET DATE TO YMD, SET CENTURY ON, SET FIXED OFF, SET SAFETY OFF, SET TALK OFF.

  5. Run the connector tests headless

    Each script runs in its own VFP process, started with a one-line configuration file so it needs no clicks:

    $vfp = 'C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9.exe'
    function RunPrg($prg) {
      "DEFAULT=C:\BridgeProbe\connector`r`nCOMMAND=DO C:\BridgeProbe\connector\$prg" |
        Set-Content C:\BridgeProbe\connector\config_run.fpw -Encoding ASCII
      Start-Process $vfp -ArgumentList '-cC:\BridgeProbe\connector\config_run.fpw -t' -Wait
    }
    Remove-Item C:\BridgeProbe\connector\test-results.txt -EA SilentlyContinue
    RunPrg conn_test.prg
    Get-Content C:\BridgeProbe\connector\test-results.txt

    Recorded result: 26 PASS lines and SUMMARY pass=26 fail=0. The checks cover refusal outside a sandbox, plan classification, "the plan wrote nothing", refusal of a wrong or missing approval, the dry run, apply with read-back of every field and every index tag, undo with a checksum guard, and the stop when a record changed after the plan.

  6. Run the worker end to end

    This script restarts the stand-in on 127.0.0.1:3101, stages a plan, approves it the way the approval screen posts it, has the worker poll and run it through the connector, and reads back what the screen would show:

    powershell -NoProfile -ExecutionPolicy Bypass -File C:\BridgeProbe\connector\worker_e2e.ps1
    Get-Content C:\BridgeProbe\connector\worker-e2e-results.txt

    Recorded result: SUMMARY pass=21 fail=0. Scenarios A to I: dry run writes nothing; apply (8 rows, every step read back); a second poll runs nothing; undo restores the original values and marks the 3 inserted rows deleted; a record changed by another writer stops the run after step 1 and their change stays; an unknown plan is refused; a decision with the wrong hash is rejected; ABORT.flag stops the worker; a folder without the marker and a non-localhost service are both refused.

  7. The five steps you see in the recording

    The recording replays these connector verbs, run in a VFP session with SET DEFAULT TO C:\BridgeProbe\connector:

    DO bridgeconn WITH "PLAN",    "C:\BridgeSandbox\Conn\", "cust.dbf", "C:\BridgeSandbox\Conn\import1.csv", "id"
    DO bridgeconn WITH "DRYRUN",  "C:\BridgeSandbox\Conn\", "<plan file>"
    DO bridgeconn WITH "APPROVE", "C:\BridgeSandbox\Conn\", "<plan file>", "<crc from the plan result>"
    DO bridgeconn WITH "APPLY",   "C:\BridgeSandbox\Conn\", "<plan file>"
    DO bridgeconn WITH "UNDO",    "C:\BridgeSandbox\Conn\", "<journal file>"

    The worker loop is started the same way: DO bridgeworker WITH "C:\BridgeSandbox\Conn\", "http://127.0.0.1:3101", "hst_vfp_local", "dry" (or "apply"), with "ONCE" to poll a single time. For the "someone else edited a record" scenario, record 3's email was changed to other@x.com in a second VFP process between approval and apply.

  8. Clean up

    Delete C:\BridgeSandbox\Conn when you have finished. Nothing outside the three folders above is written.

Read this before relying on it

What this run does not show.

Known limits of slice 0.1

  • The plan hash was a CRC-32 stand-in; the plan contract uses SHA-256.
  • Approval came from a local in-memory stand-in, not the real control plane, and there were no signed approval grants yet.
  • Memo, NULL and datetime fields were refused; counters and exclusive-open tables were not handled.
  • One machine, one small table, no network share, no real application writing at the same time.

What changed later

Later connector versions replaced local approval with signed, single-use grants from the control plane and added appends with a counter, two-writer tests, crash quarantine and rewind. A longer evidence run on 6 November 2026 passed on the same VFP 9 build (5815), still on synthetic sandboxes. A run on Service Pack 2 (build 7423) is still open.

Getting the connector. The connector and its tests live in a private part of the Bridge repository, so this page publishes the steps and commands only. Pilot partners get access. Ask at hello@entidex.com.