{
  "schema_version": 1,
  "channel": "homelab-runtime",
  "command_id": "GITEA-V4-EXISTING-STATE-PROBE-20260730T162728Z",
  "status": "OK",
  "rc": 0,
  "host": "pve01",
  "mode": "verify",
  "component": "gitea-machine-identity",
  "started_at_utc": "2026-07-30T16:28:03Z",
  "finished_at_utc": "2026-07-30T16:28:03Z",
  "reference_register_checked": true,
  "reference_sha256": "5763f2f8edc75fcf6f3951f8c95896d1cc112ceccb6cf5b64a383f540a4deb8e",
  "error_register_checked": true,
  "error_register_sha256": "24934a2c7fa5c26f6e828583c4aefac7f143b40c0171736ed7571e617d55ab83",
  "command_sha256": "5c252a69b7121857eb70ca3d5cdf86e76ad0c2fdf22bd98b075926003482c527",
  "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": "3669a5771a40d1a4b020e39c596d055e7ef5c05be3ce4dfde643435208c994cb",
  "sanitized_output_sha256": "3669a5771a40d1a4b020e39c596d055e7ef5c05be3ce4dfde643435208c994cb",
  "output_truncated_in_json": false,
  "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt",
  "output": "{\"changes_made\":false,\"classification\":\"PARTIAL_V4_STATE\",\"command_id\":\"GITEA-V4-EXISTING-STATE-PROBE-20260730T162728Z\",\"command_rc\":0,\"evidence\":{\"command_id\":\"GITEA-V4-EXISTING-STATE-PROBE-20260730T162728Z\",\"euid\":0,\"paths\":{\"live_linter\":{\"bytes\":21099,\"exists\":true,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"/opt/homelab-admin/libexec/homelab-admin-lint\",\"sha256\":\"deaa17bdfa41db95abed26a81d67e04c1ecaf68dc397f7eea6bd74c5228cdfef\"},\"live_registry\":{\"exists\":false,\"path\":\"/etc/homelab-admin/superseded-tasks.json\"},\"live_v4\":{\"exists\":false,\"path\":\"/root/gitea-machine-identity-controlled-migration-v4\"},\"review_linter\":{\"bytes\":21099,\"exists\":true,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"/root/homelab-ops-cr-2026-0005/tools/homelab-admin-lint\",\"sha256\":\"deaa17bdfa41db95abed26a81d67e04c1ecaf68dc397f7eea6bd74c5228cdfef\"},\"review_registry\":{\"exists\":false,\"path\":\"/root/homelab-ops-cr-2026-0005/policies/superseded-tasks.json\"},\"review_test\":{\"exists\":false,\"path\":\"/root/homelab-ops-cr-2026-0005/tests/test_gitea_v4_superseded_lock.py\"},\"review_v4\":{\"exists\":true,\"fingerprint_sha256\":\"e68f9e29d6cd19dfcaa1515b1d4911d9f7cf6cc4a805935e83354f4ad4c77d94\",\"inventory\":[{\"bytes\":2437,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"README.txt\",\"sha256\":\"f854161bbe8ce6a5338a4200dff59123e948e17f896b0a3d0111ce21bd74ae4c\"},{\"bytes\":1216,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"SHA256SUMS\",\"sha256\":\"8c3e5294f6ecd8cc9bfd3a083c2caacd01fbd7d63f1a8dccc48d72aa32663797\"},{\"is_dir\":true,\"is_file\":false,\"is_symlink\":false,\"path\":\"assets\"},{\"bytes\":601,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"assets/git-credential-helper.sh\",\"sha256\":\"d1c1f89200c8e2550412d37d2312bb1327651a1dea39f5ac179c5d98c737dc6a\"},{\"bytes\":7616,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"assets/vm170-machine-identity.sh\",\"sha256\":\"6281daf0cb4cd27345b4c63f90d0c4908387d86e09f3acee371d23fc63ab3aa4\"},{\"is_dir\":true,\"is_file\":false,\"is_symlink\":false,\"path\":\"phases\"},{\"bytes\":6286,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/apply.sh\",\"sha256\":\"bbc5b03b102f53f2311a933ff3b109734c2969ef221bb8654673e98b51db2ac7\"},{\"bytes\":2784,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/dry-run.sh\",\"sha256\":\"c5edfe7553ffb7f44a80dd530b805fb732ee0e09097f5b3a6ca77d1f9bc27329\"},{\"bytes\":3671,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/preflight.sh\",\"sha256\":\"8a99e6b994e00ebc615ac84046914601a4cbe65c5d29db9fba4425a834337593\"},{\"bytes\":1885,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/prepare.sh\",\"sha256\":\"d7cc381878e06f0896219616354c70b042c227ab6254d6a9a36061cc24c13f8c\"},{\"bytes\":2860,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/rollback.sh\",\"sha256\":\"2b801fcea7096cdefe2cd294175d1d48ac3dfb394776dbda52299ded470fee0e\"},{\"bytes\":2475,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/seal.sh\",\"sha256\":\"c88cb5e9f63aac3888e3822a5eab9e2456b04f5eda16756f626a664eb558c0bc\"},{\"bytes\":4543,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"phases/verify.sh\",\"sha256\":\"e57af844675486bb897dd05cfd529bc618c6f32fec9a9257eeeaca1748cbb7cc\"},{\"bytes\":6774,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"task.json\",\"sha256\":\"e724bf545d7dee632dc5dec89c17cd0e27291dfaeab5ba110a86d76bcde88b7b\"},{\"is_dir\":true,\"is_file\":false,\"is_symlink\":false,\"path\":\"tools\"},{\"bytes\":7174,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"tools/legacy_identity_api.py\",\"sha256\":\"3ecd52926055a418857f0a0e5af2383323ad5df26dec87c340ca61469f827028\"},{\"bytes\":6831,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"tools/test_task.py\",\"sha256\":\"a9eb16b7c7dcb4f17a7478a55c9b55c990979d8ef9fea0125c265401ac6f5730\"},{\"bytes\":3027,\"is_dir\":false,\"is_file\":true,\"is_symlink\":false,\"path\":\"tools/verify_machine_credential.py\",\"sha256\":\"522616aafa661a8b83e9e0152fcd7247a1f64cf1f6fc1ea315978be1496c7d45\"}],\"inventory_count\":18,\"is_dir\":true,\"is_file\":false,\"is_symlink\":false,\"path\":\"/root/homelab-ops-cr-2026-0005/tasks/gitea-machine-identity-controlled-migration-v4\"}},\"read_only\":true,\"review\":{\"base_head\":\"b8a5cdb7f027c7738e1b3c5443e4bb97fad747dc\",\"branch\":{\"argv\":[\"git\",\"branch\",\"--show-current\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"cr-2026-0005-codex-bootstrap-activation\\n\",\"stdout_sha256\":\"23742b320dc35d798564315de82e7b0ebed62767738040a8528dedb0c23d9472\"},\"expected_branch\":\"cr-2026-0005-codex-bootstrap-activation\",\"head\":{\"argv\":[\"git\",\"rev-parse\",\"HEAD\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"b8a5cdb7f027c7738e1b3c5443e4bb97fad747dc\\n\",\"stdout_sha256\":\"c25145162faff49f6f450dc74c60b9e8c93629a690d4b207c6ead3497fe3d19d\"},\"push_url\":{\"argv\":[\"git\",\"remote\",\"get-url\",\"--push\",\"origin\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"DISABLED\\n\",\"stdout_sha256\":\"a4cc2b93bbadf667689f60374a8059e239a8abd5b8ab18af0472a3aa4a37f31a\"},\"recent_log\":{\"argv\":[\"git\",\"log\",\"-n\",\"8\",\"--format=%H%x09%s\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"b8a5cdb7f027c7738e1b3c5443e4bb97fad747dc\\tCR-2026-0005 prepare reviewed logrotate bootstrap clearance\\n14d8bb0467e5890a7166444afda90a0185552eba\\tbootstrap homelab-ops v2\\n\",\"stdout_sha256\":\"d12342a2ad35a36bbf444a87b6c9554b5427857c9a892ebd630d707891426996\"},\"status\":{\"argv\":[\"git\",\"status\",\"--porcelain=v1\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"?? tasks/gitea-machine-identity-controlled-migration-v4/\\n?? tools/homelab-admin-lint\\n\",\"stdout_sha256\":\"d1cb3d2e519b656a506fce5f3304eafb9708056d3cea5e622d4847b6c1e6da04\"}},\"tracked\":{\"review_linter\":{\"log\":{\"argv\":[\"git\",\"log\",\"-n\",\"3\",\"--format=%H%x09%s\",\"--\",\"tools/homelab-admin-lint\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"ls_files\":{\"argv\":[\"git\",\"ls-files\",\"--error-unmatch\",\"tools/homelab-admin-lint\"],\"rc\":1,\"stderr\":\"error: pathspec 'tools/homelab-admin-lint' did not match any file(s) known to git\\nDid you forget to 'git add'?\\n\",\"stderr_sha256\":\"70d48d6fc29d669804b51e66df2e6bffdd7c3df09b46955491d250b730ac73c7\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"relative\":\"tools/homelab-admin-lint\",\"status\":{\"argv\":[\"git\",\"status\",\"--porcelain\",\"--\",\"tools/homelab-admin-lint\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"?? tools/homelab-admin-lint\\n\",\"stdout_sha256\":\"a36d3b9a773fed5aec7f65323e600a584e9297ed5a7749870d8a7646f1f0a90e\"},\"tracked\":false},\"review_registry\":{\"log\":{\"argv\":[\"git\",\"log\",\"-n\",\"3\",\"--format=%H%x09%s\",\"--\",\"policies/superseded-tasks.json\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"ls_files\":{\"argv\":[\"git\",\"ls-files\",\"--error-unmatch\",\"policies/superseded-tasks.json\"],\"rc\":1,\"stderr\":\"error: pathspec 'policies/superseded-tasks.json' did not match any file(s) known to git\\nDid you forget to 'git add'?\\n\",\"stderr_sha256\":\"b0e284b3bd6df0a2222bd5262a89447035a8f97fa6822aa8e7b7e9474a122502\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"relative\":\"policies/superseded-tasks.json\",\"status\":{\"argv\":[\"git\",\"status\",\"--porcelain\",\"--\",\"policies/superseded-tasks.json\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"tracked\":false},\"review_test\":{\"log\":{\"argv\":[\"git\",\"log\",\"-n\",\"3\",\"--format=%H%x09%s\",\"--\",\"tests/test_gitea_v4_superseded_lock.py\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"ls_files\":{\"argv\":[\"git\",\"ls-files\",\"--error-unmatch\",\"tests/test_gitea_v4_superseded_lock.py\"],\"rc\":1,\"stderr\":\"error: pathspec 'tests/test_gitea_v4_superseded_lock.py' did not match any file(s) known to git\\nDid you forget to 'git add'?\\n\",\"stderr_sha256\":\"8bbb43ac0abd6f281054f389b6615452acead287bdfa0406591b22537e2f6c2d\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"relative\":\"tests/test_gitea_v4_superseded_lock.py\",\"status\":{\"argv\":[\"git\",\"status\",\"--porcelain\",\"--\",\"tests/test_gitea_v4_superseded_lock.py\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"tracked\":false},\"review_v4\":{\"log\":{\"argv\":[\"git\",\"log\",\"-n\",\"3\",\"--format=%H%x09%s\",\"--\",\"tasks/gitea-machine-identity-controlled-migration-v4\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"ls_files\":{\"argv\":[\"git\",\"ls-files\",\"--error-unmatch\",\"tasks/gitea-machine-identity-controlled-migration-v4\"],\"rc\":1,\"stderr\":\"error: pathspec 'tasks/gitea-machine-identity-controlled-migration-v4' did not match any file(s) known to git\\nDid you forget to 'git add'?\\n\",\"stderr_sha256\":\"ab6d8d5935a38c02ba7354a22aae0f97d6f6ef070e3dba5b969389b982bacaca\",\"stdout\":\"\",\"stdout_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"},\"relative\":\"tasks/gitea-machine-identity-controlled-migration-v4\",\"status\":{\"argv\":[\"git\",\"status\",\"--porcelain\",\"--\",\"tasks/gitea-machine-identity-controlled-migration-v4\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"?? tasks/gitea-machine-identity-controlled-migration-v4/\\n\",\"stdout_sha256\":\"41eada6e340534d2e308348d4e9d93a1ea4c1012e76bb9e341f777fec9d14577\"},\"tracked\":false}},\"uid\":0,\"validation\":{\"live_v4\":{\"path\":\"/root/gitea-machine-identity-controlled-migration-v4\",\"skipped\":\"missing\"},\"review_v4\":{\"argv\":[\"/usr/local/sbin/homelab-admin\",\"validate\",\"/root/homelab-ops-cr-2026-0005/tasks/gitea-machine-identity-controlled-migration-v4\"],\"rc\":0,\"stderr\":\"\",\"stderr_sha256\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"stdout\":\"LINT_STATUS=OK\\nTASK_ID=gitea-machine-identity-controlled-migration-v4\\nPOLICY_ID=homelab-admin-guardrails-v1.2\\nRULES_CHECKED=14\\nSOURCE_FILES_CHECKED=11\\nTASK_VALID=YES\\nTASK_ID=gitea-machine-identity-controlled-migration-v4\\nTASK_SCOPE=controlled_apply\\nPRODUCTION_CHANGE=YES\\n\",\"stdout_sha256\":\"cce2200e849fd3b7418a9dc011e5566097c620f46da0e2520ea380f2c883e3de\"}}},\"mutation_outcome\":\"NO_MUTATION\",\"next_action\":\"COMPLETE_OR_REBUILD_V4_STAGE\",\"output_truncated_in_json\":false,\"rc\":0,\"rollback_restored\":null,\"rollback_started\":false,\"schema\":1,\"status\":\"OK\"}\n"
}
