@antoneeo/agentic-sdlc-skill 1.32.0 → 1.34.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,93 @@
2
2
 
3
3
  Tutte le modifiche significative a questa skill saranno documentate in questo file.
4
4
 
5
+ ## [1.34.0] - 2026-09-14
6
+
7
+ ### Changed
8
+ - **F-055: Apache-2.0 with a NOTICE, in place of MIT.** The package root and the
9
+ installed skill folder now carry `LICENSE` (the Apache-2.0 text) and `NOTICE`
10
+ (the attribution), and `package.json` and the `SKILL.md` frontmatter say
11
+ `Apache-2.0`. Redistributing the skill, or a version you modified, means keeping
12
+ both files. Using it in your own project carries no obligation: the documents it
13
+ creates or templates there are yours, and so is a copy of the validator and its
14
+ tests placed there to check them (README, License). Versions up to 1.33.0 remain
15
+ available under MIT. The README also asks, as a request and not a condition,
16
+ for a mention when the skill is used in commercial work.
17
+
18
+ ## [1.33.0] - 2026-09-12
19
+
20
+ ### Added
21
+ - **F-048: the capability floor, and what may be delegated at all.** A review
22
+ run below the capability its judgement needs certifies the omission it was
23
+ there to catch. `review.md` now carries a floor — which tier may run which
24
+ role — with the rule that a tier may be lowered only where a **threshold
25
+ signal** scores the cheap answer, and an arbitration for the case where the
26
+ only independent rung sits under it (independence wins, both facts recorded).
27
+ `dispatch.md` gains the family-wide delegation boundary, keyed on whether a
28
+ pass's output is falsifiable and on its read/report ratio: a task whose brief
29
+ cannot be expressed as POINTERS is not delegable. `REVIEW_LOG` gains a
30
+ `model` column — tiers are client-relative capability levels, never provider
31
+ names. External evidence: cascade routing pays only where a threshold signal
32
+ exists, and multi-agent execution costs 3-15x the tokens and buys context
33
+ isolation rather than savings.
34
+ - **F-049: the floor reaches the AUTHOR, not only the gates.** A session's
35
+ floor is the highest floor among the roles it performs itself, and authoring
36
+ a governed artifact is a deep-floor role — its output is judgement and
37
+ nothing downstream scores it. Fails open by construction: a session that
38
+ cannot determine its own tier owes nothing. The reliably working half is
39
+ addressed to the user, in each package's README.
40
+ - **F-050: `benefit` — what the process caught, beside what it costs to read.**
41
+ The product's central claim becomes computable instead of asserted. It always
42
+ exits 0 and carries no verdict: a measurement that can fail a build becomes a
43
+ target, and a targeted measurement stops measuring.
44
+ - **F-051: the Hybrid seam leaves the mandatory read.** The devPNT ownership
45
+ matrix, triage equivalence, feature-state mapping and shadow discipline move
46
+ to a triggered `hybrid.md`; `SKILL.md` keeps a pointer carrying the trigger
47
+ and the consequence. Conservation is guarded by a digest stamped in the moved
48
+ file and computed from the PRE-MOVE source.
49
+
50
+ ### Fixed
51
+ - **F-053: nine defects a review on a DIFFERENT model found after six units
52
+ shipped.** Each of those six was reviewed in isolation, and each by the same
53
+ model family as its author; six rows reading "all findings folded" are one
54
+ loop, not two eyes. The scoped re-review `review.md` mandates had never been
55
+ run for seven unreleased rows — it has been now, late, and each row states
56
+ both verdicts WITH its limitation, because 35 findings across six of them
57
+ have no surviving per-finding record and no late round can certify them.
58
+ `benefit` printed "the share above is a floor, not a ceiling", which is
59
+ backwards — folding the post-implementation rows LOWERS the design share —
60
+ and excluded 46 of 117 rows in silence; it now prints a computed interval,
61
+ names the rows that state no count, and prints the read-cost TOTAL with the
62
+ support files itemised, because printing only the two terms let the one that
63
+ FELL be quoted while the one that GREW stayed lumped.
64
+ - **The mechanism behind five of those units' probes, recorded as an ADR.** Ten
65
+ assertions across six units were satisfiable by a LITERAL, because the probe
66
+ looked for a SHAPE in the output instead of recomputing the VALUE and
67
+ comparing. Every probe over a computed output now recomputes and compares and
68
+ carries a positive control on synthetic data; every probe over prose is
69
+ labelled a wording anchor.
70
+
71
+ ### Read cost
72
+ - `SKILL.md` **-7.9%** (49,413 -> 45,518 B) for a Standalone session. A Hybrid
73
+ L3 session reads **+5.6%** (`SKILL.md` + `hybrid.md`), and the package's
74
+ support files grow **+10.8%**: the cost did not fall so much as MOVE out of
75
+ the file the report prints. Stated here because the Vision's ceremony clause
76
+ counts relocated cost.
77
+
78
+ ## [1.32.1] - 2026-09-06
79
+
80
+ ### Fixed
81
+ - **F-046 shipped a hook that wired nowhere.** `wireRemindHookInto` used the
82
+ ORIENT hook's opt-out marker (`orient-hook-wired`) as its own. That file is
83
+ present on every machine that ever installed the skill, so the installer read
84
+ it as "the user opted out of the per-turn reminder" and never wrote the hook —
85
+ for everyone. Two smaller faults in the same function: the marker was checked
86
+ BEFORE testing whether the hook was already present, and no marker was ever
87
+ written after a successful wire, so the real opt-out could never arm. The hook
88
+ now has its own `remind-hook-wired` marker, checked after the presence test and
89
+ written only on success. Regression pinned in `scripts/test_clients.js` (red
90
+ against 1.32.0: an orient-marked machine got no hook).
91
+
5
92
  ## [1.32.0] - 2026-09-06
6
93
 
7
94
  ### Added
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,5 @@
1
+ Agentic SDLC skill family
2
+ Copyright 2026 Antonio Pinto
3
+
4
+ This product includes software developed by Antonio Pinto
5
+ (https://github.com/Antoneeo/agentic-sdlc-skill).
package/README.md CHANGED
@@ -16,8 +16,8 @@
16
16
  - **devPNT symbiosis**: when devPNT is available, Master Plan, Action Plan, M-VISION, and governed artifacts become the authoritative planning layer, with independent fresh-context reviews of technical artifacts and diffs.
17
17
  - **Independent review, twice**: the design is reviewed before it is implemented and the diff before the work is declared done — by somebody other than its author. Three rungs of independence (fresh-context subagent > one-shot run > a declared self-pass, legal only when no higher rung is usable: absent, or permission-gated and declined — a gated rung is asked about, never silently skipped, and the log says which), capped at 3 rounds, one log line per review, and a PASS is invalid on "found nothing" — it must state where each constraint is satisfied.
18
18
  - **Question discipline**: a question to the user is legal only when the agent searched first and names the search with its result, and names the decision the answer unblocks. Otherwise it proceeds on a declared assumption — same evidence duty, batched, never a stream of "shall I proceed?".
19
- - **Installed support files**: Claude, Codex, Gemini, and Google Antigravity receive the full skill folder, including `templates.md`, `architect.md`, `guides.md`, `vision.md`, `tdd.md`, `debugging.md`, `elicitation.md`, `review.md`, `dispatch.md`, `routing.md`, `ENFORCEMENT.md`, and the validator's two files, `scripts/sdlc_check.py` + `scripts/sdlc_core.py`.
20
- - **Mechanical checks**: optional validator for document structure, generated feature history, stale audit areas, and protected-path gates — `check`, `validate`, `index`, `stale`, `mark`, `gate`, `plan`, `orient`, `migrate`.
19
+ - **Installed support files**: Claude, Codex, Gemini, and Google Antigravity receive the full skill folder, including `templates.md`, `architect.md`, `guides.md`, `vision.md`, `tdd.md`, `debugging.md`, `elicitation.md`, `review.md`, `dispatch.md`, `routing.md`, `hybrid.md`, `ENFORCEMENT.md`, and the validator's two files, `scripts/sdlc_check.py` + `scripts/sdlc_core.py` — plus the `LICENSE` and `NOTICE` it ships under.
20
+ - **Mechanical checks**: optional validator for document structure, generated feature history, stale audit areas, and protected-path gates — `check`, `validate`, `index`, `stale`, `mark`, `benefit`, `gate`, `plan`, `orient`, `migrate`. `benefit` reports what the review gates have already caught, beside what the doctrine costs to read — it always exits 0 and carries no verdict, because a measurement that can fail a build becomes a target.
21
21
 
22
22
  ## Installation
23
23
 
@@ -84,7 +84,10 @@ skills/agentic-sdlc-skill/
84
84
  ├── review.md
85
85
  ├── dispatch.md
86
86
  ├── routing.md
87
+ ├── hybrid.md
87
88
  ├── ENFORCEMENT.md
89
+ ├── LICENSE
90
+ ├── NOTICE
88
91
  └── scripts/
89
92
  ├── sdlc_check.py
90
93
  └── sdlc_core.py
@@ -137,4 +140,47 @@ For native Gemini Agent Skills, the npm installer now copies the skill folder in
137
140
 
138
141
  Created by **Antonio Pinto** ([GitHub](https://github.com/Antoneeo)).
139
142
 
140
- MIT (c) 2026 Antonio Pinto.
143
+ ## License
144
+
145
+ Apache-2.0 — the full terms are in the `LICENSE` file, the attribution in `NOTICE`. Copyright 2026 Antonio Pinto.
146
+
147
+ If you redistribute this skill, or a version you modified, keep `LICENSE` and `NOTICE` with it.
148
+
149
+ Using the skill in your own project carries no obligation: the documents it creates or templates there are yours, and so is a copy of the validator and its tests placed in that project to check its own documents.
150
+
151
+ Versions up to 1.33.0 were released under the MIT license and remain available under it.
152
+
153
+ If you use the skill in commercial work, a mention on your product page or website is appreciated. It is a request, not a condition of the license. A ready-made badge:
154
+
155
+ ```markdown
156
+ [![Made with agentic-sdlc](https://img.shields.io/badge/made%20with-agentic--sdlc-blue)](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill)
157
+ ```
158
+
159
+ ## Which model to run it on
160
+
161
+ The skill names **capability tiers**, never providers — a model name in doctrine
162
+ rots at the next release. The binding is yours to make, and the rule is one line:
163
+
164
+ > **A session's floor is the highest floor among the roles it performs itself.**
165
+
166
+ Authoring a governed artifact — the vision, the analysis, the use cases, the
167
+ threat model — is a **deep-tier** role: its output is judgement, and nothing
168
+ downstream scores it. So a session that will DESIGN wants your strongest model.
169
+ A session that only executes an already-approved plan, or does small maintenance,
170
+ can sit a tier lower. The cheapest tier is the wrong choice for the main session
171
+ whatever the task, because the failure there is not a wrong answer — it is
172
+ **silently not applying the process**: a triage never run, a router verdict
173
+ declared without the lookup, a gate nobody noticed. That failure is invisible to
174
+ every check in here.
175
+
176
+ **The reviewer's tier is not automatically yours.** On some clients a subagent
177
+ inherits the session's model; on others it takes one from its own definition, so
178
+ a strong session can be reviewed by a weak one — and a weak session can buy a
179
+ strong review. Set it deliberately; the
180
+ `model` column in the review log is where the choice becomes visible.
181
+
182
+ **Avoid one combination**: authoring below the floor AND reviewing below the floor
183
+ on the same unit. One disclosed weakness is a disclosed weakness; two is an
184
+ artifact nobody competent ever read. Where your client offers nothing better, the
185
+ review still runs and both facts are recorded — a disclosed worst case beats
186
+ skipping the review.
@@ -1,6 +1,6 @@
1
- {
2
- "name": "agentic-sdlc-skill",
3
- "version": "1.32.0",
4
- "description": "Documentation-First SDLC protocol with triage, Vision governance and optional devPNT integration.",
5
- "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
- }
1
+ {
2
+ "name": "agentic-sdlc-skill",
3
+ "version": "1.34.0",
4
+ "description": "Documentation-First SDLC protocol with triage, Vision governance and optional devPNT integration.",
5
+ "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
+ }
package/package.json CHANGED
@@ -1,50 +1,54 @@
1
- {
2
- "name": "@antoneeo/agentic-sdlc-skill",
3
- "version": "1.32.0",
4
- "description": "Documentation-First SDLC protocol for Claude Code, Gemini CLI, Google Antigravity and Codex with risk triage, Vision governance, installed support files and optional devPNT integration.",
5
- "keywords": [
6
- "claude-code",
7
- "claude-skill",
8
- "gemini-cli",
9
- "skill",
10
- "sdlc",
11
- "documentation",
12
- "ai-agent"
13
- ],
14
- "author": "Antonio Pinto (https://github.com/Antoneeo)",
15
- "license": "MIT",
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "bin": {
20
- "agentic-sdlc-init": "scripts/init.js",
21
- "agentic-sdlc-install-skill": "scripts/postinstall.js"
22
- },
23
- "scripts": {
24
- "postinstall": "node scripts/postinstall.js",
25
- "preuninstall": "node scripts/preuninstall.js"
26
- },
27
- "files": [
28
- "skills/agentic-sdlc-skill/SKILL.md",
29
- "skills/agentic-sdlc-skill/templates.md",
30
- "skills/agentic-sdlc-skill/architect.md",
31
- "skills/agentic-sdlc-skill/guides.md",
32
- "skills/agentic-sdlc-skill/vision.md",
33
- "skills/agentic-sdlc-skill/tdd.md",
34
- "skills/agentic-sdlc-skill/debugging.md",
35
- "skills/agentic-sdlc-skill/elicitation.md",
36
- "skills/agentic-sdlc-skill/review.md",
37
- "skills/agentic-sdlc-skill/dispatch.md",
38
- "skills/agentic-sdlc-skill/routing.md",
39
- "skills/agentic-sdlc-skill/ENFORCEMENT.md",
40
- "skills/agentic-sdlc-skill/scripts/sdlc_check.py",
41
- "skills/agentic-sdlc-skill/scripts/sdlc_core.py",
42
- "gemini-extension.json",
43
- "README.md",
44
- "CHANGELOG.md",
45
- "scripts/lib.js",
46
- "scripts/init.js",
47
- "scripts/postinstall.js",
48
- "scripts/preuninstall.js"
49
- ]
50
- }
1
+ {
2
+ "name": "@antoneeo/agentic-sdlc-skill",
3
+ "version": "1.34.0",
4
+ "description": "Documentation-First SDLC protocol for Claude Code, Gemini CLI, Google Antigravity and Codex with risk triage, Vision governance, installed support files and optional devPNT integration.",
5
+ "keywords": [
6
+ "claude-code",
7
+ "claude-skill",
8
+ "gemini-cli",
9
+ "skill",
10
+ "sdlc",
11
+ "documentation",
12
+ "ai-agent"
13
+ ],
14
+ "author": "Antonio Pinto (https://github.com/Antoneeo)",
15
+ "license": "Apache-2.0",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "bin": {
20
+ "agentic-sdlc-init": "scripts/init.js",
21
+ "agentic-sdlc-install-skill": "scripts/postinstall.js"
22
+ },
23
+ "scripts": {
24
+ "postinstall": "node scripts/postinstall.js",
25
+ "preuninstall": "node scripts/preuninstall.js"
26
+ },
27
+ "files": [
28
+ "skills/agentic-sdlc-skill/SKILL.md",
29
+ "skills/agentic-sdlc-skill/templates.md",
30
+ "skills/agentic-sdlc-skill/architect.md",
31
+ "skills/agentic-sdlc-skill/guides.md",
32
+ "skills/agentic-sdlc-skill/vision.md",
33
+ "skills/agentic-sdlc-skill/tdd.md",
34
+ "skills/agentic-sdlc-skill/debugging.md",
35
+ "skills/agentic-sdlc-skill/elicitation.md",
36
+ "skills/agentic-sdlc-skill/review.md",
37
+ "skills/agentic-sdlc-skill/dispatch.md",
38
+ "skills/agentic-sdlc-skill/hybrid.md",
39
+ "skills/agentic-sdlc-skill/routing.md",
40
+ "skills/agentic-sdlc-skill/ENFORCEMENT.md",
41
+ "skills/agentic-sdlc-skill/scripts/sdlc_check.py",
42
+ "skills/agentic-sdlc-skill/scripts/sdlc_core.py",
43
+ "skills/agentic-sdlc-skill/LICENSE",
44
+ "skills/agentic-sdlc-skill/NOTICE",
45
+ "gemini-extension.json",
46
+ "README.md",
47
+ "CHANGELOG.md",
48
+ "NOTICE",
49
+ "scripts/lib.js",
50
+ "scripts/init.js",
51
+ "scripts/postinstall.js",
52
+ "scripts/preuninstall.js"
53
+ ]
54
+ }
package/scripts/lib.js CHANGED
@@ -672,14 +672,45 @@ function findRemindHook(settings) {
672
672
  // Writes the hook into `target` (an already-chosen settings file) unless it is
673
673
  // there or the user opted out. Returns a code, never throws: an installer must
674
674
  // not die on someone's settings file.
675
+ function remindMarkerPath() {
676
+ const root = process.env.AGENTIC_SDLC_KB_ROOT
677
+ || path.join(os.homedir(), '.agentic-sdlc');
678
+ return path.join(root, 'remind-hook-wired');
679
+ }
680
+ function remindMarkerTargets() {
681
+ try {
682
+ return fs.readFileSync(remindMarkerPath(), 'utf8')
683
+ .split(/\r?\n/).map((x) => x.trim()).filter(Boolean);
684
+ } catch (e) {
685
+ return [];
686
+ }
687
+ }
688
+ function remindMarkerHas(target) {
689
+ return remindMarkerTargets().some((t) => pathsEqual(t, target));
690
+ }
691
+ function remindMarkerAdd(target) {
692
+ try {
693
+ if (remindMarkerHas(target)) return;
694
+ fs.mkdirSync(path.dirname(remindMarkerPath()), { recursive: true });
695
+ fs.appendFileSync(remindMarkerPath(), target + String.fromCharCode(10), 'utf8');
696
+ } catch (e) { /* fail-open */ }
697
+ }
698
+
675
699
  function wireRemindHookInto(target, python, validator) {
676
700
  if (!python) return { code: 'no-python' };
677
701
  if (!validator || ORIENT_UNSAFE_IN_PATH.test(validator)) return { code: 'unsafe-path', validator };
678
702
  const state = orientSettingsState(target);
679
703
  if (!state.ok) return { code: 'malformed', target, why: state.why };
680
- if (orientMarkerHas(target)) return { code: 'opted-out', target };
681
- const settings = state.settings;
682
- const existing = findRemindHook(settings);
704
+ const settings0 = state.settings;
705
+ // Order matters, and the first version had it wrong too: the hook being
706
+ // PRESENT is `already`, and only its ABSENCE plus our marker means the user
707
+ // removed it -- a standing opt-out. Marker-first would refuse to re-check a
708
+ // hook someone still has.
709
+ const present = findRemindHook(settings0);
710
+ if (present) return { code: 'already', target, command: present };
711
+ if (remindMarkerHas(target)) return { code: 'opted-out', target };
712
+ const settings = settings0;
713
+ const existing = null;
683
714
  if (existing) return { code: 'already', target, command: existing };
684
715
  const command = remindHookCommand(python, validator);
685
716
  if (!settings.hooks) settings.hooks = {};
@@ -693,6 +724,7 @@ function wireRemindHookInto(target, python, validator) {
693
724
  } catch (e) {
694
725
  return { code: 'write-failed', target, command, error: e.message };
695
726
  }
727
+ remindMarkerAdd(target);
696
728
  return { code: 'wired', target, command };
697
729
  }
698
730
 
@@ -718,6 +750,8 @@ module.exports = {
718
750
  wireOrientHook,
719
751
  wireRemindHookInto,
720
752
  wireGlobalRemindHook,
753
+ remindMarkerHas,
754
+ remindMarkerAdd,
721
755
  remindHookCommand,
722
756
  findRemindHook,
723
757
  wireGlobalOrientHook,
@@ -57,7 +57,7 @@ Semantics: exit code 2 + message on stderr ⇒ the write is blocked and the mess
57
57
  - The paths in `--protected` are prefixes relative to the project root, separated by `;`.
58
58
  - `ai_docs/`, `tests/` and `test/` are always excluded from blocking.
59
59
  - The hook assumes the working directory is the project root (standard behavior of Claude Code hooks).
60
- - **Hybrid/devPNT projects**: add `--hybrid` to the gate command. Governed designs live in the devPNT DB, so the gate also unlocks when an approved E-TDD shadow (`ai_docs/solutions/SHADOW_*tdd*.md`, exported before implementation — see the SKILL.md shadow discipline) is present. Without the flag the gate would block legitimate governed work. The flag is deliberately explicit: never auto-detected.
60
+ - **Hybrid/devPNT projects**: add `--hybrid` to the gate command. Governed designs live in the devPNT DB, so the gate also unlocks when an approved E-TDD shadow (`ai_docs/solutions/SHADOW_*tdd*.md`, exported before implementation — see `hybrid.md` §Shadow discipline) is present. Without the flag the gate would block legitimate governed work. The flag is deliberately explicit: never auto-detected.
61
61
 
62
62
  ## 4. SessionStart hook (orientation, recommended default)
63
63
 
@@ -216,3 +216,12 @@ It aggregates the test files (`test_plan.py` + `test_session_start.py` + `test_s
216
216
  **Optional CI** (same shape as §2, not mandatory): add a `run:` step invoking the `unittest discover` command above.
217
217
 
218
218
  **T10 note:** if you copied the validator (both files) and the `test_*.py` battery into the repo for CI, that copy is authoritative — keep it current when you update the skill.
219
+
220
+ ## `benefit` is a report, never a CI gate
221
+
222
+ `sdlc_check.py benefit` reports what the review gates caught and what the
223
+ doctrine costs to read. It always exits 0 and emits no warning: **never wire
224
+ it into CI**. It is the criterion by which future units are judged, and a
225
+ measurement that can fail a build becomes a target -- a targeted measurement
226
+ stops measuring. Run it when deciding whether a proposed rule is worth its
227
+ ceremony, not on every push.