peaks-cli 1.2.8 → 1.3.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/README.md +12 -0
- package/dist/src/cli/commands/project-commands.js +1 -1
- package/dist/src/cli/commands/scan-commands.js +22 -0
- package/dist/src/cli/commands/workspace-commands.js +59 -1
- package/dist/src/services/memory/project-memory-service.d.ts +1 -1
- package/dist/src/services/memory/project-memory-service.js +52 -23
- package/dist/src/services/sc/sc-service.d.ts +52 -1
- package/dist/src/services/sc/sc-service.js +266 -17
- package/dist/src/services/scan/libraries-service.d.ts +24 -0
- package/dist/src/services/scan/libraries-service.js +419 -0
- package/dist/src/services/scan/libraries-types.d.ts +59 -0
- package/dist/src/services/scan/libraries-types.js +9 -0
- package/dist/src/services/session/session-manager.d.ts +7 -5
- package/dist/src/services/session/session-manager.js +48 -14
- package/dist/src/services/skills/skill-presence-service.js +102 -68
- package/dist/src/services/skills/skill-runbook-service.js +36 -2
- package/dist/src/services/skills/skill-statusline-service.js +13 -7
- package/dist/src/services/workflow/autonomous-resume-writer.js +7 -7
- package/dist/src/services/workspace/reconcile-service.d.ts +119 -0
- package/dist/src/services/workspace/reconcile-service.js +464 -0
- package/dist/src/services/workspace/reconcile-types.d.ts +93 -0
- package/dist/src/services/workspace/reconcile-types.js +13 -0
- package/dist/src/shared/change-id.d.ts +30 -0
- package/dist/src/shared/change-id.js +40 -6
- package/dist/src/shared/paths.d.ts +1 -1
- package/dist/src/shared/paths.js +2 -1
- package/dist/src/shared/version.d.ts +1 -1
- package/dist/src/shared/version.js +1 -1
- package/package.json +4 -1
- package/schemas/library-breaking-changes.data.json +141 -0
- package/schemas/library-breaking-changes.meta.json +6 -0
- package/schemas/library-breaking-changes.schema.json +50 -0
- package/skills/peaks-qa/SKILL.md +12 -0
- package/skills/peaks-rd/SKILL.md +145 -2
- package/skills/peaks-solo/SKILL.md +93 -319
- package/skills/peaks-solo/references/runbook.md +168 -0
- package/skills/peaks-solo/references/workflow-gates-and-types.md +177 -0
- package/skills/peaks-solo-resume/SKILL.md +81 -0
- package/skills/peaks-solo-status/SKILL.md +120 -0
- package/skills/peaks-solo-test/SKILL.md +84 -0
- package/skills/peaks-txt/SKILL.md +8 -5
|
@@ -107,17 +107,19 @@ Each entry should include:
|
|
|
107
107
|
|
|
108
108
|
## Project memory guidance
|
|
109
109
|
|
|
110
|
-
When a skill artifact contains reusable project facts, decisions, rules,
|
|
110
|
+
When a skill artifact contains reusable project facts, decisions, rules, constraints, **or LLM-discovered runtime lessons**, mark only the stable extract with:
|
|
111
111
|
|
|
112
112
|
```markdown
|
|
113
113
|
<!-- peaks-memory:start -->
|
|
114
114
|
title: Short project memory title
|
|
115
|
-
kind: project
|
|
115
|
+
kind: project | decision | convention | rule | reference | module | lesson
|
|
116
116
|
---
|
|
117
117
|
Stable memory body.
|
|
118
118
|
<!-- peaks-memory:end -->
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
+
The `lesson` kind is specifically for **runtime observations the LLM made during work** (e.g. "this project's antv6 Drawer uses `size` not `width`"; "this codebase imports test helpers from `src/test-utils/` not `__mocks__/`"). Lessons are loaded by `peaks project memories` as `HOT` so they appear in every future RD preflight.
|
|
122
|
+
|
|
121
123
|
The primary write target is the target project's `.peaks/memory`. Use `peaks memory extract --project <path> --artifact <artifact> --apply` to write durable project memories; omit `--apply` to preview without writing.
|
|
122
124
|
|
|
123
125
|
## Matt Pocock skills integration
|
|
@@ -191,12 +193,13 @@ peaks understand show --project <repo> --json
|
|
|
191
193
|
peaks capabilities --json
|
|
192
194
|
|
|
193
195
|
# 5. Write the handoff capsule (see template above), then embed memory markers
|
|
194
|
-
# For each stable project fact, decision, rule, or
|
|
195
|
-
# append a <!-- peaks-memory:start -->
|
|
196
|
+
# For each stable project fact, decision, rule, convention, or LLM-discovered
|
|
197
|
+
# runtime LESSON discovered this session, append a <!-- peaks-memory:start -->
|
|
198
|
+
# block inside the capsule body:
|
|
196
199
|
#
|
|
197
200
|
# <!-- peaks-memory:start -->
|
|
198
201
|
# title: Short project memory title
|
|
199
|
-
# kind: project | decision | convention | rule | reference | module
|
|
202
|
+
# kind: project | decision | convention | rule | reference | module | lesson
|
|
200
203
|
# ---
|
|
201
204
|
# Stable memory body. Concrete facts only — no secrets, no transient state.
|
|
202
205
|
# <!-- peaks-memory:end -->
|