[{"data":1,"prerenderedAt":1894},["ShallowReactive",2],{"navigation":3,"\u002Frecipes\u002Fteam-vault-topology":927},[4,40,114,446,474,498,596,903],{"title":5,"path":6,"stem":7,"children":8},"Architecture","\u002Farchitecture","architecture",[9,14,28,32,36],{"title":10,"path":6,"stem":11,"access":12,"icon":13},"Overview","architecture\u002Findex","public","i-lucide-network",{"title":10,"path":15,"stem":16,"children":17,"access":12,"icon":19},"\u002Farchitecture\u002Fkernel","architecture\u002F1.kernel\u002Findex",[18,20,24],{"title":10,"path":15,"stem":16,"access":12,"icon":19},"i-lucide-box",{"title":21,"path":22,"stem":23,"access":12},"Enclave","\u002Farchitecture\u002Fkernel\u002Fenclave","architecture\u002F1.kernel\u002Fenclave",{"title":25,"path":26,"stem":27,"access":12},"Forking the enclave","\u002Farchitecture\u002Fkernel\u002Fforking-the-enclave","architecture\u002F1.kernel\u002Fforking-the-enclave",{"title":29,"path":30,"stem":31,"access":12},"Ports","\u002Farchitecture\u002Fports","architecture\u002F2.ports",{"title":33,"path":34,"stem":35,"access":12},"Service layers","\u002Farchitecture\u002Fservice-layers","architecture\u002F3.service-layers",{"title":37,"path":38,"stem":39,"access":12},"Families","\u002Farchitecture\u002Ffamilies","architecture\u002F4.families",{"title":41,"path":42,"stem":43,"children":44},"Core","\u002Fcore","core",[45,47,50,53,56,88,97],{"title":10,"path":42,"stem":46,"access":12,"icon":19},"core\u002Findex",{"title":10,"path":48,"stem":49,"access":12},"\u002Fcore\u002F01-overview","core\u002F01-overview",{"title":10,"path":51,"stem":52,"access":12},"\u002Fcore\u002F05-stores","core\u002F05-stores",{"title":10,"path":54,"stem":55,"access":12},"\u002Fcore\u002F06-permissions-and-keyring","core\u002F06-permissions-and-keyring",{"title":10,"path":57,"stem":58,"children":59,"access":12},"\u002Fcore\u002Fnoydb","core\u002F2.noydb\u002Findex",[60,61,65,68,72,76,80,84],{"title":10,"path":57,"stem":58,"access":12},{"title":62,"path":63,"stem":64,"access":12},"Noydb","\u002Fcore\u002Fnoydb\u002Fmethods","core\u002F2.noydb\u002F1.methods",{"title":21,"path":66,"stem":67,"access":12},"\u002Fcore\u002Fnoydb\u002Fenclave","core\u002F2.noydb\u002F2.enclave",{"title":69,"path":70,"stem":71,"access":12},"Secret & keyring","\u002Fcore\u002Fnoydb\u002Fkeyring","core\u002F2.noydb\u002F3.keyring",{"title":73,"path":74,"stem":75,"access":12},"Authentication","\u002Fcore\u002Fnoydb\u002Fauthentication","core\u002F2.noydb\u002F4.authentication",{"title":77,"path":78,"stem":79,"access":12},"Auth recovery","\u002Fcore\u002Fnoydb\u002Frecovery","core\u002F2.noydb\u002F5.recovery",{"title":81,"path":82,"stem":83,"access":12},"Configuration","\u002Fcore\u002Fnoydb\u002Fconfiguration","core\u002F2.noydb\u002F6.configuration",{"title":85,"path":86,"stem":87,"access":12},"Strategies","\u002Fcore\u002Fnoydb\u002Fstrategies","core\u002F2.noydb\u002F7.strategies",{"title":10,"path":89,"stem":90,"children":91,"access":12},"\u002Fcore\u002Fvault","core\u002F3.vault\u002Findex",[92,93],{"title":10,"path":89,"stem":90,"access":12},{"title":94,"path":95,"stem":96,"access":12},"Vault","\u002Fcore\u002Fvault\u002Fmethods","core\u002F3.vault\u002F1.methods",{"title":10,"path":98,"stem":99,"children":100,"access":12},"\u002Fcore\u002Fcollection","core\u002F4.collection\u002Findex",[101,102,106,110],{"title":10,"path":98,"stem":99,"access":12},{"title":103,"path":104,"stem":105,"access":12},"Collection","\u002Fcore\u002Fcollection\u002Fmethods","core\u002F4.collection\u002F1.methods",{"title":107,"path":108,"stem":109,"access":12},"Querying","\u002Fcore\u002Fcollection\u002Fquerying","core\u002F4.collection\u002F2.querying",{"title":111,"path":112,"stem":113,"access":12},"Schema","\u002Fcore\u002Fcollection\u002Fschema","core\u002F4.collection\u002F3.schema",{"title":37,"path":115,"stem":116,"children":117},"\u002Ffamilies","families",[118,121,168,194,208,212,216,294,340],{"title":10,"path":115,"stem":119,"access":12,"icon":120},"families\u002Findex","i-lucide-plug",{"title":122,"path":123,"stem":124,"children":125,"access":12,"icon":127},"as-Exports","\u002Ffamilies\u002Fas","families\u002Fas\u002Findex",[126,128,132,136,140,144,148,152,156,160,164],{"title":122,"path":123,"stem":124,"access":12,"icon":127},"i-lucide-book-open",{"title":129,"path":130,"stem":131,"access":12},"aws-s3","\u002Ffamilies\u002Fas\u002Faws-s3","families\u002Fas\u002Faws-s3",{"title":133,"path":134,"stem":135,"access":12},"blob","\u002Ffamilies\u002Fas\u002Fblob","families\u002Fas\u002Fblob",{"title":137,"path":138,"stem":139,"access":12},"csv","\u002Ffamilies\u002Fas\u002Fcsv","families\u002Fas\u002Fcsv",{"title":141,"path":142,"stem":143,"access":12},"json","\u002Ffamilies\u002Fas\u002Fjson","families\u002Fas\u002Fjson",{"title":145,"path":146,"stem":147,"access":12},"ndjson","\u002Ffamilies\u002Fas\u002Fndjson","families\u002Fas\u002Fndjson",{"title":149,"path":150,"stem":151,"access":12},"noydb","\u002Ffamilies\u002Fas\u002Fnoydb","families\u002Fas\u002Fnoydb",{"title":153,"path":154,"stem":155,"access":12},"sql","\u002Ffamilies\u002Fas\u002Fsql","families\u002Fas\u002Fsql",{"title":157,"path":158,"stem":159,"access":12},"xlsx","\u002Ffamilies\u002Fas\u002Fxlsx","families\u002Fas\u002Fxlsx",{"title":161,"path":162,"stem":163,"access":12},"xml","\u002Ffamilies\u002Fas\u002Fxml","families\u002Fas\u002Fxml",{"title":165,"path":166,"stem":167,"access":12},"zip","\u002Ffamilies\u002Fas\u002Fzip","families\u002Fas\u002Fzip",{"title":169,"path":170,"stem":171,"children":172,"access":12,"icon":127},"at-Seals","\u002Ffamilies\u002Fat","families\u002Fat\u002Findex",[173,174,178,182,186,190],{"title":169,"path":170,"stem":171,"access":12,"icon":127},{"title":175,"path":176,"stem":177,"access":12},"aws-kms","\u002Ffamilies\u002Fat\u002Faws-kms","families\u002Fat\u002Faws-kms",{"title":179,"path":180,"stem":181,"access":12},"azure-keyvault","\u002Ffamilies\u002Fat\u002Fazure-keyvault","families\u002Fat\u002Fazure-keyvault",{"title":183,"path":184,"stem":185,"access":12},"env","\u002Ffamilies\u002Fat\u002Fenv","families\u002Fat\u002Fenv",{"title":187,"path":188,"stem":189,"access":12},"gcp-kms","\u002Ffamilies\u002Fat\u002Fgcp-kms","families\u002Fat\u002Fgcp-kms",{"title":191,"path":192,"stem":193,"access":12},"macos-keychain","\u002Ffamilies\u002Fat\u002Fmacos-keychain","families\u002Fat\u002Fmacos-keychain",{"title":195,"path":196,"stem":197,"children":198,"access":12,"icon":127},"by-Sessions","\u002Ffamilies\u002Fby","families\u002Fby\u002Findex",[199,200,204],{"title":195,"path":196,"stem":197,"access":12,"icon":127},{"title":201,"path":202,"stem":203,"access":12},"peer","\u002Ffamilies\u002Fby\u002Fpeer","families\u002Fby\u002Fpeer",{"title":205,"path":206,"stem":207,"access":12},"tabs","\u002Ffamilies\u002Fby\u002Ftabs","families\u002Fby\u002Ftabs",{"title":209,"path":210,"stem":211,"access":12},"Classifying a package","\u002Ffamilies\u002Fclassification","families\u002Fclassification",{"title":213,"path":214,"stem":215,"access":12},"Command-line tools","\u002Ffamilies\u002Fcli","families\u002Fcli",{"title":217,"path":218,"stem":219,"children":220,"access":12,"icon":127},"in-Frameworks","\u002Ffamilies\u002Fin","families\u002Fin\u002Findex",[221,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290],{"title":217,"path":218,"stem":219,"access":12,"icon":127},{"title":223,"path":224,"stem":225,"access":12},"ai","\u002Ffamilies\u002Fin\u002Fai","families\u002Fin\u002Fai",{"title":227,"path":228,"stem":229,"access":12},"devtools","\u002Ffamilies\u002Fin\u002Fdevtools","families\u002Fin\u002Fdevtools",{"title":231,"path":232,"stem":233,"access":12},"devtools-tui","\u002Ffamilies\u002Fin\u002Fdevtools-tui","families\u002Fin\u002Fdevtools-tui",{"title":235,"path":236,"stem":237,"access":12},"liff","\u002Ffamilies\u002Fin\u002Fliff","families\u002Fin\u002Fliff",{"title":239,"path":240,"stem":241,"access":12},"nextjs","\u002Ffamilies\u002Fin\u002Fnextjs","families\u002Fin\u002Fnextjs",{"title":243,"path":244,"stem":245,"access":12},"nuxt","\u002Ffamilies\u002Fin\u002Fnuxt","families\u002Fin\u002Fnuxt",{"title":247,"path":248,"stem":249,"access":12},"pinia","\u002Ffamilies\u002Fin\u002Fpinia","families\u002Fin\u002Fpinia",{"title":251,"path":252,"stem":253,"access":12},"pwa","\u002Ffamilies\u002Fin\u002Fpwa","families\u002Fin\u002Fpwa",{"title":255,"path":256,"stem":257,"access":12},"react","\u002Ffamilies\u002Fin\u002Freact","families\u002Fin\u002Freact",{"title":259,"path":260,"stem":261,"access":12},"relay","\u002Ffamilies\u002Fin\u002Frelay","families\u002Fin\u002Frelay",{"title":263,"path":264,"stem":265,"access":12},"rest","\u002Ffamilies\u002Fin\u002Frest","families\u002Fin\u002Frest",{"title":267,"path":268,"stem":269,"access":12},"solid","\u002Ffamilies\u002Fin\u002Fsolid","families\u002Fin\u002Fsolid",{"title":271,"path":272,"stem":273,"access":12},"svelte","\u002Ffamilies\u002Fin\u002Fsvelte","families\u002Fin\u002Fsvelte",{"title":275,"path":276,"stem":277,"access":12},"tanstack-query","\u002Ffamilies\u002Fin\u002Ftanstack-query","families\u002Fin\u002Ftanstack-query",{"title":279,"path":280,"stem":281,"access":12},"tanstack-table","\u002Ffamilies\u002Fin\u002Ftanstack-table","families\u002Fin\u002Ftanstack-table",{"title":283,"path":284,"stem":285,"access":12},"vue","\u002Ffamilies\u002Fin\u002Fvue","families\u002Fin\u002Fvue",{"title":287,"path":288,"stem":289,"access":12},"yjs","\u002Ffamilies\u002Fin\u002Fyjs","families\u002Fin\u002Fyjs",{"title":291,"path":292,"stem":293,"access":12},"zustand","\u002Ffamilies\u002Fin\u002Fzustand","families\u002Fin\u002Fzustand",{"title":295,"path":296,"stem":297,"children":298,"access":12,"icon":127},"on-Auth","\u002Ffamilies\u002Fon","families\u002Fon\u002Findex",[299,300,304,308,312,316,320,324,328,332,336],{"title":295,"path":296,"stem":297,"access":12,"icon":127},{"title":301,"path":302,"stem":303,"access":12},"email-otp","\u002Ffamilies\u002Fon\u002Femail-otp","families\u002Fon\u002Femail-otp",{"title":305,"path":306,"stem":307,"access":12},"magic-link","\u002Ffamilies\u002Fon\u002Fmagic-link","families\u002Fon\u002Fmagic-link",{"title":309,"path":310,"stem":311,"access":12},"oidc","\u002Ffamilies\u002Fon\u002Foidc","families\u002Fon\u002Foidc",{"title":313,"path":314,"stem":315,"access":12},"password","\u002Ffamilies\u002Fon\u002Fpassword","families\u002Fon\u002Fpassword",{"title":317,"path":318,"stem":319,"access":12},"pin","\u002Ffamilies\u002Fon\u002Fpin","families\u002Fon\u002Fpin",{"title":321,"path":322,"stem":323,"access":12},"recovery","\u002Ffamilies\u002Fon\u002Frecovery","families\u002Fon\u002Frecovery",{"title":325,"path":326,"stem":327,"access":12},"shamir","\u002Ffamilies\u002Fon\u002Fshamir","families\u002Fon\u002Fshamir",{"title":329,"path":330,"stem":331,"access":12},"threat","\u002Ffamilies\u002Fon\u002Fthreat","families\u002Fon\u002Fthreat",{"title":333,"path":334,"stem":335,"access":12},"totp","\u002Ffamilies\u002Fon\u002Ftotp","families\u002Fon\u002Ftotp",{"title":337,"path":338,"stem":339,"access":12},"webauthn","\u002Ffamilies\u002Fon\u002Fwebauthn","families\u002Fon\u002Fwebauthn",{"title":341,"path":342,"stem":343,"children":344,"access":12,"icon":127},"to-Stores","\u002Ffamilies\u002Fto","families\u002Fto\u002Findex",[345,346,350,353,357,361,365,370,374,378,382,386,390,394,398,402,406,410,414,417,421,425,429,434,438,442],{"title":341,"path":342,"stem":343,"access":12,"icon":127},{"title":347,"path":348,"stem":349,"access":12},"aws-dynamo","\u002Ffamilies\u002Fto\u002Faws-dynamo","families\u002Fto\u002Faws-dynamo",{"title":129,"path":351,"stem":352,"access":12},"\u002Ffamilies\u002Fto\u002Faws-s3","families\u002Fto\u002Faws-s3",{"title":354,"path":355,"stem":356,"access":12},"browser-fs","\u002Ffamilies\u002Fto\u002Fbrowser-fs","families\u002Fto\u002Fbrowser-fs",{"title":358,"path":359,"stem":360,"access":12},"browser-idb","\u002Ffamilies\u002Fto\u002Fbrowser-idb","families\u002Fto\u002Fbrowser-idb",{"title":362,"path":363,"stem":364,"access":12},"browser-local","\u002Ffamilies\u002Fto\u002Fbrowser-local","families\u002Fto\u002Fbrowser-local",{"title":366,"path":367,"stem":368,"access":12,"icon":369},"Choosing a store","\u002Ffamilies\u002Fto\u002Fchoosing-a-store","families\u002Fto\u002Fchoosing-a-store","i-lucide-split",{"title":371,"path":372,"stem":373,"access":12},"cloudflare-d1","\u002Ffamilies\u002Fto\u002Fcloudflare-d1","families\u002Fto\u002Fcloudflare-d1",{"title":375,"path":376,"stem":377,"access":12},"cloudflare-r2","\u002Ffamilies\u002Fto\u002Fcloudflare-r2","families\u002Fto\u002Fcloudflare-r2",{"title":379,"path":380,"stem":381,"access":12},"drive","\u002Ffamilies\u002Fto\u002Fdrive","families\u002Fto\u002Fdrive",{"title":383,"path":384,"stem":385,"access":12},"file","\u002Ffamilies\u002Fto\u002Ffile","families\u002Fto\u002Ffile",{"title":387,"path":388,"stem":389,"access":12},"icloud","\u002Ffamilies\u002Fto\u002Ficloud","families\u002Fto\u002Ficloud",{"title":391,"path":392,"stem":393,"access":12},"memory","\u002Ffamilies\u002Fto\u002Fmemory","families\u002Fto\u002Fmemory",{"title":395,"path":396,"stem":397,"access":12},"meter","\u002Ffamilies\u002Fto\u002Fmeter","families\u002Fto\u002Fmeter",{"title":399,"path":400,"stem":401,"access":12},"mysql","\u002Ffamilies\u002Fto\u002Fmysql","families\u002Fto\u002Fmysql",{"title":403,"path":404,"stem":405,"access":12},"nfs","\u002Ffamilies\u002Fto\u002Fnfs","families\u002Fto\u002Fnfs",{"title":407,"path":408,"stem":409,"access":12},"postgres","\u002Ffamilies\u002Fto\u002Fpostgres","families\u002Fto\u002Fpostgres",{"title":411,"path":412,"stem":413,"access":12},"probe","\u002Ffamilies\u002Fto\u002Fprobe","families\u002Fto\u002Fprobe",{"title":263,"path":415,"stem":416,"access":12},"\u002Ffamilies\u002Fto\u002Frest","families\u002Fto\u002Frest",{"title":418,"path":419,"stem":420,"access":12},"smb","\u002Ffamilies\u002Fto\u002Fsmb","families\u002Fto\u002Fsmb",{"title":422,"path":423,"stem":424,"access":12},"sqlite","\u002Ffamilies\u002Fto\u002Fsqlite","families\u002Fto\u002Fsqlite",{"title":426,"path":427,"stem":428,"access":12},"ssh","\u002Ffamilies\u002Fto\u002Fssh","families\u002Fto\u002Fssh",{"title":430,"path":431,"stem":432,"access":12,"icon":433},"Store-locator descriptors","\u002Ffamilies\u002Fto\u002Fstore-locator","families\u002Fto\u002Fstore-locator","i-lucide-map-pin",{"title":435,"path":436,"stem":437,"access":12},"supabase","\u002Ffamilies\u002Fto\u002Fsupabase","families\u002Fto\u002Fsupabase",{"title":439,"path":440,"stem":441,"access":12},"turso","\u002Ffamilies\u002Fto\u002Fturso","families\u002Fto\u002Fturso",{"title":443,"path":444,"stem":445,"access":12},"webdav","\u002Ffamilies\u002Fto\u002Fwebdav","families\u002Fto\u002Fwebdav",{"title":447,"path":448,"stem":449,"children":450},"Faq","\u002Ffaq","faq",[451,454,458,462,466,470],{"title":10,"path":448,"stem":452,"access":12,"icon":453},"faq\u002Findex","i-lucide-circle-help",{"title":455,"path":456,"stem":457,"access":12},"Where can noy-db run?","\u002Ffaq\u002Fwhere-can-noy-db-run","faq\u002F1.where-can-noy-db-run",{"title":459,"path":460,"stem":461,"access":12},"Native mobile & PWA","\u002Ffaq\u002Fmobile-and-pwa","faq\u002F2.mobile-and-pwa",{"title":463,"path":464,"stem":465,"access":12},"Threat model","\u002Ffaq\u002Fthreat-model","faq\u002F3.threat-model",{"title":467,"path":468,"stem":469,"access":12},"Community & ecosystem","\u002Ffaq\u002Fcommunity-and-ecosystem","faq\u002F4.community-and-ecosystem",{"title":471,"path":472,"stem":473,"access":12},"Licensing","\u002Ffaq\u002Flicensing","faq\u002F5.licensing",{"title":475,"path":476,"stem":477,"children":478},"Glossary","\u002Fglossary","glossary",[479,482,486,490,494],{"title":10,"path":476,"stem":480,"access":12,"icon":481},"glossary\u002Findex","i-lucide-book-a",{"title":483,"path":484,"stem":485,"access":12},"Core vocabulary","\u002Fglossary\u002Fcore-vocabulary","glossary\u002Fcore-vocabulary",{"title":487,"path":488,"stem":489,"access":12},"Deletion vocabulary","\u002Fglossary\u002Fdeletion","glossary\u002Fdeletion",{"title":491,"path":492,"stem":493,"access":12},"Satellite collection vocabulary","\u002Fglossary\u002Fsatellite-collections","glossary\u002Fsatellite-collections",{"title":495,"path":496,"stem":497,"access":12},"Schema migration vocabulary","\u002Fglossary\u002Fschema-migration","glossary\u002Fschema-migration",{"title":499,"path":500,"stem":501,"children":502},"Recipes","\u002Frecipes","recipes",[503,506,510,514,518,522,526,530,534,538,542,546,550,554,558,562,567,571,575,580,584,588,592],{"title":10,"path":500,"stem":504,"access":12,"icon":505},"recipes\u002Findex","i-lucide-play",{"title":507,"path":508,"stem":509,"access":12},"Accounting app","\u002Frecipes\u002Faccounting-app","recipes\u002Faccounting-app",{"title":511,"path":512,"stem":513,"access":12},"Analytics app","\u002Frecipes\u002Fanalytics-app","recipes\u002Fanalytics-app",{"title":515,"path":516,"stem":517,"access":12},"Attestation verifier","\u002Frecipes\u002Fattestation-verifier","recipes\u002Fattestation-verifier",{"title":519,"path":520,"stem":521,"access":12},"AWS-KMS attestation","\u002Frecipes\u002Faws-kms-pdf-attestation","recipes\u002Faws-kms-pdf-attestation",{"title":523,"path":524,"stem":525,"access":12},"Browser durability","\u002Frecipes\u002Fbrowser-durability","recipes\u002Fbrowser-durability",{"title":527,"path":528,"stem":529,"access":12},"Production cloud store","\u002Frecipes\u002Fcloud-store","recipes\u002Fcloud-store",{"title":531,"path":532,"stem":533,"access":12},"Compose your own setup","\u002Frecipes\u002Fcompose-your-own","recipes\u002Fcompose-your-own",{"title":535,"path":536,"stem":537,"access":12},"Confidential HR records","\u002Frecipes\u002Fconfidential-hr","recipes\u002Fconfidential-hr",{"title":539,"path":540,"stem":541,"access":12},"Composing an echo secret","\u002Frecipes\u002Fecho-secret-enrollment","recipes\u002Fecho-secret-enrollment",{"title":543,"path":544,"stem":545,"access":12},"Email archive","\u002Frecipes\u002Femail-archive","recipes\u002Femail-archive",{"title":547,"path":548,"stem":549,"access":12},"Email archive — threads & revisions","\u002Frecipes\u002Femail-archive-threads-revisions","recipes\u002Femail-archive-threads-revisions",{"title":551,"path":552,"stem":553,"access":12},"Export & portability","\u002Frecipes\u002Fexport-portability","recipes\u002Fexport-portability",{"title":555,"path":556,"stem":557,"access":12},"Passwordless OIDC (AWS Cognito)","\u002Frecipes\u002Fpasswordless-oidc","recipes\u002Fpasswordless-oidc",{"title":559,"path":560,"stem":561,"access":12},"Personal notebook","\u002Frecipes\u002Fpersonal-notebook","recipes\u002Fpersonal-notebook",{"title":563,"path":564,"stem":565,"access":12,"icon":566},"Playgrounds","\u002Frecipes\u002Fplaygrounds","recipes\u002Fplaygrounds","i-lucide-gamepad-2",{"title":568,"path":569,"stem":570,"access":12},"React invoice app","\u002Frecipes\u002Freact-invoices","recipes\u002Freact-invoices",{"title":572,"path":573,"stem":574,"access":12},"Collaborative app","\u002Frecipes\u002Frealtime-crdt-app","recipes\u002Frealtime-crdt-app",{"title":576,"path":577,"stem":578,"access":12,"icon":579},"Run the showcases","\u002Frecipes\u002Frun-the-showcases","recipes\u002Frun-the-showcases","i-lucide-flask-conical",{"title":581,"path":582,"stem":583,"access":12},"Search & RAG","\u002Frecipes\u002Fsearch-rag","recipes\u002Fsearch-rag",{"title":585,"path":586,"stem":587,"access":12},"Team vault topology","\u002Frecipes\u002Fteam-vault-topology","recipes\u002Fteam-vault-topology",{"title":589,"path":590,"stem":591,"access":12},"Unlock ceremonies","\u002Frecipes\u002Funlock-ceremonies","recipes\u002Funlock-ceremonies",{"title":593,"path":594,"stem":595,"access":12},"User preferences","\u002Frecipes\u002Fuser-preferences","recipes\u002Fuser-preferences",{"title":597,"path":598,"stem":599,"children":600},"Services","\u002Fservices","services",[601,604,608,612,616,620,624,628,632,636,640,644,648,652,656,660,664,668,672,676,680,684,688,692,696,700,704,710,714,718,722,726,730,734,738,742,746,750,755,759,763,767,771,775,779,783,787,791,795,799,803,807,811,815,819,823,827,831,835,839,843,847,851,855,859,863,867,871,875,879,883,887,891,895,899],{"title":10,"path":598,"stem":602,"access":12,"icon":603},"services\u002Findex","i-lucide-layers",{"title":605,"path":606,"stem":607,"access":12},"archive","\u002Fservices\u002Farchive","services\u002Farchive",{"title":609,"path":610,"stem":611,"access":12},"attestation","\u002Fservices\u002Fattestation","services\u002Fattestation",{"title":613,"path":614,"stem":615,"access":12},"auth-introspection","\u002Fservices\u002Fauth-introspection","services\u002Fauth-introspection",{"title":617,"path":618,"stem":619,"access":12},"auth-landscape","\u002Fservices\u002Fauth-landscape","services\u002Fauth-landscape",{"title":621,"path":622,"stem":623,"access":12},"blobs","\u002Fservices\u002Fblobs","services\u002Fblobs",{"title":625,"path":626,"stem":627,"access":12},"broker","\u002Fservices\u002Fbroker","services\u002Fbroker",{"title":629,"path":630,"stem":631,"access":12},"bundle","\u002Fservices\u002Fbundle","services\u002Fbundle",{"title":633,"path":634,"stem":635,"access":12},"classified","\u002Fservices\u002Fclassified","services\u002Fclassified",{"title":637,"path":638,"stem":639,"access":12},"computed","\u002Fservices\u002Fcomputed","services\u002Fcomputed",{"title":641,"path":642,"stem":643,"access":12},"consent","\u002Fservices\u002Fconsent","services\u002Fconsent",{"title":645,"path":646,"stem":647,"access":12},"cover","\u002Fservices\u002Fcover","services\u002Fcover",{"title":649,"path":650,"stem":651,"access":12},"coverage","\u002Fservices\u002Fcoverage","services\u002Fcoverage",{"title":653,"path":654,"stem":655,"access":12},"crdt","\u002Fservices\u002Fcrdt","services\u002Fcrdt",{"title":657,"path":658,"stem":659,"access":12},"cross-join","\u002Fservices\u002Fcross-join","services\u002Fcross-join",{"title":661,"path":662,"stem":663,"access":12},"custody","\u002Fservices\u002Fcustody","services\u002Fcustody",{"title":665,"path":666,"stem":667,"access":12},"derivations","\u002Fservices\u002Fderivations","services\u002Fderivations",{"title":669,"path":670,"stem":671,"access":12},"directory","\u002Fservices\u002Fdirectory","services\u002Fdirectory",{"title":673,"path":674,"stem":675,"access":12},"search — AI","\u002Fservices\u002Fembeddings","services\u002Fembeddings",{"title":677,"path":678,"stem":679,"access":12},"Field metadata","\u002Fservices\u002Ffield-metadata","services\u002Ffield-metadata",{"title":681,"path":682,"stem":683,"access":12},"Foreign refs","\u002Fservices\u002Fforeign-refs","services\u002Fforeign-refs",{"title":685,"path":686,"stem":687,"access":12},"forget","\u002Fservices\u002Fforget","services\u002Fforget",{"title":689,"path":690,"stem":691,"access":12},"governance","\u002Fservices\u002Fgovernance","services\u002Fgovernance",{"title":693,"path":694,"stem":695,"access":12},"guards","\u002Fservices\u002Fguards","services\u002Fguards",{"title":697,"path":698,"stem":699,"access":12},"history","\u002Fservices\u002Fhistory","services\u002Fhistory",{"title":701,"path":702,"stem":703,"access":12},"i18n","\u002Fservices\u002Fi18n","services\u002Fi18n",{"title":705,"path":706,"stem":707,"children":708,"access":12},"indexing","\u002Fservices\u002Findexing","services\u002Findexing",[709],{"title":705,"path":706,"stem":707,"access":12},{"title":711,"path":712,"stem":713,"access":12},"introspection","\u002Fservices\u002Fintrospection","services\u002Fintrospection",{"title":715,"path":716,"stem":717,"access":12},"joins","\u002Fservices\u002Fjoins","services\u002Fjoins",{"title":719,"path":720,"stem":721,"access":12},"lazy","\u002Fservices\u002Flazy","services\u002Flazy",{"title":723,"path":724,"stem":725,"access":12},"links","\u002Fservices\u002Flinks","services\u002Flinks",{"title":727,"path":728,"stem":729,"access":12},"live","\u002Fservices\u002Flive","services\u002Flive",{"title":731,"path":732,"stem":733,"access":12},"lookup","\u002Fservices\u002Flookup","services\u002Flookup",{"title":735,"path":736,"stem":737,"access":12},"manifest","\u002Fservices\u002Fmanifest","services\u002Fmanifest",{"title":739,"path":740,"stem":741,"access":12},"materialized-views","\u002Fservices\u002Fmaterialized-views","services\u002Fmaterialized-views",{"title":743,"path":744,"stem":745,"access":12},"Metadata ladder","\u002Fservices\u002Fmetadata-ladder","services\u002Fmetadata-ladder",{"title":747,"path":748,"stem":749,"access":12},"Metadata riders","\u002Fservices\u002Fmetadata-riders","services\u002Fmetadata-riders",{"title":751,"path":752,"stem":753,"access":12,"badge":754},"metrics","\u002Fservices\u002Fmetrics","services\u002Fmetrics","Planned",{"title":756,"path":757,"stem":758,"access":12,"badge":754},"migrations","\u002Fservices\u002Fmigrations","services\u002Fmigrations",{"title":760,"path":761,"stem":762,"access":12},"money","\u002Fservices\u002Fmoney","services\u002Fmoney",{"title":764,"path":765,"stem":766,"access":12},"numbering","\u002Fservices\u002Fnumbering","services\u002Fnumbering",{"title":768,"path":769,"stem":770,"access":12},"overlay-views","\u002Fservices\u002Foverlay-views","services\u002Foverlay-views",{"title":772,"path":773,"stem":774,"access":12,"badge":754},"partitioning","\u002Fservices\u002Fpartitioning","services\u002Fpartitioning",{"title":776,"path":777,"stem":778,"access":12},"periods","\u002Fservices\u002Fperiods","services\u002Fperiods",{"title":780,"path":781,"stem":782,"access":12},"persisted-schemas","\u002Fservices\u002Fpersisted-schemas","services\u002Fpersisted-schemas",{"title":784,"path":785,"stem":786,"access":12},"plaintext-bypass","\u002Fservices\u002Fplaintext-bypass","services\u002Fplaintext-bypass",{"title":788,"path":789,"stem":790,"access":12},"pod-redirect","\u002Fservices\u002Fpod-redirect","services\u002Fpod-redirect",{"title":792,"path":793,"stem":794,"access":12},"pod-signature","\u002Fservices\u002Fpod-signature","services\u002Fpod-signature",{"title":796,"path":797,"stem":798,"access":12},"policy","\u002Fservices\u002Fpolicy","services\u002Fpolicy",{"title":800,"path":801,"stem":802,"access":12},"portability","\u002Fservices\u002Fportability","services\u002Fportability",{"title":804,"path":805,"stem":806,"access":12},"reduce","\u002Fservices\u002Freduce","services\u002Freduce",{"title":808,"path":809,"stem":810,"access":12},"routing","\u002Fservices\u002Frouting","services\u002Frouting",{"title":812,"path":813,"stem":814,"access":12},"satellites","\u002Fservices\u002Fsatellites","services\u002Fsatellites",{"title":816,"path":817,"stem":818,"access":12},"schema-identifiers","\u002Fservices\u002Fschema-identifiers","services\u002Fschema-identifiers",{"title":820,"path":821,"stem":822,"access":12},"schema-update","\u002Fservices\u002Fschema-update","services\u002Fschema-update",{"title":824,"path":825,"stem":826,"access":12},"sealed-record","\u002Fservices\u002Fsealed-record","services\u002Fsealed-record",{"title":828,"path":829,"stem":830,"access":12},"sealing provider id","\u002Fservices\u002Fsealing-pid-stability","services\u002Fsealing-pid-stability",{"title":832,"path":833,"stem":834,"access":12},"search — full-text","\u002Fservices\u002Fsearch","services\u002Fsearch",{"title":836,"path":837,"stem":838,"access":12},"sequence","\u002Fservices\u002Fsequence","services\u002Fsequence",{"title":840,"path":841,"stem":842,"access":12},"session","\u002Fservices\u002Fsession","services\u002Fsession",{"title":844,"path":845,"stem":846,"access":12},"session-tiers","\u002Fservices\u002Fsession-tiers","services\u002Fsession-tiers",{"title":848,"path":849,"stem":850,"access":12},"shadow","\u002Fservices\u002Fshadow","services\u002Fshadow",{"title":852,"path":853,"stem":854,"access":12},"share-link","\u002Fservices\u002Fshare-link","services\u002Fshare-link",{"title":856,"path":857,"stem":858,"access":12},"snapshots","\u002Fservices\u002Fsnapshots","services\u002Fsnapshots",{"title":860,"path":861,"stem":862,"access":12},"store capabilities","\u002Fservices\u002Fstorage-capability-matrix","services\u002Fstorage-capability-matrix",{"title":864,"path":865,"stem":866,"access":12},"sync","\u002Fservices\u002Fsync","services\u002Fsync",{"title":868,"path":869,"stem":870,"access":12},"team","\u002Fservices\u002Fteam","services\u002Fteam",{"title":872,"path":873,"stem":874,"access":12},"tiers","\u002Fservices\u002Ftiers","services\u002Ftiers",{"title":876,"path":877,"stem":878,"access":12},"transactions","\u002Fservices\u002Ftransactions","services\u002Ftransactions",{"title":880,"path":881,"stem":882,"access":12},"partitions","\u002Fservices\u002Ftransferable-partitions","services\u002Ftransferable-partitions",{"title":884,"path":885,"stem":886,"access":12},"user-envelope","\u002Fservices\u002Fuser-envelope","services\u002Fuser-envelope",{"title":888,"path":889,"stem":890,"access":12,"badge":754},"validation","\u002Fservices\u002Fvalidation","services\u002Fvalidation",{"title":892,"path":893,"stem":894,"access":12},"vault-head","\u002Fservices\u002Fvault-head","services\u002Fvault-head",{"title":896,"path":897,"stem":898,"access":12},"via","\u002Fservices\u002Fvia","services\u002Fvia",{"title":900,"path":901,"stem":902,"access":12},"withdrawal","\u002Fservices\u002Fwithdrawal","services\u002Fwithdrawal",{"title":904,"path":905,"stem":906,"children":907},"Start","\u002Fstart","start",[908,911,915,919,923],{"title":10,"path":905,"stem":909,"access":12,"icon":910},"start\u002Findex","i-lucide-flag",{"title":912,"path":913,"stem":914,"access":12},"Install","\u002Fstart\u002Finstall","start\u002F1.install",{"title":916,"path":917,"stem":918,"access":12},"Your first vault","\u002Fstart\u002Ffirst-vault","start\u002F2.first-vault",{"title":920,"path":921,"stem":922,"access":12},"Your first service","\u002Fstart\u002Ffirst-service","start\u002F3.first-service",{"title":924,"path":925,"stem":926,"access":12},"See the ciphertext","\u002Fstart\u002Fsee-the-ciphertext","start\u002F4.see-the-ciphertext",{"id":928,"title":585,"access":12,"apiToc":929,"body":930,"category":1886,"description":1887,"extension":1888,"meta":1889,"navigation":1886,"nest":1886,"path":586,"seo":1890,"sinceVersion":1886,"status":1891,"stem":587,"subtitle":1886,"tier":1892,"tocExternal":1886,"__hash__":1893},"docs\u002Frecipes\u002Fteam-vault-topology.md",false,{"type":931,"value":932,"toc":1874},"minimark",[933,937,965,981,984,989,996,1000,1003,1007,1013,1298,1304,1380,1399,1417,1430,1434,1445,1462,1503,1525,1543,1547,1560,1578,1581,1585,1591,1617,1624,1628,1634,1644,1700,1706,1710,1725,1729,1820,1830,1834,1870],[934,935,585],"h1",{"id":936},"team-vault-topology",[938,939,940],"blockquote",{},[941,942,943,947,948,952,953,956,957,960,961,964],"p",{},[944,945,946],"strong",{},"Audience:"," you are building two apps — an admin console and a member app — against one shared team\nvault, and you need to know which composition is supported rather than inferring it from ",[949,950,951],"code",{},".d.ts",".\n",[944,954,955],{},"Bundle:"," core + ",[949,958,959],{},"withSync()"," + one local store per instance + at least one ",[949,962,963],{},"SyncTarget",".",[941,966,967,970,971,974,975,980],{},[944,968,969],{},"One team vault, two apps, three stores."," The live copy sits on the LAN, the durable copy is a cloud\n",[949,972,973],{},"sync-peer",", and members hold offline replicas. Written against ",[944,976,977],{},[949,978,979],{},"0.9.0",": every symbol below is on\nthe published surface at that version.",[941,982,983],{},"There is no \"topology\" API, and that is the point — a topology is a local store, a list of sync targets,\nand a set of properties you can rely on. What is worth writing down is the properties.",[985,986,988],"h2",{"id":987},"prerequisites","Prerequisites",[941,990,991,992,995],{},"None beyond the Bundle line, with one obligation: every instance needs its ",[944,993,994],{},"own"," local store. A\nshared local store is not a supported topology.",[985,997,999],{"id":998},"what-this-gets-you","What this gets you",[941,1001,1002],{},"An admin console and a member app that converge on one vault, survive going offline, can be restored\nfrom a pod under a live target, and whose UI can state honestly what has and has not been validated.",[985,1004,1006],{"id":1005},"setup-composition","Setup — composition",[941,1008,1009,1012],{},[944,1010,1011],{},"One local store per instance, and a list of targets."," Each app instance opens its own local store —\nnever a shared one — and declares where else the data lives:",[1014,1015,1020],"pre",{"className":1016,"code":1017,"language":1018,"meta":1019,"style":1019},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createNoydb } from '@noy-db\u002Fhub'\nimport { withSync } from '@noy-db\u002Fhub\u002Fsync'\nimport { toBrowserIdb } from '@noy-db\u002Fto-browser-idb'\nimport { toAwsDynamo } from '@noy-db\u002Fto-aws-dynamo'\n\nconst db = createNoydb({\n  store: toBrowserIdb({ name: 'team-vault' }),     \u002F\u002F the LOCAL copy — one per instance\n  syncStrategy: withSync(),                        \u002F\u002F ⛔ required; without it there is no sync at all\n  targets: [\n    { store: toAwsDynamo({ table: 'team' }), role: 'sync-peer', label: 'cloud' },\n  ],\n})\n","ts","",[949,1021,1022,1055,1076,1097,1118,1125,1147,1189,1207,1218,1280,1289],{"__ignoreMap":1019},[1023,1024,1027,1031,1035,1039,1042,1045,1048,1052],"span",{"class":1025,"line":1026},"line",1,[1023,1028,1030],{"class":1029},"s7zQu","import",[1023,1032,1034],{"class":1033},"sMK4o"," {",[1023,1036,1038],{"class":1037},"sTEyZ"," createNoydb",[1023,1040,1041],{"class":1033}," }",[1023,1043,1044],{"class":1029}," from",[1023,1046,1047],{"class":1033}," '",[1023,1049,1051],{"class":1050},"sfazB","@noy-db\u002Fhub",[1023,1053,1054],{"class":1033},"'\n",[1023,1056,1058,1060,1062,1065,1067,1069,1071,1074],{"class":1025,"line":1057},2,[1023,1059,1030],{"class":1029},[1023,1061,1034],{"class":1033},[1023,1063,1064],{"class":1037}," withSync",[1023,1066,1041],{"class":1033},[1023,1068,1044],{"class":1029},[1023,1070,1047],{"class":1033},[1023,1072,1073],{"class":1050},"@noy-db\u002Fhub\u002Fsync",[1023,1075,1054],{"class":1033},[1023,1077,1079,1081,1083,1086,1088,1090,1092,1095],{"class":1025,"line":1078},3,[1023,1080,1030],{"class":1029},[1023,1082,1034],{"class":1033},[1023,1084,1085],{"class":1037}," toBrowserIdb",[1023,1087,1041],{"class":1033},[1023,1089,1044],{"class":1029},[1023,1091,1047],{"class":1033},[1023,1093,1094],{"class":1050},"@noy-db\u002Fto-browser-idb",[1023,1096,1054],{"class":1033},[1023,1098,1100,1102,1104,1107,1109,1111,1113,1116],{"class":1025,"line":1099},4,[1023,1101,1030],{"class":1029},[1023,1103,1034],{"class":1033},[1023,1105,1106],{"class":1037}," toAwsDynamo",[1023,1108,1041],{"class":1033},[1023,1110,1044],{"class":1029},[1023,1112,1047],{"class":1033},[1023,1114,1115],{"class":1050},"@noy-db\u002Fto-aws-dynamo",[1023,1117,1054],{"class":1033},[1023,1119,1121],{"class":1025,"line":1120},5,[1023,1122,1124],{"emptyLinePlaceholder":1123},true,"\n",[1023,1126,1128,1132,1135,1138,1141,1144],{"class":1025,"line":1127},6,[1023,1129,1131],{"class":1130},"spNyl","const",[1023,1133,1134],{"class":1037}," db ",[1023,1136,1137],{"class":1033},"=",[1023,1139,1038],{"class":1140},"s2Zo4",[1023,1142,1143],{"class":1037},"(",[1023,1145,1146],{"class":1033},"{\n",[1023,1148,1150,1154,1157,1159,1161,1164,1167,1169,1171,1174,1177,1179,1182,1185],{"class":1025,"line":1149},7,[1023,1151,1153],{"class":1152},"swJcz","  store",[1023,1155,1156],{"class":1033},":",[1023,1158,1085],{"class":1140},[1023,1160,1143],{"class":1037},[1023,1162,1163],{"class":1033},"{",[1023,1165,1166],{"class":1152}," name",[1023,1168,1156],{"class":1033},[1023,1170,1047],{"class":1033},[1023,1172,1173],{"class":1050},"team-vault",[1023,1175,1176],{"class":1033},"'",[1023,1178,1041],{"class":1033},[1023,1180,1181],{"class":1037},")",[1023,1183,1184],{"class":1033},",",[1023,1186,1188],{"class":1187},"sHwdD","     \u002F\u002F the LOCAL copy — one per instance\n",[1023,1190,1192,1195,1197,1199,1202,1204],{"class":1025,"line":1191},8,[1023,1193,1194],{"class":1152},"  syncStrategy",[1023,1196,1156],{"class":1033},[1023,1198,1064],{"class":1140},[1023,1200,1201],{"class":1037},"()",[1023,1203,1184],{"class":1033},[1023,1205,1206],{"class":1187},"                        \u002F\u002F ⛔ required; without it there is no sync at all\n",[1023,1208,1210,1213,1215],{"class":1025,"line":1209},9,[1023,1211,1212],{"class":1152},"  targets",[1023,1214,1156],{"class":1033},[1023,1216,1217],{"class":1037}," [\n",[1023,1219,1221,1224,1227,1229,1231,1233,1235,1238,1240,1242,1244,1246,1248,1250,1252,1255,1257,1259,1261,1263,1265,1268,1270,1272,1275,1277],{"class":1025,"line":1220},10,[1023,1222,1223],{"class":1033},"    {",[1023,1225,1226],{"class":1152}," store",[1023,1228,1156],{"class":1033},[1023,1230,1106],{"class":1140},[1023,1232,1143],{"class":1037},[1023,1234,1163],{"class":1033},[1023,1236,1237],{"class":1152}," table",[1023,1239,1156],{"class":1033},[1023,1241,1047],{"class":1033},[1023,1243,868],{"class":1050},[1023,1245,1176],{"class":1033},[1023,1247,1041],{"class":1033},[1023,1249,1181],{"class":1037},[1023,1251,1184],{"class":1033},[1023,1253,1254],{"class":1152}," role",[1023,1256,1156],{"class":1033},[1023,1258,1047],{"class":1033},[1023,1260,973],{"class":1050},[1023,1262,1176],{"class":1033},[1023,1264,1184],{"class":1033},[1023,1266,1267],{"class":1152}," label",[1023,1269,1156],{"class":1033},[1023,1271,1047],{"class":1033},[1023,1273,1274],{"class":1050},"cloud",[1023,1276,1176],{"class":1033},[1023,1278,1279],{"class":1033}," },\n",[1023,1281,1283,1286],{"class":1025,"line":1282},11,[1023,1284,1285],{"class":1037},"  ]",[1023,1287,1288],{"class":1033},",\n",[1023,1290,1292,1295],{"class":1025,"line":1291},12,[1023,1293,1294],{"class":1033},"}",[1023,1296,1297],{"class":1037},")\n",[941,1299,1300,1303],{},[949,1301,1302],{},"SyncTarget.role"," is one of three values, and the role — not the store — decides direction:",[1305,1306,1307,1328],"table",{},[1308,1309,1310],"thead",{},[1311,1312,1313,1319,1322,1325],"tr",{},[1314,1315,1316],"th",{},[949,1317,1318],{},"role",[1314,1320,1321],{},"Direction",[1314,1323,1324],{},"Conflict resolution",[1314,1326,1327],{},"Typical use",[1329,1330,1331,1349,1365],"tbody",{},[1311,1332,1333,1338,1341,1346],{},[1334,1335,1336],"td",{},[949,1337,973],{},[1334,1339,1340],{},"bidirectional",[1334,1342,1343],{},[949,1344,1345],{},"ConflictStrategy",[1334,1347,1348],{},"the cloud live copy",[1311,1350,1351,1356,1359,1362],{},[1334,1352,1353],{},[949,1354,1355],{},"backup",[1334,1357,1358],{},"push-only",[1334,1360,1361],{},"n\u002Fa — receives merged",[1334,1363,1364],{},"an S3 or Drive dump",[1311,1366,1367,1371,1374,1377],{},[1334,1368,1369],{},[949,1370,605],{},[1334,1372,1373],{},"push-only, cold",[1334,1375,1376],{},"n\u002Fa",[1334,1378,1379],{},"long-term retention",[941,1381,1382,1383,1389,1390,1394,1395,1398],{},"⚠️ ",[944,1384,1385,1386,1388],{},"A target with no declared ",[949,1387,796],{}," syncs on explicit calls only."," Automation starts from a\n",[1391,1392,1393],"em",{},"declared"," policy — per target, or instance-level ",[949,1396,1397],{},"syncPolicy",". A target that appears configured and\nnever syncs on its own is almost always this.",[941,1400,1401,1402,1408,1409,1412,1413,1416],{},"⛔ ",[944,1403,1404,1407],{},[949,1405,1406],{},"by-peer"," is a sync TARGET, not a local store."," Using a session-share transport as the local\nstore gives an instance with no durable copy of its own: it works while a peer is connected and loses\nthe vault when that ends. The LAN live store is a real store (",[949,1410,1411],{},"to-file",", a server-backed adapter); the\npeer transport carries ",[1391,1414,1415],{},"sessions",", not custody.",[941,1418,1419,1422,1423,1425,1426,1429],{},[944,1420,1421],{},"Adopt from day one:"," one local store per instance, ",[949,1424,959],{},", a declared policy per target, and\n",[949,1427,1428],{},"label"," on every target — it is what DevTools and audit logs print, and an unlabelled target is\nindistinguishable from another in the same list.",[985,1431,1433],{"id":1432},"restore-under-a-live-target","Restore under a live target",[941,1435,1436,1437,1440,1441,1444],{},"A pod is the portable artefact: ",[949,1438,1439],{},"writePod"," \u002F ",[949,1442,1443],{},"readPod"," on the root barrel, both available in the\nbrowser.",[941,1446,1401,1447,1453,1454,1457,1458,1461],{},[944,1448,1449,1450,1452],{},"Before ",[949,1451,979],{},", a restore was local-only and the next pull reverted it"," — the target still held\nthe newer ",[949,1455,1456],{},"_v"," and won. That is fixed, and the fix is a ",[1391,1459,1460],{},"method",", not an import:",[1014,1463,1465],{"className":1016,"code":1464,"language":1018,"meta":1019,"style":1019},"await db.replaceRemote(vault)   \u002F\u002F make the target match this local copy, deliberately\nawait db.realign(vault)         \u002F\u002F repair a corrupted LOCAL envelope from the target's healthy copy\n",[949,1466,1467,1486],{"__ignoreMap":1019},[1023,1468,1469,1472,1475,1477,1480,1483],{"class":1025,"line":1026},[1023,1470,1471],{"class":1029},"await",[1023,1473,1474],{"class":1037}," db",[1023,1476,964],{"class":1033},[1023,1478,1479],{"class":1140},"replaceRemote",[1023,1481,1482],{"class":1037},"(vault)   ",[1023,1484,1485],{"class":1187},"\u002F\u002F make the target match this local copy, deliberately\n",[1023,1487,1488,1490,1492,1494,1497,1500],{"class":1025,"line":1057},[1023,1489,1471],{"class":1029},[1023,1491,1474],{"class":1037},[1023,1493,964],{"class":1033},[1023,1495,1496],{"class":1140},"realign",[1023,1498,1499],{"class":1037},"(vault)         ",[1023,1501,1502],{"class":1187},"\u002F\u002F repair a corrupted LOCAL envelope from the target's healthy copy\n",[941,1504,1505,1506,1508,1509,1512,1513,1508,1515,1518,1519,1522,1523,964],{},"The two point in opposite directions and are not interchangeable. ",[949,1507,1479],{}," asserts ",[1391,1510,1511],{},"this copy is\nthe truth","; ",[949,1514,1496],{},[1391,1516,1517],{},"the target's copy is",". ⚠️ An ordinary ",[949,1520,1521],{},"pull()"," does neither — it cannot\nrepair a corrupted local record, because the corrupt row still wins on ",[949,1524,1456],{},[941,1526,1527,1530,1531,1534,1535,1538,1539,1542],{},[944,1528,1529],{},"What travels in a pod and what does not:"," records and the keyring travel; ",[949,1532,1533],{},"_history",", ",[949,1536,1537],{},"_ledger"," and\n",[949,1540,1541],{},"_sync"," do not. So a restored vault is a working vault without its audit trail, and a UI that offers\n\"restore\" should say which of the two the user is getting.",[985,1544,1546],{"id":1545},"member-credentials-for-a-cloud-store","Member credentials for a cloud store",[941,1548,1549,1550,1555,1556,1559],{},"⭐ ",[944,1551,1552,1553],{},"Every role can mint its own cloud-store credentials as of ",[949,1554,979],{}," (",[949,1557,1558],{},"@noy-db\u002Fhub\u002Fbroker","). Before\nthat, broker was admin-only twice over and members had to reach the cloud through an admin-served\nstore — that interim shape is no longer necessary.",[941,1561,1562,1565,1566,1569,1570,1573,1574,1577],{},[949,1563,1564],{},"grant()"," mints a per-grantee credential and enrols the member with the host; ",[949,1567,1568],{},"revoke()"," de-registers\nit. ⚠️ ",[944,1571,1572],{},"Existing members need a re-grant"," (or magic-link recovery) to be enrolled — an already-granted\nmember from an earlier version is ",[1391,1575,1576],{},"not"," retroactively enrolled, and the symptom is a member who can\nopen the vault locally and cannot reach the cloud store.",[941,1579,1580],{},"⛔ The admin path is byte-identical, so an admin console that works proves nothing about a member app.\nTest the member path on a member's credential.",[985,1582,1584],{"id":1583},"same-user-handoff-between-two-apps","Same-user handoff between two apps",[941,1586,1587,1590],{},[944,1588,1589],{},"There is no primitive for this, by doctrine."," Two apps on one device are two clients; a vault does\nnot have a notion of \"the same human in another tab\".",[941,1592,1593,1594,1597,1598,1601,1602,1605,1606,1609,1610,1613,1614,1616],{},"The one-tap route is ",[944,1595,1596],{},"WebAuthn under one registrable domain"," — an admin console at ",[949,1599,1600],{},"admin.example.com","\nand a member app at ",[949,1603,1604],{},"app.example.com"," can share a credential scoped to ",[949,1607,1608],{},"example.com",". ⚠️ That makes the\n",[949,1611,1612],{},"rpId"," choice load-bearing and easy to get wrong: a credential registered under the wrong ",[949,1615,1612],{}," is not\nrecoverable by changing configuration later, because the authenticator bound it at registration.",[941,1618,1619,1620,1623],{},"Anything else — a link, a QR, a share-link — is an ",[1391,1621,1622],{},"onboarding"," flow, not a handoff, and should be\npresented to the user as such.",[985,1625,1627],{"id":1626},"rules-vs-records-arriving-by-sync","Rules vs records arriving by sync",[941,1629,1401,1630,1633],{},[944,1631,1632],{},"Guards never run on pulled records."," A record that arrives by sync was validated by whoever wrote\nit, not by this instance. So a UI must not claim that everything it shows passed local validation.",[941,1635,1636,1637,1639,1640,1643],{},"What ",[949,1638,979],{}," adds is that refusals are now ",[1391,1641,1642],{},"visible"," rather than silent:",[1645,1646,1647,1663,1674],"ul",{},[1648,1649,1650,1651,1654,1655,1658,1659,1662],"li",{},"An arbiter ",[944,1652,1653],{},"replicates its admission refusals",", so the writer finds out at all. A refusal made on\nanother device arrives as ",[949,1656,1657],{},"origin: 'arbiter'"," and is ",[944,1660,1661],{},"report-only"," — the local record is untouched.",[1648,1664,1665,1666,1669,1670,1673],{},"A dirty record ",[944,1667,1668],{},"re-runs this device's own gates before pushing",", so a record refused on the way out\n(",[949,1671,1672],{},"origin: 'push-recheck'",") stays local and dirty, and pushes itself once it passes again.",[1648,1675,1676,1677,1680,1681,1684,1685,1688,1689,1692,1693,1696,1697,964],{},"A refusal carries ",[944,1678,1679],{},"both"," timestamps: ",[949,1682,1683],{},"recordAt"," (when it was written) and ",[949,1686,1687],{},"at"," (when it was\njudged). An arbiter judges at ",[1391,1690,1691],{},"pull"," time, so a record legitimately written while a period was open\ncan be refused later. With both, a UI can say ",[1391,1694,1695],{},"written then, refused now"," rather than ",[1391,1698,1699],{},"your push was\nwrong",[941,1701,1702,1705],{},[944,1703,1704],{},"So the honest claim is:"," \"validated when written on the device that wrote it, and admitted by the\narbiter as of the last pull\" — not \"valid\".",[985,1707,1709],{"id":1708},"verify","Verify",[941,1711,1712,1713,1715,1716,1718,1719,1721,1722,1724],{},"The composition is right when: each instance has its own local store; every target carries a\n",[949,1714,1428],{}," and a declared ",[949,1717,796],{},"; a member (not an admin) credential reaches the cloud store; and a\nrestore followed by a ",[949,1720,1521],{}," does ",[944,1723,1576],{}," revert.",[985,1726,1728],{"id":1727},"where-the-pieces-live","Where the pieces live",[1305,1730,1731,1741],{},[1308,1732,1733],{},[1311,1734,1735,1738],{},[1314,1736,1737],{},"Concern",[1314,1739,1740],{},"Package",[1329,1742,1743,1758,1773,1782,1793,1811],{},[1311,1744,1745,1748],{},[1334,1746,1747],{},"LAN live store",[1334,1749,1750,1753,1754,1757],{},[949,1751,1752],{},"@noy-db\u002Fto-file",", or a server-backed ",[949,1755,1756],{},"to-*"," adapter",[1311,1759,1760,1765],{},[1334,1761,1762,1763],{},"Cloud ",[949,1764,973],{},[1334,1766,1767,1534,1769,1772],{},[949,1768,1115],{},[949,1770,1771],{},"@noy-db\u002Fto-supabase",", …",[1311,1774,1775,1778],{},[1334,1776,1777],{},"Browser local copy",[1334,1779,1780],{},[949,1781,1094],{},[1311,1783,1784,1787],{},[1334,1785,1786],{},"Session share between peers",[1334,1788,1789,1792],{},[949,1790,1791],{},"@noy-db\u002Fby-peer"," — a target, never the local store",[1311,1794,1795,1798],{},[1334,1796,1797],{},"Relay for a thin client",[1334,1799,1800,1803,1804,1807,1808],{},[949,1801,1802],{},"@noy-db\u002Fin-relay"," — ⚠️ published from ",[949,1805,1806],{},"noy-db\u002Fcore",", not ",[949,1809,1810],{},"noy-db\u002Fin",[1311,1812,1813,1816],{},[1334,1814,1815],{},"Member credentials",[1334,1817,1818],{},[949,1819,1558],{},[941,1821,1382,1822,1825,1826,1829],{},[944,1823,1824],{},"The daemon is below this layer, not beside it."," It opens and runs pods and binds the store\ncontract; it does not know what a fleet is. Fleet orchestration is ",[949,1827,1828],{},"@noy-db\u002Flobby","'s concern, and a\ndeployment that needs both takes lobby as a dependency rather than teaching the daemon about vaults.",[985,1831,1833],{"id":1832},"see-also","See also",[1645,1835,1836,1847,1853,1861],{},[1648,1837,1838,1843,1844,1846],{},[1839,1840,1842],"a",{"href":1841},".\u002Fcloud-store","Cloud store"," — configuring a cloud ",[949,1845,973],{}," in detail",[1648,1848,1849,1852],{},[1839,1850,523],{"href":1851},".\u002Fbrowser-durability"," — keeping the local copy alive in a browser",[1648,1854,1855,1860],{},[1839,1856,1858],{"href":1857},"..\u002Ffamilies\u002Fby\u002F",[949,1859,1791],{}," — session share, and why it is a target not a store",[1648,1862,1863,1866,1867,1869],{},[1839,1864,29],{"href":1865},"..\u002Farchitecture\u002Fports"," — the store contract a ",[949,1868,1756],{}," adapter binds",[1871,1872,1873],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":1019,"searchDepth":1078,"depth":1078,"links":1875},[1876,1877,1878,1879,1880,1881,1882,1883,1884,1885],{"id":987,"depth":1057,"text":988},{"id":998,"depth":1057,"text":999},{"id":1005,"depth":1057,"text":1006},{"id":1432,"depth":1057,"text":1433},{"id":1545,"depth":1057,"text":1546},{"id":1583,"depth":1057,"text":1584},{"id":1626,"depth":1057,"text":1627},{"id":1708,"depth":1057,"text":1709},{"id":1727,"depth":1057,"text":1728},{"id":1832,"depth":1057,"text":1833},null,"Admin console plus member app on one team vault — LAN live store, cloud sync-peer, offline replicas, and what the UI may honestly claim.","md",{},{"title":585,"description":1887},"stable","important","YBXzw_5a9Hhevpz2hnPW1h1W-uvSWwqsULmjuKjbuLE",1791896577020]