Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([consolidate-cert-path-constants]): clarify certPaths/tailscale-https sibling relationship

[._.]/ Adam Eivy599634c5ea59
diff --git a/lib/certPaths.js b/lib/certPaths.js
index cde77256f2..ff643756e2 100644
--- a/lib/certPaths.js
+++ b/lib/certPaths.js
@@ -2,9 +2,10 @@
* certPaths — resolve the canonical cert / key / meta file paths under a
* given data directory.
*
- * Sibling of `lib/tailscale-https.js` (both accept a `certDir` and share the
- * `data/certs/{cert,key,meta}` layout). Zero-dep and side-effect-free — safe
- * to import from `scripts/`, `server/`, `server/lib/`, and managed-app code.
+ * Sibling of `lib/tailscale-https.js`, which consumes the `dir` this returns
+ * as its `certDir` arg — keep them aligned so the `data/certs/{cert,key,meta}`
+ * layout has exactly one definition. Zero-dep and side-effect-free, safe to
+ * import from `scripts/`, `server/`, `server/lib/`, and managed-app code.
*
* Usage:
* import { certPaths } from '../lib/certPaths.js';