onetrace-console 0.1.0__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 (239) hide show
  1. onetrace_console-0.1.0/LICENSE +201 -0
  2. onetrace_console-0.1.0/PKG-INFO +91 -0
  3. onetrace_console-0.1.0/PYPI_DESCRIPTION.md +76 -0
  4. onetrace_console-0.1.0/README.md +76 -0
  5. onetrace_console-0.1.0/pyproject.toml +106 -0
  6. onetrace_console-0.1.0/setup.cfg +4 -0
  7. onetrace_console-0.1.0/src/onetrace_console/__init__.py +10 -0
  8. onetrace_console-0.1.0/src/onetrace_console/__main__.py +235 -0
  9. onetrace_console-0.1.0/src/onetrace_console/access_log.py +209 -0
  10. onetrace_console-0.1.0/src/onetrace_console/accounts.py +177 -0
  11. onetrace_console-0.1.0/src/onetrace_console/authorization.py +97 -0
  12. onetrace_console-0.1.0/src/onetrace_console/board7.py +374 -0
  13. onetrace_console-0.1.0/src/onetrace_console/bounded_json.py +63 -0
  14. onetrace_console-0.1.0/src/onetrace_console/checks.py +503 -0
  15. onetrace_console-0.1.0/src/onetrace_console/compare.py +561 -0
  16. onetrace_console-0.1.0/src/onetrace_console/config.py +359 -0
  17. onetrace_console-0.1.0/src/onetrace_console/export_static.py +245 -0
  18. onetrace_console-0.1.0/src/onetrace_console/folder_load.py +318 -0
  19. onetrace_console-0.1.0/src/onetrace_console/frame.py +312 -0
  20. onetrace_console-0.1.0/src/onetrace_console/home.py +292 -0
  21. onetrace_console-0.1.0/src/onetrace_console/incident_pages.py +257 -0
  22. onetrace_console-0.1.0/src/onetrace_console/incidents.py +349 -0
  23. onetrace_console-0.1.0/src/onetrace_console/ingest.py +803 -0
  24. onetrace_console-0.1.0/src/onetrace_console/ingester_tokens.py +138 -0
  25. onetrace_console-0.1.0/src/onetrace_console/install_report.py +32 -0
  26. onetrace_console-0.1.0/src/onetrace_console/onedoor_ext/__init__.py +13 -0
  27. onetrace_console-0.1.0/src/onetrace_console/onedoor_ext/decision_incidents.py +100 -0
  28. onetrace_console-0.1.0/src/onetrace_console/onedoor_ext/decision_refs.py +231 -0
  29. onetrace_console-0.1.0/src/onetrace_console/onedoor_ext/decisions.py +412 -0
  30. onetrace_console-0.1.0/src/onetrace_console/onedoor_ext/policy_pages.py +308 -0
  31. onetrace_console-0.1.0/src/onetrace_console/overview.py +392 -0
  32. onetrace_console-0.1.0/src/onetrace_console/pages.py +462 -0
  33. onetrace_console-0.1.0/src/onetrace_console/partners.py +105 -0
  34. onetrace_console-0.1.0/src/onetrace_console/preview.py +174 -0
  35. onetrace_console-0.1.0/src/onetrace_console/public.py +132 -0
  36. onetrace_console-0.1.0/src/onetrace_console/rate_limit.py +78 -0
  37. onetrace_console-0.1.0/src/onetrace_console/receipt_page.py +216 -0
  38. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/MANIFEST.json +1 -0
  39. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/01-request/request.json +1 -0
  40. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/02-context/context.json +1 -0
  41. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/04-tests_2/test-results.json +1 -0
  42. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/05-model/model-output.json +1 -0
  43. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/06-proposal/proposal.json +1 -0
  44. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/artifacts/07-config-applied/auth.json +1 -0
  45. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/documents.json +1 -0
  46. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/01-request.json +1 -0
  47. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/02-context.json +1 -0
  48. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/03-tests_1.json +1 -0
  49. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/04-tests_2.json +1 -0
  50. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/05-model.json +1 -0
  51. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/06-proposal.json +1 -0
  52. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/receipts/07-config-applied.json +1 -0
  53. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/signatures/1.json +1 -0
  54. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-1/test-results.json +1 -0
  55. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/MANIFEST.json +1 -0
  56. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/01-request/request.json +1 -0
  57. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/02-context/context.json +1 -0
  58. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/04-tests_2/test-results.json +1 -0
  59. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/05-model/model-output.json +1 -0
  60. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/06-proposal/proposal.json +1 -0
  61. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/artifacts/07-config-applied/auth.json +1 -0
  62. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/documents.json +1 -0
  63. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/01-request.json +1 -0
  64. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/02-context.json +1 -0
  65. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/03-tests_1.json +1 -0
  66. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/04-tests_2.json +1 -0
  67. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/05-model.json +1 -0
  68. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/06-proposal.json +1 -0
  69. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/receipts/07-config-applied.json +1 -0
  70. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/signatures/1.json +1 -0
  71. onetrace_console-0.1.0/src/onetrace_console/reference_demo/runs/day-2/test-results.json +1 -0
  72. onetrace_console-0.1.0/src/onetrace_console/reference_demo/trust.json +9 -0
  73. onetrace_console-0.1.0/src/onetrace_console/render.py +1414 -0
  74. onetrace_console-0.1.0/src/onetrace_console/requirements.lock +42 -0
  75. onetrace_console-0.1.0/src/onetrace_console/roles.py +115 -0
  76. onetrace_console-0.1.0/src/onetrace_console/serve.py +1423 -0
  77. onetrace_console-0.1.0/src/onetrace_console/sessions.py +88 -0
  78. onetrace_console-0.1.0/src/onetrace_console/signin.py +156 -0
  79. onetrace_console-0.1.0/src/onetrace_console/stage_pages.py +268 -0
  80. onetrace_console-0.1.0/src/onetrace_console/staging.py +127 -0
  81. onetrace_console-0.1.0/src/onetrace_console/static/fonts/FONTS.md +28 -0
  82. onetrace_console-0.1.0/src/onetrace_console/static/fonts/IBMPlexMono-Medium.woff2 +0 -0
  83. onetrace_console-0.1.0/src/onetrace_console/static/fonts/IBMPlexMono-Regular.woff2 +0 -0
  84. onetrace_console-0.1.0/src/onetrace_console/static/fonts/IBMPlexSans-Medium.woff2 +0 -0
  85. onetrace_console-0.1.0/src/onetrace_console/static/fonts/IBMPlexSans-Regular.woff2 +0 -0
  86. onetrace_console-0.1.0/src/onetrace_console/static/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
  87. onetrace_console-0.1.0/src/onetrace_console/static/fonts/OFL.txt +93 -0
  88. onetrace_console-0.1.0/src/onetrace_console/store.py +536 -0
  89. onetrace_console-0.1.0/src/onetrace_console/textdiff_view.py +292 -0
  90. onetrace_console-0.1.0/src/onetrace_console/unreadable.py +152 -0
  91. onetrace_console-0.1.0/src/onetrace_console/viewer/PROVENANCE.md +33 -0
  92. onetrace_console-0.1.0/src/onetrace_console/viewer/__init__.py +12 -0
  93. onetrace_console-0.1.0/src/onetrace_console/viewer/__main__.py +162 -0
  94. onetrace_console-0.1.0/src/onetrace_console/viewer/_vendor/ONETRACE_CONSOLE_SKIN_v1.md +60 -0
  95. onetrace_console-0.1.0/src/onetrace_console/viewer/_vendor/skin.SHA256 +1 -0
  96. onetrace_console-0.1.0/src/onetrace_console/viewer/depth.py +108 -0
  97. onetrace_console-0.1.0/src/onetrace_console/viewer/fingerprint.py +55 -0
  98. onetrace_console-0.1.0/src/onetrace_console/viewer/graph.py +381 -0
  99. onetrace_console-0.1.0/src/onetrace_console/viewer/model.py +1723 -0
  100. onetrace_console-0.1.0/src/onetrace_console/viewer/page.py +933 -0
  101. onetrace_console-0.1.0/src/onetrace_console/viewer/record.py +169 -0
  102. onetrace_console-0.1.0/src/onetrace_console/viewer/report.py +667 -0
  103. onetrace_console-0.1.0/src/onetrace_console/viewer/sentences.py +1026 -0
  104. onetrace_console-0.1.0/src/onetrace_console/viewer/slot.py +20 -0
  105. onetrace_console-0.1.0/src/onetrace_console/viewer/tokens.py +76 -0
  106. onetrace_console-0.1.0/src/onetrace_console/viewer/verbs.py +559 -0
  107. onetrace_console-0.1.0/src/onetrace_console/words.py +169 -0
  108. onetrace_console-0.1.0/src/onetrace_console.egg-info/PKG-INFO +91 -0
  109. onetrace_console-0.1.0/src/onetrace_console.egg-info/SOURCES.txt +237 -0
  110. onetrace_console-0.1.0/src/onetrace_console.egg-info/dependency_links.txt +1 -0
  111. onetrace_console-0.1.0/src/onetrace_console.egg-info/entry_points.txt +2 -0
  112. onetrace_console-0.1.0/src/onetrace_console.egg-info/requires.txt +5 -0
  113. onetrace_console-0.1.0/src/onetrace_console.egg-info/top_level.txt +1 -0
  114. onetrace_console-0.1.0/tests/test_a2_placeholders.py +122 -0
  115. onetrace_console-0.1.0/tests/test_access_log.py +128 -0
  116. onetrace_console-0.1.0/tests/test_accounts.py +177 -0
  117. onetrace_console-0.1.0/tests/test_admin_cli.py +109 -0
  118. onetrace_console-0.1.0/tests/test_arrival_ties.py +168 -0
  119. onetrace_console-0.1.0/tests/test_authorization_page.py +184 -0
  120. onetrace_console-0.1.0/tests/test_board7.py +397 -0
  121. onetrace_console-0.1.0/tests/test_board7_look.py +20 -0
  122. onetrace_console-0.1.0/tests/test_bounded_json.py +253 -0
  123. onetrace_console-0.1.0/tests/test_changes_table_wrap.py +75 -0
  124. onetrace_console-0.1.0/tests/test_check_cli.py +128 -0
  125. onetrace_console-0.1.0/tests/test_checks.py +269 -0
  126. onetrace_console-0.1.0/tests/test_compare.py +544 -0
  127. onetrace_console-0.1.0/tests/test_compare_graph.py +169 -0
  128. onetrace_console-0.1.0/tests/test_comparisons_index.py +136 -0
  129. onetrace_console-0.1.0/tests/test_config.py +209 -0
  130. onetrace_console-0.1.0/tests/test_config_errors.py +90 -0
  131. onetrace_console-0.1.0/tests/test_container_tls.py +72 -0
  132. onetrace_console-0.1.0/tests/test_coverage_claims.py +266 -0
  133. onetrace_console-0.1.0/tests/test_decision_incidents.py +105 -0
  134. onetrace_console-0.1.0/tests/test_decision_refs.py +190 -0
  135. onetrace_console-0.1.0/tests/test_decisions_ingest.py +229 -0
  136. onetrace_console-0.1.0/tests/test_delivered_stages.py +165 -0
  137. onetrace_console-0.1.0/tests/test_deploy_fly.py +105 -0
  138. onetrace_console-0.1.0/tests/test_diff_sdk_text_layer.py +377 -0
  139. onetrace_console-0.1.0/tests/test_dockerignore.py +112 -0
  140. onetrace_console-0.1.0/tests/test_dropped_upload_500.py +200 -0
  141. onetrace_console-0.1.0/tests/test_exclusive_port.py +75 -0
  142. onetrace_console-0.1.0/tests/test_export_static.py +372 -0
  143. onetrace_console-0.1.0/tests/test_fixture_sources.py +108 -0
  144. onetrace_console-0.1.0/tests/test_folder_load.py +352 -0
  145. onetrace_console-0.1.0/tests/test_followup.py +239 -0
  146. onetrace_console-0.1.0/tests/test_followup_names.py +183 -0
  147. onetrace_console-0.1.0/tests/test_followup_rows.py +77 -0
  148. onetrace_console-0.1.0/tests/test_fonts.py +101 -0
  149. onetrace_console-0.1.0/tests/test_frame.py +349 -0
  150. onetrace_console-0.1.0/tests/test_framed_boundary_section.py +32 -0
  151. onetrace_console-0.1.0/tests/test_home_and_diff.py +701 -0
  152. onetrace_console-0.1.0/tests/test_incidents.py +779 -0
  153. onetrace_console-0.1.0/tests/test_ingest.py +304 -0
  154. onetrace_console-0.1.0/tests/test_ingester_tokens.py +77 -0
  155. onetrace_console-0.1.0/tests/test_install_pinned_fresh.py +60 -0
  156. onetrace_console-0.1.0/tests/test_ipv6_probe.py +97 -0
  157. onetrace_console-0.1.0/tests/test_item12_look_rules.py +80 -0
  158. onetrace_console-0.1.0/tests/test_last_attempt_failed.py +278 -0
  159. onetrace_console-0.1.0/tests/test_license.py +41 -0
  160. onetrace_console-0.1.0/tests/test_local_mode.py +331 -0
  161. onetrace_console-0.1.0/tests/test_no_colour_literals.py +27 -0
  162. onetrace_console-0.1.0/tests/test_no_internal_ids.py +63 -0
  163. onetrace_console-0.1.0/tests/test_no_records.py +59 -0
  164. onetrace_console-0.1.0/tests/test_one_to_one.py +120 -0
  165. onetrace_console-0.1.0/tests/test_onedoor_ext_isolation.py +196 -0
  166. onetrace_console-0.1.0/tests/test_overview.py +460 -0
  167. onetrace_console-0.1.0/tests/test_overview_anchoring.py +125 -0
  168. onetrace_console-0.1.0/tests/test_overview_banner.py +59 -0
  169. onetrace_console-0.1.0/tests/test_overview_look.py +216 -0
  170. onetrace_console-0.1.0/tests/test_own_check.py +51 -0
  171. onetrace_console-0.1.0/tests/test_packaging.py +258 -0
  172. onetrace_console-0.1.0/tests/test_page_polish.py +409 -0
  173. onetrace_console-0.1.0/tests/test_pages.py +313 -0
  174. onetrace_console-0.1.0/tests/test_path_hygiene.py +67 -0
  175. onetrace_console-0.1.0/tests/test_pin_012.py +226 -0
  176. onetrace_console-0.1.0/tests/test_pins.py +237 -0
  177. onetrace_console-0.1.0/tests/test_policy_pages.py +306 -0
  178. onetrace_console-0.1.0/tests/test_preview.py +250 -0
  179. onetrace_console-0.1.0/tests/test_preview_banner.py +62 -0
  180. onetrace_console-0.1.0/tests/test_preview_ingest.py +88 -0
  181. onetrace_console-0.1.0/tests/test_preview_runs.py +133 -0
  182. onetrace_console-0.1.0/tests/test_public_mode.py +644 -0
  183. onetrace_console-0.1.0/tests/test_pypi_description.py +176 -0
  184. onetrace_console-0.1.0/tests/test_ran_as_approved.py +55 -0
  185. onetrace_console-0.1.0/tests/test_rate_limit.py +97 -0
  186. onetrace_console-0.1.0/tests/test_receipt_page.py +219 -0
  187. onetrace_console-0.1.0/tests/test_reference_demo.py +406 -0
  188. onetrace_console-0.1.0/tests/test_release1_extension.py +42 -0
  189. onetrace_console-0.1.0/tests/test_rereview_fixes.py +243 -0
  190. onetrace_console-0.1.0/tests/test_review_fixes.py +339 -0
  191. onetrace_console-0.1.0/tests/test_roles.py +115 -0
  192. onetrace_console-0.1.0/tests/test_roles_enforcement.py +317 -0
  193. onetrace_console-0.1.0/tests/test_round4_fixes.py +651 -0
  194. onetrace_console-0.1.0/tests/test_round4_recheck_fixes.py +417 -0
  195. onetrace_console-0.1.0/tests/test_rows_unreadable_console.py +168 -0
  196. onetrace_console-0.1.0/tests/test_run_level_agreement.py +74 -0
  197. onetrace_console-0.1.0/tests/test_run_names.py +84 -0
  198. onetrace_console-0.1.0/tests/test_run_page_marks.py +290 -0
  199. onetrace_console-0.1.0/tests/test_runs_page_sentence.py +89 -0
  200. onetrace_console-0.1.0/tests/test_same_change_words.py +60 -0
  201. onetrace_console-0.1.0/tests/test_same_run.py +30 -0
  202. onetrace_console-0.1.0/tests/test_scroll_cue.py +141 -0
  203. onetrace_console-0.1.0/tests/test_sdk_escaping_class.py +42 -0
  204. onetrace_console-0.1.0/tests/test_sdk_folder_names.py +39 -0
  205. onetrace_console-0.1.0/tests/test_sdk_identity.py +91 -0
  206. onetrace_console-0.1.0/tests/test_serve.py +284 -0
  207. onetrace_console-0.1.0/tests/test_serve_onedoor.py +82 -0
  208. onetrace_console-0.1.0/tests/test_sessions.py +67 -0
  209. onetrace_console-0.1.0/tests/test_sidecar_sums_exact.py +71 -0
  210. onetrace_console-0.1.0/tests/test_sign_in_default.py +64 -0
  211. onetrace_console-0.1.0/tests/test_signed_run.py +156 -0
  212. onetrace_console-0.1.0/tests/test_signed_surfaces.py +189 -0
  213. onetrace_console-0.1.0/tests/test_signin.py +153 -0
  214. onetrace_console-0.1.0/tests/test_signin_flow.py +307 -0
  215. onetrace_console-0.1.0/tests/test_stage_badges.py +87 -0
  216. onetrace_console-0.1.0/tests/test_stage_pages.py +225 -0
  217. onetrace_console-0.1.0/tests/test_staging.py +412 -0
  218. onetrace_console-0.1.0/tests/test_step3_receipt_anchor.py +173 -0
  219. onetrace_console-0.1.0/tests/test_storage_doc.py +258 -0
  220. onetrace_console-0.1.0/tests/test_store_backlog.py +50 -0
  221. onetrace_console-0.1.0/tests/test_stored_vs_delivery.py +592 -0
  222. onetrace_console-0.1.0/tests/test_sums_forms.py +138 -0
  223. onetrace_console-0.1.0/tests/test_textdiff_more.py +197 -0
  224. onetrace_console-0.1.0/tests/test_textdiff_view.py +182 -0
  225. onetrace_console-0.1.0/tests/test_third_review_fixes.py +263 -0
  226. onetrace_console-0.1.0/tests/test_tls.py +117 -0
  227. onetrace_console-0.1.0/tests/test_tmpdir_left_as_found.py +36 -0
  228. onetrace_console-0.1.0/tests/test_token_cli.py +112 -0
  229. onetrace_console-0.1.0/tests/test_unreadable.py +160 -0
  230. onetrace_console-0.1.0/tests/test_upload_hardening.py +409 -0
  231. onetrace_console-0.1.0/tests/test_user_facing_strings.py +108 -0
  232. onetrace_console-0.1.0/tests/test_ux_screens.py +352 -0
  233. onetrace_console-0.1.0/tests/test_verdict_exit.py +43 -0
  234. onetrace_console-0.1.0/tests/test_verifier_trailer_pin.py +56 -0
  235. onetrace_console-0.1.0/tests/test_viewer_provenance.py +58 -0
  236. onetrace_console-0.1.0/tests/test_visible_text.py +1086 -0
  237. onetrace_console-0.1.0/tests/test_vs_baseline_graph.py +69 -0
  238. onetrace_console-0.1.0/tests/test_windows_crlf_pipe.py +38 -0
  239. onetrace_console-0.1.0/tests/test_workflows.py +167 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,91 @@
1
+ Metadata-Version: 2.4
2
+ Name: onetrace-console
3
+ Version: 0.1.0
4
+ Summary: The onetrace console: every run in one place, read from the reports the verifier and the verbs produced.
5
+ Author: Shamik Saha
6
+ License: Apache-2.0
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: onetrace==0.2.0
11
+ Requires-Dist: onetrace-verify[crypto]==0.2.0
12
+ Provides-Extra: test
13
+ Requires-Dist: pytest>=8; extra == "test"
14
+ Dynamic: license-file
15
+
16
+ # onetrace-console
17
+
18
+ A local web console for runs recorded with [onetrace](https://oneproof.dev/onetrace/): every run in one place, each one checked by the verifier, and any two compared stage by stage.
19
+
20
+ The console never computes a verdict of its own. It keeps each run's files exactly as they were written, runs `onetrace-verify` and the SDK's own `diff` over them, and shows what those report. If the console and the run folder ever disagree, the folder is right.
21
+
22
+ ## Install
23
+
24
+ ```
25
+ pip install onetrace-console
26
+ ```
27
+
28
+ It needs Python 3.12 or later. It installs from PyPI alone: `onetrace` 0.2.0 and `onetrace-verify` 0.2.0, with the `[crypto]` extra so signatures and anchors are checked. The pages' viewer ships inside the package.
29
+
30
+ ## See it with the demo's runs
31
+
32
+ ```
33
+ onetrace-console demo
34
+ ```
35
+
36
+ This copies the reference demo's two runs into `onetrace-console-demo/` under the folder you start it from, starts the console, loads both runs, compares them, and prints the pages' addresses. The demo keeps its store and its trust file in that folder too. It runs in local mode, so it refuses to start while `ONETRACE_CONSOLE_CONFIG` is set.
37
+
38
+ ![The overview, with the demo's two runs](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/overview.png)
39
+
40
+ A read-only copy of the demo is hosted at https://demo.oneproof.dev. To try the read-only mode yourself, run `onetrace-console demo --public`.
41
+
42
+ ## Your own runs
43
+
44
+ ```
45
+ onetrace-console <runs folder>
46
+ onetrace-console <runs folder> --compare <run A> <run B>
47
+ onetrace-console <runs folder> --open
48
+ ```
49
+
50
+ - `onetrace-console <runs folder>` loads every run folder in it: every folder holding a `MANIFEST.json`. It compares nothing unless you ask.
51
+ - A run folder is skipped, with the reason, while the others load: a run still being recorded (it holds onetrace's `.lock`), a folder that holds a link, or a folder whose `SHA256SUMS` doesn't match its files.
52
+ - `--compare A B` compares two of them, named by their folder names; A is the baseline.
53
+ - `--open` opens the console in your browser.
54
+ - `--port N` listens on port N, here and for `demo`. The default is 8080.
55
+
56
+ ![One run's page, with the verifier's result](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/run.png)
57
+
58
+ ![A comparison of two runs, with the first stage that changed](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/comparison.png)
59
+
60
+ ## What it shows
61
+
62
+ - **Each run:** the verifier's result and every row it reported, the run's stages, and its receipt, including whether it is signed and anchored.
63
+ - **Two runs compared:** the stage-by-stage comparison `onetrace diff` produces, and the text that changed, as the SDK reports them.
64
+ - **Counts:** every number with what it counts, and a link to the exact runs behind it.
65
+
66
+ ## What it does not show
67
+
68
+ Nothing here says which version is correct, who changed the source, or why.
69
+
70
+ A run's record does not show:
71
+
72
+ - that the output or the action was correct;
73
+ - why the model wrote what it wrote;
74
+ - that the signing key wasn't misused (your trust list is what ties a key to a name);
75
+ - that the run was correct at the anchored time (the anchor shows only that the record existed by then).
76
+
77
+ ## Where it runs
78
+
79
+ Started as above, it listens on 127.0.0.1 only, and makes no network calls; `--open` asks your browser to open the local page. A folder load keeps what it stores in a `store` folder under the folder you start it from, and `demo` keeps it in `onetrace-console-demo/`.
80
+
81
+ To run it for a team, as a container with sign-in, see [OPERATOR_README.md](https://github.com/shamiksaharcciit-oss/onetrace-console/blob/v0.1.0/OPERATOR_README.md).
82
+
83
+ ## For contributors
84
+
85
+ On Windows, run the test suite from a short path (for example `C:\src\oc`), or turn on long paths: some of the files the suite writes have paths longer than Windows' 260-character limit.
86
+
87
+ ## Licence
88
+
89
+ Copyright 2026 Shamik Saha. Licensed under Apache-2.0; see LICENSE.
90
+
91
+ The bundled IBM Plex fonts are under the SIL Open Font License 1.1.
@@ -0,0 +1,76 @@
1
+ # onetrace-console
2
+
3
+ A local web console for runs recorded with [onetrace](https://oneproof.dev/onetrace/): every run in one place, each one checked by the verifier, and any two compared stage by stage.
4
+
5
+ The console never computes a verdict of its own. It keeps each run's files exactly as they were written, runs `onetrace-verify` and the SDK's own `diff` over them, and shows what those report. If the console and the run folder ever disagree, the folder is right.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ pip install onetrace-console
11
+ ```
12
+
13
+ It needs Python 3.12 or later. It installs from PyPI alone: `onetrace` 0.2.0 and `onetrace-verify` 0.2.0, with the `[crypto]` extra so signatures and anchors are checked. The pages' viewer ships inside the package.
14
+
15
+ ## See it with the demo's runs
16
+
17
+ ```
18
+ onetrace-console demo
19
+ ```
20
+
21
+ This copies the reference demo's two runs into `onetrace-console-demo/` under the folder you start it from, starts the console, loads both runs, compares them, and prints the pages' addresses. The demo keeps its store and its trust file in that folder too. It runs in local mode, so it refuses to start while `ONETRACE_CONSOLE_CONFIG` is set.
22
+
23
+ ![The overview, with the demo's two runs](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/overview.png)
24
+
25
+ A read-only copy of the demo is hosted at https://demo.oneproof.dev. To try the read-only mode yourself, run `onetrace-console demo --public`.
26
+
27
+ ## Your own runs
28
+
29
+ ```
30
+ onetrace-console <runs folder>
31
+ onetrace-console <runs folder> --compare <run A> <run B>
32
+ onetrace-console <runs folder> --open
33
+ ```
34
+
35
+ - `onetrace-console <runs folder>` loads every run folder in it: every folder holding a `MANIFEST.json`. It compares nothing unless you ask.
36
+ - A run folder is skipped, with the reason, while the others load: a run still being recorded (it holds onetrace's `.lock`), a folder that holds a link, or a folder whose `SHA256SUMS` doesn't match its files.
37
+ - `--compare A B` compares two of them, named by their folder names; A is the baseline.
38
+ - `--open` opens the console in your browser.
39
+ - `--port N` listens on port N, here and for `demo`. The default is 8080.
40
+
41
+ ![One run's page, with the verifier's result](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/run.png)
42
+
43
+ ![A comparison of two runs, with the first stage that changed](https://raw.githubusercontent.com/shamiksaharcciit-oss/onetrace-console/v0.1.0/docs/screenshots/comparison.png)
44
+
45
+ ## What it shows
46
+
47
+ - **Each run:** the verifier's result and every row it reported, the run's stages, and its receipt, including whether it is signed and anchored.
48
+ - **Two runs compared:** the stage-by-stage comparison `onetrace diff` produces, and the text that changed, as the SDK reports them.
49
+ - **Counts:** every number with what it counts, and a link to the exact runs behind it.
50
+
51
+ ## What it does not show
52
+
53
+ Nothing here says which version is correct, who changed the source, or why.
54
+
55
+ A run's record does not show:
56
+
57
+ - that the output or the action was correct;
58
+ - why the model wrote what it wrote;
59
+ - that the signing key wasn't misused (your trust list is what ties a key to a name);
60
+ - that the run was correct at the anchored time (the anchor shows only that the record existed by then).
61
+
62
+ ## Where it runs
63
+
64
+ Started as above, it listens on 127.0.0.1 only, and makes no network calls; `--open` asks your browser to open the local page. A folder load keeps what it stores in a `store` folder under the folder you start it from, and `demo` keeps it in `onetrace-console-demo/`.
65
+
66
+ To run it for a team, as a container with sign-in, see [OPERATOR_README.md](https://github.com/shamiksaharcciit-oss/onetrace-console/blob/v0.1.0/OPERATOR_README.md).
67
+
68
+ ## For contributors
69
+
70
+ On Windows, run the test suite from a short path (for example `C:\src\oc`), or turn on long paths: some of the files the suite writes have paths longer than Windows' 260-character limit.
71
+
72
+ ## Licence
73
+
74
+ Copyright 2026 Shamik Saha. Licensed under Apache-2.0; see LICENSE.
75
+
76
+ The bundled IBM Plex fonts are under the SIL Open Font License 1.1.
@@ -0,0 +1,76 @@
1
+ # onetrace-console
2
+
3
+ A local web console for runs recorded with [onetrace](https://oneproof.dev/onetrace/): every run in one place, each one checked by the verifier, and any two compared stage by stage.
4
+
5
+ The console never computes a verdict of its own. It keeps each run's files exactly as they were written, runs `onetrace-verify` and the SDK's own `diff` over them, and shows what those report. If the console and the run folder ever disagree, the folder is right.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ pip install onetrace-console
11
+ ```
12
+
13
+ It needs Python 3.12 or later. It installs from PyPI alone: `onetrace` 0.2.0 and `onetrace-verify` 0.2.0, with the `[crypto]` extra so signatures and anchors are checked. The pages' viewer ships inside the package.
14
+
15
+ ## See it with the demo's runs
16
+
17
+ ```
18
+ onetrace-console demo
19
+ ```
20
+
21
+ This copies the reference demo's two runs into `onetrace-console-demo/` under the folder you start it from, starts the console, loads both runs, compares them, and prints the pages' addresses. The demo keeps its store and its trust file in that folder too. It runs in local mode, so it refuses to start while `ONETRACE_CONSOLE_CONFIG` is set.
22
+
23
+ ![The overview, with the demo's two runs](docs/screenshots/overview.png)
24
+
25
+ A read-only copy of the demo is hosted at https://demo.oneproof.dev. To try the read-only mode yourself, run `onetrace-console demo --public`.
26
+
27
+ ## Your own runs
28
+
29
+ ```
30
+ onetrace-console <runs folder>
31
+ onetrace-console <runs folder> --compare <run A> <run B>
32
+ onetrace-console <runs folder> --open
33
+ ```
34
+
35
+ - `onetrace-console <runs folder>` loads every run folder in it: every folder holding a `MANIFEST.json`. It compares nothing unless you ask.
36
+ - A run folder is skipped, with the reason, while the others load: a run still being recorded (it holds onetrace's `.lock`), a folder that holds a link, or a folder whose `SHA256SUMS` doesn't match its files.
37
+ - `--compare A B` compares two of them, named by their folder names; A is the baseline.
38
+ - `--open` opens the console in your browser.
39
+ - `--port N` listens on port N, here and for `demo`. The default is 8080.
40
+
41
+ ![One run's page, with the verifier's result](docs/screenshots/run.png)
42
+
43
+ ![A comparison of two runs, with the first stage that changed](docs/screenshots/comparison.png)
44
+
45
+ ## What it shows
46
+
47
+ - **Each run:** the verifier's result and every row it reported, the run's stages, and its receipt, including whether it is signed and anchored.
48
+ - **Two runs compared:** the stage-by-stage comparison `onetrace diff` produces, and the text that changed, as the SDK reports them.
49
+ - **Counts:** every number with what it counts, and a link to the exact runs behind it.
50
+
51
+ ## What it does not show
52
+
53
+ Nothing here says which version is correct, who changed the source, or why.
54
+
55
+ A run's record does not show:
56
+
57
+ - that the output or the action was correct;
58
+ - why the model wrote what it wrote;
59
+ - that the signing key wasn't misused (your trust list is what ties a key to a name);
60
+ - that the run was correct at the anchored time (the anchor shows only that the record existed by then).
61
+
62
+ ## Where it runs
63
+
64
+ Started as above, it listens on 127.0.0.1 only, and makes no network calls; `--open` asks your browser to open the local page. A folder load keeps what it stores in a `store` folder under the folder you start it from, and `demo` keeps it in `onetrace-console-demo/`.
65
+
66
+ To run it for a team, as a container with sign-in, see [OPERATOR_README.md](OPERATOR_README.md).
67
+
68
+ ## For contributors
69
+
70
+ On Windows, run the test suite from a short path (for example `C:\src\oc`), or turn on long paths: some of the files the suite writes have paths longer than Windows' 260-character limit.
71
+
72
+ ## Licence
73
+
74
+ Copyright 2026 Shamik Saha. Licensed under Apache-2.0; see LICENSE.
75
+
76
+ The bundled IBM Plex fonts are under the SIL Open Font License 1.1.
@@ -0,0 +1,106 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "onetrace-console"
7
+ version = "0.1.0"
8
+ description = "The onetrace console: every run in one place, read from the reports the verifier and the verbs produced."
9
+ readme = "PYPI_DESCRIPTION.md" # the README with absolute image links: tools/pypi_description.py
10
+ requires-python = ">=3.12"
11
+ license = { text = "Apache-2.0" }
12
+ authors = [{ name = "Shamik Saha" }]
13
+
14
+ # Abstract here, pinned in requirements.lock. Nothing is vendored.
15
+ #
16
+ # There is no web framework and no database driver, and that is a decision rather than an
17
+ # omission. The console ships as a CONTAINER THE CUSTOMER RUNS -- no shared back end, no
18
+ # assumed network access, no data sent home -- so every dependency is a thing the
19
+ # customer must trust and a thing that must be present with no index reachable. The
20
+ # server is `http.server`, the store is files, the index is `sqlite3`, the tar is
21
+ # `tarfile`, the digests are `hashlib`: all standard library. See DESIGN_GAPS.md.
22
+ dependencies = [
23
+ "onetrace==0.2.0", # the SDK this release was tested with: the verbs
24
+ "onetrace-verify[crypto]==0.2.0", # the verifier, with what it needs to check signatures
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ test = ["pytest>=8"]
29
+
30
+ [project.scripts]
31
+ onetrace-console = "onetrace_console.__main__:main"
32
+
33
+ [tool.setuptools.packages.find]
34
+ where = ["src"]
35
+
36
+ # The console serves IBM Plex itself, so the fonts and their OFL text are
37
+ # package data (the container runs from src/ and carries them either way).
38
+ [tool.setuptools.package-data]
39
+ onetrace_console = ["static/fonts/*.woff2", "static/fonts/OFL.txt", "static/fonts/FONTS.md",
40
+ "requirements.lock", "reference_demo/trust.json", "reference_demo/runs/**/*",
41
+ "viewer/PROVENANCE.md", "viewer/_vendor/*"]
42
+
43
+ # ---------------------------------------------------------------------------------
44
+ # E10 layer 2 of 3: exclusion lists
45
+ # ---------------------------------------------------------------------------------
46
+ # Formatters, linters and auto-fixers are byte-rewriting tools. Pointed at a stored run
47
+ # they destroy the evidence they were pointed at, silently, with a green exit code.
48
+ #
49
+ # Layer 1 (`.gitattributes`, `* -text`) stops git from rewriting bytes. THIS layer stops
50
+ # our own tooling. Any tool added later MUST be given the same exclusions in this same
51
+ # place. `store/` is where received bundles land at runtime and is never tracked, but it
52
+ # is named here too: an exclusion that only covers what is committed is an exclusion that
53
+ # stops working the moment someone runs a formatter on a working tree.
54
+ [tool.ruff]
55
+ extend-exclude = ["tests/fixtures", "store", "src/onetrace_console/_received"]
56
+
57
+ [tool.black]
58
+ extend-exclude = "tests/fixtures|store|src/onetrace_console/_received"
59
+
60
+ [tool.pytest.ini_options]
61
+ testpaths = ["tests"]
62
+ python_files = ["test_*.py"]
63
+
64
+ # `--basetemp` is set here, to a repository-local folder git ignores, so the suite stops
65
+ # depending on pytest's cleanup of the system temp folder.
66
+ #
67
+ # WHAT IT FIXES. pytest's default temp root is `<system temp>/pytest-of-<user>`, and its
68
+ # session teardown cleans that directory -- including `cleanup_dead_symlinks`, which stats
69
+ # a `pytest-current` reparse point. On this machine that reparse point became unreadable,
70
+ # `os.stat` raised `PermissionError [WinError 5]`, the exception escaped the exit stack, and
71
+ # **the terminal summary was never written**. Measured with a deliberately failing test
72
+ # added: no `FAILED`, no " failed", no " passed", exit 1 -- byte-indistinguishable from an
73
+ # all-green run. An instrument that cannot state its measurement fails toward whichever
74
+ # answer the reader already expects.
75
+ #
76
+ # With `--basetemp` set, pytest uses this folder and never constructs or cleans that root,
77
+ # so the fault cannot reach the summary line. The ruling's reasoning is the part worth
78
+ # keeping: the dead reparse point had already come back once, so an elevated `rmdir` is a
79
+ # repair and not a fix.
80
+ #
81
+ # THIS IS A MEASURED MECHANISM, NOT A REPRODUCTION, AND THE LABEL IS OWED AN UPDATE.
82
+ # It was accepted as such: two runs left the user's `pytest-of-<user>` folder unchanged and
83
+ # `pytest-current` was never recreated. What was NOT shown is a run printing its summary
84
+ # while the poisoned reparse point was present -- it had already been removed by hand before
85
+ # the change landed.
86
+ #
87
+ # **When the old `pytest-current` folder next reappears, run the suite against it and
88
+ # replace this paragraph with the result.** That is a standing obligation from §3, and it
89
+ # is written here rather than only in the register because this is where the claim lives
90
+ # and a reader checking the claim will be reading this file.
91
+ #
92
+ # I ARGUED AGAINST A REPOSITORY-SIDE WORKAROUND and was overruled, correctly. My objection
93
+ # was to a root `conftest.py` setting `PYTEST_DEBUG_TEMPROOT`, which would have hidden one
94
+ # machine's broken temp directory inside the repository as a permanent silence. This is a
95
+ # different thing: it is declared in plain sight in the project's own configuration, it is
96
+ # reproducible for everyone, and it keeps a run's temporaries beside the project that made
97
+ # them. It silences nothing.
98
+ #
99
+ # The path is relative, so it resolves against the directory pytest is invoked from. The
100
+ # gate command is run from the repository root; a run started elsewhere puts the folder
101
+ # elsewhere, which is untidy and harmless.
102
+ #
103
+ # No `-q`: suite commands don't use it, so every result shows its summary line. A `-q` set
104
+ # here and a second on the command line make `-qq`, which prints no tally at all, and counts
105
+ # were once read from runs that reported no total. Not repeated here.
106
+ addopts = "--basetemp=.pytest-basetemp"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,10 @@
1
+ """The onetrace console: every run in one place.
2
+
3
+ **The run folder is the unit of truth and this package never computes a verdict.** It
4
+ stores the bytes an emitter wrote, keeps the reports the verifier and the verbs produced
5
+ over them, and reads those reports. If the console and the offline file ever disagree,
6
+ the file is right and the console has a defect.
7
+ """
8
+ __all__ = ["__version__"]
9
+
10
+ __version__ = "0.1.0"