@antoneeo/agentic-sdlc-skill 1.34.0 → 1.36.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,50 @@
2
2
 
3
3
  Tutte le modifiche significative a questa skill saranno documentate in questo file.
4
4
 
5
+ ## [1.36.0] - 2026-09-25
6
+
7
+ ### Changed
8
+ - **F-026 revised: a real doubt is asked when it emerges.** The question discipline
9
+ no longer sends doubts to the deliverable ("Default non-blocking" is gone). A real
10
+ doubt (a fact the search leaves open, or a choice whose pros and cons do not
11
+ settle it) is asked before the first write that would embed its answer, grouped,
12
+ with the pros and cons of each option. A choice that clearly wins the weighing is
13
+ taken without asking, and the weighing is written next to it — each rejected option
14
+ stated at its strongest; options that serve different needs, none good enough at
15
+ both, that nothing the user wrote ranks are a real doubt, however clear the
16
+ agent's own ranking. Reserved approvals
17
+ are always asked. A real doubt becomes a declared assumption only in unattended
18
+ or delegated work. `review.md` makes an unasked doubt a design-review finding; `dispatch.md`
19
+ tells a subagent to return its real doubts instead of deciding them.
20
+
21
+ ### Fixed
22
+ - **`stale` no longer counts the audit plan against the area that holds it.**
23
+ Committing a hash mark of `ai_docs/` changed `ai_docs/audit/audit_plan.md` after
24
+ the recorded commit, so the area went stale again and every re-mark repeated the
25
+ loop. The plan's own edits are now excluded; any other change in the area still
26
+ counts.
27
+
28
+ ## [1.35.0] - 2026-09-19
29
+
30
+ ### Added
31
+ - F-057: shared project memory in every lens, no sibling installation required.
32
+ `index` catalogs original documents; `recall QUERY` searches live metadata.
33
+ KB integrity is shared; domain ownership and marketing numerical checks remain.
34
+ Vendored validators now require entry point + sdlc_core.py + knowledge.py.
35
+
36
+
37
+ ### Fixed
38
+ - **F-056: `stale` no longer reports an area fresh when it cannot evaluate it.** An
39
+ `audit_plan.md` row whose reference no longer resolves (the commit was amended,
40
+ rebased or squash-merged away, or the clone is shallow), whose reference is a git
41
+ hash where git is unusable, or whose reference is unparseable used to print a
42
+ warning, then `[ok]`, and exit 0. It now prints `[stale]` with the re-mark command
43
+ and exits 1, so `check` is NOT CLEAN. A reference that still resolves but is no
44
+ longer an ancestor of HEAD gets a warning before it dangles, and `mark` says to
45
+ commit its result as a new commit. **Teams that squash- or rebase-merge:** a
46
+ reference recorded on a feature branch never reaches the integration branch, so
47
+ re-mark those areas after the merge.
48
+
5
49
  ## [1.34.0] - 2026-09-14
6
50
 
7
51
  ### Changed
package/README.md CHANGED
@@ -1,186 +1,204 @@
1
- # Agentic SDLC Skill for Claude Code, Gemini CLI, Google Antigravity & Codex
2
-
3
- `agentic-sdlc` is a Documentation-First SDLC protocol for AI coding agents. It supports Claude Code, Codex, Gemini CLI, Google Antigravity 2.0, Cursor/Windsurf-style project instructions, and optional devPNT governance.
4
-
5
- ## Key Features
6
-
7
- - **Risk-proportional workflow**: L1/L2/L3/Spike triage avoids heavyweight process for trivial work, with a symmetric **Write Triggers** table mapping each event to the document it produces (one event, one destination).
8
- - **Vision-guided governance**: Standalone projects use `ai_docs/vision/`; Hybrid projects use devPNT `M-VISION` as the milestone north star. The Vision names its **Actors** — the cast a feature serves, one light line each — so UX is designed for concrete roles, not an implicit "user".
9
- - **Architect pass — capabilities before files**: at L3, before listing what changes, the feature is stated as the *capabilities* it needs and each is ruled against the platform (EXISTS / INADEQUATE / MISSING); what is missing is designed as a component with its own contract, of which the feature is one consumer — never inlined into the feature's code path. A `## Component Map` in `strategic/architecture.md` is the durable inventory the pass reads, so the platform is not re-derived from source every session. On a codebase the methodology arrives in late, the map's silence is treated as **unread, not empty**: it can never ground a MISSING verdict.
10
- - **Execution disciplines**: explicit TDD (RED/GREEN/REFACTOR), systematic debugging, an L3 spec-elicitation round, and a single code-review definition wired into the workflow phases.
11
- - **Operative + comprehension guides + agent-global KB**: distil user-provided indications into source-faithful operative `GUIDE_*.md` (`source_kind: document`), and let the agent autonomously author **code-comprehension guides** (`source_kind: code`) for complex components — a source-faithful mental-model map that survives across sessions, so the next session doesn't re-derive and break the component from partial understanding. Consulted before work; shared cross-project via `~/.agentic-sdlc`.
12
- - **Several people, one project**: the workstream registry (`audit/handoff.md`) is **generated** from one file per open workstream, so two people opening or closing two workstreams on two branches edit two different files and their merge is clean. Row-per-workstream alone was not enough — a file-global `Date:` header defeats row-level ownership — so the header is derived from the sources and no writer touches it. The generated view can still conflict; that conflict is resolved by re-running `index`, never by hand, and `validate` refuses CLEAN until the file matches its sources. The append-only review log gets `merge=union` (a built-in driver, no per-clone configuration). It all works with no VCS at all: it is files and a generator.
13
- - **Opt-in subagent execution**: an approved design projects into a validated executable plan an orchestrator can drive through subagents.
14
- - **Self-activating**: a SessionStart hook emits repo-sourced orientation; a deterministic self-eval battery guards the skill's own doctrine as the release gate.
15
- - **Standalone complete**: works fully with local `ai_docs/` without requiring devPNT.
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
- - **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
- - **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`, `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
-
22
- ## Installation
23
-
24
- ### Via npm
25
-
26
- ```bash
27
- npm install -g @antoneeo/agentic-sdlc-skill@latest
28
- ```
29
-
30
- That is enough — the package's `postinstall` runs the installer. If your npm blocks
31
- install scripts (`--ignore-scripts`, some CI/pnpm setups), run it by hand:
32
-
33
- ```bash
34
- agentic-sdlc-install-skill
35
- ```
36
-
37
- > The command is on your PATH only after a **global** (`-g`) install; after a local
38
- > `npm i`, invoke it as `npx agentic-sdlc-install-skill`.
39
-
40
- The installer copies `skills/agentic-sdlc-skill/` recursively into native skill locations:
41
-
42
- - Claude Code: `~/.claude/skills/agentic-sdlc/`
43
- - Codex: `~/.codex/skills/agentic-sdlc/`
44
- - Gemini CLI: `~/.gemini/skills/agentic-sdlc/`
45
- - Google Antigravity: `~/.gemini/config/skills/agentic-sdlc/` (detected distinctly from Gemini CLI; override the home with `ANTIGRAVITY_HOME`)
46
-
47
- Restart the relevant agent, or reload skills where the CLI supports it.
48
-
49
- The global package also exposes:
50
-
51
- ```bash
52
- agentic-sdlc-init
53
- ```
54
-
55
- Run it inside a project to create `ai_docs/`, Vision documents, strategic docs, audit plan, and agent protocol files (`AGENTS.md` — also the Antigravity CLI surface, `CLAUDE.md`, `GEMINI.md`, `.cursorrules`).
56
-
57
- It also **wires the SessionStart orientation hook** into `.claude/`, so an agent opening
58
- the project is handed the reading guide, the generated manifest, the guide router and the
59
- last handoff before it does anything — instead of only when it remembers to look. That
60
- wiring used to be a manual step documented in `ENFORCEMENT.md`; being manual, it was
61
- skipped, and a project could run fully governed with an agent that never met the process.
62
-
63
- The hook command names a validator, so where that validator lives decides which file gets
64
- it: a repo that vendors it gets a repo-relative command in the shared `.claude/settings.json`
65
- (portable — commit it); otherwise the path is machine-specific and goes to the git-ignored
66
- `.claude/settings.local.json`, and each teammate runs `init` once. Re-running `init` never
67
- duplicates the hook, and a hook whose validator no longer resolves is reported as **broken**
68
- with the correction rather than counted as installed.
69
-
70
- ## Runtime Shape
71
-
72
- The actual runtime skill is the folder:
73
-
74
- ```text
75
- skills/agentic-sdlc-skill/
76
- ├── SKILL.md
77
- ├── templates.md
78
- ├── architect.md
79
- ├── guides.md
80
- ├── vision.md
81
- ├── tdd.md
82
- ├── debugging.md
83
- ├── elicitation.md
84
- ├── review.md
85
- ├── dispatch.md
86
- ├── routing.md
87
- ├── hybrid.md
88
- ├── ENFORCEMENT.md
89
- ├── LICENSE
90
- ├── NOTICE
91
- └── scripts/
92
- ├── sdlc_check.py
93
- └── sdlc_core.py
94
- ```
95
-
96
- `SKILL.md` is the entrypoint. Supporting files are loaded or executed only when the agent needs them.
97
-
98
- The validator is **two files**: `sdlc_core.py` is the family's shared spine, `sdlc_check.py` is this lens's entry point. Copy both, or neither — the entry point is useless alone.
99
-
100
- Installing or updating the npm package wires the session-orientation hook
101
- machine-wide (user-level Claude Code settings; removal is a standing opt-out
102
- that no update overrides -- ENFORCEMENT.md par.4).
103
-
104
- ## The family: three lenses, one spine
105
-
106
- Same process, three fidelity disciplines — what the agent's assertions must be faithful to:
107
-
108
- | Package | Faithful to | Unit of work | Own doctrine |
109
- |---|---|---|---|
110
- | [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature | `architect.md`, `tdd.md`, `debugging.md` |
111
- | [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic | `taxonomy.md`, `distillation.md`, `reconciliation.md` |
112
- | [`@antoneeo/mkt-agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill) | market evidence | engagement | `frameworks.md`, `research.md` |
113
-
114
- Triage, the Vision Gate, the review gates, the guide router, question discipline and the validator spine are byte-identical across the three. Install only the one you need; when two live in the same project, `routing.md` decides which lens owns a given piece of work and any of the three validators gives the same verdict on the same tree.
115
-
116
- ## Standalone vs Hybrid
117
-
118
- Standalone:
119
-
120
- - `ai_docs/` is the source of truth.
121
- - Vision, analysis, audit, handoff, test strategy, and feature history are maintained locally.
122
-
123
- Hybrid/devPNT:
124
-
125
- - devPNT governs `M-VISION`, Master Plan, Action Plan, and versioned artifacts.
126
- - `ai_docs/` remains useful as readable context, fallback, handoff, or shadow copy.
127
- - Divergence between user request, local Vision, and devPNT `M-VISION` must be surfaced before implementation.
128
-
129
- ## Gemini Extension Alternative
130
-
131
- You can still install this folder as a Gemini extension:
132
-
133
- ```bash
134
- gemini extensions install .
135
- ```
136
-
137
- For native Gemini Agent Skills, the npm installer now copies the skill folder into `~/.gemini/skills/agentic-sdlc/`.
138
-
139
- ## Created By
140
-
141
- Created by **Antonio Pinto** ([GitHub](https://github.com/Antoneeo)).
142
-
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
+ # Agentic SDLC Skill for Claude Code, Gemini CLI, Google Antigravity & Codex
2
+
3
+ ## Shared project memory
4
+
5
+ All three lenses include project memory by default; install the lens you need,
6
+ not a second skill just for recall. `index` registers guides, decisions and plans
7
+ in the docs root's `memory/INDEX.md`, linking originals without copying them.
8
+ `recall "onboarding"` finds related metadata across domains; optional
9
+ `topics: [onboarding]` links documents by subject. Read the originals for authority,
10
+ status and evidence: discovery is not approval or proof of implementation.
11
+
12
+ Registration happens at `index`/documentation closure, not through a background
13
+ watcher. Existing projects acquire the catalog on their next `index`; `recall`
14
+ also sees live metadata. The KB lens remains the specialist for ingestion and
15
+ taxonomy. Marketing retains its numerical validators. See the skill's `memory.md`.
16
+ Vendoring requires all three files: the entry point, `sdlc_core.py`, `knowledge.py`.
17
+
18
+
19
+ `agentic-sdlc` is a Documentation-First SDLC protocol for AI coding agents. It supports Claude Code, Codex, Gemini CLI, Google Antigravity 2.0, Cursor/Windsurf-style project instructions, and optional devPNT governance.
20
+
21
+ ## Key Features
22
+
23
+ - **Risk-proportional workflow**: L1/L2/L3/Spike triage avoids heavyweight process for trivial work, with a symmetric **Write Triggers** table mapping each event to the document it produces (one event, one destination).
24
+ - **Vision-guided governance**: Standalone projects use `ai_docs/vision/`; Hybrid projects use devPNT `M-VISION` as the milestone north star. The Vision names its **Actors** — the cast a feature serves, one light line each — so UX is designed for concrete roles, not an implicit "user".
25
+ - **Architect pass — capabilities before files**: at L3, before listing what changes, the feature is stated as the *capabilities* it needs and each is ruled against the platform (EXISTS / INADEQUATE / MISSING); what is missing is designed as a component with its own contract, of which the feature is one consumer — never inlined into the feature's code path. A `## Component Map` in `strategic/architecture.md` is the durable inventory the pass reads, so the platform is not re-derived from source every session. On a codebase the methodology arrives in late, the map's silence is treated as **unread, not empty**: it can never ground a MISSING verdict.
26
+ - **Execution disciplines**: explicit TDD (RED/GREEN/REFACTOR), systematic debugging, an L3 spec-elicitation round, and a single code-review definition wired into the workflow phases.
27
+ - **Operative + comprehension guides + agent-global KB**: distil user-provided indications into source-faithful operative `GUIDE_*.md` (`source_kind: document`), and let the agent autonomously author **code-comprehension guides** (`source_kind: code`) for complex components — a source-faithful mental-model map that survives across sessions, so the next session doesn't re-derive and break the component from partial understanding. Consulted before work; shared cross-project via `~/.agentic-sdlc`.
28
+ - **Several people, one project**: the workstream registry (`audit/handoff.md`) is **generated** from one file per open workstream, so two people opening or closing two workstreams on two branches edit two different files and their merge is clean. Row-per-workstream alone was not enough — a file-global `Date:` header defeats row-level ownership — so the header is derived from the sources and no writer touches it. The generated view can still conflict; that conflict is resolved by re-running `index`, never by hand, and `validate` refuses CLEAN until the file matches its sources. The append-only review log gets `merge=union` (a built-in driver, no per-clone configuration). It all works with no VCS at all: it is files and a generator.
29
+ - **Opt-in subagent execution**: an approved design projects into a validated executable plan an orchestrator can drive through subagents.
30
+ - **Self-activating**: a SessionStart hook emits repo-sourced orientation; a deterministic self-eval battery guards the skill's own doctrine as the release gate.
31
+ - **Standalone complete**: works fully with local `ai_docs/` without requiring devPNT.
32
+ - **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.
33
+ - **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.
34
+ - **Question discipline**: a real doubt is asked when it emerges, before its answer is written into any document — grouped, with the pros and cons of each option. A choice whose pros clearly win is taken without asking, and the weighing is written next to it; a fact is settled by evidence or asked, never weighed. A question is legal only when the agent searched first, names the search with its result, and names the decision it unblocks — never a stream of "shall I proceed?".
35
+ - **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`, `memory.md`, and the validator's three files, `scripts/sdlc_check.py` + `scripts/sdlc_core.py` + `scripts/knowledge.py` — plus the `LICENSE` and `NOTICE` it ships under.
36
+ - **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.
37
+
38
+ ## Installation
39
+
40
+ ### Via npm
41
+
42
+ ```bash
43
+ npm install -g @antoneeo/agentic-sdlc-skill@latest
44
+ ```
45
+
46
+ That is enough — the package's `postinstall` runs the installer. If your npm blocks
47
+ install scripts (`--ignore-scripts`, some CI/pnpm setups), run it by hand:
48
+
49
+ ```bash
50
+ agentic-sdlc-install-skill
51
+ ```
52
+
53
+ > The command is on your PATH only after a **global** (`-g`) install; after a local
54
+ > `npm i`, invoke it as `npx agentic-sdlc-install-skill`.
55
+
56
+ The installer copies `skills/agentic-sdlc-skill/` recursively into native skill locations:
57
+
58
+ - Claude Code: `~/.claude/skills/agentic-sdlc/`
59
+ - Codex: `~/.codex/skills/agentic-sdlc/`
60
+ - Gemini CLI: `~/.gemini/skills/agentic-sdlc/`
61
+ - Google Antigravity: `~/.gemini/config/skills/agentic-sdlc/` (detected distinctly from Gemini CLI; override the home with `ANTIGRAVITY_HOME`)
62
+
63
+ Restart the relevant agent, or reload skills where the CLI supports it.
64
+
65
+ The global package also exposes:
66
+
67
+ ```bash
68
+ agentic-sdlc-init
69
+ ```
70
+
71
+ Run it inside a project to create `ai_docs/`, Vision documents, strategic docs, audit plan, and agent protocol files (`AGENTS.md` — also the Antigravity CLI surface, `CLAUDE.md`, `GEMINI.md`, `.cursorrules`).
72
+
73
+ It also **wires the SessionStart orientation hook** into `.claude/`, so an agent opening
74
+ the project is handed the reading guide, the generated manifest, the guide router and the
75
+ last handoff before it does anything — instead of only when it remembers to look. That
76
+ wiring used to be a manual step documented in `ENFORCEMENT.md`; being manual, it was
77
+ skipped, and a project could run fully governed with an agent that never met the process.
78
+
79
+ The hook command names a validator, so where that validator lives decides which file gets
80
+ it: a repo that vendors it gets a repo-relative command in the shared `.claude/settings.json`
81
+ (portable — commit it); otherwise the path is machine-specific and goes to the git-ignored
82
+ `.claude/settings.local.json`, and each teammate runs `init` once. Re-running `init` never
83
+ duplicates the hook, and a hook whose validator no longer resolves is reported as **broken**
84
+ with the correction rather than counted as installed.
85
+
86
+ ## Runtime Shape
87
+
88
+ The actual runtime skill is the folder:
89
+
90
+ ```text
91
+ skills/agentic-sdlc-skill/
92
+ ├── SKILL.md
93
+ ├── templates.md
94
+ ├── architect.md
95
+ ├── guides.md
96
+ ├── vision.md
97
+ ├── tdd.md
98
+ ├── debugging.md
99
+ ├── elicitation.md
100
+ ├── review.md
101
+ ├── dispatch.md
102
+ ├── routing.md
103
+ ├── hybrid.md
104
+ ├── memory.md
105
+ ├── ENFORCEMENT.md
106
+ ├── LICENSE
107
+ ├── NOTICE
108
+ └── scripts/
109
+ ├── sdlc_check.py
110
+ ├── sdlc_core.py
111
+ └── knowledge.py
112
+ ```
113
+
114
+ `SKILL.md` is the entrypoint. Supporting files are loaded or executed only when the agent needs them.
115
+
116
+ The validator is **three files**: `sdlc_check.py` selects the lens, `sdlc_core.py` owns structural checks, and `knowledge.py` adds shared memory and KB integrity. Copy all three; core alone is not equivalent.
117
+
118
+ Installing or updating the npm package wires the session-orientation hook
119
+ machine-wide (user-level Claude Code settings; removal is a standing opt-out
120
+ that no update overrides -- ENFORCEMENT.md par.4).
121
+
122
+ ## The family: three lenses, one spine
123
+
124
+ Same process, three fidelity disciplines — what the agent's assertions must be faithful to:
125
+
126
+ | Package | Faithful to | Unit of work | Own doctrine |
127
+ |---|---|---|---|
128
+ | [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature | `architect.md`, `tdd.md`, `debugging.md` |
129
+ | [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic | `taxonomy.md`, `distillation.md`, `reconciliation.md` |
130
+ | [`@antoneeo/mkt-agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill) | market evidence | engagement | `frameworks.md`, `research.md` |
131
+
132
+ The three lenses share the process spine and knowledge-integrity engine. Install only the one you need; when two live in the same project, `routing.md` decides which lens owns a given piece of work. Marketing additionally runs its numerical checks: code/KB do not certify marketing arithmetic.
133
+
134
+ ## Standalone vs Hybrid
135
+
136
+ Standalone:
137
+
138
+ - `ai_docs/` is the source of truth.
139
+ - Vision, analysis, audit, handoff, test strategy, and feature history are maintained locally.
140
+
141
+ Hybrid/devPNT:
142
+
143
+ - devPNT governs `M-VISION`, Master Plan, Action Plan, and versioned artifacts.
144
+ - `ai_docs/` remains useful as readable context, fallback, handoff, or shadow copy.
145
+ - Divergence between user request, local Vision, and devPNT `M-VISION` must be surfaced before implementation.
146
+
147
+ ## Gemini Extension Alternative
148
+
149
+ You can still install this folder as a Gemini extension:
150
+
151
+ ```bash
152
+ gemini extensions install .
153
+ ```
154
+
155
+ For native Gemini Agent Skills, the npm installer now copies the skill folder into `~/.gemini/skills/agentic-sdlc/`.
156
+
157
+ ## Created By
158
+
159
+ Created by **Antonio Pinto** ([GitHub](https://github.com/Antoneeo)).
160
+
161
+ ## License
162
+
163
+ Apache-2.0 — the full terms are in the `LICENSE` file, the attribution in `NOTICE`. Copyright 2026 Antonio Pinto.
164
+
165
+ If you redistribute this skill, or a version you modified, keep `LICENSE` and `NOTICE` with it.
166
+
167
+ 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.
168
+
169
+ Versions up to 1.33.0 were released under the MIT license and remain available under it.
170
+
171
+ 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:
172
+
173
+ ```markdown
174
+ [![Made with agentic-sdlc](https://img.shields.io/badge/made%20with-agentic--sdlc-blue)](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill)
175
+ ```
176
+
177
+ ## Which model to run it on
178
+
179
+ The skill names **capability tiers**, never providers — a model name in doctrine
180
+ rots at the next release. The binding is yours to make, and the rule is one line:
181
+
182
+ > **A session's floor is the highest floor among the roles it performs itself.**
183
+
184
+ Authoring a governed artifact — the vision, the analysis, the use cases, the
185
+ threat model — is a **deep-tier** role: its output is judgement, and nothing
186
+ downstream scores it. So a session that will DESIGN wants your strongest model.
187
+ A session that only executes an already-approved plan, or does small maintenance,
188
+ can sit a tier lower. The cheapest tier is the wrong choice for the main session
189
+ whatever the task, because the failure there is not a wrong answer — it is
190
+ **silently not applying the process**: a triage never run, a router verdict
191
+ declared without the lookup, a gate nobody noticed. That failure is invisible to
192
+ every check in here.
193
+
194
+ **The reviewer's tier is not automatically yours.** On some clients a subagent
195
+ inherits the session's model; on others it takes one from its own definition, so
196
+ a strong session can be reviewed by a weak one — and a weak session can buy a
197
+ strong review. Set it deliberately; the
198
+ `model` column in the review log is where the choice becomes visible.
199
+
200
+ **Avoid one combination**: authoring below the floor AND reviewing below the floor
201
+ on the same unit. One disclosed weakness is a disclosed weakness; two is an
202
+ artifact nobody competent ever read. Where your client offers nothing better, the
203
+ review still runs and both facts are recorded — a disclosed worst case beats
204
+ skipping the review.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-sdlc-skill",
3
- "version": "1.34.0",
3
+ "version": "1.36.0",
4
4
  "description": "Documentation-First SDLC protocol with triage, Vision governance and optional devPNT integration.",
5
5
  "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antoneeo/agentic-sdlc-skill",
3
- "version": "1.34.0",
3
+ "version": "1.36.0",
4
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
5
  "keywords": [
6
6
  "claude-code",
@@ -40,6 +40,8 @@
40
40
  "skills/agentic-sdlc-skill/ENFORCEMENT.md",
41
41
  "skills/agentic-sdlc-skill/scripts/sdlc_check.py",
42
42
  "skills/agentic-sdlc-skill/scripts/sdlc_core.py",
43
+ "skills/agentic-sdlc-skill/scripts/knowledge.py",
44
+ "skills/agentic-sdlc-skill/memory.md",
43
45
  "skills/agentic-sdlc-skill/LICENSE",
44
46
  "skills/agentic-sdlc-skill/NOTICE",
45
47
  "gemini-extension.json",
package/scripts/init.js CHANGED
@@ -203,27 +203,16 @@ in the skill's \`routing.md\`: it decides which lens's method and validation rul
203
203
  that unit. L1 never reaches it. Never refer to a document whose meaning differs by lens
204
204
  ("threat model", "vision", \`principles.md\`, \`handoff.md\`) by its bare name.
205
205
 
206
- ${protocolPreexisting ? `**Merge step owed.** The always-on protocol pointer of this project (\`CLAUDE.md\` /
207
- \`GEMINI.md\` / \`AGENTS.md\` / \`.cursorrules\`) was written by another lens's init and
208
- carries ITS triage ladder. This init did not overwrite it. Add the code lens's ladder
209
- to that file by hand — the pointer below — so both are always loaded.
210
-
211
- ## Rule Zero — Triage every request (code lens)
212
- - L1 Trivial: ~10 lines, 1-2 files, no API/dependency/behavior change.
213
- - L2 Small: clear root cause, at most 3 files, low risk. Tests mandatory.
214
- - L3 Significant: >3 files, APIs/contracts, new dependency, user-visible behavior,
215
- security-sensitive area, or architectural change. Full workflow via the skill.
216
- - Spike: time-boxed exploration; outcome in \`ai_docs/solutions/SPIKE_[topic].md\`.
217
- ` : `The always-on protocol pointer for the code lens was created by this init. When you
218
- install another lens over this project, its init will leave its own ladder here for you
219
- to merge.
220
- `}
206
+ Select the owning lens by the unit's purpose, then apply only its risk scale.
207
+ The project's always-on pointer stays intact: consult the selected skill rather than
208
+ merging multiple mandatory ladders. All lenses already carry shared project memory
209
+ (\`memory.md\`); another installation is not needed for cross-domain recall.
221
210
  This file is NOT auto-loaded by any client: it is a note for you, deliberately additive.
222
- Delete it once the merge is done.
211
+ Delete this note once the routing pointer is integrated.
223
212
  `, 'multi-lens routing note');
224
213
  if (wrote && protocolPreexisting) {
225
214
  console.log(' ⚠️ A protocol pointer already existed and was NOT overwritten.');
226
- console.log(` Merge the ${SELF_LENS}-lens ladder from AGENTIC_MULTI_LENS.md into it by hand.`);
215
+ console.log(' Integrate the routing pointer from AGENTIC_MULTI_LENS.md; keep one risk scale per unit.');
227
216
  }
228
217
  }
229
218
 
@@ -14,17 +14,17 @@ python "<skill_dir>/scripts/sdlc_check.py" check
14
14
 
15
15
  ## 2. Check in CI (recommended for teams)
16
16
 
17
- Copy **both** validator files into the repository — `scripts/sdlc_check.py` (the entry point) **and** `scripts/sdlc_core.py` (the shared core it imports) — keeping them side by side, e.g. `tools/sdlc_check.py` + `tools/sdlc_core.py`. Then add to the pipeline:
17
+ Copy all three validator files into the repository: `scripts/sdlc_check.py`, `scripts/sdlc_core.py`, and `scripts/knowledge.py`, keeping them side by side. Then add to the pipeline:
18
18
 
19
19
  ```
20
20
  python tools/sdlc_check.py validate --strict
21
21
  ```
22
22
 
23
- The validator ships as two files: the core carries the behaviour and is identical in every distribution of the family, the entry point names the domain. Copying only `sdlc_check.py` fails immediately with a message saying so — loudly, never as a silently green pipeline. (Copying `sdlc_core.py` alone also works: `python tools/sdlc_core.py validate --strict` behaves identically, defaulting to the code domain.)
23
+ The validator ships as **three files**: the domain entry point, `sdlc_core.py` and `knowledge.py`. Keep all three together. The core alone still runs but omits shared-memory/KB checks and domain-specific overlays; it is not an equivalent CI gate. `check` includes the knowledge surface when present.
24
24
 
25
25
  Effect: an unregenerated index, invalid frontmatter, a missing security section or incoherent states **block the pipeline** instead of relying on the agent's memory. `--strict` also fails on warnings and on a missing `ai_docs/`, so a wrong working directory cannot produce a green pipeline. This works because documents travel in the same PR as the code (Phase 5 rule).
26
26
 
27
- Note: the copy in the repo is the authoritative one for CI; update it when you update the skill — both files, together.
27
+ Note: the copy in the repo is the authoritative one for CI; update it when you update the skill — all three files, together.
28
28
 
29
29
  **Projects whose docs root is not `ai_docs/`.** Pass `--docs-dir <name>` (e.g. `--docs-dir mkt_docs`) on any subcommand, or set `AGENTIC_SDLC_DOCS_DIR`. Without either, the validator walks up from the working directory and takes the nearest root it recognizes. If it finds two side by side — the shape of a half-finished migration — it refuses and names both rather than validating half a project and printing a verdict. `ai_docs/` remains the default and the recommended root: the parameter exists so a legacy tree can be read and migrated, not so a second one can be kept.
30
30
 
@@ -155,7 +155,7 @@ Gemini CLI — wire the same command into its startup-hook mechanism if present;
155
155
  **Usage notes:**
156
156
  - The hook assumes the working directory is the project root (standard Claude Code hook behavior); it also accepts `--root <path>`.
157
157
  - **Hybrid/devPNT projects**: add `--hybrid` — the hook then appends a one-line pointer to run `devpnt_mcp_get_bootstrap` for the Master Plan / Knowledge Layer and does not replicate them; the filesystem orientation (router + handoff + README) still emits.
158
- - Like the CI gate (§2), if you copied the validator into the repo, the hook references that copy — keep both files current when you update the skill.
158
+ - Like the CI gate (§2), if you copied the validator into the repo, the hook references that copy — keep all three files current when you update the skill.
159
159
 
160
160
  ### Per-turn reminder: `remind` (UserPromptSubmit -- wired by default)
161
161
 
@@ -215,7 +215,7 @@ It aggregates the test files (`test_plan.py` + `test_session_start.py` + `test_s
215
215
 
216
216
  **Optional CI** (same shape as §2, not mandatory): add a `run:` step invoking the `unittest discover` command above.
217
217
 
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.
218
+ **T10 note:** if you copied the validator (all three files) and the `test_*.py` battery into the repo for CI, that copy is authoritative — keep it current when you update the skill.
219
219
 
220
220
  ## `benefit` is a report, never a CI gate
221
221
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: agentic-sdlc
3
- version: 1.34.0
3
+ version: 1.36.0
4
4
  description: Documentation-First SDLC protocol with risk-proportional triage, Vision as a guide, a complete Standalone mode and optional symbiosis with devPNT. Use for features, significant bugs, refactors, audits and documented maintenance.
5
5
  author: Antonio Pinto (https://github.com/Antoneeo)
6
6
  copyright: (c) 2026 Antonio Pinto
@@ -20,7 +20,7 @@ Support files in the skill directory:
20
20
  - `vision.md`: how to write a Vision a cold reviewer can actually apply — the properties that make a rule hold, the minimum operable sections, and the blind check run before promoting one to APPROVED.
21
21
  - `hybrid.md`: the devPNT seam — the authoritative hierarchy, the ownership matrix (who owns what when both authorities are live), the triage equivalence, the feature-state mapping and the shadow discipline. Read it when the `devpnt_*` tools point at this project; a Standalone session never needs it.
22
22
  - `routing.md`: which lens owns this unit of work. Read ONLY when a sibling lens skill is installed alongside this one; a single-lens install never reads it.
23
- - `scripts/sdlc_check.py` + `scripts/sdlc_core.py`: the mechanical validator for the docs root (`check`, `validate`, `index`, `stale`, `mark`, `benefit`, `gate`, `plan`, `orient`, `migrate`). Two files: the core is the family's shared spine, the entry point names this domain. Copy both, or neither.
23
+ - `scripts/sdlc_check.py` + `scripts/sdlc_core.py`: the mechanical validator for the docs root (`check`, `validate`, `index`, `stale`, `mark`, `benefit`, `gate`, `plan`, `orient`, `migrate`). Keep the entry point, `scripts/sdlc_core.py` and `scripts/knowledge.py` together; the last supplies common memory and KB integrity.
24
24
  - `ENFORCEMENT.md`: optional setup for CI and hooks.
25
25
 
26
26
  Read these files only when needed. `SKILL.md` is the operating contract; the support files are progressive resources.
@@ -37,6 +37,14 @@ Read these files only when needed. `SKILL.md` is the operating contract; the sup
37
37
 
38
38
  If a patch looks easy but you do not understand why the current code is shaped the way it is, investigate first.
39
39
 
40
+ ## Shared project memory
41
+
42
+ Project memory is available by default, independently of installed sibling lenses.
43
+ Read `memory.md` for the common consult/capture contract during orientation and
44
+ closure. Use `recall` for cross-domain discovery; `index` registers original guides,
45
+ plans and decisions without copying them. One owner still governs each unit.
46
+ The validator now ships as three files: entry point, `sdlc_core.py`, `knowledge.py`.
47
+
40
48
  ## Rule Zero: Triage
41
49
 
42
50
  Always classify the request before choosing the process. Declare the chosen level to the user when you start operational work.
@@ -55,7 +63,7 @@ Cross-cutting rules:
55
63
  - Parsing of external input, authN/authZ, cryptography, networking, personal data and filesystem access are security-sensitive: never L1.
56
64
  - If a bigger impact emerges during L1/L2 work, stop, reclassify and declare it.
57
65
  - When in doubt, pick the higher level.
58
- - **Before asking the user anything — any phase, any level — the question must pass the legality test: search first and name the search with its result; name the decision or fact blocked without the answer.** Blocking the work is the exception, not the default. `elicitation.md` §The question discipline owns the rule and is the only place it is stated — read it before you ask, and do not work from a summary of it.
66
+ - **A real doubt is asked when it emerges, before its answer is written — any phase, any level; a question is legal only after naming the search with its result and the decision it blocks.** `elicitation.md` §The question discipline owns the rule — what is a real doubt, the pros-and-cons weighing, the form — and is the only place it is stated: read it before you ask or assume, and do not work from a summary of it.
59
67
  - The full audit does not start for L1/L2 unless explicitly requested.
60
68
 
61
69
  Triage rationalizations — the thought on the left is the signal to STOP and re-triage: