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>
This commit is contained in:
cflmyandCursor committed 2026-11-06 15:04:27 +08:00
1 parent e3d9021bb6
commit 8f1010f967
101 files changed
+17962 -1727

No files matched your search

+14
View File
@@ -508,6 +508,20 @@ impl<'a> Parser<'a> {
});
}
if self.eat("-") {
// The magnitude of i64::MIN is not itself a positive i64 literal.
// Recognize its signed token before recursively parsing a unary
// operand; decimal literals keep their floating-point type.
let start = self.i;
self.skip_ws();
let digits = self.rest().bytes().take_while(u8::is_ascii_digit).count();
let end = self.i + digits;
if &self.src[self.i..end] == "9223372036854775808"
&& !self.src[end..].starts_with(['.', 'e', 'E'])
{
self.i = end;
return Ok(Expr::Literal(Literal::Int(i64::MIN)));
}
self.i = start;
let expr = self.parse_unary()?;
return Ok(Expr::Unary {
op: UnaryOp::Neg,