From 8267e38077d5b8075f927879a41fe2a8d196ebe1 Mon Sep 17 00:00:00 2001 From: Ragnor Comerford Date: Sat, 30 May 2026 17:14:32 +0200 Subject: [PATCH] Drop internal plan-label refs from stored-query config comments Doc comments referenced sequencing labels ("C2") that mean nothing to a reader; reword to describe the behavior directly. Comment-only. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/omnigraph-server/src/config.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/omnigraph-server/src/config.rs b/crates/omnigraph-server/src/config.rs index 6833a26..aa697eb 100644 --- a/crates/omnigraph-server/src/config.rs +++ b/crates/omnigraph-server/src/config.rs @@ -100,8 +100,9 @@ pub struct PolicySettings { /// One stored-query registry entry. The map **key** is the query's /// identity — it must equal the `query ` symbol declared inside -/// the referenced `.gq` file (asserted at load, C2). Renaming the key -/// (or the symbol) is a breaking change to callers, by design. +/// the referenced `.gq` file (asserted when the registry loads). +/// Renaming the key (or the symbol) is a breaking change to callers, by +/// design. #[derive(Debug, Clone, Serialize, Deserialize)] pub struct QueryEntry { /// Path to the `.gq` file (relative to the config's `base_dir`). The @@ -302,8 +303,8 @@ impl OmnigraphConfig { /// Resolve a stored-query `.gq` file path (from a registry entry), /// relative to the config's `base_dir`. Mirrors policy-file - /// resolution; the registry loader (C2) calls this to turn each - /// entry's `file:` value into an absolute path. + /// resolution; the registry loader calls this to turn each entry's + /// `file:` value into an absolute path. pub fn resolve_query_file(&self, value: &str) -> PathBuf { self.resolve_config_path(value) }