livingproof-capability-report 5.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. livingproof_capability_report-5.0.5/.devcontainer/devcontainer.json +34 -0
  2. livingproof_capability_report-5.0.5/.dockerignore +6 -0
  3. livingproof_capability_report-5.0.5/.github/PAGES.md +40 -0
  4. livingproof_capability_report-5.0.5/.github/workflows/development.yml +44 -0
  5. livingproof_capability_report-5.0.5/.github/workflows/documentation-build.yml +153 -0
  6. livingproof_capability_report-5.0.5/.github/workflows/documentation-deploy.yml +194 -0
  7. livingproof_capability_report-5.0.5/.github/workflows/documentation.yml +69 -0
  8. livingproof_capability_report-5.0.5/.github/workflows/publish-pypi.yml +92 -0
  9. livingproof_capability_report-5.0.5/.github/workflows/queue-pypi.yml +60 -0
  10. livingproof_capability_report-5.0.5/.github/workflows/recover-registry.yml +89 -0
  11. livingproof_capability_report-5.0.5/.github/workflows/verify-saved-release.yml +131 -0
  12. livingproof_capability_report-5.0.5/.github/workflows/verify.yml +695 -0
  13. livingproof_capability_report-5.0.5/.gitignore +9 -0
  14. livingproof_capability_report-5.0.5/AGENTS.md +14 -0
  15. livingproof_capability_report-5.0.5/CONTRIBUTING.md +37 -0
  16. livingproof_capability_report-5.0.5/Dockerfile +21 -0
  17. livingproof_capability_report-5.0.5/LICENSE +73 -0
  18. livingproof_capability_report-5.0.5/NOTICE +6 -0
  19. livingproof_capability_report-5.0.5/PKG-INFO +669 -0
  20. livingproof_capability_report-5.0.5/README.md +655 -0
  21. livingproof_capability_report-5.0.5/Taskfile.yml +84 -0
  22. livingproof_capability_report-5.0.5/compose.yml +17 -0
  23. livingproof_capability_report-5.0.5/docs/api.md +125 -0
  24. livingproof_capability_report-5.0.5/docs/evaluator-summary/compare-dark.png +0 -0
  25. livingproof_capability_report-5.0.5/docs/evaluator-summary/compare-light.png +0 -0
  26. livingproof_capability_report-5.0.5/docs/evaluator-summary/compare-mark-open.png +0 -0
  27. livingproof_capability_report-5.0.5/docs/evaluator-summary/compare-mobile.png +0 -0
  28. livingproof_capability_report-5.0.5/docs/evaluator-summary/fixtures-mark-open.html +1242 -0
  29. livingproof_capability_report-5.0.5/docs/evaluator-summary/fixtures.html +1388 -0
  30. livingproof_capability_report-5.0.5/docs/evaluator-summary/g1-expanded-dark.png +0 -0
  31. livingproof_capability_report-5.0.5/docs/evaluator-summary/g1-expanded-light.png +0 -0
  32. livingproof_capability_report-5.0.5/docs/evaluator-summary/g1-expanded-mobile.png +0 -0
  33. livingproof_capability_report-5.0.5/docs/evaluator-summary/g1-expanded.html +10197 -0
  34. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/agent.svg +1 -0
  35. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/health.svg +1 -0
  36. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/human.svg +1 -0
  37. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/integrity.svg +1 -0
  38. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/scenario.svg +1 -0
  39. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/agent-review-icon.svg +4 -0
  40. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/human-review-icon.svg +7 -0
  41. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/robot-health-icon.svg +6 -0
  42. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/roboto-icon.svg +5 -0
  43. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/run-integrity-icon.svg +5 -0
  44. livingproof_capability_report-5.0.5/docs/evaluator-summary/icons/source/scenario-evaluator-icon.svg +11 -0
  45. livingproof_capability_report-5.0.5/docs/evaluator-summary/mock-dark.png +0 -0
  46. livingproof_capability_report-5.0.5/docs/evaluator-summary/mock-light.png +0 -0
  47. livingproof_capability_report-5.0.5/docs/evaluator-summary/mock-mark-open.png +0 -0
  48. livingproof_capability_report-5.0.5/docs/evaluator-summary/mock-mobile.png +0 -0
  49. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-fail-desktop-closed.png +0 -0
  50. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-fail-desktop-open.png +0 -0
  51. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-fail-mobile-closed.png +0 -0
  52. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-fail-mobile-open-scrolled.png +0 -0
  53. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-fail-mobile-open.png +0 -0
  54. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-pass-desktop-closed.png +0 -0
  55. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-pass-desktop-open.png +0 -0
  56. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-pass-mobile-closed.png +0 -0
  57. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-pass-mobile-open-scrolled.png +0 -0
  58. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-pass-mobile-open.png +0 -0
  59. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-58-states.png +0 -0
  60. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-dark.png +0 -0
  61. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-light.png +0 -0
  62. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-mark-open.png +0 -0
  63. livingproof_capability_report-5.0.5/docs/evaluator-summary/rendered-mobile.png +0 -0
  64. livingproof_capability_report-5.0.5/docs/license.md +18 -0
  65. livingproof_capability_report-5.0.5/docs/pypi-publication.md +86 -0
  66. livingproof_capability_report-5.0.5/docs/site/mkdocs.yml +30 -0
  67. livingproof_capability_report-5.0.5/docs/verification.md +97 -0
  68. livingproof_capability_report-5.0.5/docs/viewer-page-composition.md +92 -0
  69. livingproof_capability_report-5.0.5/docs-brand.lock.json +7 -0
  70. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-01.json +1 -0
  71. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-02.json +1 -0
  72. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-03.json +1 -0
  73. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-04.json +1 -0
  74. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-05.json +1 -0
  75. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-06.json +1 -0
  76. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-07.json +1 -0
  77. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-08.json +1 -0
  78. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-09.json +1 -0
  79. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-10.json +1 -0
  80. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-11.json +1 -0
  81. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-12.json +1 -0
  82. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-13.json +1 -0
  83. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-14.json +1 -0
  84. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-15.json +1 -0
  85. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-16.json +1 -0
  86. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-17.json +1 -0
  87. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-18.json +1 -0
  88. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-19.json +1 -0
  89. livingproof_capability_report-5.0.5/examples/bundle/evidence/stock-seed-20.json +1 -0
  90. livingproof_capability_report-5.0.5/examples/bundle/manifest.json +3723 -0
  91. livingproof_capability_report-5.0.5/hatch_build.py +23 -0
  92. livingproof_capability_report-5.0.5/pyproject.toml +44 -0
  93. livingproof_capability_report-5.0.5/renovate.json +11 -0
  94. livingproof_capability_report-5.0.5/src/livingproof_capability_report/__init__.py +16 -0
  95. livingproof_capability_report-5.0.5/src/livingproof_capability_report/__main__.py +3 -0
  96. livingproof_capability_report-5.0.5/src/livingproof_capability_report/_build_provenance.json +14 -0
  97. livingproof_capability_report-5.0.5/src/livingproof_capability_report/assessed.py +192 -0
  98. livingproof_capability_report-5.0.5/src/livingproof_capability_report/bundle.schema.json +226 -0
  99. livingproof_capability_report-5.0.5/src/livingproof_capability_report/cli.py +411 -0
  100. livingproof_capability_report-5.0.5/src/livingproof_capability_report/comment.py +73 -0
  101. livingproof_capability_report-5.0.5/src/livingproof_capability_report/core.py +596 -0
  102. livingproof_capability_report-5.0.5/src/livingproof_capability_report/evaluators.py +1804 -0
  103. livingproof_capability_report-5.0.5/src/livingproof_capability_report/fonts/DMSans-latin-ext.woff2 +0 -0
  104. livingproof_capability_report-5.0.5/src/livingproof_capability_report/fonts/DMSans-latin.woff2 +0 -0
  105. livingproof_capability_report-5.0.5/src/livingproof_capability_report/fonts/OFL.txt +93 -0
  106. livingproof_capability_report-5.0.5/src/livingproof_capability_report/html_theme.py +1669 -0
  107. livingproof_capability_report-5.0.5/src/livingproof_capability_report/legacy_evidence.py +145 -0
  108. livingproof_capability_report-5.0.5/src/livingproof_capability_report/links.py +418 -0
  109. livingproof_capability_report-5.0.5/src/livingproof_capability_report/narrative.py +342 -0
  110. livingproof_capability_report-5.0.5/src/livingproof_capability_report/pinned_inputs.py +49 -0
  111. livingproof_capability_report-5.0.5/src/livingproof_capability_report/presentation.py +85 -0
  112. livingproof_capability_report-5.0.5/src/livingproof_capability_report/provenance.py +37 -0
  113. livingproof_capability_report-5.0.5/src/livingproof_capability_report/sections.py +308 -0
  114. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/__init__.py +27 -0
  115. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/assemble.py +2011 -0
  116. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/assets/open.js +125 -0
  117. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/assets/styles.css +681 -0
  118. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/check.py +78 -0
  119. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/common.py +103 -0
  120. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/details.py +97 -0
  121. livingproof_capability_report-5.0.5/src/livingproof_capability_report/site/pages.py +1384 -0
  122. livingproof_capability_report-5.0.5/src/livingproof_capability_report/steps.py +859 -0
  123. livingproof_capability_report-5.0.5/src/livingproof_capability_report/svg_icon.py +122 -0
  124. livingproof_capability_report-5.0.5/src/livingproof_capability_report/trial_binding.py +17 -0
  125. livingproof_capability_report-5.0.5/src/livingproof_capability_report/trusted_viewer.py +222 -0
  126. livingproof_capability_report-5.0.5/src/livingproof_capability_report/version.py +17 -0
  127. livingproof_capability_report-5.0.5/src/livingproof_capability_report/viewer_page.py +187 -0
  128. livingproof_capability_report-5.0.5/tests/docs/published-anchors.json +71 -0
  129. livingproof_capability_report-5.0.5/tests/docs/test_brand.py +28 -0
  130. livingproof_capability_report-5.0.5/tests/docs/test_manual.py +314 -0
  131. livingproof_capability_report-5.0.5/tests/features/test_installed.py +91 -0
  132. livingproof_capability_report-5.0.5/tests/fixtures/advisory/PROVENANCE.md +31 -0
  133. livingproof_capability_report-5.0.5/tests/fixtures/advisory/battery-thermal/notes.txt +1 -0
  134. livingproof_capability_report-5.0.5/tests/fixtures/advisory/battery-thermal/result.json +49 -0
  135. livingproof_capability_report-5.0.5/tests/fixtures/advisory/example-observation/result.json +56 -0
  136. livingproof_capability_report-5.0.5/tests/fixtures/advisory/gait-noise/result.json +33 -0
  137. livingproof_capability_report-5.0.5/tests/fixtures/advisory/no-media/not-run.json +6 -0
  138. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/defs.schema.json +81 -0
  139. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/descriptor.schema.json +170 -0
  140. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/evaluator-result.schema.json +296 -0
  141. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/ci-publisher.schema.json +79 -0
  142. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/completeness.schema.json +40 -0
  143. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/pins.schema.json +61 -0
  144. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/plan-conformance.schema.json +111 -0
  145. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/recording.schema.json +207 -0
  146. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/same-input-agreement.schema.json +51 -0
  147. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/checks/termination.schema.json +81 -0
  148. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/integrity/result.schema.json +432 -0
  149. livingproof_capability_report-5.0.5/tests/fixtures/advisory/schema/scenario/result.schema.json +60 -0
  150. livingproof_capability_report-5.0.5/tests/fixtures/corner/g1-stock/PROVENANCE.md +10 -0
  151. livingproof_capability_report-5.0.5/tests/fixtures/corner/g1-stock/evidence/trial-01.json +1 -0
  152. livingproof_capability_report-5.0.5/tests/fixtures/corner/g1-stock/manifest.json +676 -0
  153. livingproof_capability_report-5.0.5/tests/fixtures/evaluator-result-scenario.json +68 -0
  154. livingproof_capability_report-5.0.5/tests/fixtures/evaluator-run-92-smoke/report.html +2542 -0
  155. livingproof_capability_report-5.0.5/tests/fixtures/evaluator-run-92-smoke/report.json +962 -0
  156. livingproof_capability_report-5.0.5/tests/fixtures/hallway-2.0.0/evidence/trial-01.json +47 -0
  157. livingproof_capability_report-5.0.5/tests/fixtures/hallway-2.0.0/evidence/trial-02.json +53 -0
  158. livingproof_capability_report-5.0.5/tests/fixtures/hallway-2.0.0/evidence/trial-03.json +47 -0
  159. livingproof_capability_report-5.0.5/tests/fixtures/hallway-2.0.0/manifest.json +1040 -0
  160. livingproof_capability_report-5.0.5/tests/fixtures/hallway-expected/evidence-links.json +43 -0
  161. livingproof_capability_report-5.0.5/tests/fixtures/hallway-expected/report-with-links.md +53 -0
  162. livingproof_capability_report-5.0.5/tests/fixtures/hallway-expected/report-without-bundle.json +507 -0
  163. livingproof_capability_report-5.0.5/tests/fixtures/hallway-expected/report.md +49 -0
  164. livingproof_capability_report-5.0.5/tests/fixtures/integrity/all-not-applicable.json +83 -0
  165. livingproof_capability_report-5.0.5/tests/fixtures/integrity/failed.json +80 -0
  166. livingproof_capability_report-5.0.5/tests/fixtures/integrity/scenario.json +73 -0
  167. livingproof_capability_report-5.0.5/tests/fixtures/integrity/success.json +65 -0
  168. livingproof_capability_report-5.0.5/tests/fixtures/mock-reports/README.md +12 -0
  169. livingproof_capability_report-5.0.5/tests/fixtures/reading-guide/run-integrity-heading.html +10 -0
  170. livingproof_capability_report-5.0.5/tests/fixtures/repeats/disagreeing/evidence/trial-01.json +1 -0
  171. livingproof_capability_report-5.0.5/tests/fixtures/repeats/disagreeing/evidence/trial-02.json +1 -0
  172. livingproof_capability_report-5.0.5/tests/fixtures/repeats/disagreeing/evidence/trial-03.json +1 -0
  173. livingproof_capability_report-5.0.5/tests/fixtures/repeats/disagreeing/manifest.json +1351 -0
  174. livingproof_capability_report-5.0.5/tests/fixtures/repeats/identical/evidence/trial-01.json +1 -0
  175. livingproof_capability_report-5.0.5/tests/fixtures/repeats/identical/evidence/trial-02.json +1 -0
  176. livingproof_capability_report-5.0.5/tests/fixtures/repeats/identical/evidence/trial-03.json +1 -0
  177. livingproof_capability_report-5.0.5/tests/fixtures/repeats/identical/manifest.json +1105 -0
  178. livingproof_capability_report-5.0.5/tests/fixtures/repeats/pause/evidence/pass.json +16 -0
  179. livingproof_capability_report-5.0.5/tests/fixtures/repeats/pause/manifest.json +562 -0
  180. livingproof_capability_report-5.0.5/tests/fixtures/repeats/robot-fail/evidence/trial-01.json +1 -0
  181. livingproof_capability_report-5.0.5/tests/fixtures/repeats/robot-fail/evidence/trial-02.json +1 -0
  182. livingproof_capability_report-5.0.5/tests/fixtures/repeats/robot-fail/evidence/trial-03.json +1 -0
  183. livingproof_capability_report-5.0.5/tests/fixtures/repeats/robot-fail/manifest.json +1413 -0
  184. livingproof_capability_report-5.0.5/tests/fixtures/repeats/seeded/evidence/trial-04.json +1 -0
  185. livingproof_capability_report-5.0.5/tests/fixtures/repeats/seeded/evidence/trial-05.json +1 -0
  186. livingproof_capability_report-5.0.5/tests/fixtures/repeats/seeded/evidence/trial-06.json +1 -0
  187. livingproof_capability_report-5.0.5/tests/fixtures/repeats/seeded/manifest.json +1051 -0
  188. livingproof_capability_report-5.0.5/tests/fixtures/repeats/single/evidence/trial-01.json +1 -0
  189. livingproof_capability_report-5.0.5/tests/fixtures/repeats/single/manifest.json +510 -0
  190. livingproof_capability_report-5.0.5/tests/fixtures/reporter/report-v3.15.4.html +5636 -0
  191. livingproof_capability_report-5.0.5/tests/fixtures/reporter/report-v3.17.0-g1-evidence-links.html +2228 -0
  192. livingproof_capability_report-5.0.5/tests/fixtures/robots/g1-bundle.json.gz +0 -0
  193. livingproof_capability_report-5.0.5/tests/fixtures/robots/g1.html +1497 -0
  194. livingproof_capability_report-5.0.5/tests/fixtures/robots/g1.md +53 -0
  195. livingproof_capability_report-5.0.5/tests/fixtures/robots/go1-bundle.json.gz +0 -0
  196. livingproof_capability_report-5.0.5/tests/fixtures/robots/go1.html +1497 -0
  197. livingproof_capability_report-5.0.5/tests/fixtures/robots/go1.md +48 -0
  198. livingproof_capability_report-5.0.5/tests/fixtures/robots/t1-bundle.json.gz +0 -0
  199. livingproof_capability_report-5.0.5/tests/fixtures/robots/t1.html +1497 -0
  200. livingproof_capability_report-5.0.5/tests/fixtures/robots/t1.md +97 -0
  201. livingproof_capability_report-5.0.5/tests/fixtures/scenario-description/SOURCE.json +7 -0
  202. livingproof_capability_report-5.0.5/tests/fixtures/scenario-description/scenario-description.schema.json +321 -0
  203. livingproof_capability_report-5.0.5/tests/fixtures/scenario-description/walk-corner.description.json +84 -0
  204. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/PROVENANCE.md +20 -0
  205. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/SHA256SUMS +18 -0
  206. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/evidence-ending.json +10 -0
  207. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/manifest.json +624 -0
  208. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/mcap/mcap/trial-01.binding.json +62 -0
  209. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/mcap/mcap/trial-01.mcap +0 -0
  210. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/mcap/mcap/trial-01.robot.mcap +0 -0
  211. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/mcap/media.json +32 -0
  212. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/run-manifest.json +44 -0
  213. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/trials/trial-01.json +1 -0
  214. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/verifier-image.json +13 -0
  215. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/evidence/video/trial-01-fail.mp4 +0 -0
  216. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/health.json +1 -0
  217. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/index.html +2422 -0
  218. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/report.html +2422 -0
  219. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/report.json +1202 -0
  220. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/report.md +51 -0
  221. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/report.txt +28 -0
  222. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/run.json +355 -0
  223. livingproof_capability_report-5.0.5/tests/fixtures/site-g1-history/unitree-g1/stock-mujoco-hallway/runs/45754832566/thresholds.json +1 -0
  224. livingproof_capability_report-5.0.5/tests/fixtures/site-golden/SHA256SUMS +54 -0
  225. livingproof_capability_report-5.0.5/tests/fixtures/site-golden/g1-history.SHA256SUMS +32 -0
  226. livingproof_capability_report-5.0.5/tests/fixtures/site-golden/real-g1-46122371783.SHA256SUMS +25 -0
  227. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/SHA256SUMS +17 -0
  228. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/evidence-ending.json +10 -0
  229. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/manifest.json +624 -0
  230. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/mcap/mcap/trial-01.binding.json +62 -0
  231. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/mcap/mcap/trial-01.mcap +0 -0
  232. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/mcap/mcap/trial-01.robot.mcap +0 -0
  233. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/mcap/media.json +32 -0
  234. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/run-manifest.json +44 -0
  235. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/trials/trial-01.json +1 -0
  236. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/verifier-image.json +13 -0
  237. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/evidence/video/trial-01-fail.mp4 +0 -0
  238. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/health.json +1 -0
  239. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/report.html +2517 -0
  240. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/report.json +1118 -0
  241. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/report.md +52 -0
  242. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/report.txt +29 -0
  243. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/run.json +175 -0
  244. livingproof_capability_report-5.0.5/tests/fixtures/site-real-g1/46122371783/unitree-g1-stock-mujoco-hallway/stock/thresholds.json +1 -0
  245. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/g1.html +1371 -0
  246. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/g1.md +53 -0
  247. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/go1.html +1371 -0
  248. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/go1.md +48 -0
  249. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/t1.html +1371 -0
  250. livingproof_capability_report-5.0.5/tests/fixtures/v3.7.0/t1.md +97 -0
  251. livingproof_capability_report-5.0.5/tests/fixtures/verifier-v1.1.1/report.json +1453 -0
  252. livingproof_capability_report-5.0.5/tests/provenance_snapshot.py +22 -0
  253. livingproof_capability_report-5.0.5/tests/site_fixture.py +231 -0
  254. livingproof_capability_report-5.0.5/tests/test_advisory.py +630 -0
  255. livingproof_capability_report-5.0.5/tests/test_apt_job_timeouts.py +54 -0
  256. livingproof_capability_report-5.0.5/tests/test_apt_resilience.py +296 -0
  257. livingproof_capability_report-5.0.5/tests/test_apt_resilience_docker.py +87 -0
  258. livingproof_capability_report-5.0.5/tests/test_apt_resilience_safety.py +134 -0
  259. livingproof_capability_report-5.0.5/tests/test_assessed.py +432 -0
  260. livingproof_capability_report-5.0.5/tests/test_card_heading_is_stored_capability.py +33 -0
  261. livingproof_capability_report-5.0.5/tests/test_card_scope_words.py +69 -0
  262. livingproof_capability_report-5.0.5/tests/test_card_title_from_descriptor.py +36 -0
  263. livingproof_capability_report-5.0.5/tests/test_cards_without_grade.py +67 -0
  264. livingproof_capability_report-5.0.5/tests/test_checklist_follow_up.py +111 -0
  265. livingproof_capability_report-5.0.5/tests/test_comment.py +55 -0
  266. livingproof_capability_report-5.0.5/tests/test_commit_labels.py +173 -0
  267. livingproof_capability_report-5.0.5/tests/test_common_dependency.py +125 -0
  268. livingproof_capability_report-5.0.5/tests/test_corner_steps.py +51 -0
  269. livingproof_capability_report-5.0.5/tests/test_debian_evidence.py +107 -0
  270. livingproof_capability_report-5.0.5/tests/test_deploy_freshness_auth.py +392 -0
  271. livingproof_capability_report-5.0.5/tests/test_development_environment.py +43 -0
  272. livingproof_capability_report-5.0.5/tests/test_docs_delivery.py +185 -0
  273. livingproof_capability_report-5.0.5/tests/test_docs_every_main_push.py +509 -0
  274. livingproof_capability_report-5.0.5/tests/test_docs_main_push_conditions.py +186 -0
  275. livingproof_capability_report-5.0.5/tests/test_evaluator_anchor.py +263 -0
  276. livingproof_capability_report-5.0.5/tests/test_evaluator_cards.py +978 -0
  277. livingproof_capability_report-5.0.5/tests/test_evaluator_details_row.py +276 -0
  278. livingproof_capability_report-5.0.5/tests/test_evaluator_markdown.py +87 -0
  279. livingproof_capability_report-5.0.5/tests/test_evaluator_source_label.py +214 -0
  280. livingproof_capability_report-5.0.5/tests/test_evaluator_summary.py +289 -0
  281. livingproof_capability_report-5.0.5/tests/test_evaluator_summary_states.py +553 -0
  282. livingproof_capability_report-5.0.5/tests/test_evidence_expired.py +98 -0
  283. livingproof_capability_report-5.0.5/tests/test_generic_facts.py +138 -0
  284. livingproof_capability_report-5.0.5/tests/test_generic_facts_identity.py +99 -0
  285. livingproof_capability_report-5.0.5/tests/test_guidelines_pins.py +204 -0
  286. livingproof_capability_report-5.0.5/tests/test_hallway.py +191 -0
  287. livingproof_capability_report-5.0.5/tests/test_header_label.py +112 -0
  288. livingproof_capability_report-5.0.5/tests/test_header_label_lossless_path.py +53 -0
  289. livingproof_capability_report-5.0.5/tests/test_html_theme.py +122 -0
  290. livingproof_capability_report-5.0.5/tests/test_input_guidance.py +131 -0
  291. livingproof_capability_report-5.0.5/tests/test_integrity_checklist.py +448 -0
  292. livingproof_capability_report-5.0.5/tests/test_integrity_checklist_edges.py +111 -0
  293. livingproof_capability_report-5.0.5/tests/test_integrity_error_mark.py +72 -0
  294. livingproof_capability_report-5.0.5/tests/test_integrity_glossary_link.py +231 -0
  295. livingproof_capability_report-5.0.5/tests/test_integrity_inconclusive.py +90 -0
  296. livingproof_capability_report-5.0.5/tests/test_integrity_inconclusive_mark.py +41 -0
  297. livingproof_capability_report-5.0.5/tests/test_integrity_summary.py +164 -0
  298. livingproof_capability_report-5.0.5/tests/test_integrity_summary_review.py +29 -0
  299. livingproof_capability_report-5.0.5/tests/test_integrity_verdict_band.py +232 -0
  300. livingproof_capability_report-5.0.5/tests/test_legacy_source_near_misses.py +201 -0
  301. livingproof_capability_report-5.0.5/tests/test_legacy_source_restore.py +335 -0
  302. livingproof_capability_report-5.0.5/tests/test_mock_evaluator_boundary.py +31 -0
  303. livingproof_capability_report-5.0.5/tests/test_mock_evaluator_cards.py +99 -0
  304. livingproof_capability_report-5.0.5/tests/test_mock_reports_labels.py +161 -0
  305. livingproof_capability_report-5.0.5/tests/test_mock_reports_plain_evaluators.py +62 -0
  306. livingproof_capability_report-5.0.5/tests/test_mock_reports_site.py +117 -0
  307. livingproof_capability_report-5.0.5/tests/test_mock_reports_trust_facts.py +36 -0
  308. livingproof_capability_report-5.0.5/tests/test_no_trial_failure_wording.py +63 -0
  309. livingproof_capability_report-5.0.5/tests/test_no_why_trials_failed.py +26 -0
  310. livingproof_capability_report-5.0.5/tests/test_no_worst_value_table.py +40 -0
  311. livingproof_capability_report-5.0.5/tests/test_optional_debian_workflow.py +133 -0
  312. livingproof_capability_report-5.0.5/tests/test_pinned_inputs.py +157 -0
  313. livingproof_capability_report-5.0.5/tests/test_pinned_inputs_action_parity.py +97 -0
  314. livingproof_capability_report-5.0.5/tests/test_pinned_inputs_edges.py +132 -0
  315. livingproof_capability_report-5.0.5/tests/test_plugin.py +19 -0
  316. livingproof_capability_report-5.0.5/tests/test_post_release.py +459 -0
  317. livingproof_capability_report-5.0.5/tests/test_presentation_api.py +148 -0
  318. livingproof_capability_report-5.0.5/tests/test_public_viewer_surface.py +82 -0
  319. livingproof_capability_report-5.0.5/tests/test_publish.py +280 -0
  320. livingproof_capability_report-5.0.5/tests/test_pypi_handoff.py +210 -0
  321. livingproof_capability_report-5.0.5/tests/test_pypi_preparation.py +228 -0
  322. livingproof_capability_report-5.0.5/tests/test_registry_gate_review.py +92 -0
  323. livingproof_capability_report-5.0.5/tests/test_registry_release.py +154 -0
  324. livingproof_capability_report-5.0.5/tests/test_registry_render_smoke.py +107 -0
  325. livingproof_capability_report-5.0.5/tests/test_release_assets.py +438 -0
  326. livingproof_capability_report-5.0.5/tests/test_release_upload.py +74 -0
  327. livingproof_capability_report-5.0.5/tests/test_report_footer.py +61 -0
  328. livingproof_capability_report-5.0.5/tests/test_reporting.py +173 -0
  329. livingproof_capability_report-5.0.5/tests/test_reproducibility.py +412 -0
  330. livingproof_capability_report-5.0.5/tests/test_root_installation.py +76 -0
  331. livingproof_capability_report-5.0.5/tests/test_run_page_narrow_trials.py +327 -0
  332. livingproof_capability_report-5.0.5/tests/test_run_timestamps.py +291 -0
  333. livingproof_capability_report-5.0.5/tests/test_scenario_neutral.py +301 -0
  334. livingproof_capability_report-5.0.5/tests/test_scenario_steps.py +348 -0
  335. livingproof_capability_report-5.0.5/tests/test_sections.py +281 -0
  336. livingproof_capability_report-5.0.5/tests/test_site.py +2465 -0
  337. livingproof_capability_report-5.0.5/tests/test_site_advisory_only.py +88 -0
  338. livingproof_capability_report-5.0.5/tests/test_site_advisory_placeholder.py +59 -0
  339. livingproof_capability_report-5.0.5/tests/test_site_checksum_temporary_literals.py +38 -0
  340. livingproof_capability_report-5.0.5/tests/test_site_cli.py +201 -0
  341. livingproof_capability_report-5.0.5/tests/test_site_guard_gaps_round2.py +107 -0
  342. livingproof_capability_report-5.0.5/tests/test_site_integrity_only.py +198 -0
  343. livingproof_capability_report-5.0.5/tests/test_site_link_edges.py +206 -0
  344. livingproof_capability_report-5.0.5/tests/test_site_link_guard_gaps.py +91 -0
  345. livingproof_capability_report-5.0.5/tests/test_site_pr84_lows.py +117 -0
  346. livingproof_capability_report-5.0.5/tests/test_site_ref.py +102 -0
  347. livingproof_capability_report-5.0.5/tests/test_site_repository_shape_edges.py +91 -0
  348. livingproof_capability_report-5.0.5/tests/test_site_run_address_entity_end.py +80 -0
  349. livingproof_capability_report-5.0.5/tests/test_site_run_url_and_encoded_actions.py +78 -0
  350. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs.py +249 -0
  351. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs_gaps.py +470 -0
  352. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs_limits.py +213 -0
  353. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs_recheck.py +351 -0
  354. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs_recheck2.py +248 -0
  355. livingproof_capability_report-5.0.5/tests/test_site_validated_viewer_runs_recheck3.py +76 -0
  356. livingproof_capability_report-5.0.5/tests/test_site_verification_gaps.py +672 -0
  357. livingproof_capability_report-5.0.5/tests/test_svg_subset.py +111 -0
  358. livingproof_capability_report-5.0.5/tests/test_terminal.py +69 -0
  359. livingproof_capability_report-5.0.5/tests/test_test_results.py +332 -0
  360. livingproof_capability_report-5.0.5/tests/test_theme_ruff_format.py +21 -0
  361. livingproof_capability_report-5.0.5/tests/test_trial_labels.py +160 -0
  362. livingproof_capability_report-5.0.5/tests/test_trusted_viewer.py +224 -0
  363. livingproof_capability_report-5.0.5/tests/test_ungraded_bundle_cli.py +120 -0
  364. livingproof_capability_report-5.0.5/tests/test_v1_bundle_report_rerender.py +76 -0
  365. livingproof_capability_report-5.0.5/tests/test_verification_gate.py +103 -0
  366. livingproof_capability_report-5.0.5/tests/test_version.py +152 -0
  367. livingproof_capability_report-5.0.5/tests/test_viewer_page.py +83 -0
  368. livingproof_capability_report-5.0.5/tests/test_viewer_page_flow.py +143 -0
  369. livingproof_capability_report-5.0.5/tests/test_workflow_triggers_review.py +230 -0
  370. livingproof_capability_report-5.0.5/tools/Dockerfile.packages +8 -0
  371. livingproof_capability_report-5.0.5/tools/apt-install.sh +82 -0
  372. livingproof_capability_report-5.0.5/tools/compatibility_summary.py +68 -0
  373. livingproof_capability_report-5.0.5/tools/debian.py +79 -0
  374. livingproof_capability_report-5.0.5/tools/debian_evidence.py +60 -0
  375. livingproof_capability_report-5.0.5/tools/docs.py +396 -0
  376. livingproof_capability_report-5.0.5/tools/docs_delivery.py +129 -0
  377. livingproof_capability_report-5.0.5/tools/fetch_common.py +91 -0
  378. livingproof_capability_report-5.0.5/tools/mock_reports.py +941 -0
  379. livingproof_capability_report-5.0.5/tools/package.py +129 -0
  380. livingproof_capability_report-5.0.5/tools/post_release.py +372 -0
  381. livingproof_capability_report-5.0.5/tools/prepare_pypi.py +123 -0
  382. livingproof_capability_report-5.0.5/tools/pypi_handoff.py +124 -0
  383. livingproof_capability_report-5.0.5/tools/record_compatibility.py +68 -0
  384. livingproof_capability_report-5.0.5/tools/registry_release.py +65 -0
  385. livingproof_capability_report-5.0.5/tools/registry_render_smoke.sh +52 -0
  386. livingproof_capability_report-5.0.5/tools/release_assets.py +194 -0
  387. livingproof_capability_report-5.0.5/tools/require_absent_image.py +40 -0
  388. livingproof_capability_report-5.0.5/tools/review/mixed_viewer_history.py +124 -0
  389. livingproof_capability_report-5.0.5/tools/review/viewer_page_browser.cjs +47 -0
  390. livingproof_capability_report-5.0.5/tools/smoke.py +215 -0
  391. livingproof_capability_report-5.0.5/tools/test_results.py +380 -0
  392. livingproof_capability_report-5.0.5/uv.lock +838 -0
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "Living Proof Labs capability report",
3
+ "build": {
4
+ "dockerfile": "../Dockerfile",
5
+ "context": "..",
6
+ "target": "development"
7
+ },
8
+ "workspaceFolder": "/workspace/report",
9
+ "workspaceMount": "source=${localWorkspaceFolder},target=/workspace/report,type=bind",
10
+ "remoteUser": "vscode",
11
+ "updateRemoteUserUID": true,
12
+ "postCreateCommand": ". /usr/local/bin/dev-ca-env.sh && task setup",
13
+ "customizations": {
14
+ "vscode": {
15
+ "extensions": [
16
+ "ms-python.python"
17
+ ],
18
+ "settings": {
19
+ "python.defaultInterpreterPath": "/tmp/report-venv/bin/python"
20
+ }
21
+ }
22
+ },
23
+ "containerEnv": {
24
+ "HTTP_PROXY": "${localEnv:HTTP_PROXY}",
25
+ "HTTPS_PROXY": "${localEnv:HTTPS_PROXY}",
26
+ "NO_PROXY": "${localEnv:NO_PROXY}",
27
+ "http_proxy": "${localEnv:http_proxy}",
28
+ "https_proxy": "${localEnv:https_proxy}",
29
+ "no_proxy": "${localEnv:no_proxy}"
30
+ },
31
+ "mounts": [
32
+ "source=${localEnv:DEV_CA_BUNDLE:/dev/null},target=/run/livingproof/extra-ca.crt,type=bind,readonly"
33
+ ]
34
+ }
@@ -0,0 +1,6 @@
1
+ .git
2
+ .venv
3
+ __pycache__
4
+ .pytest_cache
5
+ .ruff_cache
6
+ dist/image.tar
@@ -0,0 +1,40 @@
1
+ # Reporter Pages operation
2
+
3
+ <a id="reporter-pages-activation-plan"></a>
4
+
5
+ Canonical URL: https://docs.livingprooflabs.com/livingproof-capability-report/.
6
+ No per-project custom domain or CNAME file is needed. Pages uses **GitHub Actions**
7
+ and the `github-pages` environment restricts deployment to `main`.
8
+ Live browser verification of revision `fa1a4e708f3d1330667967fe420adcdf18cbb8ef`
9
+ is recorded in the [verification guide](../docs/verification.md).
10
+
11
+ Keep these deployment boundaries when maintaining the manual:
12
+
13
+ 1. Every push to main delivers the manual, including the demo reports.
14
+ Almost every merge cuts a release: under the shared release rules every
15
+ conventional commit type (`feat`, `fix`, `perf`, `docs`, `chore`, `build`,
16
+ `ci`, `test`, `refactor`, `style`, `revert`) cuts at least a patch release.
17
+ Such a push waits for the verified finalizer of that exact immutable release;
18
+ the read-only manual build installs that released wheel, checks its published
19
+ digest, runs `task docs:verify`'s installed scenario and manual checks, and
20
+ seals only `artifacts/docs/html`. As a safety net, a push that cuts no release
21
+ because no commit since the last tag carries a release type (commits marked
22
+ `[skip release]`, or messages outside the conventional format) builds, checks
23
+ and seals the exact planned main preview of that run instead, labelled
24
+ `Docs: preview X.Y.Z-main.N.A`, so the live manual still follows main.
25
+ 2. Only the separate deployment job is granted `pages: write` and `id-token: write`
26
+ alongside `contents: read`; it uses pinned `actions/deploy-pages`, the `github-pages`
27
+ environment and its returned page URL. Do not checkout or execute repository
28
+ code in that privileged job. No organization-wide default-token change is needed.
29
+ 3. Serialize deployments and check current main inside the deployment lock so an
30
+ older build cannot replace a newer manual. Verify the sealed Pages archive
31
+ by native artifact ID, name and digest. Never deploy pull request artifacts
32
+ or use `pull_request_target`. The **Reporter documentation** retry takes an
33
+ existing immutable stable tag at current main; it cannot publish a release.
34
+ 4. Verify the actual URL, assets, navigation, deep links, search-result opening,
35
+ mobile layout, system/light/dark themes and displayed revision. Record the
36
+ source commit and run after each delivery.
37
+
38
+ The 14-day preview is review evidence, separate from the durable public manual.
39
+ This documentation path does not change package, registry or historical
40
+ release-recovery behavior.
@@ -0,0 +1,44 @@
1
+ name: Verify Docker development environment
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches: [main]
6
+ permissions:
7
+ contents: read
8
+ jobs:
9
+ development:
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ runner: [ubuntu-24.04, ubuntu-24.04-arm]
14
+ runs-on: ${{ matrix.runner }}
15
+ steps:
16
+ - uses: actions/checkout@v4.4.0
17
+ with:
18
+ ref: ${{ github.event.pull_request.head.sha || github.sha }}
19
+ persist-credentials: false
20
+ - uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e
21
+ with:
22
+ version: '3.54.0'
23
+ - run: task dev:build
24
+ - run: task dev:verify
25
+ - run: task dev:docs
26
+ - name: Individual container tests in run summary
27
+ if: ${{ !cancelled() }}
28
+ continue-on-error: true
29
+ uses: dorny/test-reporter@d1b5dff021aa968b288b02285a8bf47471c5928a
30
+ with:
31
+ name: Container reporter tests (${{ matrix.runner }})
32
+ path: artifacts/*tests.xml
33
+ reporter: python-xunit
34
+ use-actions-summary: 'true'
35
+ collapsed: never
36
+ fail-on-error: 'true'
37
+ fail-on-empty: 'true'
38
+ - uses: actions/upload-artifact@v4.6.2
39
+ if: always()
40
+ with:
41
+ name: development-tests-${{ matrix.runner }}
42
+ retention-days: 14
43
+ path: artifacts/
44
+ if-no-files-found: error
@@ -0,0 +1,153 @@
1
+ name: Build verified reporter documentation
2
+ on:
3
+ workflow_call:
4
+ inputs:
5
+ version: {type: string, required: true}
6
+ package_version: {type: string, required: true}
7
+ release_tag: {type: string, required: false, default: ''}
8
+ commit: {type: string, required: true}
9
+ run: {type: string, required: true}
10
+ attempt: {type: string, required: true}
11
+ outputs:
12
+ artifact-id:
13
+ value: ${{ jobs.build.outputs.artifact-id }}
14
+ digest:
15
+ value: ${{ jobs.build.outputs.digest }}
16
+ attempt:
17
+ value: ${{ jobs.build.outputs.attempt }}
18
+ permissions:
19
+ contents: read
20
+ jobs:
21
+ build:
22
+ runs-on: ubuntu-24.04
23
+ permissions:
24
+ contents: read
25
+ outputs:
26
+ artifact-id: ${{ steps.manual-artifact.outputs.artifact-id }}
27
+ digest: ${{ steps.seal.outputs.digest }}
28
+ attempt: ${{ steps.seal.outputs.attempt }}
29
+ env:
30
+ MANUAL_VERSION: ${{ inputs.version }}
31
+ MANUAL_PACKAGE_VERSION: ${{ inputs.package_version }}
32
+ MANUAL_RELEASE_TAG: ${{ inputs.release_tag }}
33
+ PLAN_COMMIT: ${{ inputs.commit }}
34
+ PLAN_RUN: ${{ inputs.run }}
35
+ PLAN_ATTEMPT: ${{ inputs.attempt }}
36
+ steps:
37
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
38
+ with:
39
+ ref: ${{ inputs.commit }}
40
+ fetch-depth: 0
41
+ fetch-tags: true
42
+ persist-credentials: false
43
+ - name: Require the exact source, run and version selection
44
+ env:
45
+ EXPECTED_SOURCE: ${{ github.event.pull_request.head.sha || github.sha }}
46
+ PR_BASE: ${{ github.base_ref }}
47
+ run: |
48
+ set -euo pipefail
49
+ test "$(git rev-parse HEAD)" = "$PLAN_COMMIT"
50
+ test "$PLAN_COMMIT" = "$EXPECTED_SOURCE"
51
+ test "$PLAN_RUN" = "$GITHUB_RUN_ID"
52
+ test "$PLAN_ATTEMPT" = "$GITHUB_RUN_ATTEMPT"
53
+ if [[ "$GITHUB_EVENT_NAME" == 'pull_request' ]]; then
54
+ test -z "$MANUAL_RELEASE_TAG"
55
+ if [[ "$PR_BASE" == 'main' ]]; then
56
+ test -n "$MANUAL_VERSION"
57
+ test -n "$MANUAL_PACKAGE_VERSION"
58
+ fi
59
+ elif [[ -z "$MANUAL_RELEASE_TAG" ]]; then
60
+ # A main push that cuts no release still publishes its manual (#184),
61
+ # as the exact planned main preview of this run.
62
+ test "$GITHUB_EVENT_NAME" = push
63
+ test "$GITHUB_REF" = refs/heads/main
64
+ stable='(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)'
65
+ [[ "$MANUAL_VERSION" =~ ^($stable)-main\.[1-9][0-9]*\.[1-9][0-9]*$ ]]
66
+ [[ "$MANUAL_PACKAGE_VERSION" == "${BASH_REMATCH[1]}".dev[1-9]* ]]
67
+ fi
68
+ - name: Download exact published wheel with release checksums
69
+ if: inputs.release_tag != ''
70
+ env:
71
+ GH_TOKEN: ${{ github.token }}
72
+ run: |
73
+ set -euo pipefail
74
+ [[ "$MANUAL_VERSION" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]
75
+ test "$MANUAL_RELEASE_TAG" = "v$MANUAL_VERSION"
76
+ test "$MANUAL_PACKAGE_VERSION" = "$MANUAL_VERSION"
77
+ test "$(git rev-parse --verify "refs/tags/${MANUAL_RELEASE_TAG}^{commit}")" = "$PLAN_COMMIT"
78
+ mkdir -p artifacts/docs-released-wheel
79
+ gh api "repos/$GITHUB_REPOSITORY/releases/tags/$MANUAL_RELEASE_TAG" \
80
+ > artifacts/docs-released-wheel/release.json
81
+ python3 tools/docs_delivery.py released "$MANUAL_RELEASE_TAG" "$MANUAL_VERSION"
82
+ gh release download "$MANUAL_RELEASE_TAG" --repo "$GITHUB_REPOSITORY" \
83
+ --dir artifacts/docs-released-wheel --pattern SHA256SUMS \
84
+ --pattern "livingproof_capability_report-${MANUAL_VERSION}-py3-none-any.whl"
85
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
86
+ with:
87
+ python-version: '3.12.16'
88
+ - uses: astral-sh/setup-uv@d0d8abe699bfb85fec6de9f7adb5ae17292296ff
89
+ with:
90
+ version: '0.13.10'
91
+ - uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e
92
+ with:
93
+ version: '3.54.0'
94
+ - run: task setup
95
+ - run: task verify
96
+ - run: task docs:prepare
97
+ - run: task test:features
98
+ - run: task docs
99
+ if: ${{ !cancelled() }}
100
+ - run: task test:docs
101
+ if: ${{ !cancelled() }}
102
+ - name: Individual installed scenarios and manual checks
103
+ if: ${{ !cancelled() }}
104
+ continue-on-error: true
105
+ uses: dorny/test-reporter@d1b5dff021aa968b288b02285a8bf47471c5928a
106
+ with:
107
+ name: Reporter documentation scenarios and checks
108
+ path: artifacts/feature-tests.xml,artifacts/docs-tests.xml
109
+ reporter: python-xunit
110
+ use-actions-summary: 'true'
111
+ collapsed: never
112
+ fail-on-error: 'true'
113
+ fail-on-empty: 'true'
114
+ - name: Evidence context
115
+ if: ${{ !cancelled() }}
116
+ run: |
117
+ echo 'Four named installed reporter scenarios; not exhaustive feature coverage. No line coverage measured.' >> "$GITHUB_STEP_SUMMARY"
118
+ echo "Revision: ${{ github.event.pull_request.head.sha || github.sha }}" >> "$GITHUB_STEP_SUMMARY"
119
+ echo 'Documentation preview and raw JUnit are retained for 14 days below. Browser and independent review remain separate.' >> "$GITHUB_STEP_SUMMARY"
120
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
121
+ id: evidence
122
+ if: always()
123
+ with:
124
+ name: reporter-documentation-${{ github.run_attempt }}-${{ inputs.version || 'development' }}
125
+ retention-days: 14
126
+ if-no-files-found: error
127
+ path: |
128
+ artifacts/docs/html/
129
+ artifacts/docs/source/
130
+ artifacts/docs/wheels/
131
+ artifacts/*tests.xml
132
+ - name: Seal the tested manual for exact same-run delivery
133
+ id: seal
134
+ if: inputs.release_tag != '' || github.event_name == 'push'
135
+ run: |
136
+ set -euo pipefail
137
+ python3 tools/docs_delivery.py seal artifacts/docs/html/build.json
138
+ cd artifacts/docs/html
139
+ test -f index.html
140
+ test -z "$(find . ! -type f ! -type d -print -quit)"
141
+ tar --dereference --hard-dereference -cf "$RUNNER_TEMP/artifact.tar" .
142
+ checksum=$(sha256sum "$RUNNER_TEMP/artifact.tar")
143
+ echo "digest=${checksum%% *}" >> "$GITHUB_OUTPUT"
144
+ echo "attempt=$PLAN_ATTEMPT" >> "$GITHUB_OUTPUT"
145
+ - name: Retain the immutable source artifact
146
+ id: manual-artifact
147
+ if: inputs.release_tag != '' || github.event_name == 'push'
148
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
149
+ with:
150
+ name: reporter-sealed-${{ inputs.attempt }}-${{ inputs.version }}
151
+ path: ${{ runner.temp }}/artifact.tar
152
+ retention-days: 14
153
+ if-no-files-found: error
@@ -0,0 +1,194 @@
1
+ name: Deploy reporter documentation
2
+ on:
3
+ workflow_call:
4
+ inputs:
5
+ release_tag: {type: string, required: true}
6
+ version: {type: string, required: true}
7
+ # Set only for the main preview that a non-release push publishes (#184).
8
+ package_version: {type: string, required: false, default: ''}
9
+ commit: {type: string, required: true}
10
+ run: {type: string, required: true}
11
+ attempt: {type: string, required: true}
12
+ artifact_id: {type: string, required: true}
13
+ digest: {type: string, required: true}
14
+ permissions:
15
+ contents: read
16
+ jobs:
17
+ deploy:
18
+ if: >-
19
+ github.ref == 'refs/heads/main' &&
20
+ (github.event_name == 'push' ||
21
+ (github.event_name == 'workflow_dispatch' &&
22
+ github.event.inputs.replay_tag != '' &&
23
+ github.event.inputs.replay_tag == inputs.release_tag))
24
+ runs-on: ubuntu-24.04
25
+ permissions:
26
+ contents: read
27
+ pages: write
28
+ id-token: write
29
+ concurrency:
30
+ group: reporter-pages-deployment
31
+ cancel-in-progress: false
32
+ environment:
33
+ name: github-pages
34
+ url: ${{ steps.deployment.outputs.page_url }}
35
+ env:
36
+ RELEASE_TAG: ${{ inputs.release_tag }}
37
+ VERSION: ${{ inputs.version }}
38
+ PACKAGE_VERSION: ${{ inputs.package_version }}
39
+ SOURCE: ${{ inputs.commit }}
40
+ PLAN_RUN: ${{ inputs.run }}
41
+ PLAN_ATTEMPT: ${{ inputs.attempt }}
42
+ ARTIFACT_ID: ${{ inputs.artifact_id }}
43
+ DIGEST: ${{ inputs.digest }}
44
+ REPLAY_TAG: ${{ github.event.inputs.replay_tag }}
45
+ steps:
46
+ # Keep this privileged job free of repository checkout and execution.
47
+ - name: Verify same-run release or main preview and deployment identity
48
+ run: |
49
+ set -euo pipefail
50
+ stable='(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)'
51
+ if [[ -z "$RELEASE_TAG" ]]; then
52
+ # Every main push that cuts no release deploys its own preview (#184).
53
+ test "$GITHUB_EVENT_NAME" = push
54
+ [[ "$VERSION" =~ ^($stable)-main\.[1-9][0-9]*\.[1-9][0-9]*$ ]]
55
+ [[ "$PACKAGE_VERSION" =~ ^${BASH_REMATCH[1]//./\\.}\.dev[1-9][0-9]*$ ]]
56
+ else
57
+ [[ "$VERSION" =~ ^$stable$ ]]
58
+ test "$RELEASE_TAG" = "v$VERSION"
59
+ fi
60
+ [[ "$ARTIFACT_ID" =~ ^[1-9][0-9]*$ ]]
61
+ [[ "$PLAN_ATTEMPT" =~ ^[1-9][0-9]{0,5}$ ]]
62
+ test "$PLAN_ATTEMPT" -le "$GITHUB_RUN_ATTEMPT"
63
+ if [[ "$GITHUB_EVENT_NAME" == 'workflow_dispatch' ]]; then
64
+ test "$PLAN_ATTEMPT" = "$GITHUB_RUN_ATTEMPT"
65
+ test "$REPLAY_TAG" = "$RELEASE_TAG"
66
+ fi
67
+ test "$SOURCE" = "$GITHUB_SHA"
68
+ test "$PLAN_RUN" = "$GITHUB_RUN_ID"
69
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
70
+ with:
71
+ artifact-ids: ${{ inputs.artifact_id }}
72
+ path: ${{ runner.temp }}/verified-reporter
73
+ merge-multiple: true
74
+ - name: Use the exact sealed bytes and validate their build identity
75
+ id: pages-package
76
+ run: |
77
+ set -euo pipefail
78
+ [[ "$DIGEST" =~ ^[0-9a-f]{64}$ ]]
79
+ archive="$RUNNER_TEMP/verified-reporter/artifact.tar"
80
+ printf '%s %s\n' "$DIGEST" "$archive" | sha256sum --check
81
+ python3 - "$archive" <<'PYTHON'
82
+ import json
83
+ import os
84
+ import re
85
+ import sys
86
+ import tarfile
87
+
88
+ with tarfile.open(sys.argv[1], mode="r:") as tar:
89
+ records = [entry for entry in tar if entry.name == "./build.json"]
90
+ if len(records) != 1 or not records[0].isfile():
91
+ raise SystemExit("Expected exactly one regular build.json in the sealed manual")
92
+ with tar.extractfile(records[0]) as stream:
93
+ record = json.load(stream)
94
+ tag = os.environ["RELEASE_TAG"]
95
+ expected = {
96
+ "edition": "release" if tag else "preview", "version": os.environ["VERSION"],
97
+ "package_version": os.environ["VERSION"] if tag else os.environ["PACKAGE_VERSION"],
98
+ "release_tag": tag or None,
99
+ "source_commit": os.environ["SOURCE"], "source_dirty": False,
100
+ "run_id": os.environ["PLAN_RUN"], "run_attempt": os.environ["PLAN_ATTEMPT"],
101
+ }
102
+ if any(record.get(key) != value for key, value in expected.items()):
103
+ raise SystemExit("Sealed manual does not match the planned version, source and run")
104
+ if not re.fullmatch(r"[0-9a-f]{64}", record.get("wheel_sha256", "")):
105
+ raise SystemExit("Sealed manual does not identify its wheel")
106
+ PYTHON
107
+ cp "$archive" "$RUNNER_TEMP/artifact.tar"
108
+ echo "tar-sha256=$DIGEST" >> "$GITHUB_OUTPUT"
109
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
110
+ id: pages-artifact
111
+ with:
112
+ name: github-pages-${{ github.run_attempt }}
113
+ path: ${{ runner.temp }}/artifact.tar
114
+ retention-days: 1
115
+ if-no-files-found: error
116
+ # Use the same-run Actions artifact client (like deploy-pages), not the REST index.
117
+ # An exact ID and name must both resolve to the sealed Pages tar before deploying.
118
+ - name: Require a valid Pages artifact ID
119
+ shell: bash
120
+ env:
121
+ UPLOADED_ID: ${{ steps.pages-artifact.outputs.artifact-id }}
122
+ run: |
123
+ [[ "$UPLOADED_ID" =~ ^[1-9][0-9]*$ ]]
124
+ - name: Read exact Pages artifact by ID
125
+ id: pages-id-first
126
+ continue-on-error: true
127
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
128
+ with:
129
+ artifact-ids: ${{ steps.pages-artifact.outputs.artifact-id }}
130
+ path: ${{ runner.temp }}/reporter-pages-id-first
131
+ - name: Allow the ID lookup to settle
132
+ if: steps.pages-id-first.outcome == 'failure'
133
+ run: sleep 4
134
+ - name: Retry read by ID once
135
+ id: pages-id-retry
136
+ if: steps.pages-id-first.outcome == 'failure'
137
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
138
+ with:
139
+ artifact-ids: ${{ steps.pages-artifact.outputs.artifact-id }}
140
+ path: ${{ runner.temp }}/reporter-pages-id-retry
141
+ - name: Read exact Pages artifact by name
142
+ id: pages-name-first
143
+ continue-on-error: true
144
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
145
+ with:
146
+ name: github-pages-${{ github.run_attempt }}
147
+ path: ${{ runner.temp }}/reporter-pages-name-first
148
+ - name: Allow the name lookup to settle
149
+ if: steps.pages-name-first.outcome == 'failure'
150
+ run: sleep 4
151
+ - name: Retry read by name once
152
+ id: pages-name-retry
153
+ if: steps.pages-name-first.outcome == 'failure'
154
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
155
+ with:
156
+ name: github-pages-${{ github.run_attempt }}
157
+ path: ${{ runner.temp }}/reporter-pages-name-retry
158
+ - name: Require matching ID and name readback of the exact tar
159
+ shell: bash
160
+ env:
161
+ EXPECTED_TAR: ${{ steps.pages-package.outputs.tar-sha256 }}
162
+ EXPECTED_NAME: github-pages-${{ github.run_attempt }}
163
+ ID_READBACK: ${{ steps.pages-id-first.outcome == 'success' && steps.pages-id-first.outputs.download-path || steps.pages-id-retry.outputs.download-path }}
164
+ NAME_READBACK: ${{ steps.pages-name-first.outcome == 'success' && steps.pages-name-first.outputs.download-path || steps.pages-name-retry.outputs.download-path }}
165
+ run: |
166
+ set -euo pipefail
167
+ [[ "$EXPECTED_TAR" =~ ^[0-9a-f]{64}$ ]]
168
+ test -n "$ID_READBACK"
169
+ test -n "$NAME_READBACK"
170
+ for path in "$ID_READBACK/$EXPECTED_NAME" "$NAME_READBACK"; do
171
+ test -f "$path/artifact.tar"
172
+ digest=$(sha256sum "$path/artifact.tar")
173
+ test "${digest%% *}" = "$EXPECTED_TAR"
174
+ done
175
+ - name: Check current main inside deployment lock
176
+ id: freshness
177
+ env:
178
+ GH_TOKEN: ${{ github.token }}
179
+ GH_REPO: ${{ github.repository }}
180
+ CANDIDATE_SHA: ${{ github.sha }}
181
+ run: |
182
+ set -euo pipefail
183
+ current=$(gh api "repos/$GH_REPO/git/ref/heads/main" --jq .object.sha)
184
+ if [ "$current" = "$CANDIDATE_SHA" ]; then
185
+ echo 'current=true' >> "$GITHUB_OUTPUT"
186
+ else
187
+ echo 'Skipped superseded documentation revision.' >> "$GITHUB_STEP_SUMMARY"
188
+ echo 'current=false' >> "$GITHUB_OUTPUT"
189
+ fi
190
+ - uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
191
+ id: deployment
192
+ if: steps.freshness.outputs.current == 'true'
193
+ with:
194
+ artifact_name: github-pages-${{ github.run_attempt }}
@@ -0,0 +1,69 @@
1
+ name: Reporter documentation
2
+ on:
3
+ pull_request:
4
+ workflow_dispatch:
5
+ inputs:
6
+ replay_tag:
7
+ description: Existing published stable tag at current main, for Pages delivery only
8
+ required: true
9
+ type: string
10
+ permissions:
11
+ contents: read
12
+ jobs:
13
+ version:
14
+ if: >-
15
+ (github.event_name == 'pull_request' && github.base_ref == 'main') ||
16
+ (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
17
+ permissions:
18
+ contents: read
19
+ uses: Living-Proof-Labs/collaboration-guidelines/.github/workflows/semantic-release-candidate.yml@v9.14.0
20
+ with:
21
+ replay-tag: ${{ inputs.replay_tag || '' }}
22
+ manual:
23
+ needs: version
24
+ if: >-
25
+ !cancelled() &&
26
+ ((github.event_name == 'pull_request' &&
27
+ (needs.version.result == 'success' ||
28
+ (github.base_ref != 'main' && needs.version.result == 'skipped'))) ||
29
+ (github.event_name == 'workflow_dispatch' &&
30
+ github.ref == 'refs/heads/main' &&
31
+ needs.version.result == 'success' &&
32
+ inputs.replay_tag == format('v{0}', needs.version.outputs.semver-version) &&
33
+ needs.version.outputs.commit == github.sha &&
34
+ needs.version.outputs.run-id == github.run_id &&
35
+ needs.version.outputs.run-attempt == github.run_attempt))
36
+ permissions:
37
+ contents: read
38
+ uses: ./.github/workflows/documentation-build.yml
39
+ with:
40
+ version: ${{ needs.version.outputs.semver-version }}
41
+ package_version: ${{ needs.version.outputs.pep440-version }}
42
+ release_tag: ${{ inputs.replay_tag || '' }}
43
+ commit: ${{ needs.version.outputs.commit || github.event.pull_request.head.sha }}
44
+ run: ${{ needs.version.outputs.run-id || github.run_id }}
45
+ attempt: ${{ needs.version.outputs.run-attempt || github.run_attempt }}
46
+ deploy-manual:
47
+ needs: [version, manual]
48
+ if: >-
49
+ github.event_name == 'workflow_dispatch' &&
50
+ github.ref == 'refs/heads/main' &&
51
+ inputs.replay_tag == format('v{0}', needs.version.outputs.semver-version) &&
52
+ needs.version.outputs.commit == github.sha &&
53
+ needs.version.outputs.run-id == github.run_id &&
54
+ needs.version.outputs.run-attempt == github.run_attempt &&
55
+ needs.manual.outputs.artifact-id != '' &&
56
+ needs.manual.outputs.digest != ''
57
+ permissions:
58
+ contents: read
59
+ pages: write
60
+ id-token: write
61
+ uses: ./.github/workflows/documentation-deploy.yml
62
+ with:
63
+ release_tag: ${{ inputs.replay_tag }}
64
+ version: ${{ needs.version.outputs.semver-version }}
65
+ commit: ${{ needs.version.outputs.commit }}
66
+ run: ${{ needs.version.outputs.run-id }}
67
+ attempt: ${{ needs.version.outputs.run-attempt }}
68
+ artifact_id: ${{ needs.manual.outputs.artifact-id }}
69
+ digest: ${{ needs.manual.outputs.digest }}
@@ -0,0 +1,92 @@
1
+ # SPDX-License-Identifier: Apache-2.0
2
+ name: Publish verified Reporter to PyPI
3
+ run-name: PyPI ${{ inputs.release_tag }} @ ${{ inputs.source_sha }}
4
+ on:
5
+ workflow_dispatch:
6
+ inputs:
7
+ release_tag:
8
+ description: Exact immutable GitHub release tag, vX.Y.Z.
9
+ required: true
10
+ type: string
11
+ source_sha:
12
+ description: Exact 40-character source commit of that release.
13
+ required: true
14
+ type: string
15
+ release_run_id:
16
+ description: GitHub Actions ID of the protected-main handoff run.
17
+ required: true
18
+ type: string
19
+ permissions: {}
20
+ jobs:
21
+ prepare:
22
+ if: >-
23
+ github.repository == 'Living-Proof-Labs/livingproof-capability-report' &&
24
+ github.actor == 'github-actions[bot]' && github.event_name == 'workflow_dispatch' &&
25
+ github.ref == 'refs/heads/main' && github.ref_protected
26
+ runs-on: ubuntu-24.04
27
+ timeout-minutes: 20
28
+ permissions:
29
+ actions: read
30
+ contents: read
31
+ outputs:
32
+ checksums: ${{ steps.prepare.outputs.checksums }}
33
+ artifact: verified-pypi-distributions-${{ github.run_attempt }}
34
+ steps:
35
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
36
+ with:
37
+ persist-credentials: false
38
+ - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
39
+ with:
40
+ version: '0.13.10'
41
+ - name: Verify immutable release, source and exact distribution bytes
42
+ id: prepare
43
+ env:
44
+ GH_TOKEN: ${{ github.token }}
45
+ RELEASE_TAG: ${{ inputs.release_tag }}
46
+ RELEASE_COMMIT: ${{ inputs.source_sha }}
47
+ HANDOFF_RUN_ID: ${{ inputs.release_run_id }}
48
+ run: uv run --no-project --with packaging==26.3 python tools/prepare_pypi.py "$RELEASE_TAG" "$RELEASE_COMMIT" "$HANDOFF_RUN_ID"
49
+ - name: Check metadata and clean public-index installs
50
+ env:
51
+ RELEASE_TAG: ${{ inputs.release_tag }}
52
+ PIP_CONFIG_FILE: /dev/null
53
+ run: |
54
+ export RELEASE_VERSION="${RELEASE_TAG#v}"
55
+ uvx --with packaging==26.2 --from twine==7.0.0 twine check --strict pypi-dist/*
56
+ uv venv --seed "$RUNNER_TEMP/pypi-wheel"
57
+ uv venv --seed "$RUNNER_TEMP/pypi-source"
58
+ "$RUNNER_TEMP/pypi-wheel/bin/python" -m pip install --index-url https://pypi.org/simple "$GITHUB_WORKSPACE"/pypi-dist/*.whl
59
+ "$RUNNER_TEMP/pypi-source/bin/python" -m pip install --index-url https://pypi.org/simple "$GITHUB_WORKSPACE"/pypi-dist/*.tar.gz
60
+ cd "$RUNNER_TEMP"
61
+ for kind in wheel source; do
62
+ "$RUNNER_TEMP/pypi-$kind/bin/python" -m pip check
63
+ "$RUNNER_TEMP/pypi-$kind/bin/livingproof-capability-report" --help
64
+ "$RUNNER_TEMP/pypi-$kind/bin/python" -c 'import importlib.metadata as m, os; d=m.distribution("livingproof-capability-report"); assert d.version == os.environ["RELEASE_VERSION"]; e,=[e for e in d.entry_points if e.group == "livingproof.capability.commands" and e.name == "report"]; assert callable(e.load())'
65
+ done
66
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
67
+ with:
68
+ name: verified-pypi-distributions-${{ github.run_attempt }}
69
+ path: pypi-dist/
70
+ if-no-files-found: error
71
+ retention-days: 14
72
+ publish:
73
+ needs: prepare
74
+ runs-on: ubuntu-24.04
75
+ timeout-minutes: 10
76
+ environment: pypi
77
+ concurrency:
78
+ group: reporter-pypi-publication-${{ inputs.release_tag }}
79
+ cancel-in-progress: false
80
+ permissions:
81
+ id-token: write
82
+ steps:
83
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
84
+ with:
85
+ name: ${{ needs.prepare.outputs.artifact }}
86
+ path: pypi-dist/
87
+ - uses: Living-Proof-Labs/collaboration-guidelines/.github/actions/verify-pypi@03e25e8967c9c9ba482cc2742040348988081bca # v9.14.1
88
+ with:
89
+ checksums: ${{ needs.prepare.outputs.checksums }}
90
+ - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
91
+ with:
92
+ packages-dir: pypi-dist/