sdlckit 0.2.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.
- sdlckit-0.2.0/LICENSE +190 -0
- sdlckit-0.2.0/PKG-INFO +226 -0
- sdlckit-0.2.0/README.md +198 -0
- sdlckit-0.2.0/engine/__init__.py +157 -0
- sdlckit-0.2.0/engine/cli.py +246 -0
- sdlckit-0.2.0/engine/config/__init__.py +12 -0
- sdlckit-0.2.0/engine/config/_secret_detector.py +66 -0
- sdlckit-0.2.0/engine/config/loader.py +728 -0
- sdlckit-0.2.0/engine/config/plugins.py +224 -0
- sdlckit-0.2.0/engine/errors.py +82 -0
- sdlckit-0.2.0/engine/init/__init__.py +23 -0
- sdlckit-0.2.0/engine/init/config_gen.py +88 -0
- sdlckit-0.2.0/engine/init/harness.py +102 -0
- sdlckit-0.2.0/engine/init/integration.py +89 -0
- sdlckit-0.2.0/engine/init/manifest.py +128 -0
- sdlckit-0.2.0/engine/init/scaffolder.py +720 -0
- sdlckit-0.2.0/engine/initiative/__init__.py +17 -0
- sdlckit-0.2.0/engine/initiative/archive.py +130 -0
- sdlckit-0.2.0/engine/initiative/assignment.py +108 -0
- sdlckit-0.2.0/engine/initiative/knowledge.py +187 -0
- sdlckit-0.2.0/engine/initiative/manifest.py +274 -0
- sdlckit-0.2.0/engine/initiative/observation.py +154 -0
- sdlckit-0.2.0/engine/initiative/stage_review.py +132 -0
- sdlckit-0.2.0/engine/lifecycle/__init__.py +6 -0
- sdlckit-0.2.0/engine/lifecycle/context_resolver.py +431 -0
- sdlckit-0.2.0/engine/lifecycle/feedback.py +267 -0
- sdlckit-0.2.0/engine/lifecycle/manager.py +847 -0
- sdlckit-0.2.0/engine/lifecycle/reconciliation.py +308 -0
- sdlckit-0.2.0/engine/models/__init__.py +172 -0
- sdlckit-0.2.0/engine/models/artifacts.py +93 -0
- sdlckit-0.2.0/engine/models/config.py +175 -0
- sdlckit-0.2.0/engine/models/feedback.py +85 -0
- sdlckit-0.2.0/engine/models/initiative.py +103 -0
- sdlckit-0.2.0/engine/models/manifest.py +43 -0
- sdlckit-0.2.0/engine/models/plugin.py +45 -0
- sdlckit-0.2.0/engine/models/results.py +45 -0
- sdlckit-0.2.0/engine/models/skill.py +75 -0
- sdlckit-0.2.0/engine/models/state.py +132 -0
- sdlckit-0.2.0/engine/normalized_hash.py +21 -0
- sdlckit-0.2.0/engine/sage/__init__.py +11 -0
- sdlckit-0.2.0/engine/sage/gate_check.py +233 -0
- sdlckit-0.2.0/engine/sage/loop_check.py +88 -0
- sdlckit-0.2.0/engine/sage/skill_loader.py +276 -0
- sdlckit-0.2.0/pyproject.toml +58 -0
- sdlckit-0.2.0/sdlckit.egg-info/PKG-INFO +226 -0
- sdlckit-0.2.0/sdlckit.egg-info/SOURCES.txt +77 -0
- sdlckit-0.2.0/sdlckit.egg-info/dependency_links.txt +1 -0
- sdlckit-0.2.0/sdlckit.egg-info/entry_points.txt +2 -0
- sdlckit-0.2.0/sdlckit.egg-info/requires.txt +8 -0
- sdlckit-0.2.0/sdlckit.egg-info/top_level.txt +1 -0
- sdlckit-0.2.0/setup.cfg +4 -0
- sdlckit-0.2.0/tests/test_archive.py +155 -0
- sdlckit-0.2.0/tests/test_assignment.py +132 -0
- sdlckit-0.2.0/tests/test_builtin_commands.py +382 -0
- sdlckit-0.2.0/tests/test_config_loader.py +425 -0
- sdlckit-0.2.0/tests/test_context_initiative.py +161 -0
- sdlckit-0.2.0/tests/test_context_resolver.py +401 -0
- sdlckit-0.2.0/tests/test_e2e_engine.py +1418 -0
- sdlckit-0.2.0/tests/test_e2e_initiative.py +213 -0
- sdlckit-0.2.0/tests/test_feedback.py +214 -0
- sdlckit-0.2.0/tests/test_gate_check.py +326 -0
- sdlckit-0.2.0/tests/test_init_cli.py +79 -0
- sdlckit-0.2.0/tests/test_init_config_gen.py +72 -0
- sdlckit-0.2.0/tests/test_init_e2e.py +258 -0
- sdlckit-0.2.0/tests/test_init_integration.py +157 -0
- sdlckit-0.2.0/tests/test_init_manifest.py +222 -0
- sdlckit-0.2.0/tests/test_init_scaffolder.py +388 -0
- sdlckit-0.2.0/tests/test_initiative_state.py +261 -0
- sdlckit-0.2.0/tests/test_knowledge_extraction.py +114 -0
- sdlckit-0.2.0/tests/test_loop_check.py +278 -0
- sdlckit-0.2.0/tests/test_manifest.py +153 -0
- sdlckit-0.2.0/tests/test_normalized_hash.py +77 -0
- sdlckit-0.2.0/tests/test_observation.py +157 -0
- sdlckit-0.2.0/tests/test_plugin_loader.py +228 -0
- sdlckit-0.2.0/tests/test_reconciliation.py +306 -0
- sdlckit-0.2.0/tests/test_skill_loader.py +550 -0
- sdlckit-0.2.0/tests/test_stage_review.py +163 -0
- sdlckit-0.2.0/tests/test_staleness.py +284 -0
- sdlckit-0.2.0/tests/test_state_manager.py +400 -0
sdlckit-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
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 the 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 the 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 any 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
|
+
Copyright 2025 Atish Choudhury
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
sdlckit-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sdlckit
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: SDLCKit — AI-governed SDLC lifecycle engine with SAGE loop
|
|
5
|
+
Author: SDLCKit Contributors
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/atishio/sdlc-kit
|
|
8
|
+
Project-URL: Documentation, https://github.com/atishio/sdlc-kit#readme
|
|
9
|
+
Project-URL: Repository, https://github.com/atishio/sdlc-kit
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: pyyaml<7.0,>=6.0
|
|
21
|
+
Requires-Dist: jsonschema<5.0,>=4.0
|
|
22
|
+
Requires-Dist: referencing>=0.30.0
|
|
23
|
+
Requires-Dist: python-frontmatter>=1.0
|
|
24
|
+
Requires-Dist: filelock>=3.0
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# SDLCKit
|
|
30
|
+
|
|
31
|
+
**Governed AI quality loops for every SDLC phase.**
|
|
32
|
+
|
|
33
|
+
[](https://github.com/atishio/sdlc-kit)
|
|
34
|
+
[](https://www.python.org/downloads/)
|
|
35
|
+
[](LICENSE)
|
|
36
|
+
[](https://github.com/atishio/sdlc-kit/actions/workflows/tests.yml)
|
|
37
|
+
|
|
38
|
+
SDLCKit wraps each phase of the software development lifecycle in a **SAGE loop** — a governed cycle where humans declare intent, AI produces artifacts, and independent scorers review against weighted quality dimensions. The result: measurable confidence in AI-generated artifacts before they reach production.
|
|
39
|
+
|
|
40
|
+
SDLCKit is a governance layer, not an SDLC. You keep your existing process and add SDLCKit on top.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Why Governance?
|
|
45
|
+
|
|
46
|
+
AI agents can produce code, specs, and designs — but without governance, there is no measurable quality signal. SDLCKit provides that signal through four properties:
|
|
47
|
+
|
|
48
|
+
| Property | What It Means |
|
|
49
|
+
|----------|---------------|
|
|
50
|
+
| **Independent Scoring** | Scorer agent is sandboxed (read-only tools). Cannot collude with producer. |
|
|
51
|
+
| **Dimensional Confidence** | Not pass/fail. N weighted dimensions scored independently (e.g., clarity 0.35, completeness 0.30). |
|
|
52
|
+
| **Bounded Fix Loops** | Max N automated iterations. Oscillation detection stops thrashing. |
|
|
53
|
+
| **Human Gates** | Two-pass: (1) deterministic structural check, (2) human quality review with scorecard. |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## The SAGE Loop
|
|
58
|
+
|
|
59
|
+
Every phase — refine, architect, build, review — runs the same governed cycle:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
SCOPE SAGE LOOP
|
|
63
|
+
+------------------+ +------------+
|
|
64
|
+
| User input | +--->| ANALYZE |
|
|
65
|
+
| Discovery output | | | Frame goal + constraints |
|
|
66
|
+
| Feedback signals |------>+ +-----+------+
|
|
67
|
+
| Prior state | | |
|
|
68
|
+
+------------------+ | v
|
|
69
|
+
| +------------+
|
|
70
|
+
| | GENERATE |
|
|
71
|
+
| | AI produces artifacts |
|
|
72
|
+
| +-----+------+
|
|
73
|
+
| |
|
|
74
|
+
| v
|
|
75
|
+
| +------------+
|
|
76
|
+
| | EVALUATE |
|
|
77
|
+
| | Independent scorer scores |
|
|
78
|
+
| | N weighted dimensions |
|
|
79
|
+
| +-----+------+
|
|
80
|
+
| |
|
|
81
|
+
| confidence < threshold?
|
|
82
|
+
| |
|
|
83
|
+
| YES: Fix Loop (target weakest dim)
|
|
84
|
+
| |
|
|
85
|
+
| NO: Human Gate
|
|
86
|
+
| |
|
|
87
|
+
| [Approve] -> advance
|
|
88
|
+
| [Revise] -> feedback
|
|
89
|
+
+----[Pause] -> save state
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Quick Start
|
|
95
|
+
|
|
96
|
+
### Prerequisites
|
|
97
|
+
|
|
98
|
+
- Python 3.11+
|
|
99
|
+
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
|
|
100
|
+
|
|
101
|
+
### Install
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
pip install sdlckit
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Installs the latest published release. To pin a specific version:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
pip install sdlckit==0.2.0
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**From source:**
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
git clone https://github.com/atishio/sdlc-kit.git
|
|
117
|
+
cd sdlc-kit
|
|
118
|
+
pip install -e .
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Initialize a Project
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
sdlckit init
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Scaffolds your project: `sdlc.yaml`, skills, agents, templates, schemas, and the `/sdlc` slash command.
|
|
128
|
+
|
|
129
|
+
### Run a Phase
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
# In Claude Code:
|
|
133
|
+
/sdlc refine "user onboarding feature"
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
The SAGE engine produces `REFINE.md`, scores it across weighted dimensions, runs fix loops if below threshold, then presents the human gate.
|
|
137
|
+
|
|
138
|
+
### Check Status
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
/sdlc status
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Commands
|
|
147
|
+
|
|
148
|
+
| Command | What It Does |
|
|
149
|
+
|---------|-------------|
|
|
150
|
+
| `/sdlc <phase> "input"` | Run a phase with direct input |
|
|
151
|
+
| `/sdlc <phase>` | Run a phase (inputs auto-resolved from upstream) |
|
|
152
|
+
| `/sdlc <phase> amend "feedback"` | Re-enter a completed phase with feedback |
|
|
153
|
+
| `/sdlc status` | Lifecycle dashboard |
|
|
154
|
+
| `/sdlc reconcile` | Re-run stale phases after an amendment |
|
|
155
|
+
| `sdlckit init` | Scaffold a component project |
|
|
156
|
+
| `sdlckit init --type initiative` | Scaffold a multi-component initiative |
|
|
157
|
+
| `sdlckit assign <path>` | Import an assignment into a component repo |
|
|
158
|
+
| `sdlckit observe` | Create an operational observation |
|
|
159
|
+
| `sdlckit archive` | Pre-merge cleanup |
|
|
160
|
+
|
|
161
|
+
Phase commands are dynamic — a custom phase `compliance` in `sdlc.yaml` becomes `/sdlc compliance`.
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Two Modes
|
|
166
|
+
|
|
167
|
+
**Component mode** (`sdlc.yaml`) — single project, linear phase sequence: refine -> architect -> build -> review.
|
|
168
|
+
|
|
169
|
+
**Initiative mode** (`sdlc-initiative.yaml`) — multi-component, multi-repo projects. Discovery and Delivery stages with per-component SAGE loops, stage reviews, knowledge extraction, and assignment handoffs.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Extending with Plugins
|
|
174
|
+
|
|
175
|
+
SDLCKit separates **engine** (how the loop runs) from **domain knowledge** (what the loop produces). Plugins provide richer implementations:
|
|
176
|
+
|
|
177
|
+
- **Phase plugins** replace built-in phases with specialized skills, agents, dimensions, and templates
|
|
178
|
+
- **Connector plugins** deliver scored artifacts to external systems (Jira, CI/CD, etc.)
|
|
179
|
+
|
|
180
|
+
See [Developer Guide](docs/developer-guide.md) for plugin authoring.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Roadmap
|
|
185
|
+
|
|
186
|
+
| Feature | Target |
|
|
187
|
+
|---------|--------|
|
|
188
|
+
| Checkpoint / resume (crash recovery) | v0.3 |
|
|
189
|
+
| SAGE-wrapped knowledge extraction | v0.3 |
|
|
190
|
+
| Connector plugin execution | v0.3 |
|
|
191
|
+
| `auto_advance` phase chaining | v0.3 |
|
|
192
|
+
| Plugin registry + remote sources | Post-1.0 |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Documentation
|
|
197
|
+
|
|
198
|
+
| Guide | Audience |
|
|
199
|
+
|-------|----------|
|
|
200
|
+
| [Consumer Guide](docs/consumer-guide.md) | Users — installation, configuration, daily usage |
|
|
201
|
+
| [Contributor Guide](docs/contributor-guide.md) | Engine developers — internals, testing |
|
|
202
|
+
| [Developer Guide](docs/developer-guide.md) | Plugin authors — skills, agents, schemas |
|
|
203
|
+
| [Architecture Reference](docs/architecture/) | All — SAGE engine, state, plugins, agents |
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## Development
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
pip install -e ".[dev]"
|
|
211
|
+
pytest
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Contributing
|
|
217
|
+
|
|
218
|
+
Contributions welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, standards, and PR guidelines.
|
|
219
|
+
|
|
220
|
+
Please read our [Code of Conduct](CODE_OF_CONDUCT.md) before participating.
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## License
|
|
225
|
+
|
|
226
|
+
[Apache License 2.0](LICENSE)
|
sdlckit-0.2.0/README.md
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# SDLCKit
|
|
2
|
+
|
|
3
|
+
**Governed AI quality loops for every SDLC phase.**
|
|
4
|
+
|
|
5
|
+
[](https://github.com/atishio/sdlc-kit)
|
|
6
|
+
[](https://www.python.org/downloads/)
|
|
7
|
+
[](LICENSE)
|
|
8
|
+
[](https://github.com/atishio/sdlc-kit/actions/workflows/tests.yml)
|
|
9
|
+
|
|
10
|
+
SDLCKit wraps each phase of the software development lifecycle in a **SAGE loop** — a governed cycle where humans declare intent, AI produces artifacts, and independent scorers review against weighted quality dimensions. The result: measurable confidence in AI-generated artifacts before they reach production.
|
|
11
|
+
|
|
12
|
+
SDLCKit is a governance layer, not an SDLC. You keep your existing process and add SDLCKit on top.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Why Governance?
|
|
17
|
+
|
|
18
|
+
AI agents can produce code, specs, and designs — but without governance, there is no measurable quality signal. SDLCKit provides that signal through four properties:
|
|
19
|
+
|
|
20
|
+
| Property | What It Means |
|
|
21
|
+
|----------|---------------|
|
|
22
|
+
| **Independent Scoring** | Scorer agent is sandboxed (read-only tools). Cannot collude with producer. |
|
|
23
|
+
| **Dimensional Confidence** | Not pass/fail. N weighted dimensions scored independently (e.g., clarity 0.35, completeness 0.30). |
|
|
24
|
+
| **Bounded Fix Loops** | Max N automated iterations. Oscillation detection stops thrashing. |
|
|
25
|
+
| **Human Gates** | Two-pass: (1) deterministic structural check, (2) human quality review with scorecard. |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## The SAGE Loop
|
|
30
|
+
|
|
31
|
+
Every phase — refine, architect, build, review — runs the same governed cycle:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
SCOPE SAGE LOOP
|
|
35
|
+
+------------------+ +------------+
|
|
36
|
+
| User input | +--->| ANALYZE |
|
|
37
|
+
| Discovery output | | | Frame goal + constraints |
|
|
38
|
+
| Feedback signals |------>+ +-----+------+
|
|
39
|
+
| Prior state | | |
|
|
40
|
+
+------------------+ | v
|
|
41
|
+
| +------------+
|
|
42
|
+
| | GENERATE |
|
|
43
|
+
| | AI produces artifacts |
|
|
44
|
+
| +-----+------+
|
|
45
|
+
| |
|
|
46
|
+
| v
|
|
47
|
+
| +------------+
|
|
48
|
+
| | EVALUATE |
|
|
49
|
+
| | Independent scorer scores |
|
|
50
|
+
| | N weighted dimensions |
|
|
51
|
+
| +-----+------+
|
|
52
|
+
| |
|
|
53
|
+
| confidence < threshold?
|
|
54
|
+
| |
|
|
55
|
+
| YES: Fix Loop (target weakest dim)
|
|
56
|
+
| |
|
|
57
|
+
| NO: Human Gate
|
|
58
|
+
| |
|
|
59
|
+
| [Approve] -> advance
|
|
60
|
+
| [Revise] -> feedback
|
|
61
|
+
+----[Pause] -> save state
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Quick Start
|
|
67
|
+
|
|
68
|
+
### Prerequisites
|
|
69
|
+
|
|
70
|
+
- Python 3.11+
|
|
71
|
+
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
|
|
72
|
+
|
|
73
|
+
### Install
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install sdlckit
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Installs the latest published release. To pin a specific version:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
pip install sdlckit==0.2.0
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**From source:**
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
git clone https://github.com/atishio/sdlc-kit.git
|
|
89
|
+
cd sdlc-kit
|
|
90
|
+
pip install -e .
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Initialize a Project
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
sdlckit init
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Scaffolds your project: `sdlc.yaml`, skills, agents, templates, schemas, and the `/sdlc` slash command.
|
|
100
|
+
|
|
101
|
+
### Run a Phase
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# In Claude Code:
|
|
105
|
+
/sdlc refine "user onboarding feature"
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
The SAGE engine produces `REFINE.md`, scores it across weighted dimensions, runs fix loops if below threshold, then presents the human gate.
|
|
109
|
+
|
|
110
|
+
### Check Status
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
/sdlc status
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Commands
|
|
119
|
+
|
|
120
|
+
| Command | What It Does |
|
|
121
|
+
|---------|-------------|
|
|
122
|
+
| `/sdlc <phase> "input"` | Run a phase with direct input |
|
|
123
|
+
| `/sdlc <phase>` | Run a phase (inputs auto-resolved from upstream) |
|
|
124
|
+
| `/sdlc <phase> amend "feedback"` | Re-enter a completed phase with feedback |
|
|
125
|
+
| `/sdlc status` | Lifecycle dashboard |
|
|
126
|
+
| `/sdlc reconcile` | Re-run stale phases after an amendment |
|
|
127
|
+
| `sdlckit init` | Scaffold a component project |
|
|
128
|
+
| `sdlckit init --type initiative` | Scaffold a multi-component initiative |
|
|
129
|
+
| `sdlckit assign <path>` | Import an assignment into a component repo |
|
|
130
|
+
| `sdlckit observe` | Create an operational observation |
|
|
131
|
+
| `sdlckit archive` | Pre-merge cleanup |
|
|
132
|
+
|
|
133
|
+
Phase commands are dynamic — a custom phase `compliance` in `sdlc.yaml` becomes `/sdlc compliance`.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Two Modes
|
|
138
|
+
|
|
139
|
+
**Component mode** (`sdlc.yaml`) — single project, linear phase sequence: refine -> architect -> build -> review.
|
|
140
|
+
|
|
141
|
+
**Initiative mode** (`sdlc-initiative.yaml`) — multi-component, multi-repo projects. Discovery and Delivery stages with per-component SAGE loops, stage reviews, knowledge extraction, and assignment handoffs.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Extending with Plugins
|
|
146
|
+
|
|
147
|
+
SDLCKit separates **engine** (how the loop runs) from **domain knowledge** (what the loop produces). Plugins provide richer implementations:
|
|
148
|
+
|
|
149
|
+
- **Phase plugins** replace built-in phases with specialized skills, agents, dimensions, and templates
|
|
150
|
+
- **Connector plugins** deliver scored artifacts to external systems (Jira, CI/CD, etc.)
|
|
151
|
+
|
|
152
|
+
See [Developer Guide](docs/developer-guide.md) for plugin authoring.
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Roadmap
|
|
157
|
+
|
|
158
|
+
| Feature | Target |
|
|
159
|
+
|---------|--------|
|
|
160
|
+
| Checkpoint / resume (crash recovery) | v0.3 |
|
|
161
|
+
| SAGE-wrapped knowledge extraction | v0.3 |
|
|
162
|
+
| Connector plugin execution | v0.3 |
|
|
163
|
+
| `auto_advance` phase chaining | v0.3 |
|
|
164
|
+
| Plugin registry + remote sources | Post-1.0 |
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Documentation
|
|
169
|
+
|
|
170
|
+
| Guide | Audience |
|
|
171
|
+
|-------|----------|
|
|
172
|
+
| [Consumer Guide](docs/consumer-guide.md) | Users — installation, configuration, daily usage |
|
|
173
|
+
| [Contributor Guide](docs/contributor-guide.md) | Engine developers — internals, testing |
|
|
174
|
+
| [Developer Guide](docs/developer-guide.md) | Plugin authors — skills, agents, schemas |
|
|
175
|
+
| [Architecture Reference](docs/architecture/) | All — SAGE engine, state, plugins, agents |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Development
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
pip install -e ".[dev]"
|
|
183
|
+
pytest
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Contributing
|
|
189
|
+
|
|
190
|
+
Contributions welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, standards, and PR guidelines.
|
|
191
|
+
|
|
192
|
+
Please read our [Code of Conduct](CODE_OF_CONDUCT.md) before participating.
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## License
|
|
197
|
+
|
|
198
|
+
[Apache License 2.0](LICENSE)
|