From dae0feb6a567dd1b7e66a382786deef4e7f1fb8a Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 2 Apr 2026 07:16:32 -0300 Subject: [PATCH] fix: SecretPaths match Vault seeding paths (gbo/cache not gbo/system/cache) - Root cause: Vault seeding writes to secret/gbo/cache but code reads gbo/system/cache - kv2::read prepends secret/ so it looks for secret/gbo/system/cache (wrong) - Fix: update SecretPaths to match seeding paths (gbo/cache, gbo/drive, etc.) - Testing: compiles clean, paths now match vault kv list output --- src/core/secrets/mod.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/core/secrets/mod.rs b/src/core/secrets/mod.rs index 57ffdf4a..dd4a2648 100644 --- a/src/core/secrets/mod.rs +++ b/src/core/secrets/mod.rs @@ -16,17 +16,17 @@ pub struct SecretPaths; impl SecretPaths { // System-wide paths (global fallback) - pub const DIRECTORY: &'static str = "gbo/system/directory"; - pub const TABLES: &'static str = "gbo/system/tables"; - pub const DRIVE: &'static str = "gbo/system/drive"; - pub const CACHE: &'static str = "gbo/system/cache"; - pub const EMAIL: &'static str = "gbo/system/email"; - pub const LLM: &'static str = "gbo/system/llm"; - pub const ENCRYPTION: &'static str = "gbo/system/encryption"; - pub const JWT: &'static str = "gbo/system/jwt"; - pub const MEET: &'static str = "gbo/system/meet"; - pub const ALM: &'static str = "gbo/system/alm"; - pub const VECTORDB: &'static str = "gbo/system/vectordb"; + pub const DIRECTORY: &'static str = "gbo/directory"; + pub const TABLES: &'static str = "gbo/tables"; + pub const DRIVE: &'static str = "gbo/drive"; + pub const CACHE: &'static str = "gbo/cache"; + pub const EMAIL: &'static str = "gbo/email"; + pub const LLM: &'static str = "gbo/llm"; + pub const ENCRYPTION: &'static str = "gbo/encryption"; + pub const JWT: &'static str = "gbo/jwt"; + pub const MEET: &'static str = "gbo/meet"; + pub const ALM: &'static str = "gbo/alm"; + pub const VECTORDB: &'static str = "gbo/vectordb"; pub const OBSERVABILITY: &'static str = "gbo/system/observability"; pub const SECURITY: &'static str = "gbo/system/security"; pub const CLOUD: &'static str = "gbo/system/cloud";