protocolith 0.6.0__py3-none-any.whl

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 (57) hide show
  1. protocolith/__init__.py +38 -0
  2. protocolith/baseline_groups.py +294 -0
  3. protocolith/baselines.py +288 -0
  4. protocolith/card_svg_render.py +281 -0
  5. protocolith/card_svg_styles.py +178 -0
  6. protocolith/cli.py +796 -0
  7. protocolith/core/__init__.py +63 -0
  8. protocolith/core/_lock_posix.py +29 -0
  9. protocolith/core/_lock_windows.py +29 -0
  10. protocolith/core/atlas.py +406 -0
  11. protocolith/core/atlas_assets/atlas.css +86 -0
  12. protocolith/core/atlas_assets/atlas.html +84 -0
  13. protocolith/core/atlas_assets/atlas.js +370 -0
  14. protocolith/core/atlas_i18n/en.json +61 -0
  15. protocolith/core/canonical.py +124 -0
  16. protocolith/core/capture.py +68 -0
  17. protocolith/core/clock.py +25 -0
  18. protocolith/core/commands.py +356 -0
  19. protocolith/core/errors.py +116 -0
  20. protocolith/core/issue.py +98 -0
  21. protocolith/core/ledger.py +75 -0
  22. protocolith/core/mcp.py +371 -0
  23. protocolith/core/ops.py +183 -0
  24. protocolith/core/rules.py +352 -0
  25. protocolith/core/schema.py +137 -0
  26. protocolith/core/store.py +101 -0
  27. protocolith/core/views.py +136 -0
  28. protocolith/doctor.py +135 -0
  29. protocolith/evidence_card.py +354 -0
  30. protocolith/family_ledger.py +489 -0
  31. protocolith/generic_ohlcv_batch_pre_registration_meta.py +123 -0
  32. protocolith/inspect.py +48 -0
  33. protocolith/nasa_power.py +266 -0
  34. protocolith/nasa_power_fetch.py +64 -0
  35. protocolith/nasa_power_parser.py +133 -0
  36. protocolith/nasa_power_prereg_runner.py +383 -0
  37. protocolith/noaa_coops_fetch.py +188 -0
  38. protocolith/noaa_coops_parser.py +120 -0
  39. protocolith/noaa_coops_prereg_runner.py +341 -0
  40. protocolith/public_ai_protocol.py +176 -0
  41. protocolith/py.typed +0 -0
  42. protocolith/registry.py +139 -0
  43. protocolith/registry_view.py +302 -0
  44. protocolith/rerun_report.py +111 -0
  45. protocolith/run_root.py +243 -0
  46. protocolith/scaffold.py +565 -0
  47. protocolith/source_probe.py +230 -0
  48. protocolith/svg_a11y.py +100 -0
  49. protocolith/tree_overlay.py +343 -0
  50. protocolith/verify_packs.py +251 -0
  51. protocolith/workflows.py +233 -0
  52. protocolith-0.6.0.dist-info/METADATA +283 -0
  53. protocolith-0.6.0.dist-info/RECORD +57 -0
  54. protocolith-0.6.0.dist-info/WHEEL +4 -0
  55. protocolith-0.6.0.dist-info/entry_points.txt +3 -0
  56. protocolith-0.6.0.dist-info/licenses/LICENSE +201 -0
  57. protocolith-0.6.0.dist-info/licenses/NOTICE +13 -0
@@ -0,0 +1,283 @@
1
+ Metadata-Version: 2.5
2
+ Name: protocolith
3
+ Version: 0.6.0
4
+ Summary: Records, verifies and issues trial records: frozen protocol, hashed sources, honest result status.
5
+ Project-URL: Homepage, https://github.com/protocolith/protocolith
6
+ Project-URL: Repository, https://github.com/protocolith/protocolith
7
+ Project-URL: Issues, https://github.com/protocolith/protocolith/issues
8
+ Project-URL: Changelog, https://github.com/protocolith/protocolith/blob/main/CHANGELOG.md
9
+ Project-URL: Documentation, https://github.com/protocolith/protocolith/tree/main/docs
10
+ Project-URL: PyPI, https://pypi.org/project/protocolith/
11
+ Project-URL: Discussions, https://github.com/protocolith/protocolith/discussions
12
+ Project-URL: Citation, https://github.com/protocolith/protocolith/blob/main/CITATION.cff
13
+ Author: Rostyslav Shcherbyna
14
+ License-Expression: Apache-2.0
15
+ License-File: LICENSE
16
+ License-File: NOTICE
17
+ Keywords: ai-transparency,claim-provenance,claim-verification,evidence-cards,open-data,open-science,pre-registration,provenance,reproducibility,source-audit
18
+ Classifier: Development Status :: 4 - Beta
19
+ Classifier: Environment :: Console
20
+ Classifier: Intended Audience :: Developers
21
+ Classifier: Intended Audience :: Information Technology
22
+ Classifier: Intended Audience :: Science/Research
23
+ Classifier: Operating System :: OS Independent
24
+ Classifier: Programming Language :: Python :: 3
25
+ Classifier: Programming Language :: Python :: 3 :: Only
26
+ Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
+ Classifier: Programming Language :: Python :: 3.14
30
+ Classifier: Programming Language :: Python :: 3.15
31
+ Classifier: Topic :: Scientific/Engineering
32
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
33
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
34
+ Classifier: Topic :: Software Development :: Quality Assurance
35
+ Requires-Python: >=3.11
36
+ Provides-Extra: campaign
37
+ Requires-Dist: pdfplumber>=0.11; extra == 'campaign'
38
+ Requires-Dist: pypdf>=6.16.0; extra == 'campaign'
39
+ Provides-Extra: dev
40
+ Requires-Dist: hypothesis>=6; extra == 'dev'
41
+ Requires-Dist: numpy<2.5,>=2.3; (python_version < '3.12') and extra == 'dev'
42
+ Requires-Dist: numpy>=2.5.2; (python_version >= '3.12') and extra == 'dev'
43
+ Requires-Dist: pdfplumber>=0.11; extra == 'dev'
44
+ Requires-Dist: pypdf>=6.16.0; extra == 'dev'
45
+ Requires-Dist: pytest-cov>=6.0; extra == 'dev'
46
+ Requires-Dist: pytest-xdist>=3.5; extra == 'dev'
47
+ Requires-Dist: pytest>=9.1.1; extra == 'dev'
48
+ Requires-Dist: ruff>=0.15; extra == 'dev'
49
+ Provides-Extra: docs
50
+ Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
51
+ Requires-Dist: mkdocs<2,>=1.6; extra == 'docs'
52
+ Provides-Extra: runners
53
+ Requires-Dist: numpy<2.5,>=2.3; (python_version < '3.12') and extra == 'runners'
54
+ Requires-Dist: numpy>=2.5.2; (python_version >= '3.12') and extra == 'runners'
55
+ Description-Content-Type: text/markdown
56
+
57
+ <p align="center">
58
+ <picture>
59
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/protocolith/protocolith/main/docs/assets/protocolith/logo-dark.svg">
60
+ <img src="https://raw.githubusercontent.com/protocolith/protocolith/main/docs/assets/protocolith/logo.svg" alt="Protocolith" width="420">
61
+ </picture>
62
+ </p>
63
+
64
+ <p align="center"><b>Records, verifies and issues trial records.</b></p>
65
+
66
+ <p align="center">
67
+ <a href="https://github.com/protocolith/protocolith/actions/workflows/tests.yml"><img alt="tests" src="https://github.com/protocolith/protocolith/actions/workflows/tests.yml/badge.svg"></a>
68
+ <a href="https://github.com/protocolith/protocolith/blob/main/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
69
+ <img alt="Python 3.11 to 3.15" src="https://img.shields.io/badge/python-3.11%20to%203.15-blue">
70
+ </p>
71
+
72
+ <!-- Add these badges only after the packages exist (planned for the 0.6.0 release):
73
+ <a href="https://pypi.org/project/protocolith/"><img alt="PyPI" src="https://img.shields.io/pypi/v/protocolith"></a>
74
+ <a href="https://pypi.org/project/protocolith/"><img alt="Python versions" src="https://img.shields.io/pypi/pyversions/protocolith"></a>
75
+ <a href="https://github.com/protocolith/protocolith/blob/main/docs/registry/evidence_index.json"><img alt="Evidence cards" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FProtocolith%2Fprotocolith%2Fmain%2Fdocs%2Fregistry%2Fevidence_index.json&query=%24.card_count&label=evidence%20cards&color=0A97BB"></a>
76
+ <a href="https://anaconda.org/conda-forge/protocolith"><img alt="conda-forge" src="https://img.shields.io/conda/vn/conda-forge/protocolith"></a>
77
+ -->
78
+
79
+ <p align="center">
80
+ <img src="https://raw.githubusercontent.com/protocolith/protocolith/main/docs/assets/protocolith/demo.gif" alt="Terminal recording of the card-level commands: version, doctor, inspect, validate-card, hash and verify" width="760">
81
+ </p>
82
+
83
+ ## Why
84
+
85
+ A result is easy to believe and hard to check when the protocol was written after the run, the history can be
86
+ edited silently, or a failed run quietly disappears. Protocolith keeps a small local record that makes those
87
+ three things visible: what was fixed beforehand, what happened, and whether the history still adds up.
88
+
89
+ It does not run experiments, fetch data or judge whether a protocol is a good one. It is a ledger with rules.
90
+
91
+ ## What it does
92
+
93
+ | Stage | Command | What is stored |
94
+ | --- | --- | --- |
95
+ | 1. **Freeze** a protocol before the run | `protocolith freeze protocol.json` | The protocol and its SHA-256 |
96
+ | 2. **Record** the outcome against that protocol | `protocolith record record.json` | Status, outcome, source hashes, claim boundary |
97
+ | 3. **Verify** the hash-chained history | `protocolith verify-ledger` | Nothing; it reports rule violations (R1 to R11) |
98
+ | 4. **Issue** a card from a verified record | `protocolith issue SEQ` | A JSON and SVG card, plus an `issue` entry |
99
+
100
+ Everything lives in one append-only file, `.protocolith/ledger.jsonl`, one canonical JSON line per entry.
101
+ Each line contains the hash of the line before it. The core uses only the Python standard library.
102
+
103
+ ## Quickstart (2 minutes)
104
+
105
+ You need the repository checkout with its environment active (see [Install](#install)). The example files are in
106
+ [`examples/quickstart/`](https://github.com/protocolith/protocolith/blob/main/examples/quickstart/): `protocol.json`, `record.json` and the source `results.txt`.
107
+
108
+ ```bash
109
+ source .venv/bin/activate # Windows: .venv\Scripts\activate
110
+ mkdir demo && cd demo
111
+ cp ../examples/quickstart/protocol.json ../examples/quickstart/record.json ../examples/quickstart/results.txt .
112
+ protocolith freeze protocol.json
113
+ protocolith record record.json
114
+ protocolith verify-ledger
115
+ protocolith issue 1
116
+ protocolith log
117
+ protocolith head
118
+ ```
119
+
120
+ Real output of one run (hashes and times differ in yours, because the entries contain the time):
121
+
122
+ ```text
123
+ $ protocolith freeze protocol.json
124
+ frozen QUICKSTART_D001 1 seq=0 hash=5bbd5c8c75437c20d77415469374ac990993803c1c9deed91ff6adf2f74714b2 protocol_sha256=802a1675aef8623a44d79272ca50c036ffc7c2d2ecd267ca440afdb19948369f
125
+ $ protocolith record record.json
126
+ recorded run-1 PASSED_UNDER_PROTOCOL seq=1 hash=...
127
+ $ protocolith verify-ledger
128
+ OK entries=2 head seq=1 hash=...
129
+ $ protocolith issue 1
130
+ issued record seq=1 card_sha256=...
131
+ .protocolith/cards/PLITH-QUICKSTART_D001-<date>-000001.json
132
+ .protocolith/cards/PLITH-QUICKSTART_D001-<date>-000001.svg
133
+ $ protocolith log
134
+ 0 freeze <time> 5bbd5c8c7543 QUICKSTART_D001 1
135
+ 1 record <time> e6fdb7f2c7f6 run-1 PASSED_UNDER_PROTOCOL
136
+ 2 issue <time> 7e991c8d63f3 record_seq=1
137
+ $ protocolith head
138
+ seq=2 hash=7e991c8d63f3f661894015c450b41cdb3809af305af4f562f8224466314eecd7
139
+ ```
140
+
141
+ The `protocol_sha256` printed by `freeze` is already written into `record.json`; a record that names a hash
142
+ that was not frozen earlier is rejected (`UNKNOWN_PROTOCOL`). To see verification fail, change one character in
143
+ `.protocolith/ledger.jsonl` and run `protocolith verify-ledger` again: it prints the violated rules and exits with 1.
144
+
145
+ Exit codes: `0` ok, `1` the stored ledger does not verify, `2` the operation was rejected and nothing was written,
146
+ `3` I/O or environment error. `--json` prints canonical JSON for every command. These steps are run by
147
+ `tests/test_readme_examples.py`.
148
+
149
+ ## Query the ledger
150
+
151
+ ```bash
152
+ protocolith summary # what was done and which results are honest, in one call
153
+ protocolith log --status BLOCKED_SOURCE
154
+ protocolith show 1
155
+ ```
156
+
157
+ See [Query the ledger quickly](https://github.com/protocolith/protocolith/blob/main/docs/guides/query-the-ledger.md).
158
+
159
+ ## Python API
160
+
161
+ ```python
162
+ from pathlib import Path
163
+
164
+ from protocolith import core
165
+
166
+ store = core.Store(".protocolith")
167
+ core.freeze(store, core.decode(Path("protocol.json").read_bytes()))
168
+ core.record(store, core.decode(Path("record.json").read_bytes()))
169
+
170
+ verdict = core.verify(store)
171
+ print(verdict.ok, verdict.count) # True 2
172
+
173
+ result = core.issue(store, 1)
174
+ print(result["json_path"])
175
+ print(core.head(store)) # {'count': 3, 'hash': '...', 'seq': 2}
176
+ ```
177
+
178
+ Errors are exceptions with a stable `code` (`core.InputError`, `core.EnvError`, `core.VerificationFailed`).
179
+ See the [Python API guide](https://github.com/protocolith/protocolith/blob/main/docs/guides/python-api.md).
180
+
181
+ ## Atlas: browse the experiments
182
+
183
+ `protocolith atlas` builds one self-contained HTML page (inline CSS and JavaScript, no network, works from `file://`)
184
+ from the local ledger or a directory of evidence cards: summary tiles, a status chart and monthly timeline, search,
185
+ filters, a sortable paged table and a detail drawer with permalinks. Languages other than English come only from
186
+ files you supply. See [the atlas guide](https://github.com/protocolith/protocolith/blob/main/docs/guides/atlas.md).
187
+
188
+ ```bash
189
+ protocolith atlas --out atlas.html # the local ledger
190
+ protocolith atlas --cards docs/evidence_cards --out site/
191
+ ```
192
+
193
+ ## MCP client configuration
194
+
195
+ `protocolith mcp` is a stdio server with eleven tools (`protocolith_summary`, `protocolith_log`, `protocolith_show`,
196
+ `protocolith_schema`, `protocolith_capture`, `protocolith_atlas`, `protocolith_freeze`, `protocolith_record`,
197
+ `protocolith_deviation`, `protocolith_verify`, `protocolith_issue`) and read-only resources (`protocolith://summary`, `protocolith://ledger`,
198
+ `protocolith://schema/<name>`), so an agent can discover the formats itself. It uses no network and writes only
199
+ inside the store, apart from the atlas page that `protocolith_atlas` writes inside the working directory. Add it to an MCP client:
200
+
201
+ ```json
202
+ {
203
+ "mcpServers": {
204
+ "protocolith": {
205
+ "command": "protocolith",
206
+ "args": ["mcp", "--store", "/path/to/project/.protocolith"]
207
+ }
208
+ }
209
+ }
210
+ ```
211
+
212
+ See [Use Protocolith from an AI agent](https://github.com/protocolith/protocolith/blob/main/docs/guides/ai-agent-mcp.md) and the [MCP reference](https://github.com/protocolith/protocolith/blob/main/docs/reference/mcp.md).
213
+
214
+ ## Install
215
+
216
+ From source today (Python 3.11 to 3.15; [uv](https://docs.astral.sh/uv/) recommended):
217
+
218
+ ```bash
219
+ git clone https://github.com/protocolith/protocolith.git
220
+ cd protocolith
221
+ uv sync
222
+ uv run protocolith --version # or: source .venv/bin/activate
223
+ ```
224
+
225
+ `pip install protocolith` is available from the 0.6.0 release (planned); it is not published with the ledger commands yet.
226
+ The package has no required dependencies.
227
+
228
+ ## Platforms
229
+
230
+ macOS, Linux and Windows, Python 3.11 to 3.15, headless (no display, no network, no daemon). Appends are
231
+ protected by an advisory file lock (`fcntl` on POSIX, `msvcrt` on Windows) and are flushed with `fsync`.
232
+
233
+ ## Commands
234
+
235
+ | Command | Purpose |
236
+ | --- | --- |
237
+ | `freeze FILE [--supersedes SHA256]` | Freeze a protocol (a new version supersedes the old one) |
238
+ | `record FILE` | Record a run outcome |
239
+ | `deviation FILE` | Record a deviation from a frozen protocol |
240
+ | `verify-ledger [--expect-head SEQ:HASH]` | Check rules R1 to R11, and optionally an anchored head |
241
+ | `issue SEQ [--out DIR]` | Issue the card of a record |
242
+ | `summary [--protocol ID]` | Verdict, head, counts and a per-protocol table in one call |
243
+ | `log [--protocol ID] [--type T] [--status S] [--tail N]` / `head` | List (filtered) entries / print the last `seq` and `hash` |
244
+ | `show SEQ` | One entry with its protocol context |
245
+ | `capture [--file PATH ...] [--env]` | JSON fragment with environment and input file hashes for a record `outcome` |
246
+ | `schema [NAME]` | JSON Schema of the input bodies and the entry |
247
+ | `init` | Create an empty store (safe to repeat) |
248
+ | `repair --truncate-partial-tail` | Remove a partial last line left by a crash |
249
+ | `mcp` | Run the MCP server on stdio |
250
+
251
+ All take `--store DIR` (or `PROTOCOLITH_STORE`; default `.protocolith`) and, except `mcp`, `--json`. The alias
252
+ `plith` runs the same program. Full list, including the older card commands: [docs/CLI.md](https://github.com/protocolith/protocolith/blob/main/docs/CLI.md).
253
+
254
+ ## Documentation
255
+
256
+ - Documentation site: <https://protocolith.github.io/protocolith/docs/> (source in [docs/](https://github.com/protocolith/protocolith/blob/main/docs/), map in [docs/docs-map.md](https://github.com/protocolith/protocolith/blob/main/docs/docs-map.md))
257
+ - [Getting started](https://github.com/protocolith/protocolith/blob/main/docs/getting-started/first-record.md) and [concepts](https://github.com/protocolith/protocolith/blob/main/docs/concepts/ledger.md)
258
+ - [Core specification](https://github.com/protocolith/protocolith/blob/main/docs/spec/CORE_SPEC.md) and [conformance vectors](https://github.com/protocolith/protocolith/blob/main/docs/reference/conformance-vectors.md)
259
+ - [Error codes](https://github.com/protocolith/protocolith/blob/main/docs/reference/error-codes.md), [FAQ](https://github.com/protocolith/protocolith/blob/main/docs/FAQ.md), [roadmap](https://github.com/protocolith/protocolith/blob/main/docs/ROADMAP_2026.md), [changelog](https://github.com/protocolith/protocolith/blob/main/CHANGELOG.md)
260
+
261
+ ## What Protocolith does not prove
262
+
263
+ - **Internal consistency and ordering only.** A valid ledger shows that every entry follows the rules and that
264
+ no entry was changed or reordered without breaking the chain.
265
+ - **No wall-clock proof.** Timestamps are written by the machine that appends; the ledger only guarantees they
266
+ never decrease. It does not show that an entry was made at the time it states.
267
+ - **No protection against replacing a whole ledger.** Someone who can rewrite the file can write a new, valid
268
+ one, or cut off its end. Publish or anchor the output of `protocolith head` somewhere you do not control
269
+ alone (for example a signed git tag), then check against it with `protocolith verify-ledger --expect-head SEQ:HASH`.
270
+ See [anchoring the head](https://github.com/protocolith/protocolith/blob/main/docs/guides/anchoring-the-head.md).
271
+ - It does not show that a protocol is sound, that data is true, or that a result generalises.
272
+
273
+ ## Earlier name and unrelated works
274
+
275
+ The project was published as ClaimBound Evidence until 0.5.0 and was renamed because unrelated works use a
276
+ similar name. It is not a fork of or affiliated with them, and it makes no claim of priority.
277
+ See [RELATED_WORK_AND_INDEPENDENCE.md](https://github.com/protocolith/protocolith/blob/main/docs/RELATED_WORK_AND_INDEPENDENCE.md).
278
+
279
+ ## Contributing, security, license
280
+
281
+ - [CONTRIBUTING.md](https://github.com/protocolith/protocolith/blob/main/CONTRIBUTING.md), [DCO.md](https://github.com/protocolith/protocolith/blob/main/DCO.md), [GOVERNANCE.md](https://github.com/protocolith/protocolith/blob/main/GOVERNANCE.md), [AGENTS.md](https://github.com/protocolith/protocolith/blob/main/AGENTS.md)
282
+ - Report vulnerabilities as described in [SECURITY.md](https://github.com/protocolith/protocolith/blob/main/SECURITY.md); do not open a public issue for them. Questions: [SUPPORT.md](https://github.com/protocolith/protocolith/blob/main/SUPPORT.md).
283
+ - [Apache-2.0](https://github.com/protocolith/protocolith/blob/main/LICENSE).
@@ -0,0 +1,57 @@
1
+ protocolith/__init__.py,sha256=RLqZ4UfFUTA6Oep58KY8Ero_WHhBwz9_yW87OiQQQCA,1067
2
+ protocolith/baseline_groups.py,sha256=TYgLx62Fd-gNNEeNsRIdFdp04GMqSvodow7PtofygOU,9831
3
+ protocolith/baselines.py,sha256=idxVisPpRdXeixBk6EVOjqxa1LsEh7Kxvh1V8OUCpQ8,9457
4
+ protocolith/card_svg_render.py,sha256=fipcnRU1qzj-WarPOM8CJrqrF8K6yIGK_r4uJ3zYMiY,13246
5
+ protocolith/card_svg_styles.py,sha256=csRpomIYmJDvGJJ5O_HFYc5OiwGXlervllJfaVxs5lU,7432
6
+ protocolith/cli.py,sha256=YqpM73MKvtlqKTPVuWMN5p8CjNgPGPjZKJRcCCEJ_n0,28143
7
+ protocolith/doctor.py,sha256=IoLhZ3WXj_6d5tOxJLo8T-fJ1z8B1xbHUtNt82XcCRA,4003
8
+ protocolith/evidence_card.py,sha256=CHiVU06qYtsskp5pZJ_5TRM-mlmS_Nr4vR78UdVMud0,12423
9
+ protocolith/family_ledger.py,sha256=FXtKbGp8zowXqazwhUXrFzLP-mWAoGO1C6bJUmnGXcc,16719
10
+ protocolith/generic_ohlcv_batch_pre_registration_meta.py,sha256=2n_3hnX7UanFWHnez2KRE8W0IDz3g--5X2HovhX-DUU,3534
11
+ protocolith/inspect.py,sha256=eZqFkND0kRTA6TjqaiTrecri7fEouz6zoQiiRYJhOR0,1481
12
+ protocolith/nasa_power.py,sha256=f7vfzKViz0zxCZGvxWDKmRPyFcx_xdZ_npUx3geBbzk,8874
13
+ protocolith/nasa_power_fetch.py,sha256=XIO9xUUgR9Y5ctJEMYAcsaRQkZ_KyC_ynrL-PRZTXcs,1944
14
+ protocolith/nasa_power_parser.py,sha256=H2nY485nbwDg7RrRReAJuT8JpJymujiJWvGPcsspWPk,4189
15
+ protocolith/nasa_power_prereg_runner.py,sha256=u7Rbs20MFzU5oDdM4ja4oz3gjxuBzAKE4Mcc-Til62U,14537
16
+ protocolith/noaa_coops_fetch.py,sha256=2I-u-mCZy9z66tMYtpy3aJvQFWbnNr_alFItKkAYfzM,6396
17
+ protocolith/noaa_coops_parser.py,sha256=2IOhvrNoi5hvRcrrLbQucz9Q4ow2q-wgITvMTXbQO3s,3776
18
+ protocolith/noaa_coops_prereg_runner.py,sha256=vSPmF7k1p2tthHBi8WrcOwudQZXdwtyPEnH30BMAZu8,13319
19
+ protocolith/public_ai_protocol.py,sha256=bWFPBgtgeTwfd8Fr5fvJz6746XKUz6uAl4jZcx3k5Bk,7634
20
+ protocolith/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ protocolith/registry.py,sha256=0NxOmzQROJemyWJIKp3kffDeBfuo34VSvb1Zqubtv_s,5162
22
+ protocolith/registry_view.py,sha256=Ljg7e-HGTp65jtKj8T5S0rPLP-jcxhiQkiAY2r_nivg,11275
23
+ protocolith/rerun_report.py,sha256=bhQHQQ2tsiXJKb2r_HG28uluvruWHEHNzR6aG-qlEAs,3925
24
+ protocolith/run_root.py,sha256=bxCv3NVYWIDuLzZNrPYqQori6RUrKNHsOHnyK5QjKj0,8238
25
+ protocolith/scaffold.py,sha256=Q1XNZLWWhlH4urc3TQTyQb-lJicP1SRVZwoMrV_vzJw,23905
26
+ protocolith/source_probe.py,sha256=eE5ZMGqBssCZ9GFtFMTcDZC3V0EiMDBn0JabRvnjjdg,7908
27
+ protocolith/svg_a11y.py,sha256=Xhvpw_McsG9MC5GlTQ76saBq57kch1EnPRIyeplzmNs,3531
28
+ protocolith/tree_overlay.py,sha256=QmFmVvBDXhLS2cY5ZrD_JRLgnB1EEolzoMkkF5txX10,11011
29
+ protocolith/verify_packs.py,sha256=pdW5irMs1Q4J0y9co9NHEEpE9M90bkSvUDkaB9Fd7NE,9298
30
+ protocolith/workflows.py,sha256=tb2LN878F5Zx1dZI9cGeomqg7pc4NwjLLPcIyxse548,8503
31
+ protocolith/core/__init__.py,sha256=h3-HMvw-dUUksHOMXWDulUtMeADx_zFn9zVjiSqcNm0,1305
32
+ protocolith/core/_lock_posix.py,sha256=QXaeSJj7mCgCOkdGZCenHc2a9kA9Sh_k4hsurx5ULFc,768
33
+ protocolith/core/_lock_windows.py,sha256=SHQFU1nWVVqGen1r1I4STV38DOfFN_1TJ4X5zEdewvY,866
34
+ protocolith/core/atlas.py,sha256=vQFLPuFxFVY3L8JhhNFE32taMTADctvdyRPSGRNF14A,16169
35
+ protocolith/core/canonical.py,sha256=hV8hyqCru4WG11_KEmcZ6tSjEoCwZmn9weTjlpD8MYM,3937
36
+ protocolith/core/capture.py,sha256=8Ny7_3T5U2GWE9X6C222ZNVFakhVv4VDHn5PK5-eXpw,2391
37
+ protocolith/core/clock.py,sha256=IxUtuwUr8_mRsAC3K9dYBhjGU_9LRqCDejj6MCiVxX0,780
38
+ protocolith/core/commands.py,sha256=zVAoOQEps3kik8gcsd0pJtx0NFOZgTd4mYWwiTGxyWI,15904
39
+ protocolith/core/errors.py,sha256=2AjYR9QyAuNS5GkDBxDaaxsFR55zX2PgwWCqQo2Ev3I,4825
40
+ protocolith/core/issue.py,sha256=CIZ2_MFmNTo6rX_9pH-tk0LHb-XLTgi1nDsQ3KfdKW0,4180
41
+ protocolith/core/ledger.py,sha256=n0UPXhqr6LxQ2TiVQzXXMTjwKXI43lO4IqCPREfp3Os,2438
42
+ protocolith/core/mcp.py,sha256=5brS3t5p77M-oQVUHu5Ysbhl5_GXbNldAp2u_1OTd4U,15049
43
+ protocolith/core/ops.py,sha256=Fjb9fJp7Rr10oFNbpfiKihs1wYmsAZM4a1Re5Ti48kk,7456
44
+ protocolith/core/rules.py,sha256=wRyGFOHPHl7_xkz4GR6xf6aLoxZzWJp5_Pv3viaSD1M,13580
45
+ protocolith/core/schema.py,sha256=POoKVsMDE4fJxPa5Y5F1yx-gLIndmCMEB-SaDylKx1w,5395
46
+ protocolith/core/store.py,sha256=oSRLhaYAK9h7P-VBy9G0AuFKx8c6xVqDqiBfUvbhdSc,3209
47
+ protocolith/core/views.py,sha256=AvVWYfq-oFBr3H3P3YEWkpxK3Hg9BS9C0nlrxA6QdRA,5672
48
+ protocolith/core/atlas_assets/atlas.css,sha256=h2NwRElSTFmh0eN5qq9yM5xllnFZjIr6cLtZ67CHmdQ,6783
49
+ protocolith/core/atlas_assets/atlas.html,sha256=0T6e00mx0SW6RFhtQ4SCutc2_z8A2NR1QNTVd79Gso4,3862
50
+ protocolith/core/atlas_assets/atlas.js,sha256=XOOsYfiC2B9Lhk_O0-1_VZVVeNQi_uhinqDXPR7i5w4,18975
51
+ protocolith/core/atlas_i18n/en.json,sha256=b6eFPnbX2i6R8D1Ni4FhJWCSkj6HbpN7aCBMxC3MrAY,2779
52
+ protocolith-0.6.0.dist-info/METADATA,sha256=EP5Vr4i59YOG9_pmM9xq9oDwdxJt-oXvLkK3PdayqHw,15952
53
+ protocolith-0.6.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
54
+ protocolith-0.6.0.dist-info/entry_points.txt,sha256=XcWtQx_80jiEYGUcjjV2zXbZkMbaYARSqSbdeGpfb54,82
55
+ protocolith-0.6.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
56
+ protocolith-0.6.0.dist-info/licenses/NOTICE,sha256=W-wDgB7MCUGsN5hNZrjlDynZGwIJ8LzsTEeiPwqAT5Q,475
57
+ protocolith-0.6.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ plith = protocolith.cli:main
3
+ protocolith = protocolith.cli:main
@@ -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,13 @@
1
+ ClaimBound Evidence
2
+
3
+ Copyright 2026 ClaimBound contributors.
4
+
5
+ Licensed under the Apache License, Version 2.0. See the LICENSE file for the
6
+ full license text.
7
+
8
+ This repository contains only the open evidence foreground: public-source
9
+ adapters, pre-registration runners, tests, documentation, and sanitized
10
+ evidence summaries.
11
+
12
+ No private production technology, proprietary formulas, private integrations,
13
+ raw payloads, access tokens, or private research history are included.