Commit bcb65af
fix(ocap-kernel): accept durable/virtual/faceted vrefs in isVRef
The previous regex only matched plain `[op][+-]N`, rejecting
liveslots-allocated durable-kind refs like `o+d10/1` and faceted
forms like `o+d10/1:0`. Any vat using `defineDurableKind` would
fail EndpointMessage validation on outgoing sends and reachable.ts
on persisted-slot reads.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eeae1ee commit bcb65af
2 files changed
Lines changed: 46 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
611 | 620 | | |
612 | 621 | | |
613 | 622 | | |
| |||
616 | 625 | | |
617 | 626 | | |
618 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
619 | 638 | | |
620 | 639 | | |
621 | 640 | | |
| |||
624 | 643 | | |
625 | 644 | | |
626 | 645 | | |
627 | | - | |
| 646 | + | |
628 | 647 | | |
629 | 648 | | |
630 | 649 | | |
| |||
680 | 699 | | |
681 | 700 | | |
682 | 701 | | |
683 | | - | |
| 702 | + | |
684 | 703 | | |
685 | 704 | | |
686 | 705 | | |
| |||
698 | 717 | | |
699 | 718 | | |
700 | 719 | | |
701 | | - | |
| 720 | + | |
702 | 721 | | |
703 | 722 | | |
704 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
106 | 120 | | |
107 | 121 | | |
108 | 122 | | |
| |||
139 | 153 | | |
140 | 154 | | |
141 | 155 | | |
142 | | - | |
| 156 | + | |
| 157 | + | |
143 | 158 | | |
144 | 159 | | |
145 | 160 | | |
| |||
0 commit comments