From b799d46596ae05999e629701a6a1c6d5c5e4b98f Mon Sep 17 00:00:00 2001 From: mumuni-bot Date: Thu, 13 Aug 2026 00:09:40 +0000 Subject: [PATCH] fix: redirect pm2/zulip health-check logging to Gitea, never graph (hard rule) - pm2-self-heal.prose.md: description said 'logs every action to the knowledge graph', contradicting its own execution step (line ~60) that says '(not knowledge graph - hard rule)'. Align description to Gitea. - zulip-self-heal.prose.md: Reporting section said 'every cycle produces a knowledge graph node'. Contract is RETIRED; remove graph-node directive. - Both now consistently log to SyslogSolution/health-logs, never the graph. --- pm2-self-heal.prose.md | 3 ++- zulip-self-heal.prose.md | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pm2-self-heal.prose.md b/pm2-self-heal.prose.md index b2705bc..c9b27b6 100644 --- a/pm2-self-heal.prose.md +++ b/pm2-self-heal.prose.md @@ -4,7 +4,8 @@ name: pm2-self-heal description: > Monitors critical PM2 processes (abiba-zulip, abiba-telegram, gitea-runner, spoton-service, zulip-watchdog) and auto-restarts any that are stopped or - errored. Logs every action to the knowledge graph and alerts the owner via + errored. Logs every action to Gitea (SyslogSolution/health-logs — not + knowledge graph, hard rule) and alerts the owner via Zulip DM on failures. CRITICAL: Never restart abiba-zulip — it runs this contract. AS-BUILT 2026-08-09 (captain ruling, ecosystem is authoritative): diff --git a/zulip-self-heal.prose.md b/zulip-self-heal.prose.md index 2a7474b..8fc62af 100644 --- a/zulip-self-heal.prose.md +++ b/zulip-self-heal.prose.md @@ -75,9 +75,8 @@ Track via `/tmp/zulip-heal-debounce-` (unix timestamp of last restart). ## Reporting -Every cycle produces a knowledge graph node: -- Title: `[LEARN] zulip-self-heal: ` -- metadata: { type: "remediation", status: "fixed" | "escalated" | "healthy" } +This contract is RETIRED — health-check logs are NOT knowledge graph content. +No graph nodes are created. Logs go to Gitea (SyslogSolution/health-logs). - Issues fixed → DM: "🛠 Zulip Self-Heal: fixed " - Issues escalated → DM: "⚠️ Zulip Self-Heal: needs attention" -- 2.54.0