diff --git a/docs/explanation/architecture.md b/docs/explanation/architecture.md index 4ad3b27..a33703f 100644 --- a/docs/explanation/architecture.md +++ b/docs/explanation/architecture.md @@ -558,7 +558,7 @@ The ngit-grasp relay implements **Proactive Sync of Nostr Events**, which synchr **Source Code:** [`src/sync/`](../../src/sync/) -For full design details, see [grasp-02-proactive-sync-v4.md](grasp-02-proactive-sync-v4.md). +For full design details, see [grasp-02-proactive-sync.md](grasp-02-proactive-sync.md). ### Rejected Events Index @@ -697,6 +697,6 @@ ngit-grasp uses inline authorization at the HTTP handler level, giving full cont ## Related Documentation - [Inline Authorization Explanation](inline-authorization.md) - Why we chose this approach -- [GRASP-02 Proactive Sync v4 Design](grasp-02-proactive-sync-v4.md) - Current production sync implementation +- [GRASP-02 Proactive Sync Design](grasp-02-proactive-sync.md) - Current production sync implementation - [Test Strategy](../reference/test-strategy.md) - Comprehensive testing documentation - [GRASP-01 Implementation Learnings](../learnings/grasp-01-implementation.md) - Patterns and lessons learned diff --git a/src/sync/algorithms.rs b/src/sync/algorithms.rs index 1a70fdb..002ac7f 100644 --- a/src/sync/algorithms.rs +++ b/src/sync/algorithms.rs @@ -5,7 +5,7 @@ //! - `derive_relay_targets()` - Inverts RepoSyncIndex to per-relay view //! - `compute_actions()` - Three-way diff to determine new sync actions //! -//! See `docs/explanation/grasp-02-proactive-sync-v4.md` for full design details. +//! See `docs/explanation/grasp-02-proactive-sync.md` for full design details. use std::collections::{HashMap, HashSet}; diff --git a/src/sync/filters.rs b/src/sync/filters.rs index 1215e81..3a52dcc 100644 --- a/src/sync/filters.rs +++ b/src/sync/filters.rs @@ -7,7 +7,7 @@ //! - Layer 2: Events tagging our repos (a/A/q tags) //! - Layer 3: Events tagging our root events (e/E/q tags) //! -//! See `docs/explanation/grasp-02-proactive-sync-v4.md` for full design details. +//! See `docs/explanation/grasp-02-proactive-sync.md` for full design details. use std::collections::HashSet; diff --git a/src/sync/mod.rs b/src/sync/mod.rs index 2501667..5f3ddc3 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs @@ -10,7 +10,7 @@ //! - `RelaySyncIndex` - What we have CONFIRMED syncing + connection state //! - `PendingSyncIndex` - In-flight batches awaiting EOSE confirmation //! -//! See `docs/explanation/grasp-02-proactive-sync-v4.md` for full design details. +//! See `docs/explanation/grasp-02-proactive-sync.md` for full design details. pub mod algorithms; pub mod filters; diff --git a/src/sync/self_subscriber.rs b/src/sync/self_subscriber.rs index 0153b03..c6c8f51 100644 --- a/src/sync/self_subscriber.rs +++ b/src/sync/self_subscriber.rs @@ -6,7 +6,7 @@ //! This module subscribes to relevant event kinds on our own relay and //! batches updates before sending them to the SyncManager. //! -//! See `docs/explanation/grasp-02-proactive-sync-v4.md` for full design details. +//! See `docs/explanation/grasp-02-proactive-sync.md` for full design details. use std::collections::{HashMap, HashSet}; use std::time::Duration;