holt-cli 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 (65) hide show
  1. holt_cli-0.1.0/.gitignore +28 -0
  2. holt_cli-0.1.0/LICENSE +201 -0
  3. holt_cli-0.1.0/NOTICE +4 -0
  4. holt_cli-0.1.0/PKG-INFO +198 -0
  5. holt_cli-0.1.0/README.md +168 -0
  6. holt_cli-0.1.0/pyproject.toml +68 -0
  7. holt_cli-0.1.0/src/holt/__init__.py +0 -0
  8. holt_cli-0.1.0/src/holt/agent/__init__.py +0 -0
  9. holt_cli-0.1.0/src/holt/agent/entry.py +86 -0
  10. holt_cli-0.1.0/src/holt/agent/findings.py +49 -0
  11. holt_cli-0.1.0/src/holt/agent/landing.py +154 -0
  12. holt_cli-0.1.0/src/holt/agent/pipeline.py +244 -0
  13. holt_cli-0.1.0/src/holt/agent/progression.py +408 -0
  14. holt_cli-0.1.0/src/holt/agent/signals.py +220 -0
  15. holt_cli-0.1.0/src/holt/agent/stages.py +533 -0
  16. holt_cli-0.1.0/src/holt/agent/verdict.py +226 -0
  17. holt_cli-0.1.0/src/holt/agent/verify.py +140 -0
  18. holt_cli-0.1.0/src/holt/baseline.py +89 -0
  19. holt_cli-0.1.0/src/holt/baseline_matched.py +116 -0
  20. holt_cli-0.1.0/src/holt/cli.py +616 -0
  21. holt_cli-0.1.0/src/holt/discover.py +497 -0
  22. holt_cli-0.1.0/src/holt/evidence/__init__.py +3 -0
  23. holt_cli-0.1.0/src/holt/evidence/fixtures.py +154 -0
  24. holt_cli-0.1.0/src/holt/evidence/github_graphql.py +538 -0
  25. holt_cli-0.1.0/src/holt/evidence/provider.py +77 -0
  26. holt_cli-0.1.0/src/holt/evidence/redact.py +79 -0
  27. holt_cli-0.1.0/src/holt/issues.py +41 -0
  28. holt_cli-0.1.0/src/holt/model.py +516 -0
  29. holt_cli-0.1.0/src/holt/profile.py +126 -0
  30. holt_cli-0.1.0/src/holt/report.py +157 -0
  31. holt_cli-0.1.0/src/holt/tui/__init__.py +0 -0
  32. holt_cli-0.1.0/src/holt/tui/animation.py +84 -0
  33. holt_cli-0.1.0/src/holt/tui/app.py +294 -0
  34. holt_cli-0.1.0/src/holt/tui/clipboard.py +89 -0
  35. holt_cli-0.1.0/src/holt/tui/commands.py +134 -0
  36. holt_cli-0.1.0/src/holt/tui/discovery.py +305 -0
  37. holt_cli-0.1.0/src/holt/tui/env.py +49 -0
  38. holt_cli-0.1.0/src/holt/tui/events.py +245 -0
  39. holt_cli-0.1.0/src/holt/tui/mascot.py +121 -0
  40. holt_cli-0.1.0/src/holt/tui/models.py +590 -0
  41. holt_cli-0.1.0/src/holt/tui/observe.py +297 -0
  42. holt_cli-0.1.0/src/holt/tui/screens/__init__.py +35 -0
  43. holt_cli-0.1.0/src/holt/tui/screens/assessment.py +337 -0
  44. holt_cli-0.1.0/src/holt/tui/screens/confirm.py +62 -0
  45. holt_cli-0.1.0/src/holt/tui/screens/discover.py +444 -0
  46. holt_cli-0.1.0/src/holt/tui/screens/home.py +519 -0
  47. holt_cli-0.1.0/src/holt/tui/screens/inspector.py +106 -0
  48. holt_cli-0.1.0/src/holt/tui/screens/live.py +335 -0
  49. holt_cli-0.1.0/src/holt/tui/screens/models.py +393 -0
  50. holt_cli-0.1.0/src/holt/tui/screens/next_steps.py +425 -0
  51. holt_cli-0.1.0/src/holt/tui/screens/profile.py +129 -0
  52. holt_cli-0.1.0/src/holt/tui/session.py +711 -0
  53. holt_cli-0.1.0/src/holt/tui/store.py +458 -0
  54. holt_cli-0.1.0/src/holt/tui/theme.py +479 -0
  55. holt_cli-0.1.0/src/holt/tui/visual.py +33 -0
  56. holt_cli-0.1.0/src/holt/tui/widgets/__init__.py +0 -0
  57. holt_cli-0.1.0/src/holt/tui/widgets/candidates.py +78 -0
  58. holt_cli-0.1.0/src/holt/tui/widgets/claims.py +59 -0
  59. holt_cli-0.1.0/src/holt/tui/widgets/disclosure.py +121 -0
  60. holt_cli-0.1.0/src/holt/tui/widgets/evidence.py +121 -0
  61. holt_cli-0.1.0/src/holt/tui/widgets/masthead.py +122 -0
  62. holt_cli-0.1.0/src/holt/tui/widgets/recent.py +167 -0
  63. holt_cli-0.1.0/src/holt/tui/widgets/scrolling.py +38 -0
  64. holt_cli-0.1.0/src/holt/tui/widgets/stages.py +232 -0
  65. holt_cli-0.1.0/src/holt/types.py +48 -0
@@ -0,0 +1,28 @@
1
+ __pycache__/
2
+ *.pyc
3
+ .venv/
4
+ .pytest_cache/
5
+ .ruff_cache/
6
+ .env
7
+ data/
8
+ AUDIT-*.md
9
+ build/
10
+ dist/
11
+ *.egg-info/
12
+ node_modules/
13
+
14
+ # Worktrees are checkouts, not content. `git add -A` swept one in once.
15
+ .claude/worktrees/
16
+ .claude/settings.local.json
17
+
18
+ # Live TUI runs record here, deliberately outside fixtures/trajectories/ so a
19
+ # session can never rewrite the recordings the eval harness replays.
20
+ runs/
21
+
22
+ # The interface keeps its history here. One machine, not project content.
23
+ .holt/
24
+
25
+ # Kept in the working directory, deliberately never in the repository: the
26
+ # self-assessment names credentials that appeared in working sessions.
27
+ never-commit-something-named-likethisfolder/
28
+ ASSESSMENT.md
holt_cli-0.1.0/LICENSE ADDED
@@ -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.
holt_cli-0.1.0/NOTICE ADDED
@@ -0,0 +1,4 @@
1
+ Holt
2
+ Copyright 2026 Aahil Khan
3
+
4
+ This product is licensed under the Apache License, Version 2.0.
@@ -0,0 +1,198 @@
1
+ Metadata-Version: 2.5
2
+ Name: holt-cli
3
+ Version: 0.1.0
4
+ Summary: Evidence-backed assessment of whether a GitHub repository is a viable opportunity for an external contributor.
5
+ Project-URL: Homepage, https://github.com/holt-oss/holt
6
+ Project-URL: Documentation, https://github.com/holt-oss/holt/tree/main/docs
7
+ Project-URL: Repository, https://github.com/holt-oss/holt.git
8
+ Project-URL: Issues, https://github.com/holt-oss/holt/issues
9
+ Project-URL: Changelog, https://github.com/holt-oss/holt/blob/main/CHANGELOG.md
10
+ Project-URL: Security, https://github.com/holt-oss/holt/security/policy
11
+ Author-email: Aahil Khan <aahilminookhan@gmail.com>
12
+ Maintainer-email: Aahil Khan <aahilminookhan@gmail.com>
13
+ License-Expression: Apache-2.0
14
+ License-File: LICENSE
15
+ License-File: NOTICE
16
+ Keywords: cli,contributors,github,open-source,repository-analysis
17
+ Classifier: Development Status :: 3 - Alpha
18
+ Classifier: Environment :: Console
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: Operating System :: OS Independent
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3 :: Only
23
+ Classifier: Topic :: Software Development
24
+ Requires-Python: >=3.11
25
+ Requires-Dist: anthropic>=0.60
26
+ Requires-Dist: httpx>=0.27
27
+ Requires-Dist: openai>=3.6.0
28
+ Requires-Dist: textual>=0.80
29
+ Description-Content-Type: text/markdown
30
+
31
+ # Holt
32
+
33
+ [![CI](https://github.com/holt-oss/holt/actions/workflows/ci.yml/badge.svg)](https://github.com/holt-oss/holt/actions/workflows/ci.yml)
34
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-83a9ff.svg)](https://github.com/holt-oss/holt/blob/main/LICENSE)
35
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-69c7a6.svg)](https://github.com/holt-oss/holt/blob/main/pyproject.toml)
36
+
37
+ **Choose an open-source repository that is worth your time.**
38
+
39
+ Holt reads recent GitHub contribution history and shows what happens when
40
+ outside contributors try to help: whether they receive a response, whether
41
+ substantive work gets reviewed and merged, and where newcomer contributions
42
+ actually land. It turns that evidence into a verdict you can inspect before
43
+ committing days or weeks to a project.
44
+
45
+ ![Holt terminal interface](https://raw.githubusercontent.com/holt-oss/holt/main/assets/holt.png)
46
+
47
+ Holt is read-only. It never opens pull requests, posts comments, or contacts
48
+ maintainers. Every factual claim in a full report links back to the pull request,
49
+ review, or comment that supports it.
50
+
51
+ > Winner of **Most useful real-world workflow** at the micro1 Frontier
52
+ > Engineering Challenge. Holt is now maintained as an independent open-source
53
+ > product by [`holt-oss`](https://github.com/holt-oss).
54
+
55
+ ## Install
56
+
57
+ Holt is pre-1.0. You need [`uv`](https://docs.astral.sh/uv/) and Python 3.11 or
58
+ newer.
59
+
60
+ ```sh
61
+ uv tool install holt-cli
62
+ ```
63
+
64
+ Create a classic GitHub token with no scopes and expose it to Holt:
65
+
66
+ ```sh
67
+ export GITHUB_TOKEN=your_token
68
+ ```
69
+
70
+ Start with the rules-only report. It calls no model and needs no model API key:
71
+
72
+ ```sh
73
+ holt analyze pallets/flask --live --no-model
74
+ ```
75
+
76
+ For a written report with cited findings and quotations, configure a supported
77
+ model provider and run the full analysis:
78
+
79
+ ```sh
80
+ export OPENAI_API_KEY=your_key
81
+ holt analyze pallets/flask --live
82
+ ```
83
+
84
+ Run `holt models` to inspect or change the provider. OpenAI, Anthropic, Gemini,
85
+ Ollama, and OpenAI-compatible endpoints are supported.
86
+
87
+ ## Use the terminal interface
88
+
89
+ Run Holt without a subcommand to open the interactive terminal interface:
90
+
91
+ ```sh
92
+ holt
93
+ ```
94
+
95
+ From there you can assess a repository, revisit past reports, inspect the
96
+ evidence behind a claim, compare candidates, and configure model providers.
97
+
98
+ ## What you get
99
+
100
+ A repository assessment answers five practical questions:
101
+
102
+ - Do first-time contributors get meaningful work merged?
103
+ - How quickly does someone usually respond?
104
+ - Are pull requests reviewed by people or accepted mechanically?
105
+ - Which parts of the codebase have accepted outsider work?
106
+ - What specific evidence supports the verdict?
107
+
108
+ The headline is one of:
109
+
110
+ | Verdict | Meaning |
111
+ |---|---|
112
+ | **Worth your time** | There is evidence that outsiders can land useful work. |
113
+ | **Not worth your time** | The observed contribution path is a poor fit for the time you have. |
114
+ | **Not enough evidence** | Holt cannot support either conclusion from the available history. |
115
+
116
+ Treat the verdict as a filter, not an oracle. Open the cited evidence before
117
+ making a significant commitment.
118
+
119
+ ## Commands
120
+
121
+ | Command | Purpose |
122
+ |---|---|
123
+ | `holt analyze <owner/repo> --live` | Assess one repository using current GitHub data. |
124
+ | `holt compare <repo>… --live` | Compare repositories side by side. |
125
+ | `holt profile` | Save the languages, topics, contribution type, and time budget you want. |
126
+ | `holt discover --live` | Find and screen repositories for that profile. |
127
+ | `holt next <repo> --as <login> --live` | Rank open issues after you have contributed to a project. |
128
+ | `holt models` | Inspect or change the model provider. |
129
+ | `holt tui` | Open the interactive terminal interface. |
130
+
131
+ See [USAGE.md](https://github.com/holt-oss/holt/blob/main/USAGE.md) for the
132
+ complete workflow and
133
+ [docs/COMMANDS.md](https://github.com/holt-oss/holt/blob/main/docs/COMMANDS.md)
134
+ for command details.
135
+
136
+ ## How it works
137
+
138
+ Holt separates evidence collection, interpretation, verification, and the final
139
+ decision:
140
+
141
+ ```text
142
+ GitHub history
143
+ ↓
144
+ contribution signals + cited findings
145
+ ↓
146
+ evidence verification
147
+ ↓
148
+ deterministic verdict
149
+ ↓
150
+ written explanation
151
+ ```
152
+
153
+ The model may interpret threads and explain the result, but it does not choose
154
+ the verdict. Unsupported findings are removed before the decision is computed.
155
+ The same verified inputs therefore produce the same verdict.
156
+
157
+ The architecture and its boundaries are documented in
158
+ [docs/DESIGN.md](https://github.com/holt-oss/holt/blob/main/docs/DESIGN.md).
159
+
160
+ ## Evaluation and limitations
161
+
162
+ Holt has been measured on two temporally held-out repository pools. On the
163
+ out-of-sample pool it reached 0.82 balanced accuracy and 0.63 Matthews
164
+ correlation, compared with 0.61 and 0.21 for a single prompt over repository
165
+ metadata and documentation. The committed fixtures and recordings make those
166
+ results reproducible.
167
+
168
+ The evaluation is evidence, not a guarantee. Repository cultures change, quiet
169
+ periods can look worse than they are, and no benchmark captures whether a
170
+ particular issue matches your skills. Holt is designed to show its work so you
171
+ can disagree with it intelligently.
172
+
173
+ - [Evaluation design and limitations](https://github.com/holt-oss/holt/blob/main/docs/EVALUATION.md)
174
+ - [Reproduce the published results](https://github.com/holt-oss/holt/blob/main/REPRODUCTION.md)
175
+ - [Recorded example analyses](https://github.com/holt-oss/holt/blob/main/trajectories/README.md)
176
+
177
+ ## Contributing
178
+
179
+ Holt welcomes focused improvements to evidence providers, verdict rules,
180
+ terminal UX, documentation, evaluation, and platform support.
181
+
182
+ ```sh
183
+ git clone https://github.com/holt-oss/holt.git
184
+ cd holt
185
+ uv sync
186
+ uv run pytest -rs
187
+ ```
188
+
189
+ Read [CONTRIBUTING.md](https://github.com/holt-oss/holt/blob/main/CONTRIBUTING.md)
190
+ before opening a pull request. Community participation is governed by the
191
+ [Code of Conduct](https://github.com/holt-oss/holt/blob/main/CODE_OF_CONDUCT.md),
192
+ and security reports follow
193
+ [SECURITY.md](https://github.com/holt-oss/holt/blob/main/SECURITY.md).
194
+
195
+ ## License
196
+
197
+ Holt is licensed under the
198
+ [Apache License 2.0](https://github.com/holt-oss/holt/blob/main/LICENSE).
@@ -0,0 +1,168 @@
1
+ # Holt
2
+
3
+ [![CI](https://github.com/holt-oss/holt/actions/workflows/ci.yml/badge.svg)](https://github.com/holt-oss/holt/actions/workflows/ci.yml)
4
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-83a9ff.svg)](https://github.com/holt-oss/holt/blob/main/LICENSE)
5
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-69c7a6.svg)](https://github.com/holt-oss/holt/blob/main/pyproject.toml)
6
+
7
+ **Choose an open-source repository that is worth your time.**
8
+
9
+ Holt reads recent GitHub contribution history and shows what happens when
10
+ outside contributors try to help: whether they receive a response, whether
11
+ substantive work gets reviewed and merged, and where newcomer contributions
12
+ actually land. It turns that evidence into a verdict you can inspect before
13
+ committing days or weeks to a project.
14
+
15
+ ![Holt terminal interface](https://raw.githubusercontent.com/holt-oss/holt/main/assets/holt.png)
16
+
17
+ Holt is read-only. It never opens pull requests, posts comments, or contacts
18
+ maintainers. Every factual claim in a full report links back to the pull request,
19
+ review, or comment that supports it.
20
+
21
+ > Winner of **Most useful real-world workflow** at the micro1 Frontier
22
+ > Engineering Challenge. Holt is now maintained as an independent open-source
23
+ > product by [`holt-oss`](https://github.com/holt-oss).
24
+
25
+ ## Install
26
+
27
+ Holt is pre-1.0. You need [`uv`](https://docs.astral.sh/uv/) and Python 3.11 or
28
+ newer.
29
+
30
+ ```sh
31
+ uv tool install holt-cli
32
+ ```
33
+
34
+ Create a classic GitHub token with no scopes and expose it to Holt:
35
+
36
+ ```sh
37
+ export GITHUB_TOKEN=your_token
38
+ ```
39
+
40
+ Start with the rules-only report. It calls no model and needs no model API key:
41
+
42
+ ```sh
43
+ holt analyze pallets/flask --live --no-model
44
+ ```
45
+
46
+ For a written report with cited findings and quotations, configure a supported
47
+ model provider and run the full analysis:
48
+
49
+ ```sh
50
+ export OPENAI_API_KEY=your_key
51
+ holt analyze pallets/flask --live
52
+ ```
53
+
54
+ Run `holt models` to inspect or change the provider. OpenAI, Anthropic, Gemini,
55
+ Ollama, and OpenAI-compatible endpoints are supported.
56
+
57
+ ## Use the terminal interface
58
+
59
+ Run Holt without a subcommand to open the interactive terminal interface:
60
+
61
+ ```sh
62
+ holt
63
+ ```
64
+
65
+ From there you can assess a repository, revisit past reports, inspect the
66
+ evidence behind a claim, compare candidates, and configure model providers.
67
+
68
+ ## What you get
69
+
70
+ A repository assessment answers five practical questions:
71
+
72
+ - Do first-time contributors get meaningful work merged?
73
+ - How quickly does someone usually respond?
74
+ - Are pull requests reviewed by people or accepted mechanically?
75
+ - Which parts of the codebase have accepted outsider work?
76
+ - What specific evidence supports the verdict?
77
+
78
+ The headline is one of:
79
+
80
+ | Verdict | Meaning |
81
+ |---|---|
82
+ | **Worth your time** | There is evidence that outsiders can land useful work. |
83
+ | **Not worth your time** | The observed contribution path is a poor fit for the time you have. |
84
+ | **Not enough evidence** | Holt cannot support either conclusion from the available history. |
85
+
86
+ Treat the verdict as a filter, not an oracle. Open the cited evidence before
87
+ making a significant commitment.
88
+
89
+ ## Commands
90
+
91
+ | Command | Purpose |
92
+ |---|---|
93
+ | `holt analyze <owner/repo> --live` | Assess one repository using current GitHub data. |
94
+ | `holt compare <repo>… --live` | Compare repositories side by side. |
95
+ | `holt profile` | Save the languages, topics, contribution type, and time budget you want. |
96
+ | `holt discover --live` | Find and screen repositories for that profile. |
97
+ | `holt next <repo> --as <login> --live` | Rank open issues after you have contributed to a project. |
98
+ | `holt models` | Inspect or change the model provider. |
99
+ | `holt tui` | Open the interactive terminal interface. |
100
+
101
+ See [USAGE.md](https://github.com/holt-oss/holt/blob/main/USAGE.md) for the
102
+ complete workflow and
103
+ [docs/COMMANDS.md](https://github.com/holt-oss/holt/blob/main/docs/COMMANDS.md)
104
+ for command details.
105
+
106
+ ## How it works
107
+
108
+ Holt separates evidence collection, interpretation, verification, and the final
109
+ decision:
110
+
111
+ ```text
112
+ GitHub history
113
+ ↓
114
+ contribution signals + cited findings
115
+ ↓
116
+ evidence verification
117
+ ↓
118
+ deterministic verdict
119
+ ↓
120
+ written explanation
121
+ ```
122
+
123
+ The model may interpret threads and explain the result, but it does not choose
124
+ the verdict. Unsupported findings are removed before the decision is computed.
125
+ The same verified inputs therefore produce the same verdict.
126
+
127
+ The architecture and its boundaries are documented in
128
+ [docs/DESIGN.md](https://github.com/holt-oss/holt/blob/main/docs/DESIGN.md).
129
+
130
+ ## Evaluation and limitations
131
+
132
+ Holt has been measured on two temporally held-out repository pools. On the
133
+ out-of-sample pool it reached 0.82 balanced accuracy and 0.63 Matthews
134
+ correlation, compared with 0.61 and 0.21 for a single prompt over repository
135
+ metadata and documentation. The committed fixtures and recordings make those
136
+ results reproducible.
137
+
138
+ The evaluation is evidence, not a guarantee. Repository cultures change, quiet
139
+ periods can look worse than they are, and no benchmark captures whether a
140
+ particular issue matches your skills. Holt is designed to show its work so you
141
+ can disagree with it intelligently.
142
+
143
+ - [Evaluation design and limitations](https://github.com/holt-oss/holt/blob/main/docs/EVALUATION.md)
144
+ - [Reproduce the published results](https://github.com/holt-oss/holt/blob/main/REPRODUCTION.md)
145
+ - [Recorded example analyses](https://github.com/holt-oss/holt/blob/main/trajectories/README.md)
146
+
147
+ ## Contributing
148
+
149
+ Holt welcomes focused improvements to evidence providers, verdict rules,
150
+ terminal UX, documentation, evaluation, and platform support.
151
+
152
+ ```sh
153
+ git clone https://github.com/holt-oss/holt.git
154
+ cd holt
155
+ uv sync
156
+ uv run pytest -rs
157
+ ```
158
+
159
+ Read [CONTRIBUTING.md](https://github.com/holt-oss/holt/blob/main/CONTRIBUTING.md)
160
+ before opening a pull request. Community participation is governed by the
161
+ [Code of Conduct](https://github.com/holt-oss/holt/blob/main/CODE_OF_CONDUCT.md),
162
+ and security reports follow
163
+ [SECURITY.md](https://github.com/holt-oss/holt/blob/main/SECURITY.md).
164
+
165
+ ## License
166
+
167
+ Holt is licensed under the
168
+ [Apache License 2.0](https://github.com/holt-oss/holt/blob/main/LICENSE).
@@ -0,0 +1,68 @@
1
+ [project]
2
+ name = "holt-cli"
3
+ version = "0.1.0"
4
+ description = "Evidence-backed assessment of whether a GitHub repository is a viable opportunity for an external contributor."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = "Apache-2.0"
8
+ license-files = ["LICENSE", "NOTICE"]
9
+ authors = [
10
+ { name = "Aahil Khan", email = "aahilminookhan@gmail.com" },
11
+ ]
12
+ maintainers = [
13
+ { name = "Aahil Khan", email = "aahilminookhan@gmail.com" },
14
+ ]
15
+ keywords = [
16
+ "open-source",
17
+ "github",
18
+ "contributors",
19
+ "repository-analysis",
20
+ "cli",
21
+ ]
22
+ classifiers = [
23
+ "Development Status :: 3 - Alpha",
24
+ "Environment :: Console",
25
+ "Intended Audience :: Developers",
26
+ "Operating System :: OS Independent",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3 :: Only",
29
+ "Topic :: Software Development",
30
+ ]
31
+ dependencies = [
32
+ "anthropic>=0.60",
33
+ "httpx>=0.27",
34
+ "openai>=3.6.0",
35
+ "textual>=0.80",
36
+ ]
37
+
38
+ [project.scripts]
39
+ holt = "holt.cli:main"
40
+
41
+ [project.urls]
42
+ Homepage = "https://github.com/holt-oss/holt"
43
+ Documentation = "https://github.com/holt-oss/holt/tree/main/docs"
44
+ Repository = "https://github.com/holt-oss/holt.git"
45
+ Issues = "https://github.com/holt-oss/holt/issues"
46
+ Changelog = "https://github.com/holt-oss/holt/blob/main/CHANGELOG.md"
47
+ Security = "https://github.com/holt-oss/holt/security/policy"
48
+
49
+ [dependency-groups]
50
+ dev = ["pytest>=8.0"]
51
+
52
+ [build-system]
53
+ requires = ["hatchling"]
54
+ build-backend = "hatchling.build"
55
+
56
+ [tool.hatch.build.targets.wheel]
57
+ packages = ["src/holt"]
58
+
59
+ # The Git repository carries large reproducibility fixtures. They belong in a
60
+ # clone, not in the package uploaded to an index. An explicit source allowlist
61
+ # also prevents ignored or untracked workspace files from entering a release.
62
+ [tool.hatch.build.targets.sdist]
63
+ only-include = ["src/holt"]
64
+
65
+ [tool.pytest.ini_options]
66
+ testpaths = ["tests", "eval"]
67
+ # eval/ lives at the repo root, outside the installed src/holt package.
68
+ pythonpath = ["."]
File without changes
File without changes