chore: drop design-section cross-refs from core comments

Keep module docs self-describing without pointing at DESIGN §N.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 17:03:42 +02:00
parent d91820b867
commit edf7426672
11 changed files with 20 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
//! Relationship-grant possession proofs (design §7).
//! Relationship-grant possession proofs.
use crate::{
error::VnidropError,

View File

@@ -1,4 +1,4 @@
//! Forget, block, grant rotation, and minimal revocation tombstones (design §7§8).
//! Forget, block, grant rotation, and minimal revocation tombstones.
use serde_json::json;

View File

@@ -1,7 +1,7 @@
//! Experimental saved-device mutual-consent relationships.
//!
//! Implements design §6/§7: pending outgoing/incoming states, directional grants
//! bound to relationship generation, and Saved only after mutual acknowledgement.
//! Pending outgoing/incoming states, directional grants bound to relationship
//! generation, and Saved only after mutual acknowledgement.
mod crypto;
mod lifecycle;

View File

@@ -875,7 +875,7 @@ impl DeviceRelationshipService {
)));
}
// Established relationships record a protocol floor and reject silent
// downgrade attempts (design §7 / §15).
// downgrade attempts.
if protocol_version < row.minimum_protocol_version {
return Err(VnidropError::protocol_incompatible(anyhow::anyhow!(
"relationship protocol downgrade is forbidden"