@pareto4/pp-core 1.7.1 → 1.8.1

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.
Files changed (51) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/bin/install.js +197 -81
  3. package/commands/pp-build-handoff.md +8 -2
  4. package/commands/pp-discovery-to-build.md +40 -0
  5. package/commands/pp-ns-project.md +3 -1
  6. package/gemini-extension.json +1 -1
  7. package/package.json +2 -1
  8. package/pareto-skills/_shared/create-project-board.sh +195 -0
  9. package/pareto-skills/_shared/pp-claude-md-protocol.md +306 -0
  10. package/pareto-skills/_shared/sync-phase-status.sh +139 -0
  11. package/pareto-skills/pp-brand/SKILL.md +644 -0
  12. package/pareto-skills/pp-brand/assets/crew/ParetoAgent.inline.html +120 -0
  13. package/pareto-skills/pp-brand/assets/crew/ParetoAgent.tsx +239 -0
  14. package/pareto-skills/pp-brand/assets/crew/build.svg +11 -0
  15. package/pareto-skills/pp-brand/assets/crew/deploy.svg +11 -0
  16. package/pareto-skills/pp-brand/assets/crew/discovery.svg +11 -0
  17. package/pareto-skills/pp-brand/assets/crew/plan.svg +11 -0
  18. package/pareto-skills/pp-brand/assets/crew/run.svg +11 -0
  19. package/pareto-skills/pp-brand/assets/crew/validate.svg +11 -0
  20. package/pareto-skills/pp-brand/assets/pareto-brand-preview.html +547 -0
  21. package/pareto-skills/pp-obsidian-notes/SKILL.md +127 -0
  22. package/pareto-skills/pp-obsidian-notes/templates/CLAUDE.md +29 -0
  23. package/pareto-skills/pp-obsidian-notes/templates/client-context.md +116 -0
  24. package/pareto-skills/pp-obsidian-notes/templates/meeting-note.md +66 -0
  25. package/pareto-skills/pp-obsidian-notes/templates/pareto-context.md +102 -0
  26. package/pareto-skills/pp-obsidian-notes/templates/proposal.md +117 -0
  27. package/pareto-skills/pp-project-setup/SKILL.md +1364 -0
  28. package/pp-core/bin/lib/clusters.cjs +4 -0
  29. package/pp-core/bin/lib/intel.cjs +1 -1
  30. package/pp-core/bin/lib/io.cjs +120 -0
  31. package/pp-core/bin/lib/profile-pipeline-command-router.cjs +1 -1
  32. package/pp-core/bin/lib/roadmap-parser.cjs +1 -1
  33. package/pp-core/bin/lib/runtime-artifact-conversion.cjs +2 -2
  34. package/pp-core/bin/lib/surface.cjs +1 -1
  35. package/pp-core/bin/lib/worktree-safety.cjs +2 -2
  36. package/pp-core/bin/pp-tools.cjs +23 -0
  37. package/pp-core/references/ui-brand.md +73 -11
  38. package/pp-core/templates/codebase/structure.md +5 -5
  39. package/pp-core/templates/spec.md +7 -7
  40. package/pp-core/workflows/add-backlog.md +1 -1
  41. package/pp-core/workflows/autonomous.md +4 -4
  42. package/pp-core/workflows/debug.md +1 -1
  43. package/pp-core/workflows/{build-handoff.md → discovery-to-build.md} +6 -3
  44. package/pp-core/workflows/execute-phase.md +9 -1
  45. package/pp-core/workflows/plan-phase.md +14 -12
  46. package/pp-core/workflows/pr-branch.md +5 -4
  47. package/pp-core/workflows/reapply-patches.md +1 -1
  48. package/pp-core/workflows/ship.md +1 -1
  49. package/pp-core/workflows/thread.md +1 -1
  50. package/pp-core/workflows/verify-work.md +6 -5
  51. package/scripts/lint-allow-test-rule-refs.allowlist.json +1 -0
@@ -1,6 +1,6 @@
1
1
  # Reapply Local Patches Workflow
2
2
 
3
- Invoked by `/pp:update --reapply` (`commands/gsd/update.md`).
3
+ Invoked by `/pp:update --reapply` (`commands/pp-update.md`).
4
4
 
5
5
  After a pp-core update wipes and reinstalls files, this workflow merges user's previously saved local modifications back into the new version. Uses three-way comparison (pristine baseline, user-modified backup, newly installed version) to reliably distinguish user customizations from version drift.
6
6
 
@@ -442,7 +442,7 @@ Read the `activeHooks` array directly from `SHIP_POST_HOOKS_JSON` in-context (do
442
442
  ```
443
443
 
444
444
  `Agent(subagent_type=ref.agent, prompt="Ship-time capability hook for phase ${PHASE_NUMBER}. Phase dir: ${PHASE_DIR}. Consume: ${consumed_files}. Follow your agent instructions.", model="{balanced_model}")`
445
- - If `ref.skill` is set, apply **prefix-aware resolution**: if `ref.skill` already begins with a runtime-resolvable stem (e.g. `pareto-`), dispatch it verbatim with no phase/workspace args — `Skill(skill=ref.skill)` — because the skill handles its own invocation (e.g. `pareto-sync-board` triggers bare). Otherwise, fall back to the existing stem behavior: `Skill(skill="gsd-${ref.skill}", args="${PHASE_NUMBER} --auto ${GSD_WS}")`. This prevents a `pareto-` skill from being incorrectly prefixed to a non-existent `gsd-pareto-*` name.
445
+ - If `ref.skill` is set, apply **prefix-aware resolution**: if `ref.skill` already begins with a runtime-resolvable stem (e.g. `pareto-`), dispatch it verbatim with no phase/workspace args — `Skill(skill=ref.skill)` — because the skill handles its own invocation (e.g. `pareto-sync-board` triggers bare). Otherwise, fall back to the existing stem behavior: `Skill(skill="pp-${ref.skill}", args="${PHASE_NUMBER} --auto ${GSD_WS}")`. This prevents a `pareto-` skill from being incorrectly prefixed to a non-existent `pp-pareto-*` name.
446
446
 
447
447
  Each dispatch is best-effort: if it errors, record a warning and continue — never re-raise (`onError: skip`).
448
448
  </step>
@@ -1,6 +1,6 @@
1
1
  # Thread Workflow
2
2
 
3
- Invoked by `/pp:thread` (`commands/gsd/thread.md`).
3
+ Invoked by `/pp:thread` (`commands/pp-thread.md`).
4
4
 
5
5
  Create, list, close, or resume persistent context threads for cross-session work.
6
6
 
@@ -467,7 +467,7 @@ Resolve active step hooks from `VERIFY_POST_HOOKS_JSON` where `kind == "step"` a
467
467
  If an active secure-phase step hook exists AND `SECURITY_FILE` is empty, dispatch the registry-provided skill stem:
468
468
 
469
469
  ```
470
- Skill(skill="gsd-${ref.skill}", args="{phase}")
470
+ Skill(skill="pp-${ref.skill}", args="{phase}")
471
471
  ```
472
472
 
473
473
  After the skill returns, refresh `SECURITY_FILE`:
@@ -619,12 +619,13 @@ On return:
619
619
  <step name="verify_gap_plans">
620
620
  **Verify fix plans with checker:**
621
621
 
622
- Display:
622
+ Run this Bash command to emit the branded Validate stage banner (renders on stderr, auto-degrades on non-TTY — do NOT print an inline ASCII banner, that would double-print):
623
+ ```bash
624
+ pp_run banner validate "VERIFYING"
623
625
  ```
624
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
625
- pp-core ► VERIFYING FIX PLANS
626
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
627
626
 
627
+ Then announce the spawn:
628
+ ```
628
629
  ◆ Spawning plan checker... (runs in a subagent — no output until it returns, ~1–5 min; expected, not a freeze)
629
630
  ```
630
631
 
@@ -260,6 +260,7 @@
260
260
  "tests/orphaned-hooks.test.cjs :: structural-regression-guard",
261
261
  "tests/package-legitimacy-gate.test.cjs :: source-text-is-the-product",
262
262
  "tests/parallel-dependent-plans.test.cjs :: source-text-is-the-product",
263
+ "tests/pareto-skill-bundle.install.test.cjs :: source-text-is-the-product",
263
264
  "tests/path-replacement.test.cjs :: source-text-is-the-product",
264
265
  "tests/phase-dependency-levels.test.cjs :: source-text-is-the-product",
265
266
  "tests/phase.test.cjs :: source-text-is-the-product",