Relate × Neo4j · for the engineer whose agent writes Cypher to production
The write looked fine.
Dry run rehearsed it first.
- 0capabilities-
unverified - 49examples-
unknown- flag - 16flags-
of- push - 10 → 0lock-
file- Unaskedsections - 0orphan-
pages - 2prereq-
push- guide - 1see-
also- resolves - 97term-
pages- store - 0undocumented-
flags - —Parity
11 changes · PropSet 11 · push can carry all 11 · red outline: 10 of the 11 changes each change lock-file-sections on their own; none alone reproduces 10 → 0
dryrun demo --yes recorded 2026-11-28 07:16 WIB
verdict: HOLD (held on: answers)⋯ 4 not shownchanged [UNASKED] lock-file-sections: 10 rows -> 0 rows⋯ 2 not shown(10 of the 11 changes each change this answer on their own)
dryrun.edycu.dev
Alone, the agent moved answers nobody named.
20 adversarial tasks × 3 runs
A · agent alone
13 of 60 runs
B · with Dry run
0 of 60 runs
t19, a page rename A changed examples-unknown-flag 3 of 3; B held 3 of 3 (first rehearsal INCOMPLETE each time).
One loop. Relate runs pull, rehearse and push.
- 2,637nodes
Pull
relate pull
the slice the write can touch → slice.rl
- 10→0rows, unasked
Rehearse
conn.rollback()
write in a Relate transaction; ask before and after
- 172/215cannot carry
Explain
ddmin
1-minimal changes · what push cannot carry
- +4343 created · 63 updated
Push
relate push
only the approved, rehearsed state
- 9/9equal on Neo4j
Re-ask
parity
the pinned questions, on Neo4j
lamps: recorded demo figures
HOLD an answer changes unasked, or push cannot carry a change
INCOMPLETE the write reaches past the slice
REFUSED LOAD CSV, procedures, schema, rand()
Beat 1 · bulk rename
Relate v1.2.0 renamed the engine folder .cypherlite to .relate. Update the docs graph so no section still says .cypherlite.
- 0capabilities-
unverified - 49examples-
unknown- flag - 16flags-
of- push - 10 → 0lock-
file- Unaskedsections - 0orphan-
pages - 2prereq-
push- guide - 1see-
also- resolves - 97term-
pages- store - 0undocumented-
flags - —Parity
11 changes · PropSet 11 · push can carry all 11 · red outline: 10 of the 11 changes each change lock-file-sections on their own; none alone reproduces 10 → 0
- Pull 2,637 nodes / 3,065 rels · 0.67 s
- Rehearse 11 changes, rolled back
- HOLD lock-file-sections 10 → 0, unasked
- Why L01: 1-minimal · 10 of 11 flip it alone
Beat 2 · dedupe: what push cannot carry
- 0capabilities-
unverified - 49examples-
unknown- flag - 16 → 16−4 +4flags-
of- Expectedpush - 10lock-
file- sections - 0orphan-
pages - 2prereq-
push- guide - 1see-
also- resolves - 97term-
pages- store - 0undocumented-
flags - 9/9Parity
First write MERGE + DELETE
215 changes · NodeDelete 22 · RelCreate 43 · RelDelete 150 · push cannot carry 172 of 215
Revised additive, nothing deleted
65 changes · PropSet 22 · RelCreate 43 · push can carry all 65
- HOLD cannot carry 172 of 215 · RelDelete 150 · NodeDelete 22
- PASS push can carry all 65
- Push created 43 / updated 63 / skipped 0 · 0.60 s
- Parity 9/9 whole graph = rehearsed · re-push no-op
30 frozen tasks. One model, two arms.
Tasks and oracles committed before the first trial. The author wrote them: 20 of 30 adversarial. Counts, not rates.
| 30 tasks | A · alone | B · Dry run |
|---|---|---|
| Unnamed answer changed | 4 | 0 |
| Landed cleanly | 20 | 13 |
| Held | 4 | 15 |
| False alarms | 0 | 0 |
| All 3 runs, 20 adversarial | 13/60 | 0/60 |
Relate is the engine: seven surfaces carry the loop.
- 01
Pull
relate pull --from neo4j.env --query slice.scope.cypher
- 02
Rehearse
conn.autocommit = False … conn.rollback()
- 03
Classify
query_type from EXPLAIN
- 04
Agent
relate serve --mcp stdio --read-only
- 05
Push
relate push --rel-mode keyed --nodes-update add
- 06
Tab
@relate/relate-wasm 1.4.0
- 07
Record
records/demo-pass.rl
The same rehearsal, in a browser tab
- parity checks · 0 failures
- 45
- rebuild, bulk rename slice
- 494.5 ms median of 3
- rebuild, dedupe slice
- 258.9 ms median of 3
No Neo4j here: best verdict UNCHECKED, never PASS.
What this does not prove
20/30
adversarial tasks, author-written: counts, not a rate.
7
tasks Dry run held that the agent alone landed cleanly.
22
duplicates stay on Neo4j: push cannot carry the delete.
Reuse: 7 Witness files copied, ddmin re-implemented. docs/DISCLOSURE.md
Rehearse the next write before it lands.
Docker: the full round trip
git clone https://github.com/edycutjong/dryrun
cd dryrun && docker compose up -d
uv sync
uv run dryrun demo
# no Docker: the committed rehearsalsuv run dryrun demo --no-dockerdryrun.edycu.dev
/try/ · in your browser
/judge/ · the evidence
dryrun.edycu.dev
10