Files
marqdo/tests/lib/foreign-oracle-journal.mq.md
cflmyandCursor 8f1010f967 Ship oracle journal values, bytecode/frontend hardening, and replay-policy Lean.
Host exposes oracle journals as language values with refuse/copy gates; bytecode and foreign session paths get modularized; applications and verification replay-policy sources land with Lake builds ignored.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-06 15:04:27 +08:00

737 B

markup, title, import
markup title import
occlusion document oracle journal is a first-class value
foreign json
lib/foreign.mq.md lib/json.mq.md

main

s = > foreign.session_open lang="python" > foreign.session_set id=s name="n" value=2 > foreign.session_eval id=s source="n + 1" > foreign.session_get id=s name="n" > foreign.session_close id=s j = > foreign.oracle_journal same = > foreign.replay_check expected=j observed=j > print text=ok) > json.parse text="3" later = > foreign.oracle_journal changed = > foreign.replay_check expected=j observed=later > print text=ok) > print text=index)