{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "GITEA-V4-MIGRATION-CONTRACT-PREFLIGHT-20260730T184439Z",
  "status": "FAIL",
  "rc": 1,
  "host": "pve01",
  "mode": "verify",
  "component": "gitea-machine-identity",
  "started_at_utc": "2026-07-30T18:45:16Z",
  "finished_at_utc": "2026-07-30T18:45:17Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "cc99046f336a49aaae4244998e5f7b45fc32c748ee59648e8103db6f0d78a8e9",
  "duplicate_failed_command_blocked": false,
  "block_reason": null,
  "execution_started": true,
  "change_declared": false,
  "result_contract_valid": true,
  "result_contract_status": null,
  "result_contract_error": null,
  "command_rc": 1,
  "changes_made": false,
  "rollback_started": false,
  "rollback_restored": null,
  "mutation_outcome": "NO_MUTATION",
  "sanitized": true,
  "secrets_included": false,
  "private_addresses_included": false,
  "raw_evidence_retained_locally": true,
  "raw_evidence_sha256": "329adb4168886aa8b8316c38bc6b7de3c491c1487250a940f0f81ac741b09c1d",
  "sanitized_output_sha256": "329adb4168886aa8b8316c38bc6b7de3c491c1487250a940f0f81ac741b09c1d",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "Traceback (most recent call last):\n  File \"/var/lib/homelab-command-adapter/capsules/7b29bd59c3a2084900309b6704c9f3f23e6ae3a7af04dc53e7505de19622b942/payload/probe_gitea_v4_migration_contract.py\", line 525, in <module>\n    raise SystemExit(main())\n                     ~~~~^^\n  File \"/var/lib/homelab-command-adapter/capsules/7b29bd59c3a2084900309b6704c9f3f23e6ae3a7af04dc53e7505de19622b942/payload/probe_gitea_v4_migration_contract.py\", line 502, in main\n    \"admin_source\": admin_source_summary(),\n                    ~~~~~~~~~~~~~~~~~~~~^^\n  File \"/var/lib/homelab-command-adapter/capsules/7b29bd59c3a2084900309b6704c9f3f23e6ae3a7af04dc53e7505de19622b942/payload/probe_gitea_v4_migration_contract.py\", line 213, in admin_source_summary\n    compile(source, str(ADMIN), \"exec\")\n    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homelab-admin/bin/homelab-admin\", line 19\n    phase_allowed(){ case \" $PHASE_ORDER \" in *\" $1 \"*) return 0;; *) return 1;; esac; }\n                                                      ^\nSyntaxError: closing parenthesis ')' does not match opening parenthesis '{'\n"
}
