MasterSRE
generated 2026-11-13 15:27:22 UTC
Intake exam — Ghostshell

Intake exam (MEASURED — every finding carries its evidence)

0 critical 28 warning 15 info
exam at 2026-11-09 00:00:07 UTC · target(s): ghostshell_v3, (agent host env)

Findings

SeverityScannerFindingAdviceEvidence
warningexposureSSL off while listening on '*'Enable SSL or bind to localhost / a private interface only.
{
  "listen_addresses": "*",
  "port": "5432",
  "ssl": "off",
  "target_db": "ghostshell_v3"
}
warningprivilegeactive connection as superuser 'ghostshell'Point the application at a least-privilege role instead.
{
  "is_scanner_role": false,
  "target_db": "ghostshell_v3",
  "usename": "ghostshell"
}
warningworkflowv3_heal_audit: 'docker:zombie_containers' → 'healed' 101× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 101,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "docker:zombie_containers",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-alertmanager' heal success 38% over 7d (139 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 139,
  "failure": 86,
  "feature": "ghostshell-alertmanager",
  "slo": 0.9,
  "success": 53,
  "success_rate": 0.381,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-alertmanager' → 'escalated' 86× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 86,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-alertmanager",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-alertmanager' → 'healed' 53× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 53,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-alertmanager",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' heal success 24% over 7d (221 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 221,
  "failure": 167,
  "feature": "ghostshell-cadvisor",
  "slo": 0.9,
  "success": 54,
  "success_rate": 0.244,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' → 'escalated' 167× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 167,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-cadvisor",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' → 'healed' 54× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 54,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-cadvisor",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' heal success 47% over 7d (114 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 114,
  "failure": 60,
  "feature": "ghostshell-luks-exporter",
  "slo": 0.9,
  "success": 54,
  "success_rate": 0.474,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' → 'escalated' 60× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 60,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-luks-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' → 'healed' 54× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 54,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-luks-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-node-exporter' heal success 24% over 7d (226 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 226,
  "failure": 171,
  "feature": "ghostshell-node-exporter",
  "slo": 0.9,
  "success": 55,
  "success_rate": 0.243,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-node-exporter' → 'escalated' 171× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 171,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-node-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-node-exporter' → 'healed' 55× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 55,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-node-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-postgres-exporter' heal success 41% over 7d (128 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 128,
  "failure": 75,
  "feature": "ghostshell-postgres-exporter",
  "slo": 0.9,
  "success": 53,
  "success_rate": 0.414,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-postgres-exporter' → 'escalated' 75× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 75,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-postgres-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-postgres-exporter' → 'healed' 53× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 53,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-postgres-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-prometheus' heal success 32% over 7d (235 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 235,
  "failure": 159,
  "feature": "ghostshell-prometheus",
  "slo": 0.9,
  "success": 76,
  "success_rate": 0.323,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-prometheus' → 'escalated' 159× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 159,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-prometheus",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-prometheus' → 'healed' 76× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 76,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-prometheus",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-redis-exporter' heal success 24% over 7d (234 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 234,
  "failure": 179,
  "feature": "ghostshell-redis-exporter",
  "slo": 0.9,
  "success": 55,
  "success_rate": 0.235,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-redis-exporter' → 'escalated' 179× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 179,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-redis-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-redis-exporter' → 'healed' 55× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 55,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-redis-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-searxng' heal success 25% over 7d (244 events)The feature's self-healing is not sticking — investigate the root cause, not the healer (the flap IS the signal).
{
  "events": 244,
  "failure": 183,
  "feature": "ghostshell-searxng",
  "slo": 0.9,
  "success": 61,
  "success_rate": 0.25,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-searxng' → 'escalated' 183× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 183,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-searxng",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-searxng' → 'healed' 61× in 7dA retry storm — the underlying fault is not being fixed.
{
  "count_7d": 61,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-searxng",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 305 non-terminal row(s) older than 3dInvestigate the stuck work — it will not finish by itself.
{
  "non_terminal": [
    "monitored",
    "pending",
    "running",
    "queued",
    "stuck"
  ],
  "older_than_days": 3,
  "stuck_rows": 305,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.idx_routine_executions_routine_id: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.idx_routine_executions_routine_id",
  "index_bytes": 1138688,
  "table": "public.routine_executions",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.idx_routine_executions_status: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.idx_routine_executions_status",
  "index_bytes": 1130496,
  "table": "public.routine_executions",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.idx_routine_executions_task_id: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.idx_routine_executions_task_id",
  "index_bytes": 6234112,
  "table": "public.routine_executions",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_llm_billing_agent_created: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_llm_billing_agent_created",
  "index_bytes": 1196032,
  "table": "public.llm_billing",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_llm_billing_model_created: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_llm_billing_model_created",
  "index_bytes": 1875968,
  "table": "public.llm_billing",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_llm_billing_prompt_hash: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_llm_billing_prompt_hash",
  "index_bytes": 1155072,
  "table": "public.llm_billing",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_llm_billing_user_model: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_llm_billing_user_model",
  "index_bytes": 2179072,
  "table": "public.llm_billing",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_patrol_log_type_created: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_patrol_log_type_created",
  "index_bytes": 51240960,
  "table": "public.patrol_log",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_task_events_actor: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_task_events_actor",
  "index_bytes": 1032192,
  "table": "public.task_events",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_task_events_failure_category: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_task_events_failure_category",
  "index_bytes": 1024000,
  "table": "public.task_events",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_task_events_task_timestamp: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_task_events_task_timestamp",
  "index_bytes": 4997120,
  "table": "public.task_events",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_tasks_created: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_tasks_created",
  "index_bytes": 3620864,
  "table": "public.tasks",
  "target_db": "ghostshell_v3"
}
infoanatomypublic.ix_tasks_status_priority: 0 scans (unused index)Drop candidate — verify no reporting workload needs it first.
{
  "idx_scan": 0,
  "index": "public.ix_tasks_status_priority",
  "index_bytes": 1204224,
  "table": "public.tasks",
  "target_db": "ghostshell_v3"
}
infoconfig_driftconnections 23/200 in use (12%)Connection headroom measured as adequate.
{
  "current_connections": 23,
  "max_connections": 200,
  "target_db": "ghostshell_v3",
  "used_pct": 11.5
}
infoprivilege1 superuser role(s)Each one is an unrestricted account — keep the count minimal.
{
  "superusers": [
    "ghostshell"
  ],
  "target_db": "ghostshell_v3"
}

Feature health (per-feature SLOs — heal-success rate, bar 90% over 7d)

FeatureSource tableHeal successMeasured eventsWindow
ghostshell-searxngv3_heal_audit25%61 ok / 183 failed (244 events)7d
ghostshell-redis-exporterv3_heal_audit24%55 ok / 179 failed (234 events)7d
ghostshell-node-exporterv3_heal_audit24%55 ok / 171 failed (226 events)7d
ghostshell-cadvisorv3_heal_audit24%54 ok / 167 failed (221 events)7d
ghostshell-prometheusv3_heal_audit32%76 ok / 159 failed (235 events)7d
ghostshell-alertmanagerv3_heal_audit38%53 ok / 86 failed (139 events)7d
ghostshell-postgres-exporterv3_heal_audit41%53 ok / 75 failed (128 events)7d
ghostshell-luks-exporterv3_heal_audit47%54 ok / 60 failed (114 events)7d
service:postgresv3_heal_audit0%0 ok / 14 failed (14 events)7d
service:redisv3_heal_audit0%0 ok / 14 failed (14 events)7d
probe:postgres_poolv3_heal_audit0%0 ok / 5 failed (5 events)7d
probe:nats_streamv3_heal_audit0%0 ok / 4 failed (4 events)7d
service:chromadbv3_heal_audit0%0 ok / 1 failed (1 events)7d
probe:telegram_livenessv3_heal_auditn/a0 ok / 0 failed (0 events)7d
ghostshell-dashboardv3_heal_audit100%2 ok / 0 failed (2 events)7d
docker:zombie_containersv3_heal_audit100%101 ok / 0 failed (101 events)7d
docker:unhealthy_ghostshell-luks-exporterv3_heal_audit100%2 ok / 0 failed (2 events)7d
ghostshell-chromadbv3_heal_audit100%2 ok / 0 failed (2 events)7d
docker:stale_containersv3_heal_auditn/a0 ok / 0 failed (0 events)7d

Changes since last exam

SeverityScannerNew findingEvidence
warningworkflowv3_heal_audit: 'docker:zombie_containers' → 'healed' 101× in 7d
{
  "count_7d": 101,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "docker:zombie_containers",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-alertmanager' → 'escalated' 86× in 7d
{
  "count_7d": 86,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-alertmanager",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-alertmanager' → 'healed' 53× in 7d
{
  "count_7d": 53,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-alertmanager",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' heal success 24% over 7d (221 events)
{
  "events": 221,
  "failure": 167,
  "feature": "ghostshell-cadvisor",
  "slo": 0.9,
  "success": 54,
  "success_rate": 0.244,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' → 'escalated' 167× in 7d
{
  "count_7d": 167,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-cadvisor",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-cadvisor' → 'healed' 54× in 7d
{
  "count_7d": 54,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-cadvisor",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' heal success 47% over 7d (114 events)
{
  "events": 114,
  "failure": 60,
  "feature": "ghostshell-luks-exporter",
  "slo": 0.9,
  "success": 54,
  "success_rate": 0.474,
  "table": "v3_heal_audit",
  "target_db": "ghostshell_v3",
  "window_days": 7
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' → 'escalated' 60× in 7d
{
  "count_7d": 60,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-luks-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-luks-exporter' → 'healed' 54× in 7d
{
  "count_7d": 54,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-luks-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-node-exporter' → 'escalated' 171× in 7d
{
  "count_7d": 171,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-node-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-node-exporter' → 'healed' 55× in 7d
{
  "count_7d": 55,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-node-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-postgres-exporter' → 'escalated' 75× in 7d
{
  "count_7d": 75,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-postgres-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-postgres-exporter' → 'healed' 53× in 7d
{
  "count_7d": 53,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-postgres-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-prometheus' → 'escalated' 159× in 7d
{
  "count_7d": 159,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-prometheus",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-prometheus' → 'healed' 76× in 7d
{
  "count_7d": 76,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-prometheus",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-redis-exporter' → 'escalated' 179× in 7d
{
  "count_7d": 179,
  "result": "escalated",
  "table": "v3_heal_audit",
  "target": "ghostshell-redis-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-redis-exporter' → 'healed' 55× in 7d
{
  "count_7d": 55,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-redis-exporter",
  "target_db": "ghostshell_v3"
}
warningworkflowv3_heal_audit: 'ghostshell-searxng' → 'healed' 61× in 7d
{
  "count_7d": 61,
  "result": "healed",
  "table": "v3_heal_audit",
  "target": "ghostshell-searxng",
  "target_db": "ghostshell_v3"
}

Measured trends

Skipped (data source absent — never fabricated)