Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Allow standing triage disclosure link

rcourtman420368e8e250
diff --git a/scripts/tests/test_repo_docs_link_drift.py b/scripts/tests/test_repo_docs_link_drift.py
index f17c97e2f3..eae0c5f2af 100644
--- a/scripts/tests/test_repo_docs_link_drift.py
+++ b/scripts/tests/test_repo_docs_link_drift.py
@@ -16,6 +16,11 @@ FORBIDDEN_PATTERNS = (
re.compile(r"https://raw\.githubusercontent\.com/[^/\s\"')]+/[^/\s\"')]+/(?:main|master)/docs/"),
)
+ALLOWED_BRANCH_TIP_DOC_URLS = {
+ # Triage replies must always link to the current process disclosure.
+ "https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md",
+}
+
SKIP_DIR_NAMES = {
".claude",
".git",
@@ -80,6 +85,9 @@ class RepoDocsLinkDriftTest(unittest.TestCase):
except UnicodeDecodeError:
continue
+ for allowed_url in ALLOWED_BRANCH_TIP_DOC_URLS:
+ content = content.replace(allowed_url, "")
+
for pattern in FORBIDDEN_PATTERNS:
match = pattern.search(content)
if match: