{"repo":"NousResearch/hermes-agent","public_id":"25508","display_label":"macOS ppid==1 wrongly detected as systemd","summary":"Reports and fixes for a bug where checking ppid==1 incorrectly identifies the process as running under systemd on macOS, where PID 1 is launchd. Proposed fixes restrict this detection logic to Linux only.","subsystem":"gateway","counts":{"members":5,"open_issues":0,"open_issues_distinct":0,"open_prs":1,"closed_issues":2,"merged_prs":0,"attempt_prs":3},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.33599999999999997},"fix_edges":[],"members":[{"kind":"issue","number":25508,"title":"Bug: shutdown_forensics incorrectly sets under_systemd=True on macOS (ppid==1 is launchd, not systemd)","url":null,"state":"closed"},{"kind":"issue","number":25510,"title":"shutdown_forensics incorrectly reports `under_systemd=yes` on macOS (launchd PID 1, not systemd)","url":null,"state":"closed"},{"kind":"pr","number":25511,"title":"fix: under_systemd incorrectly True on macOS (launchd PID 1, not systemd)","url":null,"state":"closed","close_reason":{"category":"silent_close","implication":"active"},"merged":false},{"kind":"pr","number":25525,"title":"fix(gateway): restrict ppid==1 systemd detection to Linux only","url":null,"state":"open","close_reason":{"refs":[{"kind":"pr","value":"#25687","number":25687}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":25566,"title":"fix(gateway): restrict ppid==1 systemd detection to Linux only","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#25525","number":25525}],"category":"duplicate_of","implication":"duplicate"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}