maverick-harness 5.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 (107) hide show
  1. maverick_harness-5.0.0/LICENSE +201 -0
  2. maverick_harness-5.0.0/PKG-INFO +197 -0
  3. maverick_harness-5.0.0/README.md +180 -0
  4. maverick_harness-5.0.0/pyproject.toml +44 -0
  5. maverick_harness-5.0.0/setup.cfg +4 -0
  6. maverick_harness-5.0.0/src/maverick/__init__.py +0 -0
  7. maverick_harness-5.0.0/src/maverick/agents/agent-code-reviewer/config.py +34 -0
  8. maverick_harness-5.0.0/src/maverick/agents/agent-github-issue-planner/config.py +26 -0
  9. maverick_harness-5.0.0/src/maverick/agents/agent-issue-analyst/config.py +24 -0
  10. maverick_harness-5.0.0/src/maverick/agents/agent-session-reviewer/config.py +22 -0
  11. maverick_harness-5.0.0/src/maverick/agents/agent-tech-docs-writer/config.py +18 -0
  12. maverick_harness-5.0.0/src/maverick/build_ami.py +151 -0
  13. maverick_harness-5.0.0/src/maverick/cli.py +311 -0
  14. maverick_harness-5.0.0/src/maverick/cloud_init/__init__.py +0 -0
  15. maverick_harness-5.0.0/src/maverick/cloud_init/cloud-config.yaml +129 -0
  16. maverick_harness-5.0.0/src/maverick/config.py +717 -0
  17. maverick_harness-5.0.0/src/maverick/coord_cli.py +971 -0
  18. maverick_harness-5.0.0/src/maverick/coordinator.py +710 -0
  19. maverick_harness-5.0.0/src/maverick/dag.py +123 -0
  20. maverick_harness-5.0.0/src/maverick/epic_state.py +112 -0
  21. maverick_harness-5.0.0/src/maverick/generate_topics.py +55 -0
  22. maverick_harness-5.0.0/src/maverick/gh_app.py +241 -0
  23. maverick_harness-5.0.0/src/maverick/gh_state.py +275 -0
  24. maverick_harness-5.0.0/src/maverick/git_workflow.py +63 -0
  25. maverick_harness-5.0.0/src/maverick/hooks/install_check.py +140 -0
  26. maverick_harness-5.0.0/src/maverick/hooks/run_hook.py +76 -0
  27. maverick_harness-5.0.0/src/maverick/infra.py +1022 -0
  28. maverick_harness-5.0.0/src/maverick/init.py +246 -0
  29. maverick_harness-5.0.0/src/maverick/install_cli.py +234 -0
  30. maverick_harness-5.0.0/src/maverick/instance.py +105 -0
  31. maverick_harness-5.0.0/src/maverick/integration_cli.py +78 -0
  32. maverick_harness-5.0.0/src/maverick/issue_lifecycle.py +192 -0
  33. maverick_harness-5.0.0/src/maverick/lambda_handler.py +72 -0
  34. maverick_harness-5.0.0/src/maverick/models.py +116 -0
  35. maverick_harness-5.0.0/src/maverick/names.py +109 -0
  36. maverick_harness-5.0.0/src/maverick/plugin.py +86 -0
  37. maverick_harness-5.0.0/src/maverick/pr_gate.py +99 -0
  38. maverick_harness-5.0.0/src/maverick/preflight.py +342 -0
  39. maverick_harness-5.0.0/src/maverick/preflight_cli.py +34 -0
  40. maverick_harness-5.0.0/src/maverick/registry.py +477 -0
  41. maverick_harness-5.0.0/src/maverick/report_cli.py +1512 -0
  42. maverick_harness-5.0.0/src/maverick/runtime_hooks/__init__.py +9 -0
  43. maverick_harness-5.0.0/src/maverick/runtime_hooks/adapters.py +147 -0
  44. maverick_harness-5.0.0/src/maverick/runtime_hooks/claims.py +69 -0
  45. maverick_harness-5.0.0/src/maverick/runtime_hooks/cli.py +79 -0
  46. maverick_harness-5.0.0/src/maverick/runtime_hooks/scope_guard.py +386 -0
  47. maverick_harness-5.0.0/src/maverick/runtime_hooks/session_release.py +51 -0
  48. maverick_harness-5.0.0/src/maverick/runtime_hooks/subagent_report.py +123 -0
  49. maverick_harness-5.0.0/src/maverick/session_review/__init__.py +1 -0
  50. maverick_harness-5.0.0/src/maverick/session_review/analyzers.py +630 -0
  51. maverick_harness-5.0.0/src/maverick/session_review/cli.py +120 -0
  52. maverick_harness-5.0.0/src/maverick/session_review/hook.py +95 -0
  53. maverick_harness-5.0.0/src/maverick/session_review/parser.py +377 -0
  54. maverick_harness-5.0.0/src/maverick/session_review/reporter.py +455 -0
  55. maverick_harness-5.0.0/src/maverick/session_review/skills.py +111 -0
  56. maverick_harness-5.0.0/src/maverick/skills/do-adopt/config.py +32 -0
  57. maverick_harness-5.0.0/src/maverick/skills/do-code/config.py +32 -0
  58. maverick_harness-5.0.0/src/maverick/skills/do-cybersecurity-review/config.py +27 -0
  59. maverick_harness-5.0.0/src/maverick/skills/do-docs/config.py +15 -0
  60. maverick_harness-5.0.0/src/maverick/skills/do-epic/config.py +49 -0
  61. maverick_harness-5.0.0/src/maverick/skills/do-init/config.py +30 -0
  62. maverick_harness-5.0.0/src/maverick/skills/do-install/config.py +13 -0
  63. maverick_harness-5.0.0/src/maverick/skills/do-issue-guided/config.py +46 -0
  64. maverick_harness-5.0.0/src/maverick/skills/do-issue-solo/config.py +58 -0
  65. maverick_harness-5.0.0/src/maverick/skills/do-maverick-alignment/config.py +15 -0
  66. maverick_harness-5.0.0/src/maverick/skills/do-pullrequest-review/config.py +12 -0
  67. maverick_harness-5.0.0/src/maverick/skills/do-tech-docs/config.py +13 -0
  68. maverick_harness-5.0.0/src/maverick/skills/do-test/config.py +26 -0
  69. maverick_harness-5.0.0/src/maverick/skills/do-upskill/config.py +319 -0
  70. maverick_harness-5.0.0/src/maverick/skills/mav-block-propagation/config.py +14 -0
  71. maverick_harness-5.0.0/src/maverick/skills/mav-bp-accessibility/config.py +12 -0
  72. maverick_harness-5.0.0/src/maverick/skills/mav-bp-api-design/config.py +12 -0
  73. maverick_harness-5.0.0/src/maverick/skills/mav-bp-application-security/config.py +12 -0
  74. maverick_harness-5.0.0/src/maverick/skills/mav-bp-cicd/config.py +12 -0
  75. maverick_harness-5.0.0/src/maverick/skills/mav-bp-code-review/config.py +12 -0
  76. maverick_harness-5.0.0/src/maverick/skills/mav-bp-database-management/config.py +12 -0
  77. maverick_harness-5.0.0/src/maverick/skills/mav-bp-dependency-management/config.py +12 -0
  78. maverick_harness-5.0.0/src/maverick/skills/mav-bp-environment-management/config.py +12 -0
  79. maverick_harness-5.0.0/src/maverick/skills/mav-bp-error-handling/config.py +12 -0
  80. maverick_harness-5.0.0/src/maverick/skills/mav-bp-infrastructure-as-code/config.py +12 -0
  81. maverick_harness-5.0.0/src/maverick/skills/mav-bp-linting/config.py +12 -0
  82. maverick_harness-5.0.0/src/maverick/skills/mav-bp-operability/config.py +15 -0
  83. maverick_harness-5.0.0/src/maverick/skills/mav-bp-remote-code-review/config.py +17 -0
  84. maverick_harness-5.0.0/src/maverick/skills/mav-bp-testing/config.py +15 -0
  85. maverick_harness-5.0.0/src/maverick/skills/mav-claude-code-recovery/config.py +12 -0
  86. maverick_harness-5.0.0/src/maverick/skills/mav-create-solution-design/config.py +13 -0
  87. maverick_harness-5.0.0/src/maverick/skills/mav-create-tasks/config.py +12 -0
  88. maverick_harness-5.0.0/src/maverick/skills/mav-durability-on-gh/config.py +15 -0
  89. maverick_harness-5.0.0/src/maverick/skills/mav-git-workflow/config.py +12 -0
  90. maverick_harness-5.0.0/src/maverick/skills/mav-github-issue-workflow/config.py +12 -0
  91. maverick_harness-5.0.0/src/maverick/skills/mav-local-verification/config.py +12 -0
  92. maverick_harness-5.0.0/src/maverick/skills/mav-multi-instance-coordination/config.py +18 -0
  93. maverick_harness-5.0.0/src/maverick/skills/mav-plan-execution/config.py +12 -0
  94. maverick_harness-5.0.0/src/maverick/skills/mav-scope-boundaries/config.py +12 -0
  95. maverick_harness-5.0.0/src/maverick/skills/mav-stacked-prs/config.py +14 -0
  96. maverick_harness-5.0.0/src/maverick/skills/mav-systematic-debugging/config.py +9 -0
  97. maverick_harness-5.0.0/src/maverick/targets.py +158 -0
  98. maverick_harness-5.0.0/src/maverick/version_check.py +247 -0
  99. maverick_harness-5.0.0/src/maverick/worker.py +373 -0
  100. maverick_harness-5.0.0/src/maverick/workflow_verbs.py +572 -0
  101. maverick_harness-5.0.0/src/maverick/worktree.py +177 -0
  102. maverick_harness-5.0.0/src/maverick_harness.egg-info/PKG-INFO +197 -0
  103. maverick_harness-5.0.0/src/maverick_harness.egg-info/SOURCES.txt +105 -0
  104. maverick_harness-5.0.0/src/maverick_harness.egg-info/dependency_links.txt +1 -0
  105. maverick_harness-5.0.0/src/maverick_harness.egg-info/entry_points.txt +2 -0
  106. maverick_harness-5.0.0/src/maverick_harness.egg-info/requires.txt +9 -0
  107. maverick_harness-5.0.0/src/maverick_harness.egg-info/top_level.txt +1 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,197 @@
1
+ Metadata-Version: 2.4
2
+ Name: maverick-harness
3
+ Version: 5.0.0
4
+ Summary: Claude Code plugin that enables autonomous AI development while maintaining best practices
5
+ Requires-Python: >=3.10
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: boto3
9
+ Requires-Dist: jinja2>=3.1
10
+ Requires-Dist: pyjwt[crypto]>=2.8
11
+ Requires-Dist: pyright>=1.1.408
12
+ Requires-Dist: pyyaml>=6.0
13
+ Requires-Dist: ruff>=0.8
14
+ Provides-Extra: test
15
+ Requires-Dist: pytest>=8.0; extra == "test"
16
+ Dynamic: license-file
17
+
18
+ <!-- PROJECT LOGO -->
19
+ <br />
20
+ <div align="center">
21
+ <a href="https://github.com/thermiteau/maverick">
22
+ <img src="docs/media/maverick-logo.png" alt="Maverick Logo" width="200" height="200">
23
+ </a>
24
+
25
+ <h1 align="center">Maverick</h1>
26
+
27
+ <p align="center">
28
+ Claude Code tooling to build software right
29
+ <br />
30
+ <a href="docs/overview.md"><strong>Explore the docs</strong></a>
31
+ <br />
32
+ <br />
33
+ &middot;
34
+ <a href="https://github.com/thermiteau/maverick/issues/new?labels=bug&template=bug-report.md">Report Bug</a>
35
+ &middot;
36
+ <a href="https://github.com/thermiteau/maverick/issues/new?labels=enhancement&template=feature-request.md">Request Feature</a>
37
+ </p>
38
+ </div>
39
+
40
+ Maverick is a Claude Code ( Cursor and Codex ) plugin and local CLI commands that enables autonomous AI-driven software development while enforcing quality, security, and operational best practices.
41
+
42
+ It provides skills, agents, and hooks that constrain and guide LLM behaviour - making unattended development safe and reliable.
43
+
44
+ ## The Problem Maverick Solves
45
+
46
+ LLMs generate code fast but don't come with any concept of quality, best practice or constraint. Claude Code will happily agree to build the world's worst idea, with a smile, because without guardrails:
47
+
48
+ - **No operational awareness** - LLMs don't add structured logging, alerting, or monitoring unless explicitly told to. Production code becomes undiagnosable.
49
+ - **No security reasoning** - LLMs reproduce vulnerable patterns from training data. SQL injection, XSS, and secrets exposure go unnoticed. It won't make any effort to ensure cybersecurity is maintained.
50
+ - **No testing discipline** - LLMs write working code and you can think you've got a product. Until it runs anywhere except on your machine, because it's filled with bugs you can't see. Without tests, those bugs ship.
51
+ - **No workflow discipline** - LLMs commit to main, skip CI, ignore conventions, and produce untraceable changes. If you ask an LLM to create a large amount of changes in a single attempt it will try, and you'll regret it.
52
+ - **No self-review** - LLMs don't question their own output. Code that looks correct may miss requirements or violate project conventions.
53
+
54
+ These risks multiply enormously in unattended development when no human is watching the LLM work. There is no developer catching issues in real-time, no reviewer glancing at the diff, no operator noticing silent failures. Every quality gap becomes a production risk.
55
+
56
+ ## How Maverick Solves It
57
+
58
+ Maverick is comprised of four parts:
59
+
60
+ ### Claude Code Plugin: Best practice
61
+
62
+ Maverick comes with Claude Code skills that defines how to write quality code. These are not detailed technical skills, they are the why and how of software development practices. These skills are part of the plugin and get loaded into Claude Code.
63
+
64
+ There are also a few technical skills that are so common, they have been predefined in the plugin.
65
+
66
+ ### Claude Code Plugin: Mechanical enforcement
67
+
68
+ Safety rules are not prose the model can forget — the plugin ships hooks
69
+ that enforce them at the tool-call boundary:
70
+
71
+ - A **scope-guard hook** gates destructive git operations, commits and
72
+ pushes on protected branches, infrastructure edits, and
73
+ production-pattern commands. In interactive sessions rule hits ask you;
74
+ in autonomous runs they are denied outright. Production patterns are
75
+ denied in every mode.
76
+ - Infrastructure changes in autonomous runs require **verified
77
+ issue-level authorization** (`maverick coord authorize`) — an agent
78
+ cannot self-grant a scope the issue never approved.
79
+ - A **pre-merge auth scan** blocks auto-merging any PR that touches
80
+ authentication surfaces or CI workflow definitions, regardless of the
81
+ review verdict.
82
+ - A **SessionEnd hook** releases coordination claims on every exit path,
83
+ and lease expiry covers machine death.
84
+
85
+ ### Claude Code Plugin: Skills creation
86
+
87
+ Because every codebase is unique, there is no way to ship defined skills that are needed to enable Claude Code. So Maverick builds them when it is initialised in a project.
88
+
89
+ - First it looks to see if you have them already, and uses yours if they are there.
90
+ - If it cant find any, it reads your codebase and builds technical skills that match your tech stack and align with its best practice skills
91
+ - These become part of your code and you can change them as required
92
+
93
+ ### Infrastructure as Code solution for remote Claude Code instances
94
+
95
+ There are multiple ways to run Claude Code, the most obvious being the software running locally on your machine. This works well for interactive development where you ask Claude Code to complete a task, answer any questions as they come up and monitor the progress.
96
+
97
+ It falls down when you need to complete multiple features or bug fixes at the same time. Claude Code on local machines, doesnt scale.
98
+
99
+ Maverick solves this by deploying Claude Code workers to remote Claude platforms such as Amazon Web Services. Those workers are triggered by creating tickets (issues) in GitHub. The worker will autonomously complete the requirements and keep you up to date with notes in the Github Issue.
100
+
101
+ For most teams there is a simpler on-ramp first: a ready-made GitHub
102
+ Actions workflow (`templates/github/claude-maverick.yml`) runs Maverick
103
+ on GitHub-hosted runners — respond to `@claude` mentions, or label an
104
+ issue `claude-do` and `do-issue-solo` works it end-to-end. See the
105
+ remote-execution decision matrix in
106
+ [docs/claude-code-workers.md](docs/claude-code-workers.md) for choosing
107
+ between the GitHub Action, Claude cloud routines, and the self-hosted
108
+ EC2 pipeline. None of this is required — the plugin works on your local
109
+ machine and you can ask Claude to complete tasks solo or with
110
+ assistance.
111
+
112
+ ## NOTE: This project is still in Alpha and under rapid change
113
+
114
+ I use this repo to build my own software and I aim to improve it every day. That means the change rate is pretty high until I get it to v1 release.
115
+
116
+ - The plugin skills, agents, and hooks are solid, and the full
117
+ `do-issue-solo` pipeline is exercised end-to-end against real
118
+ repositories.
119
+ - The `maverick` CLI carries the workflow's deterministic core
120
+ (coordination, state, gates, reporting) with an extensive unit-test
121
+ suite; the AWS worker pipeline is in maintenance mode in favour of the
122
+ GitHub Action on-ramp for most use cases.
123
+
124
+ ## Install
125
+
126
+ ### Plugin
127
+
128
+ ```sh
129
+ # Install the plugin (registers in ~/.claude/settings.json)
130
+ claude plugin marketplace add https://github.com/thermiteau/maverick
131
+ claude plugin install maverick@thermite
132
+ ```
133
+
134
+ ### CLI
135
+
136
+ This makes the `maverick` command available globally.
137
+
138
+ #### Prerequisites
139
+
140
+ - Python 3.10+
141
+ - [uv](https://docs.astral.sh/uv/) — Python package manager
142
+ - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) — Anthropic's CLI for Claude
143
+ - Claude Code API Key
144
+
145
+ ```sh
146
+ # Install system-wide from the repo
147
+ uv tool install .
148
+
149
+ # Or install in development mode
150
+ uv tool install -e .
151
+ ```
152
+
153
+ ## Usage
154
+
155
+ ### Initialising an existing project (repo)
156
+
157
+ run `/maverick:do-init` within Claude Code
158
+
159
+ ### Work on GitHub issues
160
+
161
+ With the plugin loaded, use skills directly in Claude Code:
162
+
163
+ ```sh
164
+ /maverick:do-issue-solo 42
165
+ # Autonomous mode — Claude works end-to-end, only pausing when blocked
166
+
167
+ /maverick:do-issue-guided 42
168
+ # Guided mode — Claude pauses for approval at design and plan phases
169
+
170
+ /maverick:do-maverick-alignment
171
+ # Audit a codebase against Maverick standards
172
+
173
+ /maverick:do-adopt recommend
174
+ # Recommend (or, without 'recommend', implement) missing best practices
175
+
176
+ /maverick:do-upskill logging
177
+ # Generate a project-specific implementation skill for one topic
178
+ ```
179
+
180
+ Or skip the terminal entirely: copy
181
+ `templates/github/claude-maverick.yml` into `.github/workflows/`, then
182
+ label any issue `claude-do` and Maverick completes it on a GitHub-hosted
183
+ runner — design, tasks, implementation, docs and security gates, PR,
184
+ review, and merge.
185
+
186
+ ## Development
187
+
188
+ ```sh
189
+ # Run unit tests
190
+ uv sync --extra test && uv run pytest tests/unit/ -v
191
+ ```
192
+
193
+ CI runs automatically on pushes and PRs to `main` via GitHub Actions.
194
+
195
+ ## License
196
+
197
+ Apache License 2.0
@@ -0,0 +1,180 @@
1
+ <!-- PROJECT LOGO -->
2
+ <br />
3
+ <div align="center">
4
+ <a href="https://github.com/thermiteau/maverick">
5
+ <img src="docs/media/maverick-logo.png" alt="Maverick Logo" width="200" height="200">
6
+ </a>
7
+
8
+ <h1 align="center">Maverick</h1>
9
+
10
+ <p align="center">
11
+ Claude Code tooling to build software right
12
+ <br />
13
+ <a href="docs/overview.md"><strong>Explore the docs</strong></a>
14
+ <br />
15
+ <br />
16
+ &middot;
17
+ <a href="https://github.com/thermiteau/maverick/issues/new?labels=bug&template=bug-report.md">Report Bug</a>
18
+ &middot;
19
+ <a href="https://github.com/thermiteau/maverick/issues/new?labels=enhancement&template=feature-request.md">Request Feature</a>
20
+ </p>
21
+ </div>
22
+
23
+ Maverick is a Claude Code ( Cursor and Codex ) plugin and local CLI commands that enables autonomous AI-driven software development while enforcing quality, security, and operational best practices.
24
+
25
+ It provides skills, agents, and hooks that constrain and guide LLM behaviour - making unattended development safe and reliable.
26
+
27
+ ## The Problem Maverick Solves
28
+
29
+ LLMs generate code fast but don't come with any concept of quality, best practice or constraint. Claude Code will happily agree to build the world's worst idea, with a smile, because without guardrails:
30
+
31
+ - **No operational awareness** - LLMs don't add structured logging, alerting, or monitoring unless explicitly told to. Production code becomes undiagnosable.
32
+ - **No security reasoning** - LLMs reproduce vulnerable patterns from training data. SQL injection, XSS, and secrets exposure go unnoticed. It won't make any effort to ensure cybersecurity is maintained.
33
+ - **No testing discipline** - LLMs write working code and you can think you've got a product. Until it runs anywhere except on your machine, because it's filled with bugs you can't see. Without tests, those bugs ship.
34
+ - **No workflow discipline** - LLMs commit to main, skip CI, ignore conventions, and produce untraceable changes. If you ask an LLM to create a large amount of changes in a single attempt it will try, and you'll regret it.
35
+ - **No self-review** - LLMs don't question their own output. Code that looks correct may miss requirements or violate project conventions.
36
+
37
+ These risks multiply enormously in unattended development when no human is watching the LLM work. There is no developer catching issues in real-time, no reviewer glancing at the diff, no operator noticing silent failures. Every quality gap becomes a production risk.
38
+
39
+ ## How Maverick Solves It
40
+
41
+ Maverick is comprised of four parts:
42
+
43
+ ### Claude Code Plugin: Best practice
44
+
45
+ Maverick comes with Claude Code skills that defines how to write quality code. These are not detailed technical skills, they are the why and how of software development practices. These skills are part of the plugin and get loaded into Claude Code.
46
+
47
+ There are also a few technical skills that are so common, they have been predefined in the plugin.
48
+
49
+ ### Claude Code Plugin: Mechanical enforcement
50
+
51
+ Safety rules are not prose the model can forget — the plugin ships hooks
52
+ that enforce them at the tool-call boundary:
53
+
54
+ - A **scope-guard hook** gates destructive git operations, commits and
55
+ pushes on protected branches, infrastructure edits, and
56
+ production-pattern commands. In interactive sessions rule hits ask you;
57
+ in autonomous runs they are denied outright. Production patterns are
58
+ denied in every mode.
59
+ - Infrastructure changes in autonomous runs require **verified
60
+ issue-level authorization** (`maverick coord authorize`) — an agent
61
+ cannot self-grant a scope the issue never approved.
62
+ - A **pre-merge auth scan** blocks auto-merging any PR that touches
63
+ authentication surfaces or CI workflow definitions, regardless of the
64
+ review verdict.
65
+ - A **SessionEnd hook** releases coordination claims on every exit path,
66
+ and lease expiry covers machine death.
67
+
68
+ ### Claude Code Plugin: Skills creation
69
+
70
+ Because every codebase is unique, there is no way to ship defined skills that are needed to enable Claude Code. So Maverick builds them when it is initialised in a project.
71
+
72
+ - First it looks to see if you have them already, and uses yours if they are there.
73
+ - If it cant find any, it reads your codebase and builds technical skills that match your tech stack and align with its best practice skills
74
+ - These become part of your code and you can change them as required
75
+
76
+ ### Infrastructure as Code solution for remote Claude Code instances
77
+
78
+ There are multiple ways to run Claude Code, the most obvious being the software running locally on your machine. This works well for interactive development where you ask Claude Code to complete a task, answer any questions as they come up and monitor the progress.
79
+
80
+ It falls down when you need to complete multiple features or bug fixes at the same time. Claude Code on local machines, doesnt scale.
81
+
82
+ Maverick solves this by deploying Claude Code workers to remote Claude platforms such as Amazon Web Services. Those workers are triggered by creating tickets (issues) in GitHub. The worker will autonomously complete the requirements and keep you up to date with notes in the Github Issue.
83
+
84
+ For most teams there is a simpler on-ramp first: a ready-made GitHub
85
+ Actions workflow (`templates/github/claude-maverick.yml`) runs Maverick
86
+ on GitHub-hosted runners — respond to `@claude` mentions, or label an
87
+ issue `claude-do` and `do-issue-solo` works it end-to-end. See the
88
+ remote-execution decision matrix in
89
+ [docs/claude-code-workers.md](docs/claude-code-workers.md) for choosing
90
+ between the GitHub Action, Claude cloud routines, and the self-hosted
91
+ EC2 pipeline. None of this is required — the plugin works on your local
92
+ machine and you can ask Claude to complete tasks solo or with
93
+ assistance.
94
+
95
+ ## NOTE: This project is still in Alpha and under rapid change
96
+
97
+ I use this repo to build my own software and I aim to improve it every day. That means the change rate is pretty high until I get it to v1 release.
98
+
99
+ - The plugin skills, agents, and hooks are solid, and the full
100
+ `do-issue-solo` pipeline is exercised end-to-end against real
101
+ repositories.
102
+ - The `maverick` CLI carries the workflow's deterministic core
103
+ (coordination, state, gates, reporting) with an extensive unit-test
104
+ suite; the AWS worker pipeline is in maintenance mode in favour of the
105
+ GitHub Action on-ramp for most use cases.
106
+
107
+ ## Install
108
+
109
+ ### Plugin
110
+
111
+ ```sh
112
+ # Install the plugin (registers in ~/.claude/settings.json)
113
+ claude plugin marketplace add https://github.com/thermiteau/maverick
114
+ claude plugin install maverick@thermite
115
+ ```
116
+
117
+ ### CLI
118
+
119
+ This makes the `maverick` command available globally.
120
+
121
+ #### Prerequisites
122
+
123
+ - Python 3.10+
124
+ - [uv](https://docs.astral.sh/uv/) — Python package manager
125
+ - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) — Anthropic's CLI for Claude
126
+ - Claude Code API Key
127
+
128
+ ```sh
129
+ # Install system-wide from the repo
130
+ uv tool install .
131
+
132
+ # Or install in development mode
133
+ uv tool install -e .
134
+ ```
135
+
136
+ ## Usage
137
+
138
+ ### Initialising an existing project (repo)
139
+
140
+ run `/maverick:do-init` within Claude Code
141
+
142
+ ### Work on GitHub issues
143
+
144
+ With the plugin loaded, use skills directly in Claude Code:
145
+
146
+ ```sh
147
+ /maverick:do-issue-solo 42
148
+ # Autonomous mode — Claude works end-to-end, only pausing when blocked
149
+
150
+ /maverick:do-issue-guided 42
151
+ # Guided mode — Claude pauses for approval at design and plan phases
152
+
153
+ /maverick:do-maverick-alignment
154
+ # Audit a codebase against Maverick standards
155
+
156
+ /maverick:do-adopt recommend
157
+ # Recommend (or, without 'recommend', implement) missing best practices
158
+
159
+ /maverick:do-upskill logging
160
+ # Generate a project-specific implementation skill for one topic
161
+ ```
162
+
163
+ Or skip the terminal entirely: copy
164
+ `templates/github/claude-maverick.yml` into `.github/workflows/`, then
165
+ label any issue `claude-do` and Maverick completes it on a GitHub-hosted
166
+ runner — design, tasks, implementation, docs and security gates, PR,
167
+ review, and merge.
168
+
169
+ ## Development
170
+
171
+ ```sh
172
+ # Run unit tests
173
+ uv sync --extra test && uv run pytest tests/unit/ -v
174
+ ```
175
+
176
+ CI runs automatically on pushes and PRs to `main` via GitHub Actions.
177
+
178
+ ## License
179
+
180
+ Apache License 2.0
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "maverick-harness"
7
+ version = "5.0.0"
8
+ description = "Claude Code plugin that enables autonomous AI development while maintaining best practices"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ dependencies = [
12
+ "boto3",
13
+ "jinja2>=3.1",
14
+ "pyjwt[crypto]>=2.8",
15
+ "pyright>=1.1.408",
16
+ "pyyaml>=6.0",
17
+ "ruff>=0.8",
18
+ ]
19
+
20
+ [project.optional-dependencies]
21
+ test = ["pytest>=8.0"]
22
+
23
+ [project.scripts]
24
+ maverick = "maverick.cli:main"
25
+
26
+ [tool.ruff]
27
+ target-version = "py310"
28
+ line-length = 100
29
+ src = ["src", "scripts", "tests"]
30
+
31
+ [tool.ruff.lint]
32
+ select = ["E", "F", "I", "UP", "B", "C4"]
33
+ ignore = ["E501"]
34
+
35
+ [tool.setuptools.packages.find]
36
+ where = ["src"]
37
+
38
+ [tool.setuptools.package-data]
39
+ "maverick.cloud_init" = ["**/*.yaml"]
40
+
41
+ [tool.uv.workspace]
42
+ members = [
43
+ "prototyping/my-python-app",
44
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
@@ -0,0 +1,34 @@
1
+ from maverick.models import AgentConfig, ClaudeAgentOptions
2
+ from maverick.names import (
3
+ AGENT_CODE_REVIEWER,
4
+ MAV_BP_CODE_REVIEW,
5
+ MAV_BP_OPERABILITY,
6
+ MAV_BP_TESTING,
7
+ MAV_SCOPE_BOUNDARIES,
8
+ )
9
+
10
+ CONFIG = AgentConfig(
11
+ name=AGENT_CODE_REVIEWER,
12
+ description=(
13
+ "Autonomous code reviewer that performs two-stage review — spec compliance"
14
+ " first, then code quality (correctness, test coverage, maintainability)."
15
+ " Security is out of scope; do-cybersecurity-review handles that as a"
16
+ " mandatory pre-push gate. Dispatched after completing implementation"
17
+ " steps or before creating PRs."
18
+ ),
19
+ # A reviewer that can fix what it reviews stops being a gate: read-only.
20
+ read_only=True,
21
+ skills=[
22
+ MAV_BP_CODE_REVIEW,
23
+ MAV_BP_OPERABILITY,
24
+ MAV_BP_TESTING,
25
+ MAV_SCOPE_BOUNDARIES,
26
+ ],
27
+ claude=ClaudeAgentOptions(
28
+ color="yellow",
29
+ # The merge gate must not inherit whatever model the caller runs — a
30
+ # cost-conscious session would silently weaken the highest-stakes
31
+ # judgment in the system. Pin a strong model explicitly.
32
+ model="opus",
33
+ ),
34
+ )