aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s020_transfer.vec
| 1 | case transfer |
| 2 | kind positive |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # a read end transferred to another principal; revocation through its delegate right reaches both ends (ST3.1, ST4.9) |
| 7 | create R W A => OK |
| 8 | dup R RB B rv => OK |
| 9 | close R => OK |
| 10 | write W "\x00\x01\x02" => OK n=3 |
| 11 | read RB 3 => OK n=3 data="\x00\x01\x02" |
| 12 | revoke RB => OK |
| 13 | write W "x" => REVOKED |
| 14 | close RB => OK |
| 15 | close W => OK |
| 16 | check empty |