peaks-cli 1.0.13 → 1.0.15
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/dist/src/cli/commands/core-artifact-commands.js +25 -0
- package/dist/src/cli/commands/project-commands.js +5 -0
- package/dist/src/cli/commands/request-commands.js +1 -1
- package/dist/src/cli/commands/workflow-commands.js +38 -0
- package/dist/src/services/artifacts/request-artifact-service.d.ts +2 -2
- package/dist/src/services/artifacts/request-artifact-service.js +60 -5
- package/dist/src/services/codegraph/codegraph-process-runner.d.ts +2 -0
- package/dist/src/services/codegraph/codegraph-process-runner.js +93 -0
- package/dist/src/services/codegraph/codegraph-service.js +2 -98
- package/dist/src/services/config/config-safety.d.ts +14 -0
- package/dist/src/services/config/config-safety.js +275 -0
- package/dist/src/services/config/config-service.d.ts +1 -1
- package/dist/src/services/config/config-service.js +5 -274
- package/dist/src/services/dashboard/project-dashboard-service.d.ts +11 -0
- package/dist/src/services/dashboard/project-dashboard-service.js +21 -2
- package/dist/src/services/doctor/doctor-service.d.ts +3 -0
- package/dist/src/services/doctor/doctor-service.js +58 -0
- package/dist/src/services/mcp/mcp-scan-service.js +1 -1
- package/dist/src/services/skills/skill-presence-service.d.ts +10 -0
- package/dist/src/services/skills/skill-presence-service.js +54 -0
- package/dist/src/services/skills/skill-runbook-service.js +1 -1
- package/dist/src/services/workflow/autonomous-resume-writer.d.ts +16 -0
- package/dist/src/services/workflow/autonomous-resume-writer.js +156 -0
- package/dist/src/services/workflow/workflow-autonomous-service.js +7 -13
- package/dist/src/shared/version.d.ts +1 -1
- package/dist/src/shared/version.js +1 -1
- package/package.json +1 -1
- package/schemas/doctor-report.schema.json +2 -2
- package/skills/peaks-prd/SKILL.md +12 -0
- package/skills/peaks-qa/SKILL.md +12 -0
- package/skills/peaks-rd/SKILL.md +12 -0
- package/skills/peaks-sc/SKILL.md +12 -0
- package/skills/peaks-solo/SKILL.md +14 -0
- package/skills/peaks-txt/SKILL.md +22 -0
- package/skills/peaks-ui/SKILL.md +12 -0
package/skills/peaks-ui/SKILL.md
CHANGED
|
@@ -7,6 +7,16 @@ description: UI and experience skill for Peaks. Use when a workflow touches UI/U
|
|
|
7
7
|
|
|
8
8
|
Peaks UI handles experience, interaction, visual direction, and UI-specific refactor artifacts.
|
|
9
9
|
|
|
10
|
+
## Skill presence (MANDATORY first action)
|
|
11
|
+
|
|
12
|
+
Before any analysis or tool call, immediately run:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
peaks skill presence:set peaks-ui --mode <mode> --gate startup
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Then display: `Peaks Skill: peaks-ui | Gate: startup | Next: <one short action>`. Update with `peaks skill presence:set peaks-ui --mode <mode> --gate <gate>` when gates change. When the role's work ends, run `peaks skill presence:clear`.
|
|
19
|
+
|
|
10
20
|
## Responsibilities
|
|
11
21
|
|
|
12
22
|
- identify when UI involvement is necessary;
|
|
@@ -30,6 +40,7 @@ The default sequence the UI skill should execute. Skip steps that do not apply;
|
|
|
30
40
|
```bash
|
|
31
41
|
# 0. confirm UI's own runbook integrity before driving any phase
|
|
32
42
|
peaks skill runbook peaks-ui --json
|
|
43
|
+
peaks skill presence:set peaks-ui # show persistent skill presence every turn
|
|
33
44
|
|
|
34
45
|
# 1. capture the UI request as a durable artifact tied to the same PRD request id
|
|
35
46
|
peaks request init --role ui --id <request-id> --project <repo> --json
|
|
@@ -55,6 +66,7 @@ peaks mcp apply --capability playwright-mcp.browser-validation --yes --json #
|
|
|
55
66
|
# 5. hand off to RD / QA via the cross-linked request id
|
|
56
67
|
peaks request list --project <repo> --json
|
|
57
68
|
peaks request show <request-id> --role ui --project <repo> --json
|
|
69
|
+
peaks skill presence:clear # handoff complete, remove presence indicator
|
|
58
70
|
```
|
|
59
71
|
|
|
60
72
|
Handoff is blocked until the UI artifact's `state` reaches `direction-locked` or `handed-off`.
|