buddie 1.0.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 (43) hide show
  1. buddie-1.0.0/CHANGELOG.md +232 -0
  2. buddie-1.0.0/LICENSE +177 -0
  3. buddie-1.0.0/MANIFEST.in +11 -0
  4. buddie-1.0.0/NOTICE +21 -0
  5. buddie-1.0.0/PKG-INFO +357 -0
  6. buddie-1.0.0/PRIVACY.md +54 -0
  7. buddie-1.0.0/README.md +325 -0
  8. buddie-1.0.0/buddie/__init__.py +3 -0
  9. buddie-1.0.0/buddie/__main__.py +5 -0
  10. buddie-1.0.0/buddie/anchors.py +216 -0
  11. buddie-1.0.0/buddie/cli.py +215 -0
  12. buddie-1.0.0/buddie/config.py +193 -0
  13. buddie-1.0.0/buddie/context.py +124 -0
  14. buddie-1.0.0/buddie/decisions.py +260 -0
  15. buddie-1.0.0/buddie/effects.py +292 -0
  16. buddie-1.0.0/buddie/hook.py +477 -0
  17. buddie-1.0.0/buddie/journal.py +280 -0
  18. buddie-1.0.0/buddie/mandate.py +499 -0
  19. buddie-1.0.0/buddie/mcp.py +214 -0
  20. buddie-1.0.0/buddie/promises.py +519 -0
  21. buddie-1.0.0/buddie/remote.py +293 -0
  22. buddie-1.0.0/buddie/stores.py +130 -0
  23. buddie-1.0.0/buddie/suggest.py +174 -0
  24. buddie-1.0.0/buddie/summary.py +490 -0
  25. buddie-1.0.0/buddie/verbatim/__init__.py +3 -0
  26. buddie-1.0.0/buddie/verbatim/__main__.py +3 -0
  27. buddie-1.0.0/buddie/verbatim/access.py +339 -0
  28. buddie-1.0.0/buddie/verbatim/check.py +575 -0
  29. buddie-1.0.0/buddie/verbatim/cli.py +228 -0
  30. buddie-1.0.0/buddie/verbatim/numbers.py +539 -0
  31. buddie-1.0.0/buddie/verbatim/report.py +329 -0
  32. buddie-1.0.0/buddie/verbatim/store.py +137 -0
  33. buddie-1.0.0/buddie/verbatim/textlayer.py +174 -0
  34. buddie-1.0.0/buddie/verify.py +213 -0
  35. buddie-1.0.0/buddie.egg-info/PKG-INFO +357 -0
  36. buddie-1.0.0/buddie.egg-info/SOURCES.txt +41 -0
  37. buddie-1.0.0/buddie.egg-info/dependency_links.txt +1 -0
  38. buddie-1.0.0/buddie.egg-info/entry_points.txt +3 -0
  39. buddie-1.0.0/buddie.egg-info/requires.txt +3 -0
  40. buddie-1.0.0/buddie.egg-info/top_level.txt +1 -0
  41. buddie-1.0.0/pyproject.toml +50 -0
  42. buddie-1.0.0/run.py +11 -0
  43. buddie-1.0.0/setup.cfg +4 -0
@@ -0,0 +1,232 @@
1
+ # Changelog
2
+
3
+ ## buddie 1.0.0 (2026-10-19)
4
+
5
+ First stable release: the receipt, the CLI, the MCP tools and `buddie.toml` follow semantic versioning from here on.
6
+
7
+ New places to run:
8
+ - Claude Desktop: an MCP Bundle (`manifest.json`, `.mcpb` built and attached to each release),
9
+ `docs/install-claude-desktop.md`.
10
+ - Codex: plugin manifest `.codex-plugin/plugin.json` with the MCP server, the skills and a Stop hook; this repository
11
+ is a Codex marketplace too. `docs/install-codex.md`.
12
+ - ChatGPT, claude.ai and the Claude API: a remote MCP server over Streamable HTTP (`buddie serve --http`) with a
13
+ narrower tool set and a fetch guard (public addresses only, every redirect checked), a Docker image,
14
+ `docs/deploy.md`.
15
+ - PyPI: `pip install buddie`, `uvx buddie serve`; release workflow with trusted publishing, MCP Registry entry
16
+ `io.github.tsyyan/buddie` (`server.json`).
17
+
18
+ Changes:
19
+ - **Breaking:** the quote module is `buddie.verbatim` and its command `buddie-verbatim`. The top-level `verbatim`
20
+ package and command clashed with an unrelated `verbatim` on PyPI.
21
+ - The final answer at `Stop` comes from the event's `last_assistant_message` when the transcript has none (Codex).
22
+ - `run:` against a transcript that is not Claude Code's is `UNCHECKABLE`, not a false `BROKEN`.
23
+ - `BUDDIE_DEFAULT_REPOS=none` stops `verify_report` from defaulting to the repo around the server's cwd.
24
+ - The Claude Code plugin asks for an optional GitHub token (`userConfig`, stored as a secret) instead of relying on
25
+ `GITHUB_TOKEN` in the environment; an unset option is never sent.
26
+ - MCP tool annotations (read-only, non-destructive) for clients and directories.
27
+ - Development moved here from the private lab repository: this repository is the source of buddie, no longer an
28
+ export. `PROVENANCE.json` moved to `results/` as the record of the last export (`lab@ed8d971`).
29
+ - CI: `apt-get update` before installing poppler-utils; tests import their sibling modules directly, so bare
30
+ `pytest` collects them; jobs for the package, the bundle, the Docker image and the catalog manifests.
31
+
32
+ - Development moved here from the private lab repository: this repository is the source of buddie, no longer an
33
+ export. `PROVENANCE.json` moved to `results/` as the record of the last export (`lab@ed8d971`).
34
+ - CI: `apt-get update` before installing poppler-utils; tests import their sibling modules directly, so bare
35
+ `pytest` collects them.
36
+
37
+ ## buddie 0.8.2 (2026-10-08)
38
+
39
+ - Fewer false returns for work claimed in prose. A word in a clause opened by once, as soon as, after, when, if,
40
+ until, unless or before (Russian «когда», «если», «как только», «после того как», «пока не», «до того как»), within
41
+ three words and no punctuation, is a condition or a plan, not a claim: «Once automerge has merged it, start the
42
+ next row». «merged» after an article or possessive and before a noun is an adjective: «the merged code».
43
+ - At Stop, the last message is not checked for prose when the same turn already sent a final answer through a text
44
+ tool (reply, post_message, send_message) that the gate let out: that text reaches no one. A reply the gate
45
+ returned, or one sent in an earlier turn, does not count.
46
+ - In lab's journal since prose started blocking, these were 2 of 8 prose returns read from transcripts (false) and
47
+ 3 of 8 on Stop text after the reply had gone out.
48
+
49
+ ## buddie 0.8.1 (2026-10-04)
50
+
51
+ - A bare anchor counts: after the anchor sign, without backticks, `path#sha`, `path@commit`, `fact=value`, `pr:…`,
52
+ `ci:…`, `choice:…` up to the first space, `run:CMD => OUT` up to the end of the line, the next sign or a table cell
53
+ border; before, only an anchor in backticks was found, and a report anchored the way the SKILL.md table shows was
54
+ returned as "final answer has no anchor". Placeholders (`<…>`, `…`, `OWNER/REPO`, `CMD => OUT`) and a sign with no
55
+ anchor after it are not anchors. On the 43 E017 gate rounds, offline: rounds with the sign returned for no anchor
56
+ 14 → 0.
57
+ - The return no longer offers a ready anchor from a call that has nothing to do with the claim: a command that opens by
58
+ writing a file (a heredoc into `>` or `tee`, `sed -i`, `perl -pi`) or the `SubagentHandback` call itself.
59
+
60
+ ## buddie 0.8.0 (2026-10-04)
61
+
62
+ - `buddie.toml` `[gates]`: each class of claims (`anchors`, `quotes`, `final`, `prose`, `numbers`, `work`, `summary`,
63
+ `promises`) is `block`, `warn` or `off`. A warning lets the text out with a `systemMessage` naming what the gate
64
+ found. `BUDDIE_GATES` overrides the file. Defaults change: work claimed in prose and numbers missing from their
65
+ source warn instead of blocking or being only a gap; the subagent summary and the promise check are off.
66
+ - `buddie init` writes `buddie.toml` with the defaults and the intro mode: until 20 final answers have passed with no
67
+ false return reported (`buddie intro --false`), nothing is returned, each would-be return is a warning.
68
+ `buddie enforce` ends it.
69
+ - Windows: the hooks start through `hooks/run.sh` (`python3`, else `python`, else `py -3`); the hook reads its event
70
+ as UTF-8 and writes UTF-8. CI runs the tests and a smoke run of the hook on recorded events on Linux, macOS and
71
+ Windows, from a clone and from `pip install`.
72
+
73
+ ## buddie 0.7.4 (2026-10-04)
74
+
75
+ - Defaults for other projects. Without a configured mark the final answer is the last assistant message at `Stop`,
76
+ in any language; before, only text carrying the Russian mark `Следующий шаг:` was final, so the final-answer rules
77
+ (an anchor required, no count or work claim in prose without one) never ran for anyone else. A project that hands
78
+ in results through a tool names its mark as `final_mark` in `buddie.toml` `[mandate]` or in `BUDDIE_FINAL`; then
79
+ text carrying it is final at any event. An empty `BUDDIE_FINAL` turns the rules off.
80
+ - The plugin's hook matches Claude Code's own tools only (`SendMessage`; `Agent` and `Task` for launches).
81
+ Matchers for a project's reply and post tools and for cloud sessions moved to
82
+ [`examples/hooks/projects.json`](examples/hooks/projects.json).
83
+ - The version in `pyproject.toml` and `CITATION.cff` is written from the code at export: the public tree carried
84
+ 0.6.0 under 0.7.3 code, and `test_one_version_everywhere` failed.
85
+
86
+ ## buddie 0.7.3 (2026-10-04)
87
+
88
+ - The launch gate and the summary judge a row's verdict at the time of the check: a "not before <date>" condition
89
+ comes due then, and a delay ("a day after the merge of №M") counts from the commit that brought the row's text.
90
+ Without history (uncommitted edit, the bottom of a shallow clone) a delay does not come due.
91
+
92
+ ## buddie 0.7.2 (2026-10-04)
93
+
94
+ - A launch with a basis is still returned (exit 2, outcome `taken`) when the row is already taken: `free: false` in
95
+ the row's verdict of the merge comment on the PR merged as the anchor's commit, or the command `[launch] free`
96
+ (`{n}` is the row) answering `free: false` now. Its reasons are printed. `BUDDIE_FREE=<command>` sets the command,
97
+ `0` turns it off; without a comment and a command the gate lets the launch through (`free: null` in the journal).
98
+ - The launch hook's timeout is 60 s instead of 30 s.
99
+
100
+ ## buddie 0.7.0 (2026-10-04)
101
+
102
+ - Launch gate (`buddie.toml` `[launch] tools`, off without the section): a launch of queue row N passes only with
103
+ `⚓ NEXT.md@<commit>` whose queue gives N the verdict `auto`, or with `⚓ choice:<id>=№N`, the person's pick in the
104
+ journal; otherwise exit 2 with a ready anchor when one holds. A launch with no row number passes.
105
+ - Promises: a text the gate let out is read for promises to launch a row (with a condition: a PR merged, a row done)
106
+ and to send a summary; `SessionStart` prints the open ones, `Stop` returns the turn once per promise whose
107
+ condition holds. A `buddie:` line drops a promise; promises expire after 48 hours.
108
+
109
+ ## verbatim 0.3.7 (2026-10-04)
110
+
111
+ - `numbers` reads "млн", "млрд", "тыс.", "трлн" and the full Russian words after a number as million, billion,
112
+ thousand, trillion: "$35.0 млн" is found on a page with "$35.0 million".
113
+ - A year the sentence itself calls absent ("not on the page", "не упоминается") is not looked up (`ABSENT`).
114
+ - A report on one's own work is not a claim about the page: numbers inside a `run:` anchor (command and output) and a
115
+ snapshot timestamp next to its sha256 or a word like "snapshot" are not looked up.
116
+
117
+ ## verbatim 0.3.6 (2026-10-04)
118
+
119
+ - `numbers`: a number missing from an abstract page (arXiv `/abs/`, an OpenAlex abstract) is `UNCERTAIN`
120
+ (`abstract_only`); one missing from a market report whose forecast period on the page is later than the sentence's
121
+ is `UNCERTAIN` (`rewritten`). buddie counts both as gaps, not blocks.
122
+
123
+ ## verbatim 0.3.5 (2026-10-03)
124
+
125
+ - `check.readable` no longer takes for a document an Anubis check, a login page, an encoded payload or a redirect to a
126
+ local address.
127
+ - `numbers` reads "2024 Jan 5", "10/09/2018" (both orders), thin-space thousands and tables "in thousands"/"in
128
+ millions"; "from 12.3 million in 2020 to 16.2 million" is no longer a range.
129
+
130
+ ## verbatim 0.3.4 (2026-10-03)
131
+
132
+ - `check.readable` no longer takes for a document a "Client Challenge", a captcha at the head of a long page, a
133
+ JavaScript shell, or a redirect to the home page, to a section above the requested page or to a short page of
134
+ another site; the `--access` cascade then goes on to the real page.
135
+ - `numbers`: a year counts as found only next to a word of its own clause; `cited_sentences` reads Gemini-style
136
+ footnotes.
137
+
138
+ ## buddie 0.7.1 (2026-10-04)
139
+
140
+ - A final answer that claims work in prose (merged, CI green, tests passed, ran) with no `pr:`, `ci:` or `run:`
141
+ anchor on the same line is returned, with the ready anchors that hold now; a `buddie:` line does not let it
142
+ through, only an anchor or dropping the claim does. Other messages only count such lines (`prose_work`); the
143
+ receipt now also lists their numbers (`prose_lines`). A negated claim ("not merged yet", «ещё не слит») is not a
144
+ claim. Found in our own dogfood: a thread answer stated four merges with no anchor and left.
145
+
146
+ ## buddie 0.6.1 (2026-10-03)
147
+
148
+ - A line whose quote is FOUND on the page at a URL written on that same line carries its source: its numbers are no
149
+ longer listed under `unanchored`, and a final answer is not returned for them as "number without anchor". The
150
+ receipt lists such lines under `quote_backed`. A number without the URL on its line is still returned. Found on a
151
+ correct report of the E016 pilot (three quoted revenue figures, quotes 3/3 found, returned anyway).
152
+
153
+ ## buddie 0.6.0 (2026-10-03)
154
+
155
+ - Summary with a choice card: the hook counts live subagents (`SubagentStart`/`SubagentStop`), checks each
156
+ subagent's last message, and on the orchestrator's `Stop` with none left asks once for a summary.
157
+ - `buddie summary` (CLI) and the MCP tool `summary`: what was done (receipt outcome), lost subagents, next steps with
158
+ `auto`/`ask` verdicts, open PRs and red CI, and a ready `AskUserQuestion` card with at most three steps.
159
+ - The person's pick (`PostToolUse` on `AskUserQuestion`) goes to the journal; the anchor `choice:<id>=<step>` is
160
+ checked against it and counts as consent in work claims.
161
+
162
+ ## buddie 0.5.1 (2026-10-03)
163
+
164
+ - An anchor with the sign before the backticks (⚓ `path@commit`, as the skill used to show it) is now read like
165
+ `⚓ path@commit`. Before, it was not parsed at all: a correct report counted as unanchored and was returned, and a
166
+ broken `pr:`, `ci:` or `run:` anchor in that form went through unchecked. The skill and README show the sign inside
167
+ the backticks.
168
+
169
+ ## buddie 0.5.0 (2026-10-03)
170
+
171
+ The public tree had carried 0.4 and 0.5 code under the 0.3.0 version since the daily sync; this release names it.
172
+
173
+ - Numbers (0.4): numbers and dates in a sentence with a link are looked up in the snapshot of that link
174
+ (`verbatim.numbers`). A number missing from its readable source is a gap by default; `--numbers fail` or
175
+ `BUDDIE_NUMBERS=fail` makes it block, `off` turns it off.
176
+ - Closed loop (0.5): a returned message logs `reasons`; the next attempt logs `gate`, how it got through (proof,
177
+ removal, disclosure, returned again). `SessionStart` prints the lessons of past sessions' journal (at most ten lines,
178
+ `BUDDIE_LESSONS=0` turns it off). A return offers ready `pr:`, `ci:` and `run:` anchors that already hold.
179
+ `buddie journal measure` and `buddie journal lessons`.
180
+ - Context gate: past `BUDDIE_CONTEXT_LIMIT` tokens (default 200000) a non-final reply is returned with a reminder to
181
+ hand the result over and start the next step in a new thread.
182
+ - Snapshot stores: the hook judges web quotes against the snapshots the session took (`BUDDIE_STORES`,
183
+ `VERBATIM_STORE`, stores named in the session's tool calls, `./.verbatim`), and fetches only URLs in none of them.
184
+ - A `buddie:` disclosure line no longer lets a broken `pr:`, `ci:` or `run:` anchor through: such an anchor states work
185
+ that did not happen, so it must be corrected or removed.
186
+
187
+ ## buddie 0.3.0 (2026-10-03), first public release
188
+
189
+ The repository `tsyyan/verbatim` became `tsyyan/buddie`; verbatim is buddie's quote module.
190
+
191
+ - Effect anchors `pr:`, `ci:` (GitHub API) and `run:` (session transcript); output the agent typed itself does not count.
192
+ - Work and mandate claims against a task queue (`buddie.toml`, opt-in).
193
+ - Repo anchors `path#sha256`, `path@commit`, `fact=value`.
194
+ - Receipt v0 (in-toto Statement), CLI, MCP server over stdio, Claude Code hook, plugin and marketplace.
195
+ - Results E009 (numbers) and E014 (Search Arena) added.
196
+
197
+ ## verbatim
198
+
199
+ Each version was measured on reports it was not tuned on. Experiment folders are in `results/`.
200
+
201
+ ## 0.3.3 (2026-10-02)
202
+
203
+ - Footnote markers inside quotation marks (`[1](url)`, `[2]`) are dropped before search.
204
+ - A truncated response body (`IncompleteRead`) is a failed fetch, not a crash of `check`.
205
+ - E014 in-sample recount: false `NOT_FOUND` 26 of 423 instead of 29; no agent error became a find.
206
+
207
+ ## 0.3.2 (2026-10-02)
208
+
209
+ - Two replies of one speaker joined across the page's speech tag are found (`note: "speech_tag"`).
210
+ - The page's `[A]t` brackets and `___` blanks are normalized. Mojibake in the text layer is repaired before search.
211
+ - E012: none of 200 labelled agent errors became a find.
212
+
213
+ ## 0.3.1
214
+
215
+ - New hints that mark an example before the quote marks: `like “`, `something like: “`, `might include: “`,
216
+ `questions (“`. E011: 2 hits in 249 checked quotes, both correct.
217
+
218
+ ## 0.3.0
219
+
220
+ - `NOT_A_QUOTE` verdict for words the report itself shows are not a quotation (`boilerplate`, `title`, `example`).
221
+ - Punctuation between words is ignored at the last normalization level.
222
+ - E010: false `NOT_FOUND` 5 of 147 (3.4 %).
223
+
224
+ ## 0.2
225
+
226
+ - A quote is checked against its own link. A find under another link of the paragraph is `UNCERTAIN`.
227
+ - `UNCERTAIN` doubts and the access cascade (`--access`: browser, Wayback / Common Crawl, open access, copies).
228
+ - PDF via `pdftotext`, compressed bodies, cookie and bot gates are reported as `SOURCE_UNAVAILABLE`.
229
+
230
+ ## 0.1
231
+
232
+ - `snap`, `text`, `check`: the content-addressed store, the visible-text layer and the quote search.
buddie-1.0.0/LICENSE ADDED
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,11 @@
1
+ # The sdist is the package plus what a reader of it needs; experiment data stays in the repository.
2
+ include README.md CHANGELOG.md LICENSE NOTICE PRIVACY.md run.py
3
+ prune results
4
+ prune tests
5
+ prune examples
6
+ prune docs
7
+ prune scripts
8
+ prune assets
9
+ prune hooks
10
+ prune skills
11
+ global-exclude __pycache__ *.py[cod]
buddie-1.0.0/NOTICE ADDED
@@ -0,0 +1,21 @@
1
+ buddie (including its quote module verbatim)
2
+ Copyright 2026 tsyyan
3
+
4
+ The code, documentation, labels, verdicts and comparison files in this repository are licensed under the Apache
5
+ License, Version 2.0 (LICENSE).
6
+
7
+ Third-party material under results/:
8
+
9
+ - DeepResearch Bench (muset-ai/DeepResearch-Bench-Dataset; github.com/Ayanami0730/deep_research_bench), Apache-2.0.
10
+ Report excerpts in results/E004-*, E005-*, E006-*, E009-*, E011-*, E012-*. Du et al., "DeepResearch Bench: A Comprehensive
11
+ Benchmark for Deep Research Agents", arXiv:2506.11763.
12
+ - DeepResearch Bench II (muset-ai/DeepResearch-Bench-II-Dataset, revision 73c8b00), Apache-2.0. Report excerpts in
13
+ results/E008-*.
14
+ - ydc-deep-research-evals (SaltyDuck0/ydc-deep-research-evals, revision 59ee56c): no license is stated, so no report
15
+ text is included. results/E010-* holds only item ids, labels, verdicts, URLs and SHA-256 hashes of the dataset files.
16
+ - Search Arena 24k (lmarena-ai/search-arena-24k, revision fac8dcf): prompts CC-BY-4.0, model answers under the
17
+ answering providers' terms, so no answer text is included in data files. results/E014-* holds item ids, labels,
18
+ verdicts, URLs and hashes; its report (REPORT.ru.md) quotes a few short phrases for research and criticism.
19
+
20
+ Short passages of cited web pages appear in verdict and label files (the closest passage found, a labeller's evidence)
21
+ for the purpose of research and criticism. Full page snapshots are not redistributed.