siesa-agents 2.1.71 → 2.1.72-qa.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.
Files changed (21) hide show
  1. package/claude/commands/get-features/oauth-config.example.json +1 -1
  2. package/claude/skills/delivery-sa-agent-guides/SKILL.md +162 -0
  3. package/github/workflows/publish-qa.yml +59 -0
  4. package/mcp.json +7 -0
  5. package/package.json +1 -1
  6. package/siesa-agents/bmm/workflows/2-plan-workflows/create-ux-design/workflow_ext.md +36 -1
  7. package/siesa-agents/bmm/workflows/3-solutioning/create-architecture/workflow_ext.md +2 -0
  8. package/siesa-agents/bmm/workflows/3-solutioning/quality-process/prompts/prompt_design_test.md +1 -1
  9. package/siesa-agents/bmm/workflows/3-solutioning/quality-process/prompts/prompt_dor_gate.md +379 -0
  10. package/siesa-agents/bmm/workflows/3-solutioning/quality-process/prompts/prompt_playwright_impl.md +355 -0
  11. package/siesa-agents/bmm/workflows/3-solutioning/quality-process/workflow.md +1402 -298
  12. package/siesa-agents/bmm/workflows/4-implementation/code-review/workflow_ext.md +80 -0
  13. package/siesa-agents/bmm/workflows/4-implementation/create-story/workflow_ext.md +35 -1
  14. package/siesa-agents/bmm/workflows/4-implementation/dev-story/workflow_ext.md +35 -1
  15. package/siesa-agents/bmm/workflows/4-implementation/sprint-status/workflow_ext.md +42 -0
  16. package/siesa-agents/bmm/workflows/workflow-status/Init/workflow_ext.md +7 -0
  17. package/siesa-agents/observability/README.md +81 -0
  18. package/siesa-agents/observability/scripts/sa-emit.js +246 -0
  19. package/siesa-agents/resources/ux-ui/ux-design-specification.md +837 -0
  20. package/siesa-agents/scripts/bmad_to_agiletest.py +1584 -0
  21. package/siesa-agents/scripts/merge_test_design.py +106 -0
@@ -2,7 +2,7 @@
2
2
  "client_id": "TU_CLIENT_ID",
3
3
  "client_secret": "TU_CLIENT_SECRET",
4
4
  "redirect_uri": "http://localhost:3000/callback",
5
- "scopes": "read:jira-work read:jira-user offline_access",
5
+ "scopes": "read:jira-work write:jira-work read:jira-user offline_access",
6
6
  "cloud_id": "TU_CLOUD_ID",
7
7
  "jira_base_url": "https://api.atlassian.com/ex/jira/TU_CLOUD_ID/rest/api/3",
8
8
  "default_instance": null,
@@ -0,0 +1,162 @@
1
+ ---
2
+ name: delivery-sa-agent-guides
3
+ description: Generate client-ready delivery guides from user-guide documents indexed in the mcp-siesa-docs MCP. Use this skill when a delivery team member needs to transform user-guide content into simple, end-user friendly material. Always trigger on /delivery-agent-guides. Also trigger when the user says "generar guía de entrega", "guía para el cliente", "documentación de entrega para [project]", "guía para usuario final", or describes wanting to turn indexed user-guide docs into something a non-technical client can understand.
4
+ ---
5
+
6
+ # Delivery Agent Guides
7
+
8
+ Transform user-guide documents (from the `mcp-siesa-docs` MCP) into a clear, client-ready delivery guide — plain language, no jargon, for non-technical end users.
9
+
10
+ The MCP is the only source of content. The local filesystem is not scanned.
11
+
12
+ ---
13
+
14
+ ## Flow
15
+
16
+ ### Step 1: Discover projects with user-guides (automatic)
17
+
18
+ As soon as the skill is invoked, without asking the user first:
19
+
20
+ 1. Call `list_collections()` to confirm `mcp-siesa-docs` is available.
21
+ 2. Call `search_docs("user guide proyectos disponibles")` to find projects whose indexed docs include a `user-guide` directory.
22
+ 3. Build the candidate list: **only include projects that have at least one document in their `user-guide` directory**. Projects with only feature specs, épicas, stories, or architecture docs are excluded (Option A).
23
+ 4. Present the list to the user:
24
+ ```
25
+ Proyectos con guías de usuario disponibles:
26
+ [1] {project-name-1}
27
+ [2] {project-name-2}
28
+ ...
29
+
30
+ ¿Para cuál proyecto quieres generar la guía de entrega?
31
+ ```
32
+ 5. The user replies with a number or project name.
33
+
34
+ If zero projects qualify, tell the user plainly ("No encontré proyectos con user-guide indexado en el MCP") and stop.
35
+
36
+ ---
37
+
38
+ ### Step 2: Pull the user-guide content from the MCP
39
+
40
+ 1. `search_docs("user guide [proyecto seleccionado]")` to list the user-guide documents of the chosen project.
41
+ 2. For each result, call `get_document(path)` to fetch the full content.
42
+ 3. **Strict filter**: process only documents whose `path` is inside the project's `user-guide` directory. Ignore feature specs, épicas, stories, architecture, or any other technical doc, even if they show up in results.
43
+
44
+ Keep the list of `path`s used — you will cite them in the final confirmation.
45
+
46
+ ---
47
+
48
+ ### Step 3: Write the delivery guide
49
+
50
+ Write one unified `delivery-guide.md`. All content in Spanish. Audience: non-technical end user.
51
+
52
+ **Content to keep and rewrite in plain language:**
53
+ - Feature name and purpose
54
+ - Step-by-step workflows
55
+ - Key concepts and field definitions (simplified)
56
+ - Troubleshooting and FAQs
57
+ - Warnings (⚠️) — rephrase without technical detail; keep the practical implication
58
+
59
+ **Content to transform:**
60
+ - Mermaid diagrams → rewrite as one or two plain sentences describing the flow. Never emit Mermaid syntax.
61
+
62
+ **Content to omit:**
63
+ - `📸 [Screenshot: ...]` placeholders
64
+ - `[Source: FX Story Y.Z]` traceability references
65
+ - Screenshot index tables
66
+ - Implementation component names (ContactManager, EmptyState, ErrorPanel, etc.) — describe the behavior instead
67
+ - `*Generado: ...` footers
68
+
69
+ **Output template:**
70
+
71
+ ```markdown
72
+ ---
73
+ project: {project-name}
74
+ generated_date: {YYYY-MM-DD}
75
+ sources:
76
+ - {mcp-path-1}
77
+ - {mcp-path-2}
78
+ audience: Usuario final no técnico
79
+ ---
80
+
81
+ # Guía de {Nombre del Proyecto}
82
+
83
+ ## ¿Qué es {Nombre del Proyecto}?
84
+ 2-3 sentences. What the app does and who it is for. No technical terms.
85
+
86
+ ## ¿Para qué sirve?
87
+ What problems it solves, from the user's perspective.
88
+
89
+ ---
90
+
91
+ ## {Feature 1}
92
+
93
+ ### ¿Qué es?
94
+ One paragraph. Plain description.
95
+
96
+ ### ¿Para qué sirve?
97
+ The practical benefit to the user.
98
+
99
+ ### ¿Cómo se usa?
100
+ Numbered step-by-step. One clear action per step.
101
+ Include warnings inline (⚠️ ...) directly before the step that can cause an issue.
102
+
103
+ ---
104
+
105
+ ## {Feature 2}
106
+ (same structure)
107
+
108
+ ---
109
+
110
+ ## Solución de Problemas
111
+ Plain Q&A: "¿Qué hago si...? → ..."
112
+
113
+ ## Preguntas Frecuentes
114
+ Plain Q&A. No technical language.
115
+ ```
116
+
117
+ **Writing guidelines:**
118
+ - Target a reader who is comfortable with a smartphone but has no software background.
119
+ - Active voice, direct instructions: "Haz clic en...", "Escribe...", "Selecciona..."
120
+ - Short sentences. If a sentence needs a comma to explain a technical concept, rewrite it.
121
+ - If a concept has no practical value to the end user, drop it.
122
+
123
+ ---
124
+
125
+ ### Step 4: Save and confirm
126
+
127
+ Save to:
128
+ ```
129
+ _bmad-output/documentation-artifacts/delivery-guides/{project-name}/delivery-guide.md
130
+ ```
131
+
132
+ Create the directory if it doesn't exist.
133
+
134
+ Then confirm:
135
+ ```
136
+ Guía guardada en: _bmad-output/documentation-artifacts/delivery-guides/{project-name}/delivery-guide.md
137
+
138
+ Features incluidas:
139
+ - {feature 1}
140
+ - {feature 2}
141
+
142
+ Fuentes del MCP:
143
+ - {mcp-path-1}
144
+ - {mcp-path-2}
145
+ ```
146
+
147
+ ---
148
+
149
+ ## Transformation Reference
150
+
151
+ | Technical element | Delivery guide treatment |
152
+ |---|---|
153
+ | `deep linking` / URL única por registro | "Cada registro tiene su propia dirección web que puedes guardar o compartir" |
154
+ | `ContactManager`, `EmptyState`, `ErrorPanel` | Drop the name; describe what the user sees |
155
+ | `NIT/RUC` | Keep — explain once: "número de identificación tributaria (NIT/RUC)" |
156
+ | `Toast` notification | "mensaje de confirmación que aparece brevemente en pantalla" |
157
+ | Reintentar button on error | "si aparece un error, haz clic en Reintentar" |
158
+ | Panel de dos columnas | "La pantalla se divide en dos partes: a la izquierda la lista, a la derecha el detalle" |
159
+ | Validación inline | "mensajes de error junto al campo que necesita corrección" |
160
+ | Mermaid code block | One or two plain sentences describing the flow |
161
+ | `[Source: FX Story Y.Z]` | Omit |
162
+ | `📸 [Screenshot: ...]` | Omit |
@@ -0,0 +1,59 @@
1
+ name: Publish to npm (qa)
2
+ on:
3
+ push:
4
+ branches:
5
+ - qa
6
+ jobs:
7
+ publish-qa:
8
+ runs-on: ubuntu-latest
9
+ if: "!contains(github.event.head_commit.message, '[skip ci]')"
10
+ permissions:
11
+ contents: write
12
+ id-token: write
13
+ steps:
14
+ - name: Create GitHub App Token
15
+ uses: actions/create-github-app-token@v1
16
+ id: app-token
17
+ with:
18
+ app-id: ${{ vars.VERSION_BUMPER_APPID }}
19
+ private-key: ${{ secrets.VERSION_BUMPER_SECRET }}
20
+ - name: Checkout repository
21
+ uses: actions/checkout@v4
22
+ with:
23
+ ref: qa
24
+ fetch-depth: 0
25
+ token: ${{ steps.app-token.outputs.token }}
26
+ - name: Setup Node.js
27
+ uses: actions/setup-node@v4
28
+ with:
29
+ node-version: '22'
30
+ registry-url: 'https://registry.npmjs.org'
31
+ - name: Update npm for OIDC support
32
+ run: |
33
+ npm install -g npm@~11.10.0
34
+ npm install -g npm@latest
35
+ - name: Configure Git
36
+ run: |
37
+ git config user.name "github-actions[bot]"
38
+ git config user.email "github-actions[bot]@users.noreply.github.com"
39
+ - name: Install dependencies
40
+ run: npm ci --ignore-scripts
41
+ - name: Bump qa prerelease version
42
+ run: |
43
+ CURRENT_VERSION=$(node -p "require('./package.json').version")
44
+ if git rev-parse "v$CURRENT_VERSION" >/dev/null 2>&1; then
45
+ echo "Tag v$CURRENT_VERSION already exists — bumping prerelease"
46
+ npm version prerelease --preid=qa -m "chore(release): %s [skip ci]"
47
+ else
48
+ echo "Tag v$CURRENT_VERSION does not exist — publishing existing version"
49
+ fi
50
+ - name: Build
51
+ run: npm run build || echo "No build script, continuing..."
52
+ - name: Push version bump
53
+ run: git push --follow-tags || echo "Nothing to push, continuing..."
54
+ - name: Publish to npm with qa tag
55
+ run: |
56
+ npm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}"
57
+ npm publish --tag qa --access public
58
+ env:
59
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/mcp.json CHANGED
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "mcpServers": {
3
+ "mcp-siesa-docs": {
4
+ "type": "http",
5
+ "url": "https://platform-architecture-mcp-siesa-103767536676.us-east1.run.app/mcp",
6
+ "headers": {
7
+ "Authorization": "Bearer none"
8
+ }
9
+ },
3
10
  "atlassian": {
4
11
  "type": "sse",
5
12
  "url": "https://mcp.atlassian.com/v1/sse"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siesa-agents",
3
- "version": "2.1.71",
3
+ "version": "2.1.72-qa.0",
4
4
  "description": "Paquete para instalar y configurar agentes SIESA en tu proyecto",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -30,7 +30,42 @@ Output to the user:
30
30
 
31
31
  ---
32
32
 
33
- ## 2. MANDATORY RULE PHASE COMMIT AT WORKFLOW END
33
+ ## 2. INITIALIZATIONCHECK FOR EXISTING UX DESIGN DOCUMENT
34
+
35
+ Before executing any workflow step, search for an existing UX design document:
36
+
37
+ 1. Look for a file matching `*ux-design-specification*.md` inside the `{planning_artifacts}/` folder.
38
+ - Glob pattern to check: `{planning_artifacts}/*ux-design-specification*.md`
39
+
40
+ ---
41
+
42
+ ## 3. DECISION BRANCH
43
+
44
+ ### If `ux-design-specification.md` EXISTS
45
+
46
+ Use the **AskUserQuestion** tool to present the following options (respect `communication_language` from config):
47
+
48
+ > Se encontró un documento de especificación UX/UI existente en `{planning_artifacts}/ux-design-specification.md`.
49
+ >
50
+ > ¿Qué deseas hacer?
51
+ >
52
+ > **[1] Editar** — Abrir el documento para revisarlo y modificarlo de forma colaborativa.
53
+ > **[2] Resumen** — Generar un resumen ejecutivo del documento actual.
54
+
55
+ Wait for the user's selection and act accordingly:
56
+
57
+ - **Option 1 — Edit:** Read the full contents of `{planning_artifacts}/ux-design-specification.md`, present it to the user section by section, and facilitate collaborative editing. Apply changes directly to the file using the Edit tool.
58
+ - **Option 2 — Summary:** Read the full contents of `{planning_artifacts}/ux-design-specification.md` and produce a concise executive summary covering: design vision, target users, design system decisions, visual foundations, component strategy, and any open design questions.
59
+
60
+ ---
61
+
62
+ ### If `ux-design-specification.md` does NOT EXIST
63
+
64
+ LOAD the FULL `@_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md`, READ its entire contents and follow its directions exactly!
65
+
66
+ ---
67
+
68
+ ## 4. MANDATORY RULE — PHASE COMMIT AT WORKFLOW END
34
69
 
35
70
  **TRIGGER:** Immediately after all workflow steps complete and the UX Design document has been generated/saved.
36
71
 
@@ -39,6 +39,8 @@ Before doing anything else, search for an existing architecture document:
39
39
 
40
40
  ### If `architecture.md` EXISTS
41
41
 
42
+ Use the **AskUserQuestion** tool to present the following options:
43
+
42
44
  Present the user with the following options (respect `communication_language` from config):
43
45
 
44
46
  > Se encontró un documento de arquitectura existente en `{planning_artifacts}/architecture.md`.
@@ -92,4 +92,4 @@ Analiza cada **Feature** simulando arquetipos universales para encontrar riesgos
92
92
  - [Otras tablas de cobertura técnica relevantes].
93
93
 
94
94
  ### APÉNDICE: MATRIZ DE TRAZABILIDAD
95
- - **Funcionalidad → Features → Casos**: [Listado jerárquico que conecte el Feature con sus historias de origen y los IDs de los casos de prueba generados].
95
+ - **Funcionalidad → Features → Casos**: [Listado jerárquico que conecte el Feature con sus historias de origen y los IDs de los casos de prueba generados].