//! The process-wide served fact, in a binary of its own: no other test in//! this process opens an app, so nothing races the declaration./// RULE: A process is served unless its app declares otherwise at open, from the manifest's sync: serving = (sync != false), so a definition's needs: "serving" shows in Cotton and hides in Rigby.////// WHY: architect, 22 Oct 2026 — Rigby is one device with no Mac; the/// settings rows that only a served app has (Runners) read this one fact.#[test]fn a_process_is_served_unless_its_manifest_says_it_never_syncs() {use cotton_core::flavor::{declare_serving, serving, syncs}; assert!(serving(), "undeclared is Cotton's: served"); declare_serving(syncs(Some(&serde_json::json!({"sync": false}))).unwrap()); assert!(!serving()); declare_serving(syncs(None).unwrap()); assert!(serving());}