@antoneeo/mkt-agentic-sdlc-skill 0.9.0 → 0.11.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
@@ -1,5 +1,82 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.0] - 2026-09-12
4
+
5
+ ### Added
6
+ - **F-052: the Hybrid seam leaves the mandatory read.** The devPNT ownership
7
+ matrix and its neighbours move to a triggered `hybrid.md`; `SKILL.md` keeps a
8
+ pointer carrying the trigger and what is lost by skipping it. Conservation is
9
+ guarded by a `moved-block-sha256` digest computed from the PRE-MOVE source —
10
+ never from the artifact under test, after a first attempt recorded the digest
11
+ of a mojibake-corrupted file and would have frozen the corruption permanently.
12
+ - **The shared spine gains the capability floor, the delegation boundary and
13
+ `benefit`** (F-048, F-049, F-050 — see the code lens's changelog; the files
14
+ are byte-identical across the three packages).
15
+ - **F-053: the authoring-floor pointer**, before this lens's instruction to
16
+ draft the MKT-VISION.
17
+
18
+ ### Fixed
19
+ - **F-053: a probe in this lens's own harness could not fail.** Its conservation
20
+ check accepted the word `ownership` after the filename, and the pointer's own
21
+ content inventory contains it — so deleting the entire consequence paragraph
22
+ left the harness green. That is the defect the previous unit's review had
23
+ already blocked once, re-introduced in the next unit's probe with a comment
24
+ claiming the opposite. Anchored on the consequence alone, and
25
+ mutation-verified red.
26
+ - **F-053: figures that reproduced under no ruler.** This lens's read-diet
27
+ numbers omitted the 94-byte stamp line that its own review-driven correction
28
+ had added, so the corrected figure was invalidated by the correction beside
29
+ it. Re-measured on one declared ruler: Standalone 22,880 -> 20,995 B
30
+ (**-8.2%**), Hybrid 24,527 B (**+7.2%**).
31
+
32
+ ### Read cost
33
+ - `SKILL.md` **-4.9%** (22,648 -> 21,541 B) Standalone. A Hybrid session reads
34
+ **+10.7%**, proportionally the largest surcharge of the three lenses, because
35
+ a pointer costs about the same in a contract half the size.
36
+
37
+ ## [0.10.1] - 2026-09-06
38
+
39
+ ### Fixed
40
+ - **F-046 shipped a hook that wired nowhere.** `wireRemindHookInto` used the
41
+ ORIENT hook's opt-out marker (`orient-hook-wired`) as its own. That file is
42
+ present on every machine that ever installed the skill, so the installer read
43
+ it as "the user opted out of the per-turn reminder" and never wrote the hook —
44
+ for everyone. Two smaller faults in the same function: the marker was checked
45
+ BEFORE testing whether the hook was already present, and no marker was ever
46
+ written after a successful wire, so the real opt-out could never arm. The hook
47
+ now has its own `remind-hook-wired` marker, checked after the presence test and
48
+ written only on success. Regression pinned in `scripts/test_clients.js` (red
49
+ against 1.32.0: an orient-marked machine got no hook).
50
+
51
+ ## [0.10.0] - 2026-09-06
52
+
53
+ ### Added
54
+ - **F-046: the protocol reaches every turn (`remind`, UserPromptSubmit, wired by
55
+ default).** `orient` fires once at session start and decays; a session that
56
+ never loads the skill never had the protocol at all. Measured 2026-09-06: a
57
+ release ran against a `GUIDE_release.md` the session never consulted, because
58
+ `SKILL.md` -- where the duty is written -- had not been read. `remind` prints
59
+ ONE constant line at every prompt, and its first duty is that one: decide
60
+ whether the skill governs the work in front of you and, if it does, LOAD it
61
+ once. The carrier is kb's F-041 item B, LIFTED into the shared spine rather
62
+ than duplicated, so all three lenses share one machine; each lens declares its
63
+ own line in `set_profile(remind_line=...)`. Installing the package wires it
64
+ machine-wide on Claude Code alongside the orientation hook, never instead of
65
+ it; removing the hook entry is a standing opt-out. Per-turn cost disclosed and
66
+ accepted by the owner (`vision/rulings.md` r19, the "no ceremony ratchet"
67
+ Non-Goal's second door), and bounded to stay flat by a contract the new shared
68
+ `scripts/test_remind.py` guards: constant text, zero reads, one line under 500
69
+ characters, argv ignored whole, always exit 0.
70
+
71
+ ### Changed
72
+ - **`guides.md` said something false about code guides.** It claimed `stale`
73
+ works unchanged for `source_kind: code` because "the code-excerpt snapshot
74
+ drifts when the code changes". A snapshot is a frozen copy and never drifts:
75
+ freshness is NOT mechanized there, and the duty is the author's twice -- when
76
+ you MODIFY code a comprehension guide describes, and when you merely READ one
77
+ before trusting it. Measured 2026-09-06: the guided module had gained 388
78
+ lines and lost 71 across four commits with `stale` silent.
79
+
3
80
  ## [0.9.0] - 2026-09-05
4
81
 
5
82
  Spine-only release: `review.md` updated byte-identical across the family
package/README.md CHANGED
@@ -7,7 +7,7 @@ Evidence-First marketing planning protocol for AI coding agents (Claude Code, Ge
7
7
  Turns an AI agent into a disciplined marketing strategist that produces a professional, professionally-recognized marketing plan (SOSTAC structure) with three engineered guarantees:
8
8
 
9
9
  1. **Evidence ledger** — every market number is classified FACT / BENCHMARK / ASSUMPTION and carries an `[EV-nn]` reference to its source. No invented numbers.
10
- 2. **Mechanical validator** (`mkt_check.py` + `sdlc_core.py` — the entry point plus the family's shared spine; copy both, or neither) — budget sums (±1%), funnel math recomputed cell by cell (±5%) and the objective→tactic→KPI chain are checked mechanically, not rhetorically: `check`, `validate`, `ledger`, `budget`, `funnel`, `trace`, `index`, plus the spine's `stale`/`mark`/`gate`/`plan`/`orient`/`migrate`.
10
+ 2. **Mechanical validator** (`mkt_check.py` + `sdlc_core.py` — the entry point plus the family's shared spine; copy both, or neither) — budget sums (±1%), funnel math recomputed cell by cell (±5%) and the objective→tactic→KPI chain are checked mechanically, not rhetorically: `check`, `validate`, `ledger`, `budget`, `funnel`, `trace`, `index`, plus the spine's `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.
11
11
  3. **Adversarial CMO review** — an independent, fresh-context reviewer attacks the strategy before the user sees it (generic-positioning swap test, untraced claims, orphan tactics).
12
12
 
13
13
  The agent asks the user only for facts the user uniquely owns (product, price, budget, capacity); everything else — market sizing, competitor analysis, channel benchmarks — is derived from real web research.
@@ -69,6 +69,11 @@ The workstream registry (`audit/handoff.md`) is **generated** from one file per
69
69
  - **Standalone** — everything on the filesystem under `mkt_docs/`.
70
70
  - **Hybrid with devPNT** — plans and strategy artifacts governed as versioned devPNT documents (MKT-VISION, ICP/Personas, Threat Map, Strategy, Tactical Plan, Measurement Plan), with proposal/approval workflow and independent review gates.
71
71
 
72
+ The Hybrid seam ships as its own file, `hybrid.md` — the authoritative
73
+ hierarchy and the ownership matrix naming which artifact is mastered where.
74
+ A Standalone engagement never reads it, which is why it is not in the
75
+ operating contract every session loads.
76
+
72
77
  Installing or updating the npm package wires the session-orientation hook
73
78
  machine-wide (user-level Claude Code settings; removal is a standing opt-out
74
79
  that no update overrides -- ENFORCEMENT.md par.4).
@@ -83,6 +88,35 @@ that no update overrides -- ENFORCEMENT.md par.4).
83
88
 
84
89
  Triage, the Vision Gate, the review gates, the guide router, question discipline and the validator spine are byte-identical across the three; only the fidelity discipline and the vocabulary change. When two live in the same project, `routing.md` decides which lens owns a given piece of work — with the market-facing override: anything whose purpose is to persuade the market is this lens's, whatever its source.
85
90
 
91
+ ## Which model to run it on
92
+
93
+ The skill names **capability tiers**, never providers — a model name in doctrine
94
+ rots at the next release. The binding is yours to make, and the rule is one line:
95
+
96
+ > **A session's floor is the highest floor among the roles it performs itself.**
97
+
98
+ Authoring a governed artifact — the vision, the analysis, the use cases, the
99
+ threat model — is a **deep-tier** role: its output is judgement, and nothing
100
+ downstream scores it. So a session that will DESIGN wants your strongest model.
101
+ A session that only executes an already-approved plan, or does small maintenance,
102
+ can sit a tier lower. The cheapest tier is the wrong choice for the main session
103
+ whatever the task, because the failure there is not a wrong answer — it is
104
+ **silently not applying the process**: a triage never run, a router verdict
105
+ declared without the lookup, a gate nobody noticed. That failure is invisible to
106
+ every check in here.
107
+
108
+ **The reviewer's tier is not automatically yours.** On some clients a subagent
109
+ inherits the session's model; on others it takes one from its own definition, so
110
+ a strong session can be reviewed by a weak one — and a weak session can buy a
111
+ strong review. Set it deliberately; the
112
+ `model` column in the review log is where the choice becomes visible.
113
+
114
+ **Avoid one combination**: authoring below the floor AND reviewing below the floor
115
+ on the same unit. One disclosed weakness is a disclosed weakness; two is an
116
+ artifact nobody competent ever read. Where your client offers nothing better, the
117
+ review still runs and both facts are recorded — a disclosed worst case beats
118
+ skipping the review.
119
+
86
120
  ## License
87
121
 
88
122
  MIT — Antonio Pinto
@@ -1,6 +1,6 @@
1
- {
2
- "name": "mkt-agentic-sdlc",
3
- "version": "0.9.0",
4
- "description": "Evidence-First marketing planning protocol with engagement triage, SOSTAC workflow, evidence ledger and optional devPNT integration.",
5
- "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
- }
1
+ {
2
+ "name": "mkt-agentic-sdlc",
3
+ "version": "0.11.0",
4
+ "description": "Evidence-First marketing planning protocol with engagement triage, SOSTAC workflow, evidence ledger and optional devPNT integration.",
5
+ "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
+ }
package/package.json CHANGED
@@ -1,50 +1,51 @@
1
- {
2
- "name": "@antoneeo/mkt-agentic-sdlc-skill",
3
- "version": "0.9.0",
4
- "description": "Evidence-First marketing planning protocol for Claude Code, Gemini CLI, Google Antigravity and Codex: engagement triage, SOSTAC workflow, evidence ledger, mechanical validator and optional devPNT integration.",
5
- "keywords": [
6
- "claude-code",
7
- "claude-skill",
8
- "gemini-cli",
9
- "skill",
10
- "marketing",
11
- "marketing-plan",
12
- "sostac",
13
- "ai-agent"
14
- ],
15
- "author": "Antonio Pinto (https://github.com/Antoneeo)",
16
- "license": "MIT",
17
- "publishConfig": {
18
- "access": "public"
19
- },
20
- "bin": {
21
- "mkt-sdlc-init": "scripts/init.js",
22
- "mkt-sdlc-install-skill": "scripts/postinstall.js"
23
- },
24
- "scripts": {
25
- "postinstall": "node scripts/postinstall.js",
26
- "preuninstall": "node scripts/preuninstall.js"
27
- },
28
- "files": [
29
- "skills/mkt-agentic-sdlc/SKILL.md",
30
- "skills/mkt-agentic-sdlc/frameworks.md",
31
- "skills/mkt-agentic-sdlc/elicitation.md",
32
- "skills/mkt-agentic-sdlc/research.md",
33
- "skills/mkt-agentic-sdlc/templates.md",
34
- "skills/mkt-agentic-sdlc/review.md",
35
- "skills/mkt-agentic-sdlc/scripts/sdlc_core.py",
36
- "skills/mkt-agentic-sdlc/routing.md",
37
- "skills/mkt-agentic-sdlc/guides.md",
38
- "skills/mkt-agentic-sdlc/vision.md",
39
- "skills/mkt-agentic-sdlc/dispatch.md",
40
- "skills/mkt-agentic-sdlc/ENFORCEMENT.md",
41
- "skills/mkt-agentic-sdlc/scripts/mkt_check.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/mkt-agentic-sdlc-skill",
3
+ "version": "0.11.0",
4
+ "description": "Evidence-First marketing planning protocol for Claude Code, Gemini CLI, Google Antigravity and Codex: engagement triage, SOSTAC workflow, evidence ledger, mechanical validator and optional devPNT integration.",
5
+ "keywords": [
6
+ "claude-code",
7
+ "claude-skill",
8
+ "gemini-cli",
9
+ "skill",
10
+ "marketing",
11
+ "marketing-plan",
12
+ "sostac",
13
+ "ai-agent"
14
+ ],
15
+ "author": "Antonio Pinto (https://github.com/Antoneeo)",
16
+ "license": "MIT",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "bin": {
21
+ "mkt-sdlc-init": "scripts/init.js",
22
+ "mkt-sdlc-install-skill": "scripts/postinstall.js"
23
+ },
24
+ "scripts": {
25
+ "postinstall": "node scripts/postinstall.js",
26
+ "preuninstall": "node scripts/preuninstall.js"
27
+ },
28
+ "files": [
29
+ "skills/mkt-agentic-sdlc/SKILL.md",
30
+ "skills/mkt-agentic-sdlc/frameworks.md",
31
+ "skills/mkt-agentic-sdlc/elicitation.md",
32
+ "skills/mkt-agentic-sdlc/research.md",
33
+ "skills/mkt-agentic-sdlc/templates.md",
34
+ "skills/mkt-agentic-sdlc/review.md",
35
+ "skills/mkt-agentic-sdlc/scripts/sdlc_core.py",
36
+ "skills/mkt-agentic-sdlc/routing.md",
37
+ "skills/mkt-agentic-sdlc/guides.md",
38
+ "skills/mkt-agentic-sdlc/vision.md",
39
+ "skills/mkt-agentic-sdlc/dispatch.md",
40
+ "skills/mkt-agentic-sdlc/hybrid.md",
41
+ "skills/mkt-agentic-sdlc/ENFORCEMENT.md",
42
+ "skills/mkt-agentic-sdlc/scripts/mkt_check.py",
43
+ "gemini-extension.json",
44
+ "README.md",
45
+ "CHANGELOG.md",
46
+ "scripts/lib.js",
47
+ "scripts/init.js",
48
+ "scripts/postinstall.js",
49
+ "scripts/preuninstall.js"
50
+ ]
51
+ }
@@ -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` §Ownership matrix) 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
 
@@ -157,6 +157,46 @@ Gemini CLI — wire the same command into its startup-hook mechanism if present;
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
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.
159
159
 
160
+ ### Per-turn reminder: `remind` (UserPromptSubmit -- wired by default)
161
+
162
+ `orient` fires once, at session start; a long session drifts after it, and a session
163
+ that never loads the skill never had the protocol at all. Measured (F-046, 2026-09-06):
164
+ a release ran against a `GUIDE_release.md` the session never consulted, because
165
+ `SKILL.md` -- where the duty is written -- had not been read. `mkt_check.py remind` prints
166
+ ONE constant line at every prompt, and its first duty is that one: decide whether the
167
+ skill governs the work in front of you and, if it does, load it once.
168
+
169
+ Cost: 437 characters, ~74 tokens per prompt, paid on every turn including
170
+ trivial ones. That is admissible only because the owner accepted it explicitly
171
+ (`ai_docs/vision/rulings.md` r19, the "no ceremony ratchet" Non-Goal's second door) --
172
+ and the acceptance was for a FLAT cost. Hence the contract, guarded by
173
+ `scripts/test_remind.py`: the line is **constant and reads nothing** (so nothing repo-
174
+ or session-controlled rides into the agent's context through it, and the cost cannot
175
+ grow with the session), it is **one line under 500 characters**, and it **can never
176
+ break a prompt** (argv ignored whole, always exit 0). A trivial turn pays a yes/no
177
+ judgement, never a load.
178
+
179
+ Installing the package wires it machine-wide on Claude Code, alongside the orientation
180
+ hook and never instead of it; **removing that hook entry is a standing opt-out.** To
181
+ wire it by hand:
182
+
183
+ ```json
184
+ {
185
+ "hooks": {
186
+ "UserPromptSubmit": [
187
+ {
188
+ "hooks": [
189
+ {
190
+ "type": "command",
191
+ "command": "python \"C:\Users\<user>\.claude\skills\mkt-agentic-sdlc\scripts\mkt_check.py\" remind"
192
+ }
193
+ ]
194
+ }
195
+ ]
196
+ }
197
+ }
198
+ ```
199
+
160
200
  ## 5. Skill eval battery (release gate)
161
201
 
162
202
  **Skill development only.** `test_*.py` and `evals/` are deliberately absent from the npm `files` allowlist — they never reach an installed consumer, so this section applies to whoever builds the skill, not to a project that uses it. (Consumers get `mkt_check.py` + `sdlc_core.py`; §1–§4 are theirs.)
@@ -176,3 +216,12 @@ It aggregates the test files (`test_plan.py` + `test_session_start.py` + `test_s
176
216
  **Optional CI** (same shape as §2, not mandatory): add a `run:` step invoking the `unittest discover` command above.
177
217
 
178
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
+ `mkt_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.