docs/generated/contracts.mdgenerated from code
Reference · 13 min read
api-ops
Contracts: api-ops.
Read as
Source: crates/lvcs-api/src/ops.rs.
1/// The params key of a retried request's id (discussion:owner/163): the shell2/// takes it out of the params before the op parses them.3pub const REQUEST_PARAM: &str = "request";45/// What a retried op's `request` param is for (discussion:owner/163). At most6/// `REQUEST_ID_MAX_BYTES` bytes.7pub const REQUEST_DESCRIPTION: &str = "a fresh id for this call; send the same id again only to retry a call whose answer you did not get";89/// Whether `op` is retried safely under a `request` id (discussion:owner/163).10///11/// True for every op that signs, publishes, appends, or delivers, so12/// sending one again with the same `request` gets the first answer and13/// applies once. `notifications` lists and consumes nothing, so it is not14/// (discussion:owner/187). Exhaustive over `Op`.15pub const fn retried(op: Op) -> bool {16 match op {17 Op::Edit18 | Op::Write19 | Op::Move20 | Op::Remove21 | Op::Grant22 | Op::Revoke23 | Op::FilePurge24 | Op::Approve25 | Op::Add26 | Op::NotificationsRead27 | Op::Run28 | Op::AuthConfirm29 | Op::AuthLogout30 | Op::EventPublish31 | Op::PluginInstall32 | Op::PluginUpgrade33 | Op::PluginRemove34 | Op::PluginEnable35 | Op::PluginDisable36 | Op::PluginConfigure => true,37 // A login is a new pairing each time; waiting, pairing, and the38 // device list change nothing a second time.39 Op::AuthLogin | Op::AuthWait | Op::AuthPair | Op::AuthStatus | Op::AuthSign => false,40 Op::HostEnable | Op::HostDisable => false,41 // `key.new` makes a fresh key each time; the host's ops answer42 // from the registry's state, so sending one again is safe.43 Op::KeyNew | Op::Init | Op::Join | Op::Forget | Op::Project => false,44 Op::SyncDeliver => false,45 // The keyring's answers change nothing: an encryption key and an46 // Ed25519 endorsement are the same each time, an open reads only,47 // and a plaintext is never kept for a retry window.48 Op::KeyEncryption49 | Op::KeyOpen50 | Op::KeyEndorse51 | Op::KeyHeld52 | Op::KeyHanded53 | Op::KeyHandoverBlocked54 | Op::GrantHolders => false,55 // A wait answers whatever arrives next; it changes nothing.56 Op::NotificationsWait => false,57 // A read, and a write of local scratch files the same request58 // writes alike again.59 Op::FrontierRead | Op::TreeMaterialize | Op::DocDescends | Op::ProtectedRead => false,60 Op::Hello61 | Op::Subscribe62 | Op::Open63 | Op::Read64 | Op::Snapshot65 | Op::ChannelRead66 | Op::Notifications67 | Op::StopGate68 | Op::SavesLatest69 | Op::Status70 | Op::ChannelList71 | Op::RunList72 | Op::ChecksList73 | Op::NodeList74 | Op::NodeLoad75 | Op::PresenceList76 | Op::Watch77 | Op::ProjectSummary78 | Op::Inbox79 | Op::Blame80 | Op::ChangeSigners81 | Op::MainVersions82 | Op::ChannelHistory83 | Op::FileHistory84 | Op::Search85 | Op::Resources86 | Op::RunView87 | Op::FilesList88 | Op::EventRead89 | Op::EventSubscribe90 | Op::EventUnsubscribe91 | Op::EventList92 | Op::PeerResolve93 | Op::PluginList94 | Op::PluginSurfaces95 | Op::PluginAsset96 | Op::PluginDormant97 | Op::PluginBusy98 | Op::PluginAdmit99 | Op::PluginConfig => false,100 }101}102103/// What a paired device may call (discussion:owner/300).104#[derive(Debug, Clone, Copy, PartialEq, Eq)]105pub enum DeviceScope {106 /// Any device, and an anonymous client where a `read` grant to107 /// `anyone` covers what it reads.108 Read,109 /// A `--write` device: coordination records it signs itself, never a110 /// file change.111 Write,112 /// No device: file changes, the hook ops, and the host's113 /// own ops.114 Never,115}116117/// The device scope `op` needs (discussion:owner/300). Exhaustive over `Op`, so a118/// new op doesn't compile without its scope.119const fn device_scope(op: Op) -> DeviceScope {120 match op {121 Op::Hello122 | Op::Open123 | Op::Read124 | Op::Subscribe125 | Op::Snapshot126 | Op::ChannelRead127 | Op::Notifications128 | Op::NotificationsRead129 | Op::NotificationsWait130 | Op::Status131 | Op::AuthPair132 | Op::ChannelList133 | Op::RunList134 | Op::ChecksList135 | Op::NodeList136 | Op::NodeLoad137 | Op::PresenceList138 | Op::Watch139 | Op::Blame140 | Op::ChangeSigners141 | Op::MainVersions142 | Op::ChannelHistory143 | Op::FileHistory144 | Op::Search145 | Op::RunView146 | Op::FilesList147 | Op::EventRead148 | Op::EventSubscribe149 | Op::EventUnsubscribe150 | Op::EventList151 | Op::PeerResolve152 | Op::PluginList153 // On a host-level device stream, over the projects where the154 // device holds a grant (discussion:owner/300).155 | Op::ProjectSummary156 | Op::Inbox157 | Op::PluginSurfaces158 | Op::PluginAsset159 | Op::PluginConfig160 // Who holds a capability on an address: the owner and peer ids, no161 // path or text (a surface's admins, ui-public-1x/8).162 | Op::GrantHolders163 | Op::Resources => DeviceScope::Read,164 Op::Run165 | Op::Grant166 | Op::Revoke167 | Op::AuthSign168 | Op::EventPublish169 | Op::PluginConfigure => DeviceScope::Write,170 Op::Edit171 | Op::Write172 | Op::Move173 | Op::Remove174 | Op::Approve175 | Op::Add176 | Op::StopGate177 | Op::SavesLatest178 | Op::KeyNew179 | Op::KeyEncryption180 | Op::KeyOpen181 | Op::KeyEndorse182 | Op::KeyHeld183 | Op::KeyHanded184 | Op::KeyHandoverBlocked185 | Op::Init186 | Op::Join187 | Op::Forget188 | Op::Project189 | Op::AuthLogin190 | Op::AuthWait191 | Op::AuthConfirm192 | Op::AuthStatus193 | Op::AuthLogout194 | Op::HostEnable195 | Op::HostDisable196 | Op::PluginInstall197 | Op::PluginUpgrade198 | Op::PluginRemove199 | Op::PluginEnable200 | Op::PluginDisable201 // The owner's purge, on the host alone (discussion:owner/614).202 | Op::FilePurge203 | Op::SyncDeliver204 // The plugins' own reads of whole frontiers, on the host (205 // discussion:owner/518).206 | Op::FrontierRead207 | Op::TreeMaterialize208 | Op::DocDescends209 | Op::PluginDormant210 | Op::PluginBusy211 | Op::PluginAdmit212 | Op::ProtectedRead => DeviceScope::Never,213 }214}215216/// Whether an anonymous reader may call `op` where a `read` grant to217/// `anyone` holds (discussion:owner/382): the file reads its grant's paths gate,218/// and the metadata that quotes no text, and the plugins' surfaces (their219/// UI files, discussion:owner/520). The records that hold free text220/// a path doesn't address (threads, issues and their checkpoints, run221/// logs) and `auth.pair` are not, nor any op a device can't call. The daemon222/// refuses `node.load` to it unless `lvcs.toml`'s `[public] machines` says so223/// (discussion:owner/487), and each answer then comes from the one cached per step. Exhaustive over `Op`, so a new op doesn't compile without its answer.224const fn anyone_may(op: Op) -> bool {225 match op {226 Op::Hello227 | Op::Open228 | Op::Read229 | Op::Subscribe230 | Op::Snapshot231 | Op::ChannelRead232 | Op::Notifications233 | Op::NotificationsRead234 | Op::NotificationsWait235 | Op::Status236 | Op::ChannelList237 | Op::RunList238 | Op::ChecksList239 | Op::NodeList240 | Op::PresenceList241 | Op::Watch242 | Op::Blame243 | Op::ChannelHistory244 | Op::FileHistory245 | Op::Search246 | Op::FilesList247 | Op::ProjectSummary248 | Op::Inbox249 | Op::NodeLoad250 | Op::Resources251 // A plugin's surfaces and their files (discussion:owner/520): its UI, which252 // quotes no project text.253 | Op::PluginSurfaces254 | Op::PluginAsset255 // A plugin's ledgers its manifest lists as public (discussion:owner/566);256 // the daemon refuses every other ledger to an anonymous reader.257 | Op::EventRead258 | Op::EventList259 | Op::EventSubscribe260 | Op::EventUnsubscribe261 // The owner and peer ids holding a capability, which a public262 // surface's admins come from (ui-public-1x/8); no path or text.263 | Op::GrantHolders264 // Who signed each change id asked (discussion:owner/685): peer ids,265 // no path or text.266 | Op::ChangeSigners267 // Main's versions (discussion:owner/687): frontier ids, times,268 // signers, and file paths a reader may see, no text.269 | Op::MainVersions270 // A plugin's settings, which `lvcs.toml` keeps: the daemon answers271 // only when the reader reads that file and any settings file it names.272 | Op::PluginConfig => true,273 Op::AuthPair274 | Op::PluginConfigure275 | Op::Write276 | Op::FrontierRead277 | Op::TreeMaterialize278 | Op::DocDescends279 | Op::ProtectedRead280 | Op::EventPublish281 | Op::PeerResolve282 | Op::PluginInstall283 | Op::PluginList284 | Op::PluginUpgrade285 | Op::PluginRemove286 | Op::PluginEnable287 | Op::PluginDisable288 | Op::RunView289 | Op::Run290 | Op::Grant291 | Op::Revoke292 | Op::FilePurge293 | Op::SyncDeliver294 | Op::AuthSign295 | Op::Edit296 | Op::Move297 | Op::Remove298 | Op::Approve299 | Op::Add300 | Op::StopGate301 | Op::SavesLatest302 | Op::KeyNew303 | Op::KeyEncryption304 | Op::KeyOpen305 | Op::KeyEndorse306 | Op::KeyHeld307 | Op::KeyHanded308 | Op::KeyHandoverBlocked309 | Op::Init310 | Op::Join311 | Op::Forget312 | Op::Project313 | Op::AuthLogin314 | Op::AuthWait315 | Op::AuthConfirm316 | Op::AuthStatus317 | Op::AuthLogout318 | Op::HostEnable319 | Op::PluginDormant320 | Op::PluginBusy321 | Op::PluginAdmit322 | Op::HostDisable => false,323 }324}325326/// Everything access decides of `op`, in one place (discussion:owner/626,327/// orchestrator/14 step 1): what a device may call it with, whether an328/// anonymous reader may, whether a device calls it as the peer it pairs329/// for, the path it reads, and what a remote answer to it keeps. Each part330/// is exhaustive over `Op`, so a new op doesn't compile without all of331/// them.332#[derive(Debug, Clone, Copy, PartialEq, Eq)]333pub struct OpAccess {334 /// What a paired device needs to call it.335 pub device: DeviceScope,336 /// Whether an anonymous reader may call it where a `read` grant to337 /// `anyone` holds.338 pub anyone: bool,339 /// Whether a device calls it as the peer it pairs for (its340 /// notifications, what "Needs you" shows, discussion:owner/300; a341 /// plugin's settings, which it saves as that peer, discussion:owner/521).342 pub principal: bool,343 /// The path a call of it reads.344 pub reads: Reads,345 /// What a remote session's answer to it keeps.346 pub answer: Answer,347}348349/// `op`'s access ([`OpAccess`]).350pub const fn access(op: Op) -> OpAccess {351 OpAccess {352 device: device_scope(op),353 anyone: anyone_may(op),354 principal: principal(op),355 reads: reads(op),356 answer: answer(op),357 }358}359360/// Whether a device calls `op` as the peer it pairs for ([`OpAccess`]).361/// Exhaustive over `Op`.362const fn principal(op: Op) -> bool {363 match op {364 Op::Notifications | Op::NotificationsRead | Op::PluginConfigure => true,365 Op::Add366 | Op::Approve367 | Op::AuthConfirm368 | Op::AuthLogin369 | Op::AuthLogout370 | Op::AuthPair371 | Op::AuthSign372 | Op::AuthStatus373 | Op::AuthWait374 | Op::Blame375 | Op::ChangeSigners376 | Op::ChannelHistory377 | Op::ChannelList378 | Op::ChannelRead379 | Op::ChecksList380 | Op::DocDescends381 | Op::Edit382 | Op::EventList383 | Op::EventPublish384 | Op::EventRead385 | Op::EventSubscribe386 | Op::EventUnsubscribe387 | Op::FileHistory388 | Op::FilePurge389 | Op::SyncDeliver390 | Op::FilesList391 | Op::Forget392 | Op::FrontierRead393 | Op::Grant394 | Op::GrantHolders395 | Op::Hello396 | Op::HostDisable397 | Op::HostEnable398 | Op::Inbox399 | Op::Init400 | Op::Join401 | Op::KeyEncryption402 | Op::KeyEndorse403 | Op::KeyHeld404 | Op::KeyHanded405 | Op::KeyHandoverBlocked406 | Op::KeyNew407 | Op::KeyOpen408 | Op::MainVersions409 | Op::Move410 | Op::NodeList411 | Op::NodeLoad412 | Op::NotificationsWait413 | Op::Open414 | Op::PeerResolve415 | Op::PluginAsset416 | Op::PluginConfig417 | Op::PluginInstall418 | Op::PluginList419 | Op::PluginRemove420 | Op::PluginEnable421 | Op::PluginDisable422 | Op::PluginSurfaces423 | Op::PluginUpgrade424 | Op::PresenceList425 | Op::Project426 | Op::ProjectSummary427 | Op::ProtectedRead428 | Op::Read429 | Op::Remove430 | Op::Resources431 | Op::Revoke432 | Op::Run433 | Op::RunList434 | Op::RunView435 | Op::SavesLatest436 | Op::Search437 | Op::Snapshot438 | Op::Status439 | Op::StopGate440 | Op::Subscribe441 | Op::TreeMaterialize442 | Op::Watch443 | Op::PluginDormant444 | Op::PluginBusy445 | Op::PluginAdmit446 | Op::Write => false,447 }448}449450/// The path a call of an op reads, which a device or an anonymous reader451/// may call only where a `read` grant covers it (discussion:owner/300,452/// discussion:owner/303, and discussion:owner/304). An op whose answer453/// spans paths names none: its answer is filtered by the caller's read454/// paths instead ([`Answer`]).455#[derive(Debug, Clone, Copy, PartialEq, Eq)]456pub enum Reads {457 /// No path: channel and run metadata, nodes, the coordination writes.458 Nothing,459 /// The param it names; refused when the call doesn't name one.460 Param(&'static str),461 /// The param it names, when it names one; nothing otherwise.462 Optional(&'static str),463 /// The `address` of its `event` param.464 EventAddress,465 /// The project's `lvcs.toml`, whatever the call names.466 LvcsToml,467}468469/// The path a call of `op` reads ([`Reads`]). Exhaustive over `Op`.470const fn reads(op: Op) -> Reads {471 match op {472 Op::Open | Op::Read | Op::Blame | Op::FileHistory => Reads::Param("address"),473 Op::Subscribe => Reads::Param("pattern"),474 // It scans only the paths the caller reads (`SearchServer`,475 // discussion:owner/379).476 Op::Search => Reads::Optional("under"),477 // How this daemon classifies a path tells of that path (478 // discussion:owner/382).479 Op::Status => Reads::Optional("path"),480 // A plugin's entry ledger, or the ledgers under a prefix (481 // discussion:owner/514).482 Op::EventRead => Reads::Param("address"),483 Op::EventPublish => Reads::EventAddress,484 Op::EventList | Op::EventSubscribe => Reads::Param("prefix"),485 // A plugin's settings are lvcs.toml's (discussion:owner/521).486 Op::PluginConfig => Reads::LvcsToml,487 Op::Add488 | Op::Approve489 | Op::AuthConfirm490 | Op::AuthLogin491 | Op::AuthLogout492 | Op::AuthPair493 | Op::AuthSign494 | Op::AuthStatus495 | Op::AuthWait496 | Op::ChangeSigners497 | Op::ChannelHistory498 | Op::ChannelList499 | Op::ChannelRead500 | Op::ChecksList501 | Op::DocDescends502 | Op::Edit503 | Op::EventUnsubscribe504 | Op::FilePurge505 | Op::SyncDeliver506 | Op::FilesList507 | Op::Forget508 | Op::FrontierRead509 | Op::Grant510 | Op::GrantHolders511 | Op::Hello512 | Op::HostDisable513 | Op::HostEnable514 | Op::Inbox515 | Op::Init516 | Op::Join517 | Op::KeyEncryption518 | Op::KeyEndorse519 | Op::KeyHeld520 | Op::KeyHanded521 | Op::KeyHandoverBlocked522 | Op::KeyNew523 | Op::KeyOpen524 | Op::MainVersions525 | Op::Move526 | Op::NodeList527 | Op::NodeLoad528 | Op::Notifications529 | Op::NotificationsRead530 | Op::NotificationsWait531 | Op::PeerResolve532 | Op::PluginAsset533 | Op::PluginConfigure534 | Op::PluginInstall535 | Op::PluginList536 | Op::PluginRemove537 | Op::PluginEnable538 | Op::PluginDisable539 | Op::PluginSurfaces540 | Op::PluginUpgrade541 | Op::PresenceList542 | Op::Project543 | Op::ProjectSummary544 | Op::ProtectedRead545 | Op::Remove546 | Op::Resources547 | Op::Revoke548 | Op::Run549 | Op::RunList550 | Op::RunView551 | Op::SavesLatest552 | Op::Snapshot553 | Op::StopGate554 | Op::TreeMaterialize555 | Op::Watch556 | Op::PluginDormant557 | Op::PluginBusy558 | Op::PluginAdmit559 | Op::Write => Reads::Nothing,560 }561}562563/// What a remote session's answer to an op keeps (discussion:owner/300).564#[derive(Debug, Clone, Copy, PartialEq, Eq)]565pub enum Answer {566 /// The answer quotes no path the request didn't name, and the request's567 /// own path was checked against the grant before it was served.568 Unfiltered,569 /// Each `(list, field)`: the entries of `list` whose `field` (the570 /// entry itself when empty) names a path the session doesn't read are571 /// left out; when `list` names one entry, not a list, it becomes null.572 Reads(&'static [(&'static str, &'static str)]),573 /// No remote session calls it (`device` is `DeviceScope::Never`): an answer574 /// that gets here is dropped.575 LocalOnly,576 /// Passes as [`Self::Unfiltered`] does, but no one has checked that it577 /// may: its owner moves it to `Reads` or to `Unfiltered` with a reason578 /// when it moves the op off the shell. None remains at genesis579 /// (orchestrator, owner/18).580 Unaudited,581}582583/// The remote answer policy of `op`. Exhaustive over `Op` with no wildcard,584/// so an op added or moved off the shell doesn't compile without one: a585/// forgotten op can't leak (orchestrator, owner/18).586const fn answer(op: Op) -> Answer {587 match op {588 // `SearchServer` already drops the documents the caller can't read589 // before its scan, so `truncated` says nothing of them (590 // discussion:owner/379); filtering its matches again keeps that true whatever the591 // server does.592 Op::Search => Answer::Reads(&[("matches", "address")]),593 // A ledger's address is the one the request names, which the594 // session's read grants were checked against (`reads`); a listing595 // names each ledger's address; a publish names the event's id and596 // the ledger's heads (discussion:owner/515).597 Op::EventList => Answer::Reads(&[("ledgers", "address")]),598 // Its answer is the subscription's id; each push passes the599 // client's scope check.600 Op::EventRead | Op::EventPublish | Op::EventSubscribe | Op::EventUnsubscribe => {601 Answer::Unfiltered602 }603 // Peer ids, which name no path.604 Op::PeerResolve => Answer::Unfiltered,605 // Plugins, their commands, and their keys: no path. The host's606 // own install ops never reach a remote session (`DeviceScope::Never`).607 Op::PluginList608 | Op::PluginInstall609 | Op::PluginUpgrade610 | Op::PluginRemove611 | Op::PluginEnable612 | Op::PluginDisable => Answer::Unfiltered,613 // Plugins, their grants' path patterns, and their UI files: no614 // document (discussion:owner/520).615 Op::PluginSurfaces | Op::PluginAsset => Answer::Unfiltered,616 // The settings file's path and heads, which the caller names by617 // its plugin; no document's content.618 Op::PluginConfigure => Answer::Unfiltered,619 // lvcs.toml's plugin settings, which `reads` checks first.620 Op::PluginConfig => Answer::Unfiltered,621 // Its answer is the watch's id alone; what it later pushes passes622 // each broadcaster's `admits` against the watch's read scope.623 Op::Watch => Answer::Unfiltered,624 Op::PresenceList => Answer::Reads(&[("presences", "address")]),625 Op::FilesList => Answer::Reads(&[("files", "path")]),626 Op::Snapshot => Answer::Reads(&[("docs", "")]),627 Op::Notifications => Answer::Reads(&[("notifications", "address")]),628 // The answer names the session itself and quotes no document.629 Op::Hello => Answer::Unfiltered,630 // `GrantResult` names the grant's id and window, never a path.631 Op::Grant => Answer::Unfiltered,632 // `RevokeResult` names the grants revoked and the peers that hold633 // the revocation, never a path or a document's content.634 Op::Revoke => Answer::Unfiltered,635 // One path the request names: `Unfiltered` once miglibs'636 // `FilesServer` checks it against the grant before serving.637 // `FileServer` checks the op's own path against the session's read638 // grants before it serves it, and the answer names no other path.639 Op::Open | Op::Read | Op::Blame | Op::FileHistory => Answer::Unfiltered,640 // The subscription's id alone; what it later pushes passes the641 // client's scope check.642 Op::Subscribe => Answer::Unfiltered,643 // The one notification waited for, kept only when it is about a644 // path the session reads.645 Op::NotificationsWait => Answer::Reads(&[("notification", "address")]),646 // The caller's own standing: its grants and windows; the647 // notifications it lists are kept by their paths, and the tree's648 // parts are empty for any peer but the tree's author.649 Op::Status => Answer::Reads(&[("cleared", "address"), ("checks", "address")]),650 // Peer names, machine names, ids, and load: no path, no address.651 // A node's load names its storage by kind with `root` empty.652 Op::NodeList | Op::NodeLoad => Answer::Unfiltered,653 // The paired device itself, and an acknowledgement of a signature654 // the device was asked for; host resource samples name no path.655 Op::AuthPair | Op::AuthSign | Op::Resources => Answer::Unfiltered,656 // `Readers::notifications_read` gates the ids before it reads: a657 // narrowed or anonymous session reads only the notifications whose658 // address its scope reads (`scope_reads`), the rest answered659 // `missing`.660 Op::NotificationsRead => Answer::Unfiltered,661 // Runs name channels, frontiers, runners, states, and times, never662 // a path; their log (`run.view`'s tail, errors, and log document,663 // and each step's tail) is left out by `ChannelsServer` for a664 // session that doesn't read every path the action reads (665 // discussion:owner/502).666 Op::RunList | Op::RunView => Answer::Unfiltered,667 Op::ChannelRead | Op::ChannelList | Op::ChecksList | Op::ChannelHistory | Op::Inbox => {668 Answer::Unaudited669 }670 // The project, names, counts, and channel names quote no path but671 // `waiting`'s, kept by whether the session reads each.672 Op::ProjectSummary => Answer::Reads(&[("waiting", "")]),673 // `RunResult` names the run request's entry id and the frontier it674 // runs on, an opaque id, never a path; `RunServer` refuses a caller675 // without `approve` on the action's channel before it runs.676 Op::Run => Answer::Unfiltered,677 // The owner and the peer ids whose grants hold a capability on the678 // request's own scope: no path, no text (ui-public-1x/8).679 Op::GrantHolders => Answer::Unfiltered,680 // Change ids and the peer ids that signed them: no path, no text681 // (discussion:owner/685).682 Op::ChangeSigners => Answer::Unfiltered,683 // Each version keeps the paths the reader reads, and goes when it684 // keeps none (discussion:owner/687).685 Op::MainVersions => Answer::Reads(&[("versions", "paths[]")]),686 Op::Edit687 | Op::Move688 | Op::Remove689 | Op::Approve690 | Op::Add691 | Op::StopGate692 | Op::SavesLatest693 | Op::KeyNew694 | Op::KeyEncryption695 | Op::KeyOpen696 | Op::KeyEndorse697 | Op::KeyHeld698 | Op::KeyHanded699 | Op::KeyHandoverBlocked700 | Op::Init701 | Op::Join702 | Op::Forget703 | Op::Project704 | Op::AuthLogin705 | Op::AuthWait706 | Op::AuthConfirm707 | Op::AuthStatus708 | Op::AuthLogout709 | Op::HostEnable710 | Op::HostDisable711 | Op::FrontierRead712 | Op::TreeMaterialize713 | Op::DocDescends714 | Op::ProtectedRead715 | Op::FilePurge716 | Op::SyncDeliver717 | Op::PluginDormant718 | Op::PluginBusy719 | Op::PluginAdmit720 | Op::Write => Answer::LocalOnly,721 }722}