{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "HBARHUB-APPLICATION-SCAFFOLD-STATE-DIAG-V1-20260729T165800Z",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "verify",
  "component": "hbarhub-application-scaffold-state-diag-v1",
  "started_at_utc": "2026-07-29T16:56:05Z",
  "finished_at_utc": "2026-07-29T16:56:06Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "6a5e3fc3b425a3135929b5eb688a4e431a1e06081fbb24f97cabad203184cede",
  "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": 0,
  "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": "98fbe0dd0ee01124993fa07691cf10bc86540006a45bbb22dd99ad774309ae3c",
  "sanitized_output_sha256": "98fbe0dd0ee01124993fa07691cf10bc86540006a45bbb22dd99ad774309ae3c",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "HOMELAB_RESULT_CONTRACT={\"changes_made\":false,\"command_id\":\"HBARHUB-APPLICATION-SCAFFOLD-STATE-DIAG-V1-20260729T165800Z\",\"rollback_restored\":null,\"rollback_started\":false,\"status\":\"OK\",\"version\":1}\n{\"branch_protections\":[{\"branch_name\":\"main\",\"enable_force_push\":false,\"enable_merge_whitelist\":true,\"enable_push\":false,\"merge_whitelist_usernames\":[\"homelab-admin\"]}],\"changes_made\":false,\"command_id\":\"HBARHUB-APPLICATION-SCAFFOLD-STATE-DIAG-V1-20260729T165800Z\",\"failed_result_evidence\":{\"result_sequence\":\"54ccb97d585a2c92bcf6a87c2a03bd697271ffc9d31ece6a6457b1c84f9e93f8\",\"result_sha256\":\"6d95032725a2b6cbeabfe2cdb607f0912ebc81ec2a262f76acb294d08cb51fc0\"},\"mutation_outcome\":\"NO_MUTATION\",\"private_addresses_included\":false,\"pull_requests\":[{\"base\":\"main\",\"head\":\"rollback/hbarhub-app-scaffold-v1-20260729t165500z\",\"head_sha\":\"757c324c66d5a05d65ca0634997f69988a2a315d\",\"merge_commit_sha\":\"42a020bf825bb6bb499fca8e438ccb462e6984f0\",\"merged\":true,\"number\":2,\"state\":\"closed\",\"title\":\"revert: откатить исходный контур приложения HBAR Hub\"},{\"base\":\"main\",\"head\":\"work/hbarhub-app-scaffold-v1\",\"head_sha\":\"763e31ea66274d04b1d4c8f19dfd05dad902dde3\",\"merge_commit_sha\":\"8e8899648105f8ca6f67c787e789f06a4a775eae\",\"merged\":true,\"number\":1,\"state\":\"closed\",\"title\":\"feat: добавить исходный контур приложения HBAR Hub\"}],\"repository\":{\"all_heads\":{\"main\":\"42a020bf825bb6bb499fca8e438ccb462e6984f0\",\"rollback/hbarhub-app-scaffold-v1-20260729t165500z\":\"757c324c66d5a05d65ca0634997f69988a2a315d\",\"work/hbarhub-app-scaffold-v1\":\"763e31ea66274d04b1d4c8f19dfd05dad902dde3\"},\"application_path_state\":{\".dockerignore\":false,\".env.example\":false,\"Dockerfile\":false,\"compose.yaml\":false,\"docs/OPERATIONS.md\":false,\"hbarhub/__init__.py\":false,\"hbarhub/celery.py\":false,\"hbarhub/settings.py\":false,\"hbarhub/urls.py\":false,\"hbarhub/wsgi.py\":false,\"manage.py\":false,\"portal/__init__.py\":false,\"portal/apps.py\":false,\"portal/assets.py\":false,\"portal/tasks.py\":false,\"portal/templates/portal/home.html\":false,\"portal/tests.py\":false,\"portal/urls.py\":false,\"portal/views.py\":false,\"requirements.txt\":false},\"application_paths_present\":false,\"expected_merged_main\":\"8e8899648105f8ca6f67c787e789f06a4a775eae\",\"main_equals_merged_tree\":false,\"main_equals_old_tree\":true,\"main_head\":\"42a020bf825bb6bb499fca8e438ccb462e6984f0\",\"main_tree\":\"dad0d0e5d6e48bb21d6726dad69b62fdd55f7dfe\",\"merged_tree\":\"7e13a2e1b5ab35046dbe172383a814151c16cce0\",\"old_main\":\"61114b5855f8a58b97b3c377054e73d9a3f0af4e\",\"old_tree\":\"dad0d0e5d6e48bb21d6726dad69b62fdd55f7dfe\",\"work_branch\":\"work/hbarhub-app-scaffold-v1\",\"work_branch_head\":\"763e31ea66274d04b1d4c8f19dfd05dad902dde3\"},\"rollback_restored\":null,\"rollback_started\":false,\"root_cause\":\"MAIN_TREE_RESTORED_STALE_WORK_BRANCH_REMAINS\",\"sanitized\":true,\"schema\":1,\"secrets_included\":false,\"status\":\"DIAG_COMPLETE\",\"work_branch_delete_dry_run\":{\"branch\":\"work/hbarhub-app-scaffold-v1\",\"dry_run\":true,\"rc\":128,\"stderr_safe_excerpt\":\"fatal: not a git repository (or any of the parent directories): .git\\n\",\"stderr_sha256\":\"d2b35cacadc66b7fad8dedd1be5244e17150a6625978c9330f831bd7a9cd6b1e\",\"stdout_safe_excerpt\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"}}\n"
}
