@pareto4/pp-core 1.8.2 → 1.9.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pp-core",
3
3
  "displayName": "PP Core",
4
- "version": "1.8.2",
4
+ "version": "1.9.0",
5
5
  "description": "PP Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.",
6
6
  "author": {
7
7
  "name": "pareto4",
package/README.md CHANGED
@@ -75,6 +75,9 @@ New here? Follow [Your first project](docs/tutorials/your-first-project.md) for
75
75
  - [The phase loop](docs/explanation/the-phase-loop.md)
76
76
  - [Architecture](docs/ARCHITECTURE.md)
77
77
 
78
+ **No lock-in** — pp-core never ships inside the app it helps you build:
79
+ - [Escape hatch](docs/ESCAPE-HATCH.md)
80
+
78
81
  Full index: [docs/README.md](docs/README.md).
79
82
 
80
83
  ---
package/bin/install.js CHANGED
@@ -7055,7 +7055,15 @@ function _removeGsdEntries(destDir, kind) {
7055
7055
  return;
7056
7056
  }
7057
7057
  for (const entry of fs.readdirSync(destDir, { withFileTypes: true })) {
7058
- if (!entry.name.startsWith(kind.prefix)) continue;
7058
+ // Match both the current kind.prefix (now always 'pp-') AND the legacy
7059
+ // 'gsd-' prefix, so a reinstall also prunes stale pre-1.8.0 gsd-<stem>
7060
+ // directories left over from before the pp- rename (#3810/D-13/D-14).
7061
+ // `kind.prefix &&` guards against the empty-string prefix, which is
7062
+ // handled by the whole-namespace early-return above and never reaches
7063
+ // this loop today — defensive only.
7064
+ const matchesCurrentPrefix = kind.prefix && entry.name.startsWith(kind.prefix);
7065
+ const matchesLegacyPrefix = entry.name.startsWith('gsd-');
7066
+ if (!matchesCurrentPrefix && !matchesLegacyPrefix) continue;
7059
7067
  fs.rmSync(path.join(destDir, entry.name), { recursive: true, force: true });
7060
7068
  }
7061
7069
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pp-core",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "description": "PP Core — a meta-prompting, context engineering, and spec-driven development system for AI coding agents. Loads pp-core's operating context into every Gemini CLI session.",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pareto4/pp-core",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "description": "Pareto pp-core — The Pareto Project's AI-assisted engineering framework: meta-prompting, context engineering, and spec-driven development for AI coding agents.",
5
5
  "bin": {
6
6
  "pp-core": "bin/install.js",
@@ -52,7 +52,7 @@
52
52
  "npm": ">=10.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@anthropic-ai/claude-agent-sdk": "^0.2.84",
55
+ "@anthropic-ai/claude-agent-sdk": "^0.3.218",
56
56
  "ws": "^8.21.0"
57
57
  },
58
58
  "devDependencies": {
@@ -70,7 +70,8 @@
70
70
  "typescript-eslint": "^8.60.0"
71
71
  },
72
72
  "overrides": {
73
- "qs": ">=6.15.2"
73
+ "qs": ">=6.15.2",
74
+ "@hono/node-server": ">=2.0.5"
74
75
  },
75
76
  "optionalDependencies": {
76
77
  "fallow": "^2.70.0"
@@ -107,6 +108,8 @@
107
108
  "lint:changeset": "node scripts/changeset/lint.cjs",
108
109
  "lint:docs": "node scripts/lint-docs-required.cjs",
109
110
  "lint:legacy-name": "node scripts/lint-legacy-dir-name.cjs",
111
+ "rename-guard": "node scripts/verify-rename-guard.cjs",
112
+ "rename-guard:baseline": "node scripts/verify-rename-guard.cjs --update-baseline",
110
113
  "ci:test-scope": "node scripts/ci-test-scope.cjs",
111
114
  "size:baseline": "node scripts/update-size-baseline.cjs",
112
115
  "changeset": "node scripts/changeset/new.cjs",
@@ -6,29 +6,29 @@ description: >
6
6
  "new project", "start a project", "create a repo", "set up a client project",
7
7
  "new engagement", or "initialise a project". This skill runs a wizard
8
8
  that collects project and client context, then automates: GitHub repo creation (via gh CLI),
9
- Discovery Sprint framework (13 interactive session templates + methodology guide),
10
- Obsidian vault configuration, requirements templates, GitHub project board setup,
11
- and an initial commit pushed to GitHub — leaving the team ready to start Discovery immediately.
9
+ Obsidian vault configuration, requirements templates, project definition template,
10
+ GitHub project board setup, and an initial commit pushed to GitHub — leaving the team
11
+ ready to start the Discovery Sprint (via `/pp-discovery 1`) immediately.
12
12
  Trigger even for vague requests like "let's start a new project" or "new client, new repo".
13
13
  ---
14
14
 
15
15
  # Pareto Project Setup Skill
16
16
  ## From Zero to Discovery — Fully Automated
17
17
 
18
- This skill bootstraps a new Pareto project with a complete Discovery Sprint framework.
18
+ This skill bootstraps a new Pareto project and hands it off to `/pp-discovery` to run the Discovery Sprint.
19
19
 
20
20
  **What it delivers:**
21
21
  - GitHub repository created and configured
22
- - Discovery Sprint framework (13 interactive session templates + methodology guide)
23
22
  - Prototype folder structure (interactive HTML prototype, created during Discovery after Session 4)
24
23
  - Obsidian vault configured for project documentation
25
24
  - Requirements templates (functional requirements, user stories, test cases)
26
25
  - Project Definition template
27
26
  - GitHub project board with labels, milestone, and custom fields
28
27
  - Initial commit pushed to GitHub
29
- - Team ready to start Discovery Sprint immediately
28
+ - Team ready to run `/pp-discovery 1` and start the Discovery Sprint immediately
30
29
 
31
30
  **What it does NOT do:**
31
+ - Discovery Sprint facilitation — `/pp-discovery` is the sole, self-sufficient session source (it bootstraps its own `.planning/discovery/_progress.md` and `_context.md`); this skill does not scaffold a `Discovery/` tree or a Sessions Guide
32
32
  - Application scaffolding (backend/frontend code) — do this after Discovery, when the stack is confirmed
33
33
  - CI/CD pipeline setup — use `pareto-cicd-setup` after the application is scaffolded
34
34
  - Deployment setup — use `pareto-deploy-setup` when ready for staging/production
@@ -120,12 +120,13 @@ Summarise everything before running any commands:
120
120
  >
121
121
  > I'll:
122
122
  > 1. Create the GitHub repo
123
- > 2. Scaffold the project structure (Discovery + requirements + docs)
124
- > 3. Set up Discovery Sprint framework (13 session templates + methodology guide)
123
+ > 2. Scaffold the project structure (requirements + docs + prototype)
124
+ > 3. Set up the Project Definition and requirements templates
125
125
  > 4. Configure Obsidian vault for project documentation
126
- > 5. Set up requirements templates
127
- > 6. Configure GitHub project board, labels, and milestone
128
- > 7. Push the initial commit to GitHub
126
+ > 5. Configure GitHub project board, labels, and milestone
127
+ > 6. Push the initial commit to GitHub
128
+ >
129
+ > You'll then run `/pp-discovery 1` to start the Discovery Sprint.
129
130
  >
130
131
  > Ready to go?"
131
132
 
@@ -152,7 +153,6 @@ cd [PROJECT_NAME]
152
153
 
153
154
  ```bash
154
155
  mkdir -p \
155
- Discovery \
156
156
  prototype/src/components \
157
157
  prototype/src/pages \
158
158
  prototype/src/styles \
@@ -164,417 +164,15 @@ mkdir -p \
164
164
  .obsidian
165
165
  ```
166
166
 
167
- #### 4c. Scaffold Discovery Framework
168
-
169
- Generate all discovery, requirements, and project definition files. These are **interactive facilitation templates** — by working through all 13 sessions via guided Q&A, the team produces a comprehensive project definition, prioritized backlog, architecture decisions, and go/no-go assessment.
170
-
171
- **Generation order:** Guide first → tracking files → session files → Project Definition → requirements.
172
-
173
- ##### 4c.1 Discovery Sessions Guide
174
-
175
- Generate `[PROJECT_NAME]-Discovery-Sessions-Guide.md` in the project root.
176
-
177
- This is the **complete Discovery Sprint methodology guide** containing all 13 session definitions. Generate the full guide with this structure:
178
-
179
- - **Title:** `# [PROJECT_NAME] Discovery Sprint Sessions Guide`
180
- - **Version:** 1.0, **Date:** current month and year
181
- - **Overview:** What is the Discovery Sprint, what it focuses on, expected outcome
182
- - **Session Schedule:** Overview table (all 13 sessions) + example 2-week schedule
183
- - **4 Parts with full session definitions:**
184
-
185
- | Part | Sessions | Category |
186
- |------|----------|----------|
187
- | Part 1: Introduction & Closure | 1, 13 | Kick-off and Wrap-up |
188
- | Part 2: Business Functional | 2, 3, 4 | As-Is, To-Be, UX |
189
- | Part 3: Technical | 5, 6, 7, 8, 9, 10 | Architecture, Security, Identity, Integration, QA, Infrastructure |
190
- | Part 4: Governance & Costs | 11, 12 | Roadmap, Team & Delivery |
191
-
192
- Each session section **must** include:
193
- 1. **Goal** — what this session achieves
194
- 2. **What We Cover** — numbered topic list with guiding questions (these drive the Q&A dialog)
195
- 3. **Pre-requisites** — checklist of what's needed before starting
196
- 4. **Outcomes / Deliverables** — checklist of what the session produces
197
- 5. **Agenda Template** — time-boxed topic table
198
- 6. **Notes Template** — structured tables for capturing session outputs (these are the key interactive elements — each table becomes a worksheet to fill in)
199
-
200
- End with:
201
- - **Deliverables Checklist** (Project Definition Document + Supporting Artifacts + Prioritized Product Backlog)
202
- - **How to Use This Guide** section
203
-
204
- **Reference the complete session definitions from the Pareto Discovery Sprint methodology (see 21Assets Discovery Sessions Guide for the canonical structure).**
205
-
206
- ##### 4c.2 Cross-Session Context File
207
-
208
- Generate `Discovery/_context.md`:
209
-
210
- ```markdown
211
- # Cross-Session Context — [PROJECT_NAME]
212
-
213
- This file accumulates key outputs from each completed session to provide context for subsequent sessions. It is automatically maintained as sessions are completed.
214
-
215
- ---
216
-
217
- ## Session 1: Kick-off Outputs
218
- _Populated after Session 1 completion_
219
-
220
- ### Project Context
221
- <!-- Notes about the rationale and context -->
222
-
223
- ### Business Vision
224
- <!-- Business vision summary, KPIs -->
225
-
226
- ### Stakeholders
227
- <!-- Key stakeholder list with roles -->
228
-
229
- ### Discovery Sprint Scope
230
- **In Scope:**
231
- -
232
-
233
- **Out of Scope:**
234
- -
235
-
236
- ---
237
-
238
- ## Session 2: As-Is Outputs
239
- _Populated after Session 2 completion_
240
-
241
- ### Core Processes
242
- <!-- Current business processes -->
243
-
244
- ### Pain Points
245
- <!-- Prioritized pain points -->
246
-
247
- ### User Personas
248
- <!-- Key personas and their journeys -->
249
-
250
- ### Current Systems
251
- <!-- Systems landscape -->
252
-
253
- ### Data Flows
254
- <!-- How information moves today -->
255
-
256
- ---
257
-
258
- ## Session 3: To-Be Outputs
259
- _Populated after Session 3 completion_
260
-
261
- ### Business Objectives
262
- <!-- Measurable outcomes and KPIs -->
263
-
264
- ### MVP Scope
265
- <!-- What's in/out for MVP -->
266
-
267
- ### EPICs Summary
268
- <!-- EPIC registry table -->
269
-
270
- ### User Stories Summary
271
- <!-- Story count and distribution -->
272
-
273
- ### Requirements Summary
274
- <!-- FR, NFR, BR counts -->
275
-
276
- ---
277
-
278
- ## Session 4: UX Design Outputs
279
- _Populated after Session 4 completion_
280
-
281
- ### Design Principles
282
- <!-- Numbered design principles -->
283
-
284
- ### UX Standards
285
- <!-- Platform, navigation, language, accessibility -->
286
-
287
- ### Key Personas (Refined)
288
- <!-- Persona categories and interaction patterns -->
289
-
290
- ### Key Screen Decisions
291
- <!-- Screen layout decisions -->
292
-
293
- ---
294
-
295
- ## Session 5: Architecture Outputs
296
- _Populated after Session 5 completion_
297
-
298
- ### Target Architecture
299
- <!-- Platform, architecture style, ownership -->
300
-
301
- ### Technology Stack
302
- <!-- Full stack listing -->
303
-
304
- ### Key Components
305
- <!-- Module/component list -->
306
-
307
- ### Integration Points
308
- <!-- External system integrations -->
309
-
310
- ### ADRs
311
- <!-- Architecture Decision Records -->
312
-
313
- ---
314
-
315
- ## Session 6: Security Outputs
316
- _Populated after Session 6 completion_
317
-
318
- ### Data Classification
319
- <!-- Data sensitivity levels -->
320
-
321
- ### Compliance Framework
322
- <!-- Standards and regulations -->
323
-
324
- ### Encryption
325
- <!-- In-transit, at-rest, key management -->
326
-
327
- ### Network & Access
328
- <!-- Network security approach -->
329
-
330
- ### Audit Logging
331
- <!-- Logging strategy and retention -->
332
-
333
- ### Availability
334
- <!-- SLA targets -->
335
-
336
- ---
337
-
338
- ## Session 7: Identity Management Outputs
339
- _Populated after Session 7 completion_
340
-
341
- ### RBAC Model
342
- <!-- Roles and permissions summary -->
343
-
344
- ### IdP Integration
345
- <!-- Identity provider details -->
346
-
347
- ### User Lifecycle
348
- <!-- Provisioning approach -->
349
-
350
- ---
351
-
352
- ## Session 8: Integration Outputs
353
- _Populated after Session 8 completion_
167
+ Discovery Sprint artifacts are not scaffolded here — `/pp-discovery` creates `.planning/discovery/` itself on first run (session files, `_progress.md`, `_context.md`).
354
168
 
355
- ### External Systems
356
- <!-- Systems and their interfaces -->
357
-
358
- ### Interface Patterns
359
- <!-- Chosen patterns and protocols -->
360
-
361
- ### Data Exchange
362
- <!-- Key data flows and formats -->
363
-
364
- ---
365
-
366
- ## Session 9: QA Outputs
367
- _Populated after Session 9 completion_
368
-
369
- ### Test Strategy
370
- <!-- Testing approach -->
371
-
372
- ### Tooling
373
- <!-- Test management and automation tools -->
374
-
375
- ### Test Environments
376
- <!-- Environment list and purposes -->
377
-
378
- ### Quality Gates
379
- <!-- Gate definitions -->
380
-
381
- ### UAT
382
- <!-- UAT participants, period, criteria -->
383
-
384
- ---
385
-
386
- ## Session 10: Infrastructure Outputs
387
- _Populated after Session 10 completion_
388
-
389
- ### Infrastructure
390
- <!-- Cloud/hosting setup -->
391
-
392
- ### Deployment
393
- <!-- Deployment strategy -->
394
-
395
- ### Monitoring
396
- <!-- Monitoring and alerting approach -->
397
-
398
- ### Backup & DR
399
- <!-- Backup and disaster recovery -->
400
-
401
- ### Go-Live Readiness
402
- <!-- Readiness checklist status -->
403
-
404
- ---
405
-
406
- ## Session 11: Roadmap Outputs
407
- _Populated after Session 11 completion_
408
-
409
- ### Project Phases
410
- <!-- Phase breakdown -->
411
-
412
- ### Timeline
413
- <!-- Sprint cadence and key dates -->
414
-
415
- ### MVP Scope (Confirmed)
416
- <!-- Must-have vs nice-to-have -->
417
-
418
- ### Build Order
419
- <!-- Sprint-by-sprint plan -->
420
-
421
- ### Key Milestones
422
- <!-- Milestone dates -->
423
-
424
- ### Risks
425
- <!-- Top risks and mitigations -->
426
-
427
- ---
428
-
429
- ## Session 12: Delivery Model Outputs
430
- _Populated after Session 12 completion_
431
-
432
- ### Team Structure
433
- <!-- Key roles and people -->
434
-
435
- ### Governance
436
- <!-- Governance framework summary -->
437
-
438
- ### Ceremonies
439
- <!-- Sprint cadence and meetings -->
440
-
441
- ### Support Model
442
- <!-- Post-go-live support approach -->
443
-
444
- ---
445
-
446
- ## Session 13: Wrap-up Outputs
447
- _Populated after Session 13 completion_
448
-
449
- ### Decision Readiness
450
- <!-- Go / Conditional Go / No-Go assessment -->
451
-
452
- ### Open Items
453
- <!-- Items carried forward -->
454
-
455
- ### Next Steps
456
- <!-- Transition plan to execution -->
457
- ```
458
-
459
- ##### 4c.3 Progress Tracker
460
-
461
- Generate `Discovery/_progress.md`:
462
-
463
- ```markdown
464
- # Discovery Sprint Progress — [PROJECT_NAME]
465
-
466
- **Project:** [PROJECT_NAME]
467
- **Client:** [CLIENT_NAME]
468
- **Created:** [today's date]
469
- **Last Updated:** [today's date]
470
- **Overall Status:** Not Started
471
-
472
- ---
473
-
474
- ## Session Progress
475
-
476
- | # | Session | Category | Status | Started | Completed | Score | Notes |
477
- |---|---------|----------|--------|---------|-----------|-------|-------|
478
- | 1 | Discovery Sprint Kick-off | Introduction & Closure | Not Started | | | | |
479
- | 2 | Business Process Mapping (As-Is) | Business Functional | Not Started | | | | |
480
- | 3 | Business Requirements (To-Be) | Business Functional | Not Started | | | | |
481
- | 4 | UX Design Principles | Business Functional | Not Started | | | | |
482
- | 5 | Application & Integration Architecture | Technical | Not Started | | | | |
483
- | 6 | Security & Compliance | Technical | Not Started | | | | |
484
- | 7 | User & Identity Management | Technical | Not Started | | | | |
485
- | 8 | Integration & Interface Design | Technical | Not Started | | | | |
486
- | 9 | QA & Testing Strategy | Technical | Not Started | | | | |
487
- | 10 | Infrastructure & Deployment | Technical | Not Started | | | | |
488
- | 11 | Roadmap & Release Planning | Governance & Costs | Not Started | | | | |
489
- | 12 | Team & Delivery Model | Governance & Costs | Not Started | | | | |
490
- | 13 | Discovery Sprint Wrap-up | Introduction & Closure | Not Started | | | | |
491
-
492
- ---
493
-
494
- ## Summary
495
-
496
- - **Completed:** 0/13
497
- - **In Progress:** 0/13
498
- - **Not Started:** 13/13
499
-
500
- ---
501
-
502
- ## Open Action Items
503
-
504
- | Action | From Session | Owner | Due Date | Status |
505
- |--------|-------------|-------|----------|--------|
506
- | | | | | |
507
- ```
508
-
509
- ##### 4c.4 Session Files (13 files)
510
-
511
- Generate one file per session in the `Discovery/` folder. Use this **session registry** for metadata:
512
-
513
- | # | Filename | Session Name | Category | Duration | Dependencies |
514
- |---|----------|-------------|----------|----------|-------------|
515
- | 1 | `01-discovery-sprint-kickoff.md` | Discovery Sprint Kick-off | Introduction & Closure | 2 hours | — |
516
- | 2 | `02-business-process-mapping-as-is.md` | Business Process Mapping (As-Is) | Business Functional | 2-3 hours | 1 |
517
- | 3 | `03-business-requirements-to-be.md` | Business Requirements & Future State (To-Be) | Business Functional | 2-3 hours | 1, 2 |
518
- | 4 | `04-ux-design-principles.md` | UX Design & User Experience Principles | Business Functional | 2-3 hours | 2, 3 |
519
- | 5 | `05-application-integration-architecture.md` | Application & Integration Architecture | Technical | 1.5-2 hours | 1, 2, 3, 4 |
520
- | 6 | `06-security-compliance-setup.md` | Security & Compliance Setup | Technical | 1.5-2 hours | 5 |
521
- | 7 | `07-user-identity-management.md` | User & Identity Management | Technical | 1.5-2 hours | 5, 6 |
522
- | 8 | `08-integration-interface-design.md` | Integration & Interface Design | Technical | 1.5-2 hours | 5 |
523
- | 9 | `09-quality-assurance-testing.md` | Quality Assurance & Testing Strategy | Technical | 1.5-2 hours | 3, 5 |
524
- | 10 | `10-infrastructure-deployment-readiness.md` | Infrastructure & Deployment Readiness | Technical | 1.5-2 hours | 5 |
525
- | 11 | `11-project-roadmap-release-planning.md` | Project Roadmap & Release Planning | Governance & Costs | 1-2 hours | 3, 5, 9 |
526
- | 12 | `12-team-delivery-model.md` | Team & Delivery Model Definition | Governance & Costs | 1-2 hours | 11 |
527
- | 13 | `13-discovery-sprint-wrapup.md` | Discovery Sprint Wrap-up & Next Steps | Introduction & Closure | 2 hours | 1-12 |
528
-
529
- **Each session file must contain:**
530
-
531
- 1. **YAML frontmatter:**
532
- ```yaml
533
- ---
534
- session_number: [N]
535
- session_name: "[Session Name]"
536
- category: "[Category]"
537
- duration: "[Duration]"
538
- dependencies: [list]
539
- status: "Not Started"
540
- project_name: "[PROJECT_NAME]"
541
- started_date: ""
542
- completed_date: ""
543
- completeness_score: 0
544
- ---
545
- ```
546
-
547
- 2. **Title:** `# Session [N] — [Session Name] — [PROJECT_NAME]`
548
-
549
- 3. **Goal section:** The session's purpose — what it achieves and why it matters. This should describe the business value of completing this session.
550
-
551
- 4. **What We Cover section:** Numbered topic list with **guiding questions** under each topic. These are the facilitation prompts that drive the Q&A dialog. For example, Session 1 covers: Project Context (What is happening? What problems?), Business Vision (Desired future state, KPIs), Stakeholders (Who decides? Who provides input?), Discovery Sprint Approach.
552
-
553
- 5. **Pre-requisites:** Checklist of what must be ready before the session starts.
554
-
555
- 6. **Outcomes / Deliverables:** Checklist of concrete outputs this session produces.
556
-
557
- 7. **Notes Template:** The **structured tables** matching the Notes Template from the Discovery Sessions Guide for this specific session. These tables are the key interactive element — they get populated through the Q&A process. Include all relevant tables for the session (e.g., Session 2 has: Core Processes table, User Personas table, Pain Points table, Data Flow table, Current Systems table).
558
-
559
- 8. **Key Decisions table:**
560
- ```markdown
561
- | Decision | Rationale | Owner |
562
- |----------|-----------|-------|
563
- | | | |
564
- ```
565
-
566
- 9. **Action Items table:**
567
- ```markdown
568
- | Action | Owner | Deadline | Status |
569
- |--------|-------|----------|--------|
570
- | | | | |
571
- ```
169
+ #### 4c. Scaffold Project Definition & Requirements Templates
572
170
 
573
- 10. **Footer:** Session date, Duration, Facilitator placeholders.
171
+ Generate the requirements and project definition files. Discovery Sprint facilitation itself — the 13 guided sessions, the `_progress.md`/`_context.md` bootstrap files, and the Notes Template tables — is no longer scaffolded here. `/pp-discovery` is the sole, self-sufficient source for that: it bootstraps `.planning/discovery/_progress.md` and `.planning/discovery/_context.md` itself on first run (see `pp-core/workflows/discovery-sprint.md`'s Bootstrap Templates section). After STEP 4's scaffolding completes, the handoff (STEP 5) tells the team to run `/pp-discovery 1` to begin.
574
172
 
575
- **Reference the Discovery Sessions Guide for the exact content of each session's Goal, What We Cover, and Notes Template sections.**
173
+ **Generation order:** Project Definition → requirements.
576
174
 
577
- ##### 4c.5 Project Definition Template
175
+ ##### 4c.1 Project Definition Template
578
176
 
579
177
  Generate `[PROJECT_NAME]-Project-Definition.md`:
580
178
 
@@ -776,10 +374,10 @@ See [requirements/functional-requirements.md](requirements/functional-requiremen
776
374
 
777
375
  ## 12. Appendices
778
376
 
779
- - [Discovery Sessions Guide]([PROJECT_NAME]-Discovery-Sessions-Guide.md)
780
377
  - [Functional Requirements](requirements/functional-requirements.md)
781
378
  - [User Story Definition Guide](requirements/user-story-definition.md)
782
379
  - [Test Cases](requirements/test-cases.md)
380
+ - Discovery Sprint sessions: `.planning/discovery/session-01.md` … `session-13.md` (run `/pp-discovery 1` to begin)
783
381
 
784
382
  ---
785
383
 
@@ -787,7 +385,7 @@ See [requirements/functional-requirements.md](requirements/functional-requiremen
787
385
  **Generated by:** pareto-project-setup skill
788
386
  ```
789
387
 
790
- ##### 4c.6 Requirements Files
388
+ ##### 4c.2 Requirements Files
791
389
 
792
390
  Generate `requirements/functional-requirements.md`:
793
391
 
@@ -888,7 +486,7 @@ _Test cases are added here as user stories are defined during the Discovery Spri
888
486
  | | | | | | |
889
487
  ```
890
488
 
891
- ##### 4c.7 Prototype README
489
+ ##### 4c.3 Prototype README
892
490
 
893
491
  Generate `prototype/README.md`:
894
492
 
@@ -940,7 +538,7 @@ Open `index.html` in any browser. No build tools or dependencies required.
940
538
  5. **Branded** — uses the customer's brand tokens (colors, typography, logo)
941
539
  ```
942
540
 
943
- ##### 4c.8 Input Documents
541
+ ##### 4c.4 Input Documents
944
542
 
945
543
  Create `Inputs/docs/.gitkeep` (empty file — placeholder for input documents, architecture notes, and reference materials gathered during discovery).
946
544
 
@@ -1117,30 +715,27 @@ Create the following files in the project root:
1117
715
 
1118
716
  ## Discovery Sprint
1119
717
 
1120
- This project includes a complete Discovery Sprint framework. Open this folder in **Obsidian** to start.
718
+ Run `/pp-discovery 1` to begin. `/pp-discovery` facilitates all 13 Discovery Sprint sessions, topic by topic, and writes progress and outputs to `.planning/discovery/` as you go — no separate methodology guide or Obsidian vault navigation is required to run it (Obsidian is still useful for browsing the project's other documentation).
1121
719
 
1122
720
  **How it works:**
1123
- 1. Open the project folder as an Obsidian vault
1124
- 2. Navigate to `Discovery/` and begin with Session 1 (Kick-off)
1125
- 3. Work through all 13 sessions via guided Q&A
1126
- 4. Use `[PROJECT_NAME]-Discovery-Sessions-Guide.md` for facilitation guidance
1127
- 5. Track progress in `Discovery/_progress.md`
721
+ 1. Run `/pp-discovery 1` to start Session 1 (Kick-off)
722
+ 2. Work through all 13 sessions via guided Q&A — resume any time with `/pp-discovery <N>`, or run `/pp-discovery` with no argument to see progress
723
+ 3. Track progress at `.planning/discovery/_progress.md`
1128
724
 
1129
725
  **Outcome:** A validated project definition, prioritized backlog, architecture decisions, and go/no-go assessment.
1130
726
 
1131
727
  | Document | Purpose |
1132
728
  |----------|---------|
1133
- | [Discovery Sessions Guide]([PROJECT_NAME]-Discovery-Sessions-Guide.md) | Full methodology — 13 session definitions |
1134
729
  | [Project Definition]([PROJECT_NAME]-Project-Definition.md) | Consolidated output document |
1135
- | [Discovery/_progress.md](Discovery/_progress.md) | Session progress tracker |
1136
- | [Discovery/_context.md](Discovery/_context.md) | Cross-session context accumulator |
730
+ | `.planning/discovery/_progress.md` | Session progress tracker (created by `/pp-discovery`) |
731
+ | `.planning/discovery/_context.md` | Cross-session context accumulator (created by `/pp-discovery`) |
1137
732
  | [prototype/](prototype/) | Interactive HTML prototype (created after Session 4) |
1138
733
 
1139
734
  ## Project Structure
1140
735
  ```
1141
736
  [PROJECT_NAME]/
1142
737
  .obsidian/ Obsidian vault configuration
1143
- Discovery/ Discovery Sprint — 13 session worksheets
738
+ .planning/discovery/ Discovery Sprint outputs (created by /pp-discovery)
1144
739
  prototype/ Interactive HTML prototype (built during Discovery)
1145
740
  requirements/ Functional requirements, user stories, test cases
1146
741
  Inputs/docs/ Input documents and reference materials
@@ -1297,7 +892,6 @@ web UI (click "New view" → "Board").
1297
892
  git add .
1298
893
  git commit -m "chore: initial project scaffold
1299
894
 
1300
- - Discovery Sprint framework (13 session templates + methodology guide)
1301
895
  - Prototype folder structure (populated after Discovery Session 4)
1302
896
  - Obsidian vault configured
1303
897
  - Requirements templates (functional requirements, user stories, test cases)
@@ -1323,12 +917,10 @@ After successful push, give the developer a clean summary:
1323
917
  > **Repo**: https://github.com/[GITHUB_ORG]/[PROJECT_NAME]
1324
918
  >
1325
919
  > **Next steps — Discovery Sprint (start here):**
1326
- > 1. Open the project folder in **Obsidian** as a vault
1327
- > 2. README.md loads as the landing page
1328
- > 3. Navigate to `Discovery/` and begin **Session 1 (Kick-off)**
1329
- > 4. Use `[PROJECT_NAME]-Discovery-Sessions-Guide.md` for facilitation guidance
1330
- > 5. Track progress in `Discovery/_progress.md`
1331
- > 6. Complete all 13 sessions to produce a validated project definition
920
+ > 1. Run `/pp-discovery 1` to begin **Session 1 (Kick-off)**
921
+ > 2. Work through all 13 sessions via guided Q&A — resume any time with `/pp-discovery <N>`
922
+ > 3. Track progress at `.planning/discovery/_progress.md` (created automatically)
923
+ > 4. Complete all 13 sessions to produce a validated project definition
1332
924
  >
1333
925
  > **Project Board:**
1334
926
  > Open at: https://github.com/users/[GITHUB_ORG]/projects/ (or https://github.com/orgs/[GITHUB_ORG]/projects/)