# ELIZA rule trace

This executes Anthony and Max Hay's modern JavaScript recreation, version 1.00, pinned to commit `30eb61bc1c36a439b344276110e4942a42b0e7a4`. It uses the separately saved DOCTOR transcription from the same repository revision. The upstream HTML, script, documentation and licence are preserved unchanged in `../sources/raw/mech-hay-*`.

Run from the repository root:

```powershell
node episodes/2026-12-eliza/02-research/probe/run-probe.mjs --check
```

Omit `--check` to regenerate `results.json`. No package installation, browser, network, API key or Python interpreter is required. The script extracts the one upstream inline JavaScript block into Node's VM, supplies `TextEncoder` and the timer API, ignores the browser UI's load callback, and exposes the existing interpreter classes. It does not rewrite the interpreter or its rule-selection logic. Each scenario starts from a fresh parse of the saved script. A second complete run must match the first byte-for-byte.

The four scenarios contain seven invented, non-sensitive turns. Their exact inputs and reset boundaries are in `inputs.json`; replies, upstream trace text and fields parsed from that trace are in `results.json`. The first bicycle input exposes `I` → `YOU`, a matched WANT/NEED pattern, its captured tail, and a response template. The repeated input changes the template by cycling. Another input exposes keyword precedence. The final sequence saves and recalls a phrase, so it does not support calling ELIZA memoryless.

These are present-day results from the specified recreation. They are not original MAD-SLIP execution, a historical user's transcript, clinical evidence, a measure of empathy or understanding, or a measurement of modern language models. The script transcription identifies duplicate printed lines that its transcriber removed; that editorial choice is preserved in its comments. A particular reply matching the 1966 rule is a narrower observation than claiming every historical output would match this implementation.

The repository's CC0 licence and implementation credits are preserved. The DOCTOR transcription and browser header also retain an ACM copyright notice. Source preservation for research does not supply blanket production reuse clearance for the appendix, screenshots, portraits or historical recordings.
