(resource_plan: dict[str, Any] | None)
| 97 | |
| 98 | |
| 99 | def resource_visual_entries(resource_plan: dict[str, Any] | None) -> list[dict[str, Any]]: |
| 100 | if resource_plan is None: |
| 101 | return [] |
| 102 | return [ |
| 103 | artifact_entry( |
| 104 | artifact_id="resource_readiness", |
| 105 | title="Resource Readiness", |
| 106 | path="resources/resource_readiness.md", |
| 107 | kind="markdown", |
| 108 | status="created", |
| 109 | description="Human-readable reference/database readiness gate for this run.", |
| 110 | ), |
| 111 | artifact_entry( |
| 112 | artifact_id="resource_manifest", |
| 113 | title="Resource Manifest", |
| 114 | path="resources/resource_manifest.tsv", |
| 115 | kind="table", |
| 116 | status="created", |
| 117 | description="Resolved resource bundles, roots, env vars, and missing-file counts.", |
| 118 | ), |
| 119 | artifact_entry( |
| 120 | artifact_id="resource_plan", |
| 121 | title="Resource Plan", |
| 122 | path="resources/resource_plan.json", |
| 123 | kind="json", |
| 124 | status="created", |
| 125 | description="Structured reference/database readiness plan used by this run.", |
| 126 | ), |
| 127 | artifact_entry( |
| 128 | artifact_id="resource_setup_plan", |
| 129 | title="Resource Setup Plan", |
| 130 | path="resources/resource_setup_plan.md", |
| 131 | kind="markdown", |
| 132 | status="created", |
| 133 | description="Actionable setup checklist for missing reference/database bundles.", |
| 134 | ), |
| 135 | artifact_entry( |
| 136 | artifact_id="resource_setup_commands", |
| 137 | title="Resource Setup Commands", |
| 138 | path="resources/resource_setup_commands.sh", |
| 139 | kind="script", |
| 140 | status="created", |
| 141 | description="Reviewed shell skeleton with commented setup hints and validation commands.", |
| 142 | ), |
| 143 | ] |
| 144 | |
| 145 | |
| 146 | def resource_summary_lines(resource_plan: dict[str, Any] | None) -> list[str]: |
nothing calls this directly
no test coverage detected