rfc: 0014 accepted (revision 2) and integrated into the spec

Owner review: D1-D4, D7-D9 accepted; D5 frozen.release, no thaw; D6
arc.from_frozen (island -> frozen -> arc, one graph identity), ArcSafe
(not Share alone; no arc<mutex>, no nested arc); D7 island Send, not
Share; D10 islands -> heap, arc -> islands; added: never-reused graph
identity, IslandSafe, the quota lifecycle, iref equality.

Integrated: spec 02 §6 (IslandSafe, ArcSafe), 03 §12-§14 and new
§22-§24 (instruction contracts, quota), 04 §13/§35/§38.1, 07a (features
islands, arc), 15 §8 (layer 9 syntax, explicit container borrows),
error codes (T0010, registered in src/diag.zig), type-properties. Phase 4
plan: P4-0, P4-1 done.
This commit is contained in:
dev committed 2026-10-05 21:57:08 +03:00
1 parent 7d8f147d1d
commit ca84ab4348
10 files changed
+346 -224

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ pub const registry = [_]Code{
.{ .id = "T0007", .kind = "trap.call_depth", .meaning = "Call depth limit (1 024 frames) exceeded" },
.{ .id = "T0008", .kind = "trap.out_of_bounds", .meaning = "Runtime bounds check failed" },
.{ .id = "T0009", .kind = "trap.unsafe_precondition", .meaning = "Unsafe precondition violated (detected)" },
.{ .id = "T0010", .kind = "trap.foreign_iref", .meaning = "An `iref` was used to access a graph it does not belong to" },
};
pub fn lookup(id: []const u8) ?*const Code {