@antoneeo/agentic-sdlc-skill 1.24.0 → 1.25.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,37 @@
2
2
 
3
3
  Tutte le modifiche significative a questa skill saranno documentate in questo file.
4
4
 
5
+ ## [1.25.0 / kb 1.4.5 / mkt 0.4.5] - 2026-08-06
6
+
7
+ ### Added
8
+ - **Functional Spec — the readable WHAT (code lens, F-033).** A conditional `## Functional
9
+ Spec` ANALYSIS section between the Use Cases and the Interface Contract: the complete
10
+ observable behavior — rules, cases (normal/edge/error/state-dependent), acceptance
11
+ criteria — **component-free by construction**, the one object a person reads to answer
12
+ "is this what we want?" and the AI reads as the behavior contract the design and closure
13
+ review conform to. Authority split: Use Cases own WHY, the Functional Spec owns WHAT, the
14
+ Interface Contract owns THROUGH-WHAT (its authority line now cedes behavior semantics),
15
+ the Impact owns HOW. Fires on behavior change; internal refactor exempt with one line.
16
+ The shared `review.md` gains the enforcement clause (absence on behavior change,
17
+ Solution-leakage inside the spec, uncovered cases, acceptance criteria without tests,
18
+ UC↔FS↔IC coverage — inert in kb/mkt). Rationale + rejected alternatives:
19
+ `ai_docs/architecture/ADR_2026-08-06_functional_spec_layer.md`; admission: rulings r17.
20
+ - **The strategic pass is ONE search with four open buffers.** SKILL.md §3 now states the
21
+ owner's model: find how the Actors (defined in the Vision) obtain from the components
22
+ what the Vision prescribes — risks mitigated in-loop, architecture and patterns
23
+ respected, quality/maintainability the objective, Poka-Yoke and DRY the selection
24
+ criteria between hypotheses. Use Cases / Functional Spec / Interface Contract / Threat
25
+ Model are open buffers — every thought is captured immediately where it belongs; the
26
+ order UC → FS → IC → TM binds only finalization and reading. Vision divergence halts
27
+ the pass.
28
+
29
+ ### Changed
30
+ - **Hybrid section updated to post-M47 reality.** The Interface Contract is devPNT's
31
+ governed `D-IC` (the "lives in the E-ISP" line was stale); the strategy artifacts
32
+ (`D-UC`/`D-IC`/`P-TM`) are authored as one bundle pass and approved per-document
33
+ (devPNT doctrine §4.2 owns the procedure); the Functional Spec rides in the `E-ISP`
34
+ until a governed `D-FS` exists (devPNT-side work).
35
+
5
36
  ## [1.24.0 / kb 1.4.4 / mkt 0.4.4] - 2026-08-05
6
37
 
7
38
  ### Added
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-sdlc-skill",
3
- "version": "1.24.0",
3
+ "version": "1.25.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.24.0",
3
+ "version": "1.25.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",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: agentic-sdlc
3
- version: 1.24.0
3
+ version: 1.25.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
@@ -218,9 +218,13 @@ Hybrid:
218
218
 
219
219
  For any L3, run the spec elicitation round in `elicitation.md` BEFORE drafting the analysis (skip path inside — one-line note when the spec is already complete).
220
220
 
221
+ **The strategic pass is ONE search with four open buffers (L3).** The task: find how the Actors (defined in the Vision) obtain from the components what the Vision prescribes — mitigating or eliminating risks along the way, respecting the existing architecture and its patterns, optimizing for quality and maintainability. Actors and Vision are fixed; components, interfaces and flows are the degrees of freedom — modified only as declared changes, never accidental redesign — and Poka-Yoke and DRY govern every choice: the engineering principles are the selection criteria BETWEEN hypotheses during the search, not a checklist after it. The loop is free — hypothesis → verification against the two anchors (the real system, the Vision) → decision → next hypothesis — and every thought is captured immediately in the section it belongs to: Use Cases, Functional Spec, Interface Contract and Security & Threat Model are four open buffers, not four phases (a risk is written into the threat model the moment it is thought; one later eliminated by a design choice disappears at finalization or stays as "eliminated by construction: [the choice]"). The order UC → FS → IC → TM governs only finalization and reading: at convergence, walk the four in dependency order for coherence — each behavior serves a need, each flow realizes a behavior, each threat targets a real surface. The loop is free WITHIN the Vision frame: a hypothesis adding an unauthorized capability or touching a Non-Goal halts the pass and goes to the user.
222
+
221
223
  **Use cases are grounded before anything builds on them (two checks, nothing else).** The use-cases the elicitation produces pass a tight gate whose owning definition is the `templates.md` `## Use Cases / User Needs` comment — cite it, never restate it: every product name they use resolves to EXISTS (the product's own term for a real thing) / NEW (declared) / METAPHOR (never an interface element), and every use-case traces to a Vision benefit. A name in no bucket invents system reality the project does not have; a use-case tracing to no benefit is drift. It is the top-of-funnel twin of the blast-radius duty below — ground the reasoning artifact in what the system IS and the vision WANTS before the contract, the Ledger and the Impact all inherit it. The author self-applies at drafting; then the independent design review (`review.md` moment 1) verifies the two checks before the owner's own review — it precedes it, never replaces it.
222
224
 
223
- **Interface Contract before the Impact (conditional).** When the change creates or modifies an actor-facing surface — the trigger's owning definition lives in the `templates.md` section comment; cite it, never restate it — the ANALYSIS carries a `## Interface Contract`: the observable behavior the actors get, per use case — the responsibility-level flow each action triggers, naming the components it traverses, and the universal feedback that returns — built by first reading the surfaces and interaction idioms already in place and reusing them by default (a new idiom is a declared decision, never an unmarked invention). It binds observable behavior **and the responsibility-level flow** it names the components in the flow, never their mechanism; **mechanism and files stay the Impact's vocabulary**. Drafting interleaves with the architect pass below (the contract's feasibility notes are early capability probes), but finalization is ordered: contract and Ledger are both complete before the Impact is drafted. After design approval, a contracted path changes only as a user-approved scope change — the solution proposes, never silently enacts. Trigger not fired → one line in the section stating why. Why it exists: without it the interaction is invented at implementation time, UX is emergent instead of designed, and the review's "actor UX fit" check has no object.
225
+ **Functional Spec before the Interface Contract (conditional).** When the change adds or alters observable behavior — the trigger's owning definition lives in the `templates.md` `## Functional Spec` section comment; cite it, never restate it — the ANALYSIS carries a `## Functional Spec`: the complete observable WHAT (rules, cases, acceptance criteria), component-free by construction, the one object a person reads to answer "is this what we want?" and the AI reads as the behavior contract the design and the closure review conform to. Without it the WHAT is validated implicitly across four documents which is where review rounds go to argue about what was meant. Trigger not fired → one line in the section stating why.
226
+
227
+ **Interface Contract before the Impact (conditional).** When the change creates or modifies an actor-facing surface — the trigger's owning definition lives in the `templates.md` section comment; cite it, never restate it — the ANALYSIS carries a `## Interface Contract`: the observable interaction the actors get, per use case — the responsibility-level flow each action triggers, naming the components it traverses, and the universal feedback that returns — built by first reading the surfaces and interaction idioms already in place and reusing them by default (a new idiom is a declared decision, never an unmarked invention). It binds the observable interaction **and the responsibility-level flow** (behavior semantics are the Functional Spec's) — it names the components in the flow, never their mechanism; **mechanism and files stay the Impact's vocabulary**. Drafting interleaves with the architect pass below (the contract's feasibility notes are early capability probes), but finalization is ordered: contract and Ledger are both complete before the Impact is drafted. After design approval, a contracted path changes only as a user-approved scope change — the solution proposes, never silently enacts. Trigger not fired → one line in the section stating why. Why it exists: without it the interaction is invented at implementation time, UX is emergent instead of designed, and the review's "actor UX fit" check has no object.
224
228
 
225
229
  **Architect before you list files.** Once the spec is known and BEFORE drafting the Impact, run the architect pass in `architect.md`: state what the feature requires the system to be able to DO (capabilities — verbs over domain nouns, no files), rule each one against the platform — **EXISTS** (name the component and where it lives) / **INADEQUATE** (name the gap) / **MISSING** (say what you searched) — and design what is missing as a component with **its own contract, in its own vocabulary**, of which this feature is one consumer. The output goes where that mode keeps designs — Standalone: the ANALYSIS `## Capability Ledger`; Hybrid: the `E-ISP`, above its Impacted Components map (`architect.md`; never a second copy in `ai_docs/`) — and it feeds the Impact. Note the coverage asymmetry: the validator backstop reads Standalone ANALYSIS files only, so in Hybrid the sole check that the pass ran is `review.md`'s ledger clause — which is why that clause fires on a MISSING ledger and not only on the rows of one that is present. Why it is its own step: a feature is not a unit of construction, and an agent that skips it builds the missing capability inside the feature's code path, where no component owns it and the next feature rebuilds it differently. The pass is a question, not a form — when every capability plainly exists, one line answers it.
226
230
 
@@ -229,7 +233,7 @@ For any L3, run the spec elicitation round in `elicitation.md` BEFORE drafting t
229
233
  Standalone L3:
230
234
  - Before creating a new `ANALYSIS_[feature].md`, search `ai_docs/solutions/` with glob/grep for an existing analysis on the same topic: if there is one, update it instead of duplicating it.
231
235
  - Create or update `ai_docs/solutions/ANALYSIS_[feature].md`.
232
- - Minimum sections: Objective, Feature Vision (or Vision Alignment), Use Cases / User Needs, Interface Contract (conditional — the paragraph above), Capability Ledger, Impact, Security and Threat Model, Action Plan, Test Strategy, Diary/Current State. (`review.md` makes an uncovered use-case a finding, so an ANALYSIS without that section fails its own closure review.)
236
+ - Minimum sections: Objective, Feature Vision (or Vision Alignment), Use Cases / User Needs, Functional Spec (conditional — behavior change, the paragraph above), Interface Contract (conditional — the paragraph above), Capability Ledger, Impact, Security and Threat Model, Action Plan, Test Strategy, Diary/Current State. (`review.md` makes an uncovered use-case a finding, so an ANALYSIS without that section fails its own closure review.)
233
237
  - Build the Impact/solution **on** the Vision, the use-cases/user-needs and the Security & Threat Model — read and trace to them first, and state the trace (which actor / use-case / threat / benefit each part serves) so the closure review (`review.md`) can verify conformance. Do not draft the Impact in isolation.
234
238
  - For a feature known to span multiple milestones, also create `ai_docs/vision/features/VISION_[feature].md`; the retroactive case (extract it when the SECOND `ANALYSIS_*` on a theme appears) is in Write Triggers.
235
239
 
@@ -238,7 +242,8 @@ Standalone L3:
238
242
  Hybrid L3:
239
243
  - Restore the Master Plan, Action Plan and linked documents.
240
244
  - Use devPNT for plans and governed artifacts.
241
- - The Interface Contract lives in the `E-ISP`, above its Impacted Components map (like the Capability Ledger — never a second copy in `ai_docs/`); a dedicated governed artifact for it is devPNT-side work, not this skill's. Its place in the governed sequence is between `D-UC` and `P-TM`: the use cases say what the person needs, the contract says through which surface, the threat model then assesses those surfaces — the `E-ISP` inherits the interaction, it never generates it.
245
+ - The Interface Contract is devPNT's governed `D-IC`, between `D-UC` and `P-TM`: the use cases say what the person needs, the contract says through which surface, the threat model then assesses those surfaces — the `E-ISP` inherits the interaction, it never generates it. The strategy artifacts (`D-UC`/`D-IC`/`P-TM`) are authored as ONE bundle pass and approved per-document in one sitting (one reasoning act, three projections — devPNT doctrine §4.2 owns the procedure).
246
+ - The Functional Spec has no governed artifact yet: it rides in the `E-ISP`, above its Impacted Components map (like the Capability Ledger — never a second copy in `ai_docs/`); a dedicated `D-FS` is devPNT-side work, not this skill's.
242
247
  - Use `ai_docs/solutions/SHADOW_[doc_key]_vX.Y.md` only as a readable shadow when needed; on divergence devPNT wins.
243
248
 
244
249
  ### 4. Development and Testing
@@ -159,6 +159,21 @@ When you are the reviewer:
159
159
  review, never replacing it; coverage of each use-case by the Impact, and the
160
160
  Actor it serves, stay the conformance-statement clause above. A lens whose
161
161
  template defines no `## Use Cases` section never fires this clause.
162
+ - **Functional Spec (same reviews; fires only in the lens whose template defines
163
+ the section — the code lens today).** When the change adds or alters observable
164
+ behavior (the trigger's owning definition is the code lens's `templates.md`
165
+ `## Functional Spec` section comment — cite it, never restate it), **an L3
166
+ artifact carrying NO `## Functional Spec` is itself a finding** — absence is
167
+ what a skipped spec looks like, not a reason to skip the check. When the spec
168
+ is there, these findings live here: **a component, file or mechanism named
169
+ inside it** — the spec is component-free by construction; that is
170
+ Solution-leakage (component names belong to the Interface Contract, mechanism
171
+ to the Impact); a behavior whose edge, error or state-dependent cases are
172
+ absent with no stated reason; an acceptance criterion no `## Test Strategy`
173
+ item covers; a behavior serving no use case, or a use case whose behavior the
174
+ spec leaves unstated; and an Interface Contract flow realizing a behavior the
175
+ spec does not state. A lens whose template defines no such section (knowledge,
176
+ marketing) never fires this clause.
162
177
  - **Capability Ledger (same reviews).** **An L3 impact/solution analysis or design
163
178
  that carries NO Capability Ledger is itself a finding** — the lens's capability
164
179
  pass (`architect.md` in the code lens, `taxonomy.md` in the knowledge lens) left
@@ -266,6 +266,32 @@ checks: [marketing.funnel] # optional — extra portable checks to run on t
266
266
  drafting is grounded in BOTH anchors first — the Vision (benefit + actors)
267
267
  and the real system (summaries / existing features / source). -->
268
268
 
269
+ ## Functional Spec
270
+ <!-- [conditional] Fires when the change ADDS or ALTERS observable behavior —
271
+ what the system does, decides or shows. Not fired (pure internal refactor,
272
+ no behavior change) → one line stating why. This comment is the OWNING
273
+ definition of the section; SKILL.md and review.md cite it, never restate it.
274
+ THE validation object: the complete observable WHAT, readable by a person
275
+ ("is this what we want?") and by the AI (the contract the design and the
276
+ closure review conform to). Component-free by construction: it names NO
277
+ components, files or mechanisms — behavior only, in the actor's and the
278
+ domain's vocabulary. (Product names obey the Use Cases grounding buckets:
279
+ EXISTS with the product's own term / NEW declared / METAPHOR never an
280
+ interface element.)
281
+ Content, per use case whose behavior the change touches (a question, not a form):
282
+ 1. Behavior — the rules and decisions, stated as observable outcomes
283
+ ("a request with an expired token is rejected and the actor is told the
284
+ session expired; no partial state persists").
285
+ 2. Cases — normal, edge, error and state-dependent behavior: empty, invalid,
286
+ concurrent, limits, repeated. Each case states what the actor observes.
287
+ 3. Acceptance criteria — the "done when": checkable statements
288
+ (given/when/then form welcome), each covered by ## Test Strategy.
289
+ Authority split: Use Cases own WHY (the need), this section owns WHAT
290
+ (behavior semantics), the Interface Contract owns THROUGH-WHAT (surfaces,
291
+ flows, feedback), the Impact owns HOW. A component or mechanism named here
292
+ is Solution-leakage — move it to the Interface Contract (component names)
293
+ or the Impact (mechanism). -->
294
+
269
295
  ## Interface Contract
270
296
  <!-- [conditional] Fires when the change creates or modifies a surface through
271
297
  which an actor **acts on or perceives** the system — GUI view, CLI
@@ -297,9 +323,11 @@ checks: [marketing.funnel] # optional — extra portable checks to run on t
297
323
  feed the threat model (## Security) and the Impact.
298
324
  Reuse the as-is idioms by default; a NEW idiom where an existing one covers
299
325
  the job is a declared decision with its reason — never an unmarked invention.
300
- Authority split: the contract binds observable behavior AND the
301
- responsibility-level flowit NAMES the components in the flow, never their
302
- mechanism or file-level design (that is the Impact's vocabulary). After
326
+ Authority split: behavior semantics (rules, cases, outcomes) are
327
+ ## Functional Spec's this contract binds the observable interaction AND
328
+ the responsibility-level flow that deliver them; it NAMES the components in
329
+ the flow, never their mechanism or file-level design (that is the Impact's
330
+ vocabulary). After
303
331
  design approval, changing a contracted surface, flow or feedback is a scope
304
332
  change the USER approves: the solution may propose it, never enact it
305
333
  silently. Every contracted flow is covered by ## Test Strategy. -->