{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z",
  "status": "FAIL",
  "rc": 76,
  "host": "pve01",
  "mode": "change",
  "component": "runner",
  "started_at_utc": "2026-07-27T17:08:36Z",
  "finished_at_utc": "2026-07-27T17:08:37Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "72b7216ace82b08b3c98fb053d4d5b643e9c59a113cea88d343fbe1c3bc2b812",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "change_declared": true,
  "result_contract_valid": false,
  "result_contract_status": null,
  "result_contract_error": "MISSING_CONTRACT",
  "command_rc": 0,
  "changes_made": null,
  "rollback_started": null,
  "rollback_restored": null,
  "mutation_outcome": "UNKNOWN",
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "8f1f0f91e947f2fd1b09848261c0f4d1a924e1158c3a97f3e023db1cb114a46c",
  "sanitized_output_sha256": "8f1f0f91e947f2fd1b09848261c0f4d1a924e1158c3a97f3e023db1cb114a46c",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "{\"PLAN_ID\":\"RUNNER-LINKED-REMOVAL-CLOSURE-PLAN-FIX2-20260727T165537Z\",\"PLAN_SHA256\":\"cf7e91af618c9c0bd431f74ee6efd44eaa9273e0be6e261f1cc636abdb61884b\",\"anti_regression\":{\"AR-001-EXACT-PLAN-SHA256-BOUND\":true,\"AR-002-SOURCE-LOCKS-REPEATED-BEFORE-MUTATION\":true,\"AR-003-ZERO-CONFIG-PROCESS-FD-REFERENCES\":true,\"AR-004-ROLLBACK-COPY-SHA-MODE-OWNER-VERIFIED\":true,\"AR-005-HISTORICAL-STATES-UNMODIFIED\":true,\"AR-006-EXACTLY-ONE-DISTINCT-RUNNER-AFTER-APPLY\":true,\"AR-007-DIAGNOSTICS-BEFORE-ROLLBACK-CONTRACT\":true,\"AR-008-CANONICAL-RUNNER-BYTE-IDENTICAL\":true,\"AR-009-NO-SERVICE-RESTART-OR-RELOAD\":true,\"AR-010-BACKUP-NOT-TOUCHED\":true},\"backup_changed\":false,\"canonical_runner_changed\":false,\"changes_made\":true,\"checks_after\":{\"adapter_self_test\":true,\"adapter_service_healthy\":true,\"canonical_exact_metadata\":true,\"exact_plan_still_bound\":true,\"historical_closure_still_exact\":true,\"linked_path_absent\":true,\"linked_zero_active_config_references\":true,\"linked_zero_live_process_references\":true,\"linked_zero_open_fd_references\":true,\"lookup_local_health\":true,\"lookup_service_healthy\":true,\"portal_local_health\":true,\"portal_self_test_real_identity\":true,\"portal_service_healthy\":true,\"postapply_exactly_one_distinct_runner\":true,\"pre_mutation_diagnostics_exists\":true,\"rollback_copy_exact\":true,\"rollback_metadata_exists\":true,\"source_lock:/etc/systemd/system/homelab-command-adapter.service\":true,\"source_lock:/etc/systemd/system/homelab-command-portal.service\":true,\"source_lock:/etc/systemd/system/homelab-result-lookup.service\":true,\"source_lock:/usr/local/sbin/homelab-chat-run\":true,\"source_lock:/usr/local/sbin/homelab-command-adapter\":true,\"source_lock:/usr/local/sbin/homelab-command-portal\":true,\"source_lock:/usr/local/sbin/homelab-result-lookup\":true},\"checks_before\":{\"adapter_self_test\":true,\"adapter_service_healthy\":true,\"all_four_historical_mutations_closed_by_exact_evidence\":true,\"canonical_exact_metadata\":true,\"exact_plan_bound\":true,\"linked_exact_metadata\":true,\"linked_zero_active_config_references\":true,\"linked_zero_live_process_references\":true,\"linked_zero_open_fd_references\":true,\"lookup_local_health\":true,\"lookup_service_healthy\":true,\"portal_local_health\":true,\"portal_self_test_real_identity\":true,\"portal_service_healthy\":true,\"preapply_exactly_two_distinct_runner_files\":true,\"rollback_directory_does_not_exist\":true,\"source_lock:/etc/systemd/system/homelab-command-adapter.service\":true,\"source_lock:/etc/systemd/system/homelab-command-portal.service\":true,\"source_lock:/etc/systemd/system/homelab-result-lookup.service\":true,\"source_lock:/usr/local/sbin/homelab-chat-run\":true,\"source_lock:/usr/local/sbin/homelab-chat-run-linked\":true,\"source_lock:/usr/local/sbin/homelab-command-adapter\":true,\"source_lock:/usr/local/sbin/homelab-command-portal\":true,\"source_lock:/usr/local/sbin/homelab-result-lookup\":true,\"target_is_pve01\":true,\"uid_is_root\":true},\"cluster_changed\":false,\"command_id\":\"RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z\",\"gitea_changed\":false,\"historical_state_files_changed\":false,\"mutation_outcome\":\"APPLIED\",\"observations_after\":{\"active_config_references\":[],\"active_process_references\":[],\"canonical\":{\"atime_ns\":1785130359620160117,\"device\":64513,\"gid\":0,\"inode\":5148538,\"lexists\":true,\"mode\":\"0750\",\"mtime_ns\":1785130359609255313,\"path\":\"/usr/local/sbin/homelab-chat-run\",\"regular\":true,\"sha256\":\"b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\",\"size\":21321,\"symlink\":false,\"uid\":0},\"health\":{\"lookup_http_status\":200,\"portal_http_status\":200},\"historical_classifications\":{\"MINIMAL-RESULT-FEED-EMERGENCY-APPLY-20260727T090755Z\":\"CLOSED_SUPERSEDED_BY_SUCCESSFUL_SAME_PLAN_AND_CURRENT_SOURCE_LOCKS\",\"RUNNER-LINKED-REMOVAL-APPLY-20260726T202107Z\":\"CLOSED_BLOCKED_PRECONDITION_NO_MUTATION_PAYLOAD_OUTCOME_OVERRIDES_LEGACY_WRAPPER_FLAG\",\"RUNNER-LINKED-REMOVAL-APPLY-FINAL-20260726T202825Z\":\"CLOSED_BLOCKED_PRECONDITION_NO_MUTATION_PAYLOAD_OUTCOME_OVERRIDES_LEGACY_WRAPPER_FLAG\",\"RUNNER-MUTATION-CONTRACT-ACCEPTANCE-FIX-20260726T210744Z\":\"CLOSED_ADAPTER_PREEXECUTION_INTEGRITY_FAILURE_PAYLOAD_NOT_RUN_AND_PAYLOAD_HAS_NO_MUTATION_CALLS\"},\"historical_closure_facts\":{\"MINIMAL-RESULT-FEED-EMERGENCY-APPLY-20260727T090755Z\":{\"payload_exact\":true,\"public_results\":0,\"raw_results\":0,\"state_exact\":true,\"successor\":{\"plan_file_sha256\":\"13b1bd4f98939b222e09e3d3d780e000c1f06d22cd2e41d17e12e62a89e44db6\",\"plan_sha256\":\"ce45802551553ab4f5f0cef37d29efcdcb1aae0f19d81ab3ab9430fa5ea9704c\",\"report_changes_made\":true,\"report_file_sha256\":\"297b1771bd231defa9d1fa4360c5f563f26cd2bcb84ddd55c26bfa9c37ae3091\",\"report_rollback_started\":false,\"report_status\":\"OK\"},\"worker_log_empty_exact\":true},\"RUNNER-LINKED-REMOVAL-APPLY-20260726T202107Z\":{\"legacy_wrapper_changes_made\":true,\"payload_exact\":true,\"public_payload_outcome_blocked_no_mutation\":true,\"raw_results\":0,\"state_exact\":true,\"worker_log_empty_exact\":true},\"RUNNER-LINKED-REMOVAL-APPLY-FINAL-20260726T202825Z\":{\"legacy_wrapper_changes_made\":true,\"payload_exact\":true,\"public_payload_outcome_blocked_no_mutation\":true,\"raw_results\":0,\"state_exact\":true,\"worker_log_empty_exact\":true},\"RUNNER-MUTATION-CONTRACT-ACCEPTANCE-FIX-20260726T210744Z\":{\"adapter_preexecution_integrity_error\":true,\"payload_exact\":true,\"payload_mutating_calls\":[],\"public_results\":0,\"raw_results\":0,\"state_exact\":true,\"worker_log_sha256\":\"67696052b4003d1cf0374688de70e22a355b79304c70c76b8e76e270cb10f1b5\"}},\"historical_closure_failures\":[],\"linked\":{\"lexists\":false,\"path\":\"/usr/local/sbin/homelab-chat-run-linked\"},\"open_fd_references\":[],\"plan_binding\":{\"bound\":true,\"plan_evidence_sha256\":\"365e043ac8e20a5033d98863681b168450ea6f8e76667fbc5d1d3ce2c575e7da\",\"plan_hash_excluded_fields\":[\"PLAN_SHA256\",\"plan_hash_definition\"],\"plan_hash_self_check\":true,\"plan_id_actual\":\"RUNNER-LINKED-REMOVAL-CLOSURE-PLAN-FIX2-20260727T165537Z\",\"plan_id_expected\":\"RUNNER-LINKED-REMOVAL-CLOSURE-PLAN-FIX2-20260727T165537Z\",\"plan_output_sha256_actual\":\"9982e3247e0944f7671a3d882e1ea49e4e404abcf6dba3c6cb0a3d503aa10199\",\"plan_output_sha256_expected\":\"9982e3247e0944f7671a3d882e1ea49e4e404abcf6dba3c6cb0a3d503aa10199\",\"plan_runner_json_sha256\":\"192eb7d5519d74cec68099a1301dcdcecddf233b69d8e4a1f14a3f2c05be789c\",\"plan_sha256_embedded\":\"cf7e91af618c9c0bd431f74ee6efd44eaa9273e0be6e261f1cc636abdb61884b\",\"plan_sha256_expected\":\"cf7e91af618c9c0bd431f74ee6efd44eaa9273e0be6e261f1cc636abdb61884b\",\"plan_sha256_recomputed\":\"cf7e91af618c9c0bd431f74ee6efd44eaa9273e0be6e261f1cc636abdb61884b\",\"plan_status\":\"PLAN_READY\"},\"pre_mutation_diagnostics\":{\"atime_ns\":1785172116975440396,\"device\":64513,\"gid\":0,\"inode\":2374218,\"lexists\":true,\"mode\":\"0600\",\"mtime_ns\":1785172116728436784,\"path\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/pre-mutation-diagnostics.json\",\"regular\":true,\"sha256\":\"d4bea28341a5fb707c0f8acbe74917a70e51f325cfd5e7c589e1e71b0aabfd15\",\"size\":9032,\"symlink\":false,\"uid\":0},\"rollback_copy\":{\"atime_ns\":1785172116722436696,\"device\":64513,\"gid\":0,\"inode\":2374216,\"lexists\":true,\"mode\":\"0600\",\"mtime_ns\":1785172116716436608,\"path\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/homelab-chat-run-linked.rollback\",\"regular\":true,\"sha256\":\"5e8725e129fd2055b36fe2fae13fc95fc4b3271074a0e0d4bb7347e7b2f270a1\",\"size\":1901,\"symlink\":false,\"uid\":0},\"rollback_metadata\":{\"atime_ns\":1785172116975440396,\"device\":64513,\"gid\":0,\"inode\":2374217,\"lexists\":true,\"mode\":\"0600\",\"mtime_ns\":1785172116722436696,\"path\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/metadata.json\",\"regular\":true,\"sha256\":\"6f92cfde8bd7d2e89e5d39d3314c17747baf2de0a5e90ac9ac57aae21af7d291\",\"size\":1055,\"symlink\":false,\"uid\":0},\"runner_inventory\":{\"distinct_count\":1,\"entries\":[{\"device\":64513,\"gid\":0,\"inode\":5148538,\"mode\":\"0750\",\"path\":\"/usr/local/sbin/homelab-chat-run\",\"resolved\":\"/usr/local/sbin/homelab-chat-run\",\"sha256\":\"b248a4c32c9cc64e5747e7dce6c7fc0a23f5124a77c71ce72e27a81aceae9d2d\",\"uid\":0}]},\"self_tests\":{\"adapter_rc\":0,\"adapter_stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"adapter_stdout_sha256\":\"791dded76278f8b7413848dea171c1cf6238e2fdb0bbd47e663982a1dc537b74\",\"portal_rc\":0,\"portal_stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"portal_stdout_sha256\":\"791dded76278f8b7413848dea171c1cf6238e2fdb0bbd47e663982a1dc537b74\"},\"units\":{\"adapter\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"Group\":\"homelab-command-portal\",\"LoadState\":\"loaded\",\"MainPID\":\"1637015\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"root\",\"show_rc\":\"0\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"lookup\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"Group\":\"homelab-result-lookup\",\"LoadState\":\"loaded\",\"MainPID\":\"2718720\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"homelab-result-lookup\",\"show_rc\":\"0\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"portal\":{\"ActiveState\":\"active\",\"ExecMainStatus\":\"0\",\"Group\":\"homelab-command-portal\",\"LoadState\":\"loaded\",\"MainPID\":\"1759597\",\"NRestarts\":\"0\",\"Result\":\"success\",\"SubState\":\"running\",\"UnitFileState\":\"enabled\",\"User\":\"homelab-command-portal\",\"show_rc\":\"0\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"}}},\"plan_bound\":true,\"pre_mutation_diagnostics\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/pre-mutation-diagnostics.json\",\"production_changed\":true,\"removed_path\":\"/usr/local/sbin/homelab-chat-run-linked\",\"rollback_copy\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/homelab-chat-run-linked.rollback\",\"rollback_directory\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z\",\"rollback_metadata\":\"/var/lib/homelab-change-rollback/RUNNER-LINKED-REMOVAL-CLOSURE-APPLY-20260727T170405Z/metadata.json\",\"rollback_restored\":false,\"rollback_started\":false,\"schema\":1,\"services_restarted_or_reloaded\":false,\"status\":\"OK\"}\n"
}
