From 60d4db7046f5cfe130eedbc9dabad680373e3e94 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 04:58:49 -0300 Subject: kind: a kind's open is the authority's alone (Kind.reopen, authorityOnly as a key's or a word's into its pane is): a replica has no kind's code, so its guess of a word that opens a pane with no file (Snake, Life, Fake) made the open's outcome a default and was always mispredicted; it waits for the authority's unit now, as do a Look, a revived placeholder and a reload that reach the same open Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/Kind.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Kind.zig') diff --git a/src/Kind.zig b/src/Kind.zig index 619a9c53..d3feed96 100644 --- a/src/Kind.zig +++ b/src/Kind.zig @@ -275,6 +275,8 @@ pub fn openFile(p: *Pardes, id: usize, k: u8, path: []const u8) !*Pane { /// `address` with its place and its words' last values): its refusal, /// if the kind refused, in `slot.refused`. One call for both cores. pub fn reopen(p: ?*Pardes, id: usize, s: *Slot, bytes: ?[]const u8) bool { + // A replica has no kind's code: what the open says is the authority's. + if (authorityOnly("a kind's open")) return false; var cl: Call = .{ .p = p, .id = id, .slot = s }; const prev = cl.begin("open"); if (p) |core| if (core.kinds.byName(s.nameOf())) |k| { -- cgit v1.3