@antoneeo/mkt-agentic-sdlc-skill 0.12.0 → 0.14.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,49 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.14.0] - 2026-09-25
4
+
5
+ ### Changed
6
+ - **F-026 revised: a real doubt is asked when it emerges.** The question discipline
7
+ no longer sends doubts to the deliverable ("Default non-blocking" is gone). A real
8
+ doubt (a fact the search leaves open, or a choice whose pros and cons do not
9
+ settle it) is asked before the first write that would embed its answer, grouped,
10
+ with the pros and cons of each option. A choice that clearly wins the weighing is
11
+ taken without asking, and the weighing is written next to it — each rejected option
12
+ stated at its strongest; options that serve different needs, none good enough at
13
+ both, that nothing the user wrote ranks are a real doubt, however clear the
14
+ agent's own ranking. Reserved approvals
15
+ are always asked. A real doubt becomes a declared assumption only in unattended
16
+ or delegated work. `review.md` makes an unasked doubt a design-review finding; `dispatch.md`
17
+ tells a subagent to return its real doubts instead of deciding them.
18
+
19
+ ### Fixed
20
+ - **`stale` no longer counts the audit plan against the area that holds it.**
21
+ Committing a hash mark of `ai_docs/` changed `ai_docs/audit/audit_plan.md` after
22
+ the recorded commit, so the area went stale again and every re-mark repeated the
23
+ loop. The plan's own edits are now excluded; any other change in the area still
24
+ counts.
25
+
26
+ ## [0.13.0] - 2026-09-19
27
+
28
+ ### Added
29
+ - F-057: shared project memory in every lens, no sibling installation required.
30
+ `index` catalogs original documents; `recall QUERY` searches live metadata.
31
+ KB integrity is shared; domain ownership and marketing numerical checks remain.
32
+ Vendored validators now require entry point + sdlc_core.py + knowledge.py.
33
+
34
+
35
+ ### Fixed
36
+ - **F-056: `stale` no longer reports an area fresh when it cannot evaluate it.** An
37
+ `audit_plan.md` row whose reference no longer resolves (the commit was amended,
38
+ rebased or squash-merged away, or the clone is shallow), whose reference is a git
39
+ hash where git is unusable, or whose reference is unparseable used to print a
40
+ warning, then `[ok]`, and exit 0. It now prints `[stale]` with the re-mark command
41
+ and exits 1, so `check` is NOT CLEAN. A reference that still resolves but is no
42
+ longer an ancestor of HEAD gets a warning before it dangles, and `mark` says to
43
+ commit its result as a new commit. **Teams that squash- or rebase-merge:** a
44
+ reference recorded on a feature branch never reaches the integration branch, so
45
+ re-mark those areas after the merge.
46
+
3
47
  ## [0.12.0] - 2026-09-14
4
48
 
5
49
  ### Changed
package/README.md CHANGED
@@ -1,134 +1,150 @@
1
- # Marketing Agentic SDLC Skill
2
-
3
- Evidence-First marketing planning protocol for AI coding agents (Claude Code, Gemini CLI, Google Antigravity, Codex). The sibling of [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill), transplanted from software engineering to marketing strategy.
4
-
5
- ## What it does
6
-
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
-
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`/`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
- 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
-
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.
14
-
15
- ## Install
16
-
17
- ```bash
18
- npm i -g @antoneeo/mkt-agentic-sdlc-skill
19
- ```
20
-
21
- That's it — the skill is copied into every detected AI client automatically
22
- (the package's `postinstall` runs the installer). Restart the agent to load it.
23
-
24
- **If your npm blocks install scripts** (`--ignore-scripts`, some CI/pnpm setups),
25
- run the installer manually:
26
-
27
- ```bash
28
- npx mkt-sdlc-install-skill
29
- ```
30
-
31
- > The `mkt-sdlc-install-skill` command is only on your PATH after a **global**
32
- > (`-g`) install. After a local `npm i`, invoke it via `npx` as above.
33
-
34
- Initialize a project:
35
-
36
- ```bash
37
- cd my-business-project
38
- npx mkt-sdlc-init # creates mkt_docs/ + protocol pointers
39
- ```
40
-
41
- It also **wires the SessionStart orientation hook** into `.claude/`, so an agent opening
42
- the project is handed the reading guide, the generated manifest, the guide router and the
43
- last handoff before it does anything — instead of only when it remembers to look. That
44
- wiring used to be a manual step documented in `ENFORCEMENT.md`; being manual, it was
45
- skipped, and a project could run fully governed with an agent that never met the process.
46
-
47
- The hook command names a validator, so where that validator lives decides which file gets
48
- it: a repo that vendors it gets a repo-relative command in the shared `.claude/settings.json`
49
- (portable — commit it); otherwise the path is machine-specific and goes to the git-ignored
50
- `.claude/settings.local.json`, and each teammate runs `init` once. Re-running `init` never
51
- duplicates the hook, and a hook whose validator no longer resolves is reported as **broken**
52
- with the correction rather than counted as installed.
53
-
54
- ## Engagement levels (Rule Zero)
55
-
56
- | Level | Scope | Process |
57
- |---|---|---|
58
- | E1 Quick | single question / asset feedback | direct answer, sourced numbers |
59
- | E2 Campaign | one campaign or channel plan | mini-brief + targeted research + campaign doc |
60
- | E3 Full Plan | complete marketing plan | full SOSTAC workflow, 9 phases, all gates |
61
- | Research Spike | time-boxed market question | `mkt_docs/spikes/RESEARCH_[topic].md` |
62
-
63
- ## Several people, one project
64
-
65
- 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.
66
-
67
- ## Modes
68
-
69
- - **Standalone** — everything on the filesystem under `mkt_docs/`.
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
-
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
-
77
- Installing or updating the npm package wires the session-orientation hook
78
- machine-wide (user-level Claude Code settings; removal is a standing opt-out
79
- that no update overrides -- ENFORCEMENT.md par.4).
80
-
81
- ## The family: three lenses, one spine
82
-
83
- | Package | Faithful to | Unit of work |
84
- |---|---|---|
85
- | [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature |
86
- | [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic |
87
- | `@antoneeo/mkt-agentic-sdlc-skill` (this one) | market evidence | engagement |
88
-
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.
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
-
120
- ## License
121
-
122
- Apache-2.0 — the full terms are in the `LICENSE` file, the attribution in `NOTICE`. Copyright 2026 Antonio Pinto.
123
-
124
- If you redistribute this skill, or a version you modified, keep `LICENSE` and `NOTICE` with it.
125
-
126
- 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.
127
-
128
- Versions up to 0.11.0 were released under the MIT license and remain available under it.
129
-
130
- 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:
131
-
132
- ```markdown
133
- [![Made with mkt-agentic-sdlc](https://img.shields.io/badge/made%20with-mkt--agentic--sdlc-blue)](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill)
134
- ```
1
+ # Marketing Agentic SDLC Skill
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
+ Evidence-First marketing planning protocol for AI coding agents (Claude Code, Gemini CLI, Google Antigravity, Codex). The sibling of [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill), transplanted from software engineering to marketing strategy.
20
+
21
+ ## What it does
22
+
23
+ Turns an AI agent into a disciplined marketing strategist that produces a professional, professionally-recognized marketing plan (SOSTAC structure) with three engineered guarantees:
24
+
25
+ 1. **Evidence ledger** — every market number is classified FACT / BENCHMARK / ASSUMPTION and carries an `[EV-nn]` reference to its source. No invented numbers.
26
+ 2. **Mechanical validator** (`mkt_check.py` + `sdlc_core.py` + `knowledge.py` — entry point, shared spine and memory; copy all three) — 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.
27
+ 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).
28
+
29
+ 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.
30
+
31
+ ## Install
32
+
33
+ ```bash
34
+ npm i -g @antoneeo/mkt-agentic-sdlc-skill
35
+ ```
36
+
37
+ That's it — the skill is copied into every detected AI client automatically
38
+ (the package's `postinstall` runs the installer). Restart the agent to load it.
39
+
40
+ **If your npm blocks install scripts** (`--ignore-scripts`, some CI/pnpm setups),
41
+ run the installer manually:
42
+
43
+ ```bash
44
+ npx mkt-sdlc-install-skill
45
+ ```
46
+
47
+ > The `mkt-sdlc-install-skill` command is only on your PATH after a **global**
48
+ > (`-g`) install. After a local `npm i`, invoke it via `npx` as above.
49
+
50
+ Initialize a project:
51
+
52
+ ```bash
53
+ cd my-business-project
54
+ npx mkt-sdlc-init # creates mkt_docs/ + protocol pointers
55
+ ```
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
+ ## Engagement levels (Rule Zero)
71
+
72
+ | Level | Scope | Process |
73
+ |---|---|---|
74
+ | E1 Quick | single question / asset feedback | direct answer, sourced numbers |
75
+ | E2 Campaign | one campaign or channel plan | mini-brief + targeted research + campaign doc |
76
+ | E3 Full Plan | complete marketing plan | full SOSTAC workflow, 9 phases, all gates |
77
+ | Research Spike | time-boxed market question | `mkt_docs/spikes/RESEARCH_[topic].md` |
78
+
79
+ ## Several people, one project
80
+
81
+ 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.
82
+
83
+ ## Modes
84
+
85
+ - **Standalone** — everything on the filesystem under `mkt_docs/`.
86
+ - **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.
87
+
88
+ The Hybrid seam ships as its own file, `hybrid.md` — the authoritative
89
+ hierarchy and the ownership matrix naming which artifact is mastered where.
90
+ A Standalone engagement never reads it, which is why it is not in the
91
+ operating contract every session loads.
92
+
93
+ Installing or updating the npm package wires the session-orientation hook
94
+ machine-wide (user-level Claude Code settings; removal is a standing opt-out
95
+ that no update overrides -- ENFORCEMENT.md par.4).
96
+
97
+ ## The family: three lenses, one spine
98
+
99
+ | Package | Faithful to | Unit of work |
100
+ |---|---|---|
101
+ | [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature |
102
+ | [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic |
103
+ | `@antoneeo/mkt-agentic-sdlc-skill` (this one) | market evidence | engagement |
104
+
105
+ Triage, the Vision Gate, the review gates, the guide router and the validator spine are byte-identical across the three, and the question discipline is the same rule restated in each lens's vocabulary; 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.
106
+
107
+ ## Which model to run it on
108
+
109
+ The skill names **capability tiers**, never providers — a model name in doctrine
110
+ rots at the next release. The binding is yours to make, and the rule is one line:
111
+
112
+ > **A session's floor is the highest floor among the roles it performs itself.**
113
+
114
+ Authoring a governed artifact — the vision, the analysis, the use cases, the
115
+ threat model — is a **deep-tier** role: its output is judgement, and nothing
116
+ downstream scores it. So a session that will DESIGN wants your strongest model.
117
+ A session that only executes an already-approved plan, or does small maintenance,
118
+ can sit a tier lower. The cheapest tier is the wrong choice for the main session
119
+ whatever the task, because the failure there is not a wrong answer — it is
120
+ **silently not applying the process**: a triage never run, a router verdict
121
+ declared without the lookup, a gate nobody noticed. That failure is invisible to
122
+ every check in here.
123
+
124
+ **The reviewer's tier is not automatically yours.** On some clients a subagent
125
+ inherits the session's model; on others it takes one from its own definition, so
126
+ a strong session can be reviewed by a weak one — and a weak session can buy a
127
+ strong review. Set it deliberately; the
128
+ `model` column in the review log is where the choice becomes visible.
129
+
130
+ **Avoid one combination**: authoring below the floor AND reviewing below the floor
131
+ on the same unit. One disclosed weakness is a disclosed weakness; two is an
132
+ artifact nobody competent ever read. Where your client offers nothing better, the
133
+ review still runs and both facts are recorded — a disclosed worst case beats
134
+ skipping the review.
135
+
136
+ ## License
137
+
138
+ Apache-2.0 — the full terms are in the `LICENSE` file, the attribution in `NOTICE`. Copyright 2026 Antonio Pinto.
139
+
140
+ If you redistribute this skill, or a version you modified, keep `LICENSE` and `NOTICE` with it.
141
+
142
+ 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.
143
+
144
+ Versions up to 0.11.0 were released under the MIT license and remain available under it.
145
+
146
+ 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:
147
+
148
+ ```markdown
149
+ [![Made with mkt-agentic-sdlc](https://img.shields.io/badge/made%20with-mkt--agentic--sdlc-blue)](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill)
150
+ ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mkt-agentic-sdlc",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Evidence-First marketing planning protocol with engagement triage, SOSTAC workflow, evidence ledger 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/mkt-agentic-sdlc-skill",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
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
5
  "keywords": [
6
6
  "claude-code",
@@ -33,6 +33,8 @@
33
33
  "skills/mkt-agentic-sdlc/templates.md",
34
34
  "skills/mkt-agentic-sdlc/review.md",
35
35
  "skills/mkt-agentic-sdlc/scripts/sdlc_core.py",
36
+ "skills/mkt-agentic-sdlc/scripts/knowledge.py",
37
+ "skills/mkt-agentic-sdlc/memory.md",
36
38
  "skills/mkt-agentic-sdlc/routing.md",
37
39
  "skills/mkt-agentic-sdlc/guides.md",
38
40
  "skills/mkt-agentic-sdlc/vision.md",
package/scripts/init.js CHANGED
@@ -194,26 +194,16 @@ in the skill's \`routing.md\`: it decides which lens's method and validation rul
194
194
  that unit. L1 never reaches it. Never refer to a document whose meaning differs by lens
195
195
  ("threat model", "vision", \`principles.md\`, \`handoff.md\`) by its bare name.
196
196
 
197
- ${protocolPreexisting ? `**Merge step owed.** The always-on protocol pointer of this project (\`CLAUDE.md\` /
198
- \`GEMINI.md\` / \`AGENTS.md\` / \`.cursorrules\`) was written by another lens's init and
199
- carries ITS triage ladder. This init did not overwrite it. Add the marketing lens's ladder
200
- to that file by hand — the pointer below — so both are always loaded.
201
-
202
- ## Rule Zero — Triage every request (marketing lens)
203
- - E1 Question: one answer from the existing plan, no document written.
204
- - E2 Campaign: a single campaign or channel, on an approved strategy.
205
- - E3 Full engagement: the nine-phase SOSTAC workflow, evidence ledger and all
206
- three validator gates.
207
- ` : `The always-on protocol pointer for the marketing lens was created by this init. When you
208
- install another lens over this project, its init will leave its own ladder here for you
209
- to merge.
210
- `}
197
+ Select the owning lens by the unit's purpose, then apply only its risk scale.
198
+ The project's always-on pointer stays intact: consult the selected skill rather than
199
+ merging multiple mandatory ladders. All lenses already carry shared project memory
200
+ (\`memory.md\`); another installation is not needed for cross-domain recall.
211
201
  This file is NOT auto-loaded by any client: it is a note for you, deliberately additive.
212
- Delete it once the merge is done.
202
+ Delete this note once the routing pointer is integrated.
213
203
  `, 'multi-lens routing note');
214
204
  if (wrote && protocolPreexisting) {
215
205
  console.log(' ⚠️ A protocol pointer already existed and was NOT overwritten.');
216
- console.log(` Merge the ${SELF_LENS}-lens ladder from AGENTIC_MULTI_LENS.md into it by hand.`);
206
+ console.log(' Integrate the routing pointer from AGENTIC_MULTI_LENS.md; keep one risk scale per unit.');
217
207
  }
218
208
  }
219
209
 
@@ -14,17 +14,17 @@ python "<skill_dir>/scripts/mkt_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/mkt_check.py` (the entry point) **and** `scripts/sdlc_core.py` (the shared core it imports) — keeping them side by side, e.g. `tools/mkt_check.py` + `tools/sdlc_core.py`. Then add to the pipeline:
17
+ Copy all three validator files into the repository: `scripts/mkt_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/mkt_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 `mkt_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: mkt-agentic-sdlc
3
- version: 0.12.0
3
+ version: 0.14.0
4
4
  description: Evidence-First marketing planning protocol with engagement triage, SOSTAC workflow, evidence ledger, adversarial CMO review, a complete Standalone mode and optional symbiosis with devPNT. Use for marketing plans, go-to-market strategy, campaign planning and market research.
5
5
  author: Antonio Pinto (https://github.com/Antoneeo)
6
6
  copyright: (c) 2026 Antonio Pinto
@@ -17,7 +17,7 @@ Support files in the skill directory:
17
17
  - `research.md`: the research playbook and the evidence ledger discipline.
18
18
  - `templates.md`: templates for every artifact and deliverable.
19
19
  - `review.md`: the family's shared review discipline (independence ladder, rounds, log). The marketing-specific attack surface — swap test, untraced numbers, orphan tactics, missing kill/scale — lives in `frameworks.md`'s falsification rules; the adversarial CMO review applies them through `review.md`'s procedure.
20
- - `scripts/mkt_check.py` + `scripts/sdlc_core.py`: the mechanical validator (`check`, `validate`, `ledger`, `benefit`, `budget`, `funnel`, `trace`, `index`, plus the spine's `stale`/`mark`/`gate`/`orient`/`plan`/`migrate`). Two files: the core is the family's shared spine, the entry point is this domain's overlay. Copy both, or neither.
20
+ - `scripts/mkt_check.py` + `scripts/sdlc_core.py`: the mechanical validator (`check`, `validate`, `ledger`, `benefit`, `budget`, `funnel`, `trace`, `index`, plus the spine's `stale`/`mark`/`gate`/`orient`/`plan`/`migrate`). Keep the entry point, `scripts/sdlc_core.py` and `scripts/knowledge.py` together; the last supplies common memory and KB integrity.
21
21
  - `hybrid.md`: the devPNT seam — the authoritative hierarchy, the ownership matrix (which artifact is mastered where), and the Hybrid rules. Read it when the `devpnt_*` tools point at this project; a Standalone engagement never needs it.
22
22
  - `ENFORCEMENT.md`: optional setup for CI and hooks.
23
23
 
@@ -40,6 +40,14 @@ No process guarantees market success, and this skill never claims one. What it g
40
40
 
41
41
  If a strategic choice looks obvious but you cannot trace it to evidence, research first.
42
42
 
43
+ ## Shared project memory
44
+
45
+ Project memory is available by default, independently of installed sibling lenses.
46
+ Read `memory.md` for the common consult/capture contract during orientation and
47
+ closure. Use `recall` for cross-domain discovery; `index` registers original guides,
48
+ plans and decisions without copying them. One owner still governs each unit.
49
+ The validator now ships as three files: entry point, `sdlc_core.py`, `knowledge.py`.
50
+
43
51
  ## Rule Zero: Triage
44
52
 
45
53
 
@@ -57,7 +65,7 @@ Always classify the request before choosing the process. Declare the chosen leve
57
65
  | **Research Spike** | Time-boxed market question that reduces uncertainty ("is there demand for X in market Y?") | Outcome in `mkt_docs/spikes/RESEARCH_[topic].md`. Ledger discipline applies. For strategy decisions, feed into E2/E3. |
58
66
 
59
67
  Cross-cutting rules:
60
- - Every question to the user passes the legality test of the question discipline (`elicitation.md`): searched first with the search named, and the blocked decision named. The waves are where asking is planned; outside them the test gates each ask.
68
+ - A real doubt is asked when it emerges, before its answer is written; every question passes the legality test of the question discipline (`elicitation.md`): searched first with the search named, and the blocked decision named. The waves are where asking is planned; outside them the test gates each ask.
61
69
  - Anything touching pricing strategy, brand repositioning, or a new market entry is never E1: those decisions cascade.
62
70
  - If a bigger scope emerges during E1/E2 work (e.g. the campaign reveals there is no positioning), stop, reclassify and declare it.
63
71
  - When in doubt, pick the higher level.
@@ -26,7 +26,11 @@ without an E-ISP.
26
26
  - `sdlc_check.py plan brief PLAN_[feature].md --task <id>` — prints the
27
27
  task block, the `produces` of prior-order tasks (interfaces), and
28
28
  `guides` pointers (paths, never pasted content) to stdout.
29
- - Spawn the subagent with that brief as its entire context window.
29
+ - Spawn the subagent with that brief plus the return-doubts line as its
30
+ entire context window. The line: "An open point whose answer changes the
31
+ work is not yours to decide: return it in your final output with what you
32
+ searched." The orchestrator treats them as its own candidate doubts
33
+ (`elicitation.md` §When a doubt emerges).
30
34
  - Run `task.verify` out of band (the orchestrator executes it — the
31
35
  validator only ever prints it, never runs it) plus the one-shot review
32
36
  below.