Files
marqdo/tests/lib/foreign-oracle-failure.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

18 lines
598 B
Markdown

---
markup: occlusion
title: failed foreign responses remain observable values
import:
foreign: lib/foreign.mq.md
---
# main
**s = > foreign.session_open lang="python"**
**> foreign.session_eval id=`s` source="raise ValueError('outside V_safe')"**
**j = > foreign.oracle_journal**
**> print text=[channel](access(access(`j`, 1), "channel"))**
**> print text=[ok](access(access(access(`j`, 1), "value"), "ok"))**
**> foreign.session_eval id=`s` source="import os; os._exit(7)"**
**later = > foreign.oracle_journal**
**> print text=[alive](access(access(access(`later`, 2), "value"), "alive"))**