hipson 1.2.1__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.
- hipson-1.2.1/LICENSE +201 -0
- hipson-1.2.1/MANIFEST.in +3 -0
- hipson-1.2.1/PKG-INFO +362 -0
- hipson-1.2.1/README.md +328 -0
- hipson-1.2.1/pyproject.toml +200 -0
- hipson-1.2.1/schemas/agent-bootstrap.schema.json +31 -0
- hipson-1.2.1/schemas/agent-contract.schema.json +43 -0
- hipson-1.2.1/schemas/agent-handoff.schema.json +40 -0
- hipson-1.2.1/schemas/agent-install.schema.json +14 -0
- hipson-1.2.1/schemas/agent-surfaces-doctor.schema.json +28 -0
- hipson-1.2.1/schemas/audit-bundle.schema.json +69 -0
- hipson-1.2.1/schemas/autopilot-implement-run.schema.json +32 -0
- hipson-1.2.1/schemas/autopilot-review-run.schema.json +32 -0
- hipson-1.2.1/schemas/evidence-record.schema.json +75 -0
- hipson-1.2.1/schemas/mcp-server-catalog.schema.json +40 -0
- hipson-1.2.1/schemas/packet-preflight.schema.json +34 -0
- hipson-1.2.1/schemas/project-policy.schema.json +37 -0
- hipson-1.2.1/schemas/quality-eval.schema.json +38 -0
- hipson-1.2.1/schemas/quality-report.schema.json +61 -0
- hipson-1.2.1/schemas/release-claim.schema.json +38 -0
- hipson-1.2.1/schemas/review-kit-run.schema.json +45 -0
- hipson-1.2.1/schemas/run-manifest.schema.json +34 -0
- hipson-1.2.1/schemas/run-status.schema.json +30 -0
- hipson-1.2.1/schemas/run-validation.schema.json +30 -0
- hipson-1.2.1/schemas/task-event.schema.json +18 -0
- hipson-1.2.1/schemas/task-result.schema.json +111 -0
- hipson-1.2.1/schemas/task.schema.json +92 -0
- hipson-1.2.1/schemas/verification.schema.json +26 -0
- hipson-1.2.1/schemas/work-plan.schema.json +104 -0
- hipson-1.2.1/setup.cfg +4 -0
- hipson-1.2.1/src/hipson/__init__.py +3 -0
- hipson-1.2.1/src/hipson/agent_bootstrap.py +114 -0
- hipson-1.2.1/src/hipson/agent_contract.py +197 -0
- hipson-1.2.1/src/hipson/agent_install.py +242 -0
- hipson-1.2.1/src/hipson/agents.py +657 -0
- hipson-1.2.1/src/hipson/approvals.py +229 -0
- hipson-1.2.1/src/hipson/assets/.env.example +10 -0
- hipson-1.2.1/src/hipson/assets/ORCHESTRATOR.md +130 -0
- hipson-1.2.1/src/hipson/assets/SKILLS.md +144 -0
- hipson-1.2.1/src/hipson/assets/__init__.py +29 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/README.md +100 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/global/AGENTS.md +91 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/hooks/permission-request-policy.template.json +35 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/hooks/post-tool-use-policy.template.json +25 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/hooks/prefix-rules.template.json +25 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/install.sh +17 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-subagent-orchestration/SKILL.md +39 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-subagent-orchestration/references/subagent-orchestration.md +142 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/SKILL.md +187 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/references/coding-workflow.md +64 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/references/hipson-agent-skills.md +15 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/references/prompt-architecture.md +68 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/references/two-codex-workflow.md +107 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/skills/hipson-workflow/references/verification.md +47 -0
- hipson-1.2.1/src/hipson/assets/codex-workflow-kit/templates/repo-AGENTS.md +58 -0
- hipson-1.2.1/src/hipson/assets/config/agents.json +203 -0
- hipson-1.2.1/src/hipson/assets/config/model_profiles.json +93 -0
- hipson-1.2.1/src/hipson/assets/config/providers.example.env +7 -0
- hipson-1.2.1/src/hipson/assets/hermes/hipson-codex-orchestrator/SKILL.md +83 -0
- hipson-1.2.1/src/hipson/assets/templates/agent-executor-packet.md +43 -0
- hipson-1.2.1/src/hipson/assets/templates/agent-review-packet.md +35 -0
- hipson-1.2.1/src/hipson/assets/templates/delta-scan-report.md +37 -0
- hipson-1.2.1/src/hipson/assets/templates/hipson-progress.md +28 -0
- hipson-1.2.1/src/hipson/assets/templates/review-report.md +22 -0
- hipson-1.2.1/src/hipson/cli.py +2696 -0
- hipson-1.2.1/src/hipson/codex_install.py +120 -0
- hipson-1.2.1/src/hipson/contracts.py +170 -0
- hipson-1.2.1/src/hipson/display.py +22 -0
- hipson-1.2.1/src/hipson/evals.py +261 -0
- hipson-1.2.1/src/hipson/evidence.py +507 -0
- hipson-1.2.1/src/hipson/gateway/__init__.py +6 -0
- hipson-1.2.1/src/hipson/gateway/cli.py +35 -0
- hipson-1.2.1/src/hipson/gateway/mcp.py +112 -0
- hipson-1.2.1/src/hipson/hermes.py +371 -0
- hipson-1.2.1/src/hipson/home.py +33 -0
- hipson-1.2.1/src/hipson/learning.py +294 -0
- hipson-1.2.1/src/hipson/ledger.py +1149 -0
- hipson-1.2.1/src/hipson/local_router.py +311 -0
- hipson-1.2.1/src/hipson/mcp_server.py +782 -0
- hipson-1.2.1/src/hipson/memory.py +271 -0
- hipson-1.2.1/src/hipson/model_profiles.py +160 -0
- hipson-1.2.1/src/hipson/output_policy.py +37 -0
- hipson-1.2.1/src/hipson/packet_preflight.py +74 -0
- hipson-1.2.1/src/hipson/packets.py +197 -0
- hipson-1.2.1/src/hipson/paths.py +36 -0
- hipson-1.2.1/src/hipson/policy.py +226 -0
- hipson-1.2.1/src/hipson/project.py +760 -0
- hipson-1.2.1/src/hipson/prompt.py +113 -0
- hipson-1.2.1/src/hipson/provider_doctor.py +102 -0
- hipson-1.2.1/src/hipson/providers/__init__.py +25 -0
- hipson-1.2.1/src/hipson/providers/base.py +51 -0
- hipson-1.2.1/src/hipson/providers/fake.py +52 -0
- hipson-1.2.1/src/hipson/providers/openai_compatible.py +280 -0
- hipson-1.2.1/src/hipson/quality.py +351 -0
- hipson-1.2.1/src/hipson/redaction.py +114 -0
- hipson-1.2.1/src/hipson/review_kit.py +681 -0
- hipson-1.2.1/src/hipson/router.py +192 -0
- hipson-1.2.1/src/hipson/run_control.py +358 -0
- hipson-1.2.1/src/hipson/runtime.py +579 -0
- hipson-1.2.1/src/hipson/sandbox.py +192 -0
- hipson-1.2.1/src/hipson/scheduler.py +187 -0
- hipson-1.2.1/src/hipson/session.py +817 -0
- hipson-1.2.1/src/hipson/skills.py +170 -0
- hipson-1.2.1/src/hipson/task_context.py +232 -0
- hipson-1.2.1/src/hipson/tools/__init__.py +23 -0
- hipson-1.2.1/src/hipson/tools/memory.py +74 -0
- hipson-1.2.1/src/hipson/tools/packets.py +84 -0
- hipson-1.2.1/src/hipson/tools/registry.py +277 -0
- hipson-1.2.1/src/hipson/tools/repo.py +86 -0
- hipson-1.2.1/src/hipson/tools/skills.py +101 -0
- hipson-1.2.1/src/hipson/verification.py +159 -0
- hipson-1.2.1/src/hipson/workflow.py +629 -0
- hipson-1.2.1/src/hipson.egg-info/PKG-INFO +362 -0
- hipson-1.2.1/src/hipson.egg-info/SOURCES.txt +144 -0
- hipson-1.2.1/src/hipson.egg-info/dependency_links.txt +1 -0
- hipson-1.2.1/src/hipson.egg-info/entry_points.txt +2 -0
- hipson-1.2.1/src/hipson.egg-info/requires.txt +8 -0
- hipson-1.2.1/src/hipson.egg-info/top_level.txt +1 -0
- hipson-1.2.1/tests/test_agent_e2e.py +531 -0
- hipson-1.2.1/tests/test_agent_run.py +622 -0
- hipson-1.2.1/tests/test_approvals.py +377 -0
- hipson-1.2.1/tests/test_computer_vision_skills.py +121 -0
- hipson-1.2.1/tests/test_cross_platform.py +162 -0
- hipson-1.2.1/tests/test_evidence.py +635 -0
- hipson-1.2.1/tests/test_external_audit.py +241 -0
- hipson-1.2.1/tests/test_external_skills.py +46 -0
- hipson-1.2.1/tests/test_gateway.py +63 -0
- hipson-1.2.1/tests/test_hipson_helpers.py +5230 -0
- hipson-1.2.1/tests/test_learning.py +263 -0
- hipson-1.2.1/tests/test_ledger.py +594 -0
- hipson-1.2.1/tests/test_ledger_context.py +293 -0
- hipson-1.2.1/tests/test_ledger_display.py +74 -0
- hipson-1.2.1/tests/test_ledger_findings.py +647 -0
- hipson-1.2.1/tests/test_ledger_mcp.py +453 -0
- hipson-1.2.1/tests/test_ledger_recovery.py +944 -0
- hipson-1.2.1/tests/test_mcp.py +135 -0
- hipson-1.2.1/tests/test_mutation_gate.py +63 -0
- hipson-1.2.1/tests/test_prompt.py +130 -0
- hipson-1.2.1/tests/test_providers.py +184 -0
- hipson-1.2.1/tests/test_runtime.py +927 -0
- hipson-1.2.1/tests/test_scheduler.py +248 -0
- hipson-1.2.1/tests/test_schema_validation.py +104 -0
- hipson-1.2.1/tests/test_session.py +254 -0
- hipson-1.2.1/tests/test_skills.py +111 -0
- hipson-1.2.1/tests/test_test_runner.py +113 -0
- hipson-1.2.1/tests/test_tools.py +501 -0
hipson-1.2.1/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 Derivative
|
|
95
|
+
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, excluding
|
|
103
|
+
those notices that do not pertain to any part of the Derivative
|
|
104
|
+
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.
|
hipson-1.2.1/MANIFEST.in
ADDED
hipson-1.2.1/PKG-INFO
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hipson
|
|
3
|
+
Version: 1.2.1
|
|
4
|
+
Summary: Local-first control plane for AI coding agents: one lead, many workers, one ledger of who did what, with evidence.
|
|
5
|
+
Author: Hipson Contributors
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Hipson47/Hipson
|
|
8
|
+
Project-URL: Repository, https://github.com/Hipson47/Hipson
|
|
9
|
+
Project-URL: Documentation, https://github.com/Hipson47/Hipson/blob/main/docs/README.md
|
|
10
|
+
Project-URL: Changelog, https://github.com/Hipson47/Hipson/blob/main/CHANGELOG.md
|
|
11
|
+
Project-URL: Issues, https://github.com/Hipson47/Hipson/issues
|
|
12
|
+
Keywords: ai-agents,multi-agent,mcp,claude-code,codex,task-ledger,developer-tools,coordination
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Software Development
|
|
23
|
+
Requires-Python: >=3.11
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: bandit>=1.9.4; extra == "dev"
|
|
28
|
+
Requires-Dist: mutmut>=3.8.0; extra == "dev"
|
|
29
|
+
Requires-Dist: mypy>=2.1.0; extra == "dev"
|
|
30
|
+
Requires-Dist: pip-audit>=2.10.0; extra == "dev"
|
|
31
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
32
|
+
Requires-Dist: ruff>=0.8.0; extra == "dev"
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
|
|
35
|
+
<div align="center">
|
|
36
|
+
|
|
37
|
+
# Hipson
|
|
38
|
+
|
|
39
|
+
**One lead agent. Many workers. One ledger of who did what, with evidence.**
|
|
40
|
+
|
|
41
|
+
[](https://github.com/Hipson47/Hipson/actions/workflows/ci.yml)
|
|
42
|
+

|
|
43
|
+

|
|
44
|
+

|
|
45
|
+

|
|
46
|
+
[](https://github.com/Hipson47/Hipson/blob/main/LICENSE)
|
|
47
|
+
|
|
48
|
+
[Why](#why-it-exists) · [Built with itself](#built-with-itself) · [How it works](#how-it-works) · [Quick start](#quick-start) · [MCP](#use-it-from-a-lead-agent-mcp) · [Docs](https://github.com/Hipson47/Hipson/blob/main/docs/README.md)
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<table>
|
|
53
|
+
<tr>
|
|
54
|
+
<td width="44%" align="center">
|
|
55
|
+
<img src="https://raw.githubusercontent.com/Hipson47/Hipson/main/.github/readme/demo.webp" width="320" alt="28-second demo: the real ledger prints line by line, an overlapping write claim is refused with exit 75, a dead run's claim is reaped, and the counters 7 tasks, 11 assignments, 48 events and 404 tests land">
|
|
56
|
+
</td>
|
|
57
|
+
<td width="56%">
|
|
58
|
+
|
|
59
|
+
**A control plane for the coordination layer, not another agent.**
|
|
60
|
+
|
|
61
|
+
A lead (for example Claude Code) opens tasks and hands bounded pieces to workers: Codex, Antigravity,
|
|
62
|
+
subagents. Every task, assignment, path claim and result lands in one transactional SQLite ledger on your
|
|
63
|
+
machine, next to a hash-chained evidence log linked by task id.
|
|
64
|
+
|
|
65
|
+
- **No silent overlap:** a second writer on the same paths is refused before it starts (`exit 75`).
|
|
66
|
+
- **No zombie locks:** a dead run's claims are reaped automatically.
|
|
67
|
+
- **Evidence, not confidence:** worker results are process results; only the lead says `done`.
|
|
68
|
+
- **Local-first:** no cloud service, zero runtime dependencies, Apache-2.0.
|
|
69
|
+
|
|
70
|
+
<sub>The film on the left was produced by an agent pipeline (Claude directing and animating, Codex reviewing
|
|
71
|
+
frames and running QA) from facts in this repository only. Silent excerpt, 28 s.</sub>
|
|
72
|
+
|
|
73
|
+
</td>
|
|
74
|
+
</tr>
|
|
75
|
+
</table>
|
|
76
|
+
|
|
77
|
+
<div align="center">
|
|
78
|
+
|
|
79
|
+
<img src="https://raw.githubusercontent.com/Hipson47/Hipson/main/.github/readme/ledger-events.svg" width="100%" alt="Real hipson task events output: a lead opens a task, a Codex builder and a separate reviewer run, the lead verifies and closes it">
|
|
80
|
+
|
|
81
|
+
<sub>Rendered from the real `hipson task events --json` record of building Hipson's own evidence hardening (task T-0003; long summaries shortened): builder → independent reviewer → builder with fixes → lead verification → done.</sub>
|
|
82
|
+
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Why it exists
|
|
88
|
+
|
|
89
|
+
Agents drift when each one keeps its own notes, its own plan and its own idea of "done". Two writers edit the
|
|
90
|
+
same files. A crashed run keeps a lock forever. A worker's "all tests pass" gets taken as proof.
|
|
91
|
+
|
|
92
|
+
Hipson fixes the coordination layer, not the agents:
|
|
93
|
+
|
|
94
|
+
- **One source of truth per task.** Status, assignments, path claims and an append-only event log in one SQLite store.
|
|
95
|
+
- **No silent overlap.** A writer must claim its paths; an overlapping live claim is refused before the worker starts.
|
|
96
|
+
- **No zombie locks.** Runs launched through the wrapper record their owner (process group, boot id, host); when
|
|
97
|
+
that owner is gone, its claims are reaped. Assignments recorded by hand can carry a lease instead.
|
|
98
|
+
- **Evidence, not confidence.** Worker results are recorded as process results; only the lead moves a task to `done`.
|
|
99
|
+
- **Workers stay workers.** Agents launched by a lead switch to *worker mode*: no own orchestration, no own notes, no commits.
|
|
100
|
+
|
|
101
|
+
## Built with itself
|
|
102
|
+
|
|
103
|
+
The task ledger in this repository was built by Claude Code as lead with Codex as builder and reviewer and
|
|
104
|
+
Antigravity as a second reviewer; once the ledger existed, the rest of the work ran through it. Numbers from
|
|
105
|
+
branch `feat/task-ledger`, 2026-10-25:
|
|
106
|
+
|
|
107
|
+
| What | Result |
|
|
108
|
+
|---|---|
|
|
109
|
+
| Work recorded in the ledger | 7 tasks, 11 worker assignments (5 builder, 4 reviewer, 2 explorer), 48 events |
|
|
110
|
+
| Independent review rounds | Each code slice reviewed by a fresh read-only Codex run before commit (15 findings); a final whole-branch review by Codex and Antigravity (12 findings, 9 fixed, 3 judged non-issues); one more concurrency bug found by a stress test and fixed with a regression test |
|
|
111
|
+
| Test suite | 521 tests, 0 skipped on Linux CI (strict skip allowlist on macOS and Windows CI), run by both `pytest` and the dependency-free `scripts/run_tests.py` (1.2.0, 2026-10-26; 404 tests when the ledger landed) |
|
|
112
|
+
| Mutation gate | 65.12%: 1,331 / 2,044 mutants killed across four modules (1.2.0); the committed baseline (60.82% minimum, at most 727 survivors, 0 without tests, 0 timeouts) fails CI on regression |
|
|
113
|
+
| Agent e2e | A real Codex agent (gpt-6.1-sol) is given a natural-language mission and must reach it with Hipson alone; oracles check the resulting ledger, not the agent's report. 3 scenarios (lead flow, claim conflict, crash recovery). Latest live run 3/3; the first run found a real bug (claims reaped across PID namespaces), now fixed. Local and on demand: [docs/AGENT_E2E.md](https://github.com/Hipson47/Hipson/blob/main/docs/AGENT_E2E.md) |
|
|
114
|
+
| Static gates | `ruff`, `mypy`, `bandit`, `pip-audit`, `compileall`, wheel build (CI on Python 3.11 and 3.12) |
|
|
115
|
+
| Runtime dependencies | none (`dependencies = []`) |
|
|
116
|
+
|
|
117
|
+
Failure cases that are covered by tests, not just described: two processes racing for the same claim, a worker
|
|
118
|
+
whose runner is `SIGKILL`ed while the worker survives (claims stay), a dead process group (claims released),
|
|
119
|
+
a worker that ignores `SIGTERM` and its leftover child processes, readers racing writers, twelve concurrent
|
|
120
|
+
evidence writers keeping one hash chain, and secrets nested
|
|
121
|
+
inside evidence payloads.
|
|
122
|
+
|
|
123
|
+
## How it works
|
|
124
|
+
|
|
125
|
+
```mermaid
|
|
126
|
+
flowchart LR
|
|
127
|
+
L([Lead<br/><sub>Claude Code</sub>]) -->|task open| T[(Task ledger<br/><sub>SQLite</sub>)]
|
|
128
|
+
L -->|brief + task id| R[agent-run.sh<br/><sub>wrapper</sub>]
|
|
129
|
+
R -->|assign + owner + claims| T
|
|
130
|
+
R --> W[Worker<br/><sub>Codex · agy · subagent</sub>]
|
|
131
|
+
W -->|report, diff| L
|
|
132
|
+
R -->|finish: exit code, model, report path| T
|
|
133
|
+
L -->|verify, then review → done| T
|
|
134
|
+
T -.->|dead owner| X[reap<br/><sub>release claims</sub>]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
| Who | Does |
|
|
138
|
+
|---|---|
|
|
139
|
+
| **Lead** | Plans, opens the task, briefs workers, verifies results itself, closes the task. The only one that sets `done`. |
|
|
140
|
+
| **Wrapper** (`examples/agent-run.sh`) | Records the assignment with owner and claims, runs the worker in its own process group, forwards signals, records the result. |
|
|
141
|
+
| **Worker** | Does the bounded job in worker mode and returns evidence. Never writes the ledger, never talks to other workers. |
|
|
142
|
+
| **Hipson** | Ledger, claims, reaping, evidence chain, MCP tools, and the existing local workflow (scan, packets, verify, audit). |
|
|
143
|
+
|
|
144
|
+
## Quick start
|
|
145
|
+
|
|
146
|
+
Requires Git and Python 3.11+; [uv](https://docs.astral.sh/uv/getting-started/installation/)
|
|
147
|
+
can install Python for you. Choose your OS below, then run the task example.
|
|
148
|
+
|
|
149
|
+
| OS | Support |
|
|
150
|
+
|---|---|
|
|
151
|
+
| Linux | Full CLI, ledger, MCP, evidence and worker wrapper |
|
|
152
|
+
| macOS | Full CLI, ledger, MCP, evidence and worker wrapper (Bash + `python3`) |
|
|
153
|
+
| Windows native | CLI, ledger, MCP and evidence; use leases and explicit finish for workers |
|
|
154
|
+
| Windows WSL2 | Full Linux support; recommended Windows route for running workers |
|
|
155
|
+
|
|
156
|
+
### Linux
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
160
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
161
|
+
uv tool install --python 3.12 git+https://github.com/Hipson47/Hipson
|
|
162
|
+
uv tool update-shell
|
|
163
|
+
hipson --help
|
|
164
|
+
hipson doctor
|
|
165
|
+
claude mcp add --transport stdio hipson -- hipson mcp serve --project "$PWD" --stdio
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### macOS
|
|
169
|
+
|
|
170
|
+
Install Git first (`xcode-select --install` if missing). In Terminal:
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
174
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
175
|
+
uv tool install --python 3.12 git+https://github.com/Hipson47/Hipson
|
|
176
|
+
uv tool update-shell
|
|
177
|
+
hipson --help
|
|
178
|
+
hipson doctor
|
|
179
|
+
claude mcp add --transport stdio hipson -- hipson mcp serve --project "$PWD" --stdio
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
The wrapper uses Python's `os.setsid()` when `setsid` is absent. No GNU utilities are required.
|
|
183
|
+
|
|
184
|
+
### Windows native (PowerShell)
|
|
185
|
+
|
|
186
|
+
Install Git for Windows, then install uv:
|
|
187
|
+
|
|
188
|
+
```powershell
|
|
189
|
+
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Reopen PowerShell, then:
|
|
193
|
+
|
|
194
|
+
```powershell
|
|
195
|
+
uv tool install --python 3.12 git+https://github.com/Hipson47/Hipson
|
|
196
|
+
uv tool update-shell
|
|
197
|
+
$env:Path = "$(uv tool dir --bin);$env:Path"
|
|
198
|
+
hipson --help
|
|
199
|
+
hipson doctor
|
|
200
|
+
claude mcp add --transport stdio hipson -- hipson mcp serve --project "$($PWD.Path)" --stdio
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Use `--lease-seconds 3600` on `hipson task assign` and finish assignments explicitly.
|
|
204
|
+
`examples/agent-run.sh` and the agent e2e harness do not run natively on Windows.
|
|
205
|
+
|
|
206
|
+
### Windows WSL2
|
|
207
|
+
|
|
208
|
+
In an administrator PowerShell, install Ubuntu with `wsl --install -d Ubuntu` and restart if prompted.
|
|
209
|
+
Open Ubuntu and follow the **Linux** commands above, including MCP registration from the Linux
|
|
210
|
+
Claude Code installation. Keep projects in `~/code`, with Hipson and workers in that same WSL distro.
|
|
211
|
+
|
|
212
|
+
### Run from a clone instead
|
|
213
|
+
|
|
214
|
+
On any OS, after installing uv and Git:
|
|
215
|
+
|
|
216
|
+
```text
|
|
217
|
+
git clone https://github.com/Hipson47/Hipson.git
|
|
218
|
+
cd Hipson
|
|
219
|
+
uv sync --python 3.12 --no-dev
|
|
220
|
+
uv run --no-dev hipson --help
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Use `uv run --no-dev hipson` in place of `hipson` below. For the wrapper, virtualenv activation,
|
|
224
|
+
MCP registration from a clone, PATH troubleshooting and verification commands, see
|
|
225
|
+
[docs/INSTALL.md](https://github.com/Hipson47/Hipson/blob/main/docs/INSTALL.md). The MCP commands follow
|
|
226
|
+
[Claude Code's stdio registration syntax](https://code.claude.com/docs/en/mcp#option-3-add-a-local-stdio-server).
|
|
227
|
+
|
|
228
|
+
Run a task by hand to see the model:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
hipson task open --project . --title "Fix parser" --objective "Parser accepts trailing commas" --acceptance "tests pass"
|
|
232
|
+
hipson task assign --task T-0001 --actor codex --role builder --mode rw --scope src/parser
|
|
233
|
+
hipson task board
|
|
234
|
+
hipson task finish --assignment A-0001 --result passed --summary "worker exited 0" --ref runs/report.md
|
|
235
|
+
hipson task status --task T-0001 --to review --actor lead --summary "verified: tests pass"
|
|
236
|
+
hipson task status --task T-0001 --to done --actor lead
|
|
237
|
+
hipson task events --task T-0001
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
Wrap real workers so the ledger fills itself:
|
|
241
|
+
|
|
242
|
+
```bash
|
|
243
|
+
TASK=$(hipson task open --project . --title "Add rate limit" --objective "API returns 429 over quota" --json \
|
|
244
|
+
| python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
|
|
245
|
+
examples/agent-run.sh --task "$TASK" --actor codex --role builder --mode rw --scope src/api --rollout codex \
|
|
246
|
+
-- codex exec -s workspace-write < brief.md
|
|
247
|
+
hipson task events --task "$TASK"
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
The wrapper exits with the worker's code, or 75 when a live writer already holds an overlapping scope.
|
|
251
|
+
|
|
252
|
+
The ledger lives at `$HIPSON_LEDGER` or `~/.config/hipson/ledger.sqlite`
|
|
253
|
+
(`$env:USERPROFILE\.config\hipson\ledger.sqlite` on native Windows).
|
|
254
|
+
`HIPSON_HOME` and `XDG_CONFIG_HOME` can change its config directory. Details, recovery rules and limits:
|
|
255
|
+
[docs/TASK_LEDGER.md](https://github.com/Hipson47/Hipson/blob/main/docs/TASK_LEDGER.md).
|
|
256
|
+
|
|
257
|
+
## Use it from a lead agent (MCP)
|
|
258
|
+
|
|
259
|
+
Hipson ships a stdio MCP server. Read tools: `task.show`, `task.brief`, `task.context`, `task.events`,
|
|
260
|
+
`task.list`, `task.board`, `task.findings`.
|
|
261
|
+
Write tools (each requires `approved=true`): `task.open`, `task.assign`, `task.finish`, `task.event`,
|
|
262
|
+
`task.status`, `task.reap`, `task.finding_add`, `task.finding_update`.
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
claude mcp add hipson -- hipson mcp serve --project . --stdio
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
The server only uses the configured ledger, never a caller-supplied database path, and read tools never create
|
|
269
|
+
or migrate the store.
|
|
270
|
+
|
|
271
|
+
## More than the ledger
|
|
272
|
+
|
|
273
|
+
The ledger sits on top of Hipson's existing local workflow layer:
|
|
274
|
+
|
|
275
|
+
| Area | Commands |
|
|
276
|
+
|---|---|
|
|
277
|
+
| Work planning | `hipson work`, `hipson route`, `hipson contract show` |
|
|
278
|
+
| Bounded packets for agents | `hipson packet review / exec`, `hipson packet preflight` |
|
|
279
|
+
| Local verification and evidence | `hipson verify run`, `hipson evidence append / show / verify`, `hipson audit show` |
|
|
280
|
+
| Run bundles and release gates | `hipson kit review`, `hipson autopilot`, `hipson run status / validate / handoff`, `hipson release claim` |
|
|
281
|
+
| Memory and sessions | `hipson memory`, `hipson session`, `hipson learn` (approval-gated) |
|
|
282
|
+
| Agent integration | `hipson install agents`, `hipson agent bootstrap`, `hipson mcp serve` |
|
|
283
|
+
| Optional AI second opinions | `hipson sidecar route / run`, `hipson quality report / eval` (explicit, advisory) |
|
|
284
|
+
|
|
285
|
+
Full command reference and workflows: [docs/USAGE.md](https://github.com/Hipson47/Hipson/blob/main/docs/USAGE.md). All docs: [docs/README.md](https://github.com/Hipson47/Hipson/blob/main/docs/README.md).
|
|
286
|
+
|
|
287
|
+
## Safety in short
|
|
288
|
+
|
|
289
|
+
- **Provider-free by default.** Core commands make no network calls; provider sidecars are explicit and advisory.
|
|
290
|
+
- **Repository content is data, not instructions.** Packets are bounded; sensitive files are skipped or summarized.
|
|
291
|
+
- **Redaction before persistence.** Evidence, work plans and release claims are redacted recursively, including
|
|
292
|
+
any value under a credential-named key. Ledger text and MCP error messages get pattern-based redaction.
|
|
293
|
+
- **Write gates.** Every MCP write needs `approved=true`; invalid arguments are rejected before a database is opened.
|
|
294
|
+
- **Honest limits.** Actor names are recorded labels, not authenticated identities. Path claims coordinate
|
|
295
|
+
cooperating agents; they are not filesystem permissions. Worker mode is an instruction, not a sandbox.
|
|
296
|
+
|
|
297
|
+
Hipson is a **beta coordination tool for cooperating agents**, not a security boundary or an enforced
|
|
298
|
+
release gate. A task reaching `done` checks ledger closure, not the truth of its evidence or release readiness.
|
|
299
|
+
|
|
300
|
+
Keep real provider keys in `~/.config/hipson/agents.env` or your shell, never in git.
|
|
301
|
+
|
|
302
|
+
## Development
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
uv sync --all-extras
|
|
306
|
+
uv run ruff check .
|
|
307
|
+
uv run mypy src/hipson
|
|
308
|
+
uv run bandit -q -r src -c pyproject.toml
|
|
309
|
+
uv run python scripts/run_tests.py
|
|
310
|
+
uv run python -m pytest -q
|
|
311
|
+
uv build
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
CI runs Linux on Python 3.11/3.12 and macOS/Windows on Python 3.12, including installed CLI ledger
|
|
315
|
+
commands and MCP initialize/tools-list over stdio. Mutation testing and `pip-audit` run on Linux.
|
|
316
|
+
On Linux with `CI` set, both test runners fail on any skip, including pytest collection skips.
|
|
317
|
+
The standalone runner reports passed, skipped and failed counts separately. Outside CI,
|
|
318
|
+
missing prerequisites produce explicit skips, including the pytest-policy probe when pytest is unavailable.
|
|
319
|
+
Wrapper tests resolve the installed CLI
|
|
320
|
+
through `HIPSON_BIN`, then `PATH`, then the checkout's `.venv/bin/hipson`
|
|
321
|
+
(`.venv\Scripts\hipson.exe` on Windows); missing prerequisites fail Linux CI.
|
|
322
|
+
The agent e2e harness stays Linux/WSL2-only; other platforms report explicit skips.
|
|
323
|
+
Artifact tests validate every keyword currently used in `schemas/`, including nested array items,
|
|
324
|
+
additional properties, references, nullable types, patterns and bounds. Unsupported schema keywords
|
|
325
|
+
fail even in unused branches.
|
|
326
|
+
|
|
327
|
+
Python 3.12 CI also enforces a bounded mutation baseline within a 20-minute step:
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
uv run mutmut run --max-children 2
|
|
331
|
+
uv run mutmut export-cicd-stats
|
|
332
|
+
uv run python scripts/mutation_gate.py
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
The fresh Linux baseline took 443.31 seconds (7m 23s) with Python 3.12.3 and mutmut 3.8.0 on 2026-10-25.
|
|
336
|
+
|
|
337
|
+
The mutated paths are `approvals.py`, `evidence.py`, `redaction.py` and `sandbox.py`; the test selection,
|
|
338
|
+
including `tests/test_evidence.py`, is in `pyproject.toml`. The score is **killed / total**, counting only
|
|
339
|
+
test-killed mutants as kills. The gate enforces the committed minimum score and population and caps
|
|
340
|
+
survivors, mutants without tests and timeouts. It rejects missing, malformed or incomplete results,
|
|
341
|
+
skipped mutants, suspicious outcomes, interruptions and segfaults.
|
|
342
|
+
|
|
343
|
+
To update `[tool.hipson.mutation-gate]` in `pyproject.toml`, start from a fresh checkout or move `mutants/`
|
|
344
|
+
aside, run the three commands above with the recorded mutmut/Python versions, inspect `uv run mutmut results`,
|
|
345
|
+
and review changed survivors before editing the baseline counts, minimum score (rounded down to two decimals), date,
|
|
346
|
+
versions and elapsed time. Baseline updates require a reviewed diff; the gate never learns a new threshold automatically.
|
|
347
|
+
Changes are listed in [CHANGELOG.md](https://github.com/Hipson47/Hipson/blob/main/CHANGELOG.md).
|
|
348
|
+
|
|
349
|
+
## Project layout
|
|
350
|
+
|
|
351
|
+
```text
|
|
352
|
+
src/hipson/ CLI, ledger, evidence, MCP server, runtime, packaged assets
|
|
353
|
+
schemas/ JSON schemas for every artifact kind
|
|
354
|
+
tests/ pytest suite (also runnable without pytest)
|
|
355
|
+
examples/ agent-run.sh worker wrapper
|
|
356
|
+
skills/ Hipson's own agent skills; third-party skills are fetched on demand into skills/external/
|
|
357
|
+
docs/ live documentation; docs/archive/ holds historical plans and audits
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
## License
|
|
361
|
+
|
|
362
|
+
Apache License 2.0. See [LICENSE](https://github.com/Hipson47/Hipson/blob/main/LICENSE).
|