Subduction Policy Authorization provides an authoritative reference for implementing and debugging SubductionPolicy hooks within the DXOS and Automerge ecosystems. It details how the four core WebAssembly bridge hooks—authorizeConnect, authorizeFetch, authorizePut, and filterAuthorizedFetch—control decentralized data replication across peers. Developers can use this skill to configure granular client-side access controls, debug replication failures, manage peer identity verification using Ed25519 keys, and navigate complex recovery lifecycles without requiring server-side cooperation.
主要功能
01Guidance on pure client-side data gating using authorizePut and authorizeFetch
02531 GitHub stars
03Comprehensive mapping of SubductionPolicy hooks across inbound, outbound, and connect phases
04Recovery patterns for denial-to-allow transitions using shareConfigChanged and fresh commits
05Detailed mechanics for Ed25519 peer verification and multi-hop author attribution
06Troubleshooting for silent sync drops and subscriber broadcast filter behavior
使用场景
01Configuring secure peer-to-peer data sharing rules across distributed edge nodes
02Debugging replication drops, stuck sync states, and peer connection issues in DXOS repos
03Designing granular client-side authorization policies for local-first collaborative apps