chore(sre): reconcile host ansible readiness

This commit is contained in:
Your Name
2026-07-19 01:31:24 +08:00
parent fa3ffd01f9
commit b4b273fb51
2 changed files with 27 additions and 10 deletions

View File

@@ -116,11 +116,11 @@ def test_loader_returns_fixed_architecture_provider_order_and_agent99_bridge() -
"total_items": 18,
"by_priority": {"P0": 16, "P1": 2},
"by_status": {
"source_implemented_runtime_pending": 12,
"in_progress": 2,
"source_implemented_runtime_pending": 13,
"in_progress": 1,
"planned": 4,
},
"source_implemented_items": 12,
"source_implemented_items": 13,
"runtime_closed_items": 0,
"program_completion_percent": 0,
"asset_coverage_status": "partial",
@@ -134,6 +134,12 @@ def test_ledger_links_confirmed_runtime_gaps_without_false_closure() -> None:
assert "retired tombstone" in " ".join(items["AIA-SRE-002"]["confirmed_truth"])
assert "host120/host121" in " ".join(items["AIA-SRE-002"]["runtime_gaps"])
assert items["AIA-SRE-008"]["status"] == (
"source_implemented_runtime_pending"
)
assert "all 13 auto-apply" in " ".join(
items["AIA-SRE-008"]["confirmed_truth"]
)
assert "public-HTTP" in items["AIA-SRE-013"]["exit_condition"]
assert "Gate5 run" in " ".join(items["AIA-SRE-013"]["confirmed_truth"])
assert "Gemini" in " ".join(items["AIA-SRE-013"]["runtime_gaps"])
@@ -183,7 +189,7 @@ def test_projection_keeps_program_asset_and_runtime_truth_separate() -> None:
payload = load_sre_k3s_controlled_automation_work_items()
projection = build_sre_k3s_program_projection(payload)
assert projection["rollups"]["source_implemented_items"] == 12
assert projection["rollups"]["source_implemented_items"] == 13
assert projection["rollups"]["runtime_closed_items"] == 0
assert projection["rollups"]["program_completion_percent"] == 0
assert projection["domain_count"] == 8