trackops 2.0.6 → 2.2.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 +307 -701
- package/bin/trackops.js +24 -16
- package/lib/config.js +265 -58
- package/lib/control.js +830 -292
- package/lib/init.js +46 -16
- package/lib/opera-bootstrap.js +85 -45
- package/lib/opera-phase-dod.js +485 -0
- package/lib/opera.js +8 -5
- package/lib/plans.js +1329 -0
- package/lib/quality-assert.js +49 -0
- package/lib/quality.js +1759 -0
- package/lib/release.js +18 -11
- package/lib/server.js +504 -192
- package/lib/skills.js +94 -41
- package/locales/en.json +249 -15
- package/locales/es.json +249 -15
- package/package.json +3 -2
- package/scripts/quality-unit-tests.js +130 -0
- package/scripts/skills-marketplace-smoke.js +156 -124
- package/scripts/smoke-tests.js +378 -71
- package/scripts/sync-skill-version.js +29 -19
- package/scripts/validate-skill.js +188 -103
- package/skills/trackops/SKILL.md +25 -7
- package/skills/trackops/locales/en/SKILL.md +25 -7
- package/skills/trackops/locales/en/references/activation.md +3 -3
- package/skills/trackops/locales/en/references/workflow.md +5 -4
- package/skills/trackops/references/activation.md +3 -3
- package/skills/trackops/references/workflow.md +5 -4
- package/skills/trackops/skill.json +29 -29
- package/skills/trackops-quality-guard/SKILL.md +78 -0
- package/skills/trackops-quality-guard/agents/openai.yaml +7 -0
- package/skills/trackops-quality-guard/locales/en/SKILL.md +78 -0
- package/skills/trackops-quality-guard/locales/en/references/commands.md +36 -0
- package/skills/trackops-quality-guard/locales/en/references/decision-policy.md +16 -0
- package/skills/trackops-quality-guard/locales/en/references/output-format.md +24 -0
- package/skills/trackops-quality-guard/references/commands.md +36 -0
- package/skills/trackops-quality-guard/references/decision-policy.md +16 -0
- package/skills/trackops-quality-guard/references/output-format.md +24 -0
- package/skills/trackops-quality-guard/skill.json +28 -0
- package/templates/skills/opera-skill/SKILL.md +12 -0
- package/templates/skills/opera-skill/locales/en/SKILL.md +12 -0
- package/templates/skills/trackops-quality-guard/SKILL.md +72 -0
- package/templates/skills/trackops-quality-guard/locales/en/SKILL.md +72 -0
- package/templates/skills/trackops-quality-guard/locales/en/references/commands.md +30 -0
- package/templates/skills/trackops-quality-guard/locales/en/references/decision-policy.md +14 -0
- package/templates/skills/trackops-quality-guard/locales/en/references/output-format.md +21 -0
- package/templates/skills/trackops-quality-guard/references/commands.md +30 -0
- package/templates/skills/trackops-quality-guard/references/decision-policy.md +14 -0
- package/templates/skills/trackops-quality-guard/references/output-format.md +21 -0
- package/ui/js/api.js +93 -26
- package/ui/js/app.js +13 -7
- package/ui/js/filters.js +49 -29
- package/ui/js/time-tracker.js +41 -28
- package/ui/js/views/board.js +22 -14
- package/ui/js/views/dashboard.js +206 -49
- package/ui/js/views/execution.js +7 -3
- package/ui/js/views/plans.js +284 -0
- package/ui/js/views/scrum.js +25 -13
- package/ui/js/views/sidebar.js +9 -8
- package/ui/js/views/tasks.js +238 -134
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "trackops-quality-guard"
|
|
3
|
+
description: "Public TrackOps skill for inspecting quality, running declared verification, and deciding readiness before release or production recommendations."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "global"
|
|
7
|
+
triggers:
|
|
8
|
+
- "quality"
|
|
9
|
+
- "calidad"
|
|
10
|
+
- "auditar"
|
|
11
|
+
- "auditoría"
|
|
12
|
+
- "readiness"
|
|
13
|
+
- "release readiness"
|
|
14
|
+
- "production readiness"
|
|
15
|
+
- "verifica calidad"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# TrackOps Quality Guard
|
|
19
|
+
|
|
20
|
+
Use this localized file when the conversation and project should run in English.
|
|
21
|
+
|
|
22
|
+
## Mission
|
|
23
|
+
|
|
24
|
+
Complement TrackOps with an explicit quality and production-readiness guard.
|
|
25
|
+
|
|
26
|
+
## When to use it
|
|
27
|
+
|
|
28
|
+
Use this skill when the user:
|
|
29
|
+
|
|
30
|
+
- asks for a project quality audit
|
|
31
|
+
- wants to know whether something is ready for release
|
|
32
|
+
- wants to know whether something can go to production
|
|
33
|
+
- needs a real blocker review before closing a phase or delivering
|
|
34
|
+
|
|
35
|
+
## What it does not do
|
|
36
|
+
|
|
37
|
+
This skill does not:
|
|
38
|
+
|
|
39
|
+
- replace the `trackops quality ...` runtime
|
|
40
|
+
- invent checks or criteria outside the runtime
|
|
41
|
+
- soften blockers to make them look acceptable
|
|
42
|
+
- publish, deploy, or approve by itself
|
|
43
|
+
|
|
44
|
+
## Mandatory commands
|
|
45
|
+
|
|
46
|
+
- before closing a phase or declaring stability, run `trackops quality status`
|
|
47
|
+
- if the decision affects a phase, also run `trackops quality phase-readiness`
|
|
48
|
+
- after relevant code, environment, build, or smoke changes, run `trackops quality verify`
|
|
49
|
+
- before `trackops release`, run `trackops quality release-readiness`
|
|
50
|
+
- before recommending production, run `trackops quality promote-readiness --target production`
|
|
51
|
+
|
|
52
|
+
## Decision rules
|
|
53
|
+
|
|
54
|
+
- `phase-readiness` is advisory
|
|
55
|
+
- `release-readiness` decides whether release is allowed
|
|
56
|
+
- `promote-readiness` decides whether production can be recommended
|
|
57
|
+
- if the runtime blocks, do not invent exceptions
|
|
58
|
+
|
|
59
|
+
## Waiver policy
|
|
60
|
+
|
|
61
|
+
- only use waivers when there is explicit human approval
|
|
62
|
+
- a waiver must have an expiration
|
|
63
|
+
- a waiver does not erase evidence or turn a blocker into “nothing happened”
|
|
64
|
+
|
|
65
|
+
## Required output
|
|
66
|
+
|
|
67
|
+
Always answer in this exact order:
|
|
68
|
+
|
|
69
|
+
1. `Current state`
|
|
70
|
+
2. `Real blockers`
|
|
71
|
+
3. `Next action`
|
|
72
|
+
4. `Final decision`
|
|
73
|
+
|
|
74
|
+
## Which reference to read and when
|
|
75
|
+
|
|
76
|
+
- read `locales/en/references/commands.md` to decide which command to run
|
|
77
|
+
- read `locales/en/references/decision-policy.md` to interpret advisory vs hard gate
|
|
78
|
+
- read `locales/en/references/output-format.md` before replying when the answer may affect a release or production decision
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Commands
|
|
2
|
+
|
|
3
|
+
Use the `trackops quality ...` runtime as the single source of truth.
|
|
4
|
+
|
|
5
|
+
## Execution order
|
|
6
|
+
|
|
7
|
+
1. If the user wants a status check or phase close review:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
trackops quality status
|
|
11
|
+
trackops quality phase-readiness
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. If there were relevant code, environment, build, or smoke changes:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
trackops quality verify --scope all
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. If the decision affects release:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
trackops quality release-readiness
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
4. If the decision affects production:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
trackops quality promote-readiness --target production
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Rules
|
|
33
|
+
|
|
34
|
+
- do not replace these commands with subjective judgment
|
|
35
|
+
- if the user requests a specific scope, you may run `trackops quality verify --scope <scope>`
|
|
36
|
+
- if the runtime fails, report the failure before drawing conclusions
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Decision policy
|
|
2
|
+
|
|
3
|
+
## Semantics
|
|
4
|
+
|
|
5
|
+
- `trackops quality status` inspects the current state
|
|
6
|
+
- `trackops quality verify` runs declared checks and stores evidence
|
|
7
|
+
- `trackops quality phase-readiness` is advisory
|
|
8
|
+
- `trackops quality release-readiness` is a hard gate for release
|
|
9
|
+
- `trackops quality promote-readiness --target production` is a hard gate for production
|
|
10
|
+
|
|
11
|
+
## What is not allowed
|
|
12
|
+
|
|
13
|
+
- reinterpreting runtime blockers
|
|
14
|
+
- declaring release-ready without `release-readiness`
|
|
15
|
+
- recommending production without `promote-readiness`
|
|
16
|
+
- using waivers without explicit human approval and expiration
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Output format
|
|
2
|
+
|
|
3
|
+
Always answer with these four sections in this order:
|
|
4
|
+
|
|
5
|
+
## Current state
|
|
6
|
+
|
|
7
|
+
- summarize the overall quality or readiness state
|
|
8
|
+
- indicate whether the result is advisory, blocked, or ready
|
|
9
|
+
|
|
10
|
+
## Real blockers
|
|
11
|
+
|
|
12
|
+
- list only blockers returned by the runtime
|
|
13
|
+
- if there are no blockers, say so explicitly
|
|
14
|
+
|
|
15
|
+
## Next action
|
|
16
|
+
|
|
17
|
+
- give the minimum concrete next action
|
|
18
|
+
- if a command still needs to be run, say it here
|
|
19
|
+
|
|
20
|
+
## Final decision
|
|
21
|
+
|
|
22
|
+
- `ready`
|
|
23
|
+
- `not ready`
|
|
24
|
+
- `ready only with explicit human approval`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Comandos
|
|
2
|
+
|
|
3
|
+
Usa el runtime `trackops quality ...` como fuente única de verdad.
|
|
4
|
+
|
|
5
|
+
## Orden de ejecución
|
|
6
|
+
|
|
7
|
+
1. Si el usuario quiere revisar estado o cerrar fase:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
trackops quality status
|
|
11
|
+
trackops quality phase-readiness
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. Si hubo cambios relevantes en código, entorno, build o smoke:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
trackops quality verify --scope all
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. Si la decisión afecta a release:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
trackops quality release-readiness
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
4. Si la decisión afecta a producción:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
trackops quality promote-readiness --target production
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Reglas
|
|
33
|
+
|
|
34
|
+
- no sustituyas estos comandos por juicio subjetivo
|
|
35
|
+
- si el usuario pide un scope concreto, puedes usar `trackops quality verify --scope <scope>`
|
|
36
|
+
- si el runtime falla, informa del fallo antes de sacar conclusiones
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Política de decisión
|
|
2
|
+
|
|
3
|
+
## Semántica
|
|
4
|
+
|
|
5
|
+
- `trackops quality status` inspecciona el estado actual
|
|
6
|
+
- `trackops quality verify` ejecuta checks declarados y guarda evidencia
|
|
7
|
+
- `trackops quality phase-readiness` es advisory
|
|
8
|
+
- `trackops quality release-readiness` es gate duro para release
|
|
9
|
+
- `trackops quality promote-readiness --target production` es gate duro para producción
|
|
10
|
+
|
|
11
|
+
## Qué no está permitido
|
|
12
|
+
|
|
13
|
+
- reinterpretar blockers del runtime
|
|
14
|
+
- declarar release-ready sin ejecutar `release-readiness`
|
|
15
|
+
- recomendar producción sin ejecutar `promote-readiness`
|
|
16
|
+
- usar waivers sin aprobación humana explícita y caducidad
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Formato de salida
|
|
2
|
+
|
|
3
|
+
Responde siempre con estas cuatro secciones y en este orden:
|
|
4
|
+
|
|
5
|
+
## Estado actual
|
|
6
|
+
|
|
7
|
+
- resume el estado general de calidad o readiness
|
|
8
|
+
- indica si el resultado es informativo, bloqueado o listo
|
|
9
|
+
|
|
10
|
+
## Blockers reales
|
|
11
|
+
|
|
12
|
+
- enumera solo los bloqueos que devuelve el runtime
|
|
13
|
+
- si no hay blockers, dilo explícitamente
|
|
14
|
+
|
|
15
|
+
## Acción siguiente
|
|
16
|
+
|
|
17
|
+
- indica la próxima acción concreta y mínima
|
|
18
|
+
- si falta ejecutar un comando, indícalo aquí
|
|
19
|
+
|
|
20
|
+
## Decisión final
|
|
21
|
+
|
|
22
|
+
- `listo`
|
|
23
|
+
- `no listo`
|
|
24
|
+
- `listo solo con aprobación humana explícita`
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "trackops-quality-guard",
|
|
3
|
+
"shortDescription": "Public quality guard for TrackOps release and production decisions.",
|
|
4
|
+
"description": "Inspects TrackOps quality status, runs declared verification, and decides release or production readiness without inventing rules outside the runtime.",
|
|
5
|
+
"skillVersion": "2.2.0",
|
|
6
|
+
"trackopsVersion": "2.2.0",
|
|
7
|
+
"npmPackage": "trackops",
|
|
8
|
+
"supportedAgentsV1": [
|
|
9
|
+
"antigravity",
|
|
10
|
+
"claude-code",
|
|
11
|
+
"codex",
|
|
12
|
+
"cursor",
|
|
13
|
+
"gemini-cli",
|
|
14
|
+
"github-copilot",
|
|
15
|
+
"kiro-cli"
|
|
16
|
+
],
|
|
17
|
+
"distribution": {
|
|
18
|
+
"source": "Baxahaun/trackops",
|
|
19
|
+
"skill": "trackops-quality-guard",
|
|
20
|
+
"fullDepth": true
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"provider": "github",
|
|
24
|
+
"owner": "Baxahaun",
|
|
25
|
+
"repo": "trackops",
|
|
26
|
+
"skillPath": "skills/trackops-quality-guard"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -51,6 +51,12 @@ Antes de asumir nada, ejecuta:
|
|
|
51
51
|
trackops status
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
Y antes de cerrar una fase, release o recomendacion de despliegue, ejecuta:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
trackops quality status
|
|
58
|
+
```
|
|
59
|
+
|
|
54
60
|
- si `trackops status` falla, no sigas
|
|
55
61
|
- si no existe TrackOps activo, redirige a la skill global `trackops`
|
|
56
62
|
- si OPERA no esta instalado, indica `trackops opera install`
|
|
@@ -180,6 +186,7 @@ Alinear outputs con contrato, revisar calidad y cerrar contradicciones.
|
|
|
180
186
|
|
|
181
187
|
### Skills delegables
|
|
182
188
|
- `opera-contract-auditor`
|
|
189
|
+
- `trackops-quality-guard`
|
|
183
190
|
- `opera-policy-guard`
|
|
184
191
|
|
|
185
192
|
### Bloqueo
|
|
@@ -202,9 +209,12 @@ Formalizar release, despliegue y automatizacion operativa con seguridad.
|
|
|
202
209
|
- `trackops status`
|
|
203
210
|
- `trackops workspace status`
|
|
204
211
|
- `trackops env status`
|
|
212
|
+
- `trackops quality release-readiness`
|
|
213
|
+
- `trackops quality promote-readiness --target production`
|
|
205
214
|
- `trackops sync`
|
|
206
215
|
|
|
207
216
|
### Skills delegables
|
|
217
|
+
- `trackops-quality-guard`
|
|
208
218
|
- `opera-policy-guard`
|
|
209
219
|
|
|
210
220
|
### Bloqueo
|
|
@@ -217,6 +227,7 @@ No pasar de A si la automatizacion rompe politica, entorno o readiness operativo
|
|
|
217
227
|
### Delegaciones permitidas
|
|
218
228
|
- `project-starter-skill` — cuando bootstrap esta pendiente o el proyecto sigue en discovery
|
|
219
229
|
- `opera-contract-auditor` — cuando hay huecos, contradicciones o dudas de readiness
|
|
230
|
+
- `trackops-quality-guard` — cuando haya que auditar calidad, verificar readiness o decidir release o producción
|
|
220
231
|
- `opera-policy-guard` — cuando hay riesgo, side effects o permisos dudosos
|
|
221
232
|
- `commiter` — cuando el usuario pida commit o el bloque de implementacion ya este listo
|
|
222
233
|
- `changelog-updater` — despues de commit, si el flujo del repo lo requiere
|
|
@@ -271,6 +282,7 @@ No dejes pasar por intuicion.
|
|
|
271
282
|
|
|
272
283
|
- lee `references/phase-dod.md` cuando se pida cerrar fase, se dude del readiness o el agente tenga que justificar por que no puede avanzar
|
|
273
284
|
- lee la skill `project-starter-skill` cuando estes en Fase O y necesites hacer discovery
|
|
285
|
+
- lee la skill `trackops-quality-guard` cuando tengas que decidir calidad, release o producción
|
|
274
286
|
- lee la skill `opera-contract-auditor` cuando necesites validar el contrato operativo
|
|
275
287
|
- lee la skill `opera-policy-guard` cuando vayas a ejecutar acciones con riesgo
|
|
276
288
|
|
|
@@ -51,6 +51,12 @@ Before assuming anything, run:
|
|
|
51
51
|
trackops status
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
And before closing a phase, a release, or a deployment recommendation, run:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
trackops quality status
|
|
58
|
+
```
|
|
59
|
+
|
|
54
60
|
- if `trackops status` fails, stop
|
|
55
61
|
- if there is no active TrackOps, redirect to the global `trackops` skill
|
|
56
62
|
- if OPERA is not installed, indicate `trackops opera install`
|
|
@@ -180,6 +186,7 @@ Align outputs with contract, review quality, and close contradictions.
|
|
|
180
186
|
|
|
181
187
|
### Delegable skills
|
|
182
188
|
- `opera-contract-auditor`
|
|
189
|
+
- `trackops-quality-guard`
|
|
183
190
|
- `opera-policy-guard`
|
|
184
191
|
|
|
185
192
|
### Blocking
|
|
@@ -202,9 +209,12 @@ Formalize release, deployment, and operational automation with safety.
|
|
|
202
209
|
- `trackops status`
|
|
203
210
|
- `trackops workspace status`
|
|
204
211
|
- `trackops env status`
|
|
212
|
+
- `trackops quality release-readiness`
|
|
213
|
+
- `trackops quality promote-readiness --target production`
|
|
205
214
|
- `trackops sync`
|
|
206
215
|
|
|
207
216
|
### Delegable skills
|
|
217
|
+
- `trackops-quality-guard`
|
|
208
218
|
- `opera-policy-guard`
|
|
209
219
|
|
|
210
220
|
### Blocking
|
|
@@ -217,6 +227,7 @@ Do not pass A if automation breaks policy, environment, or operational readiness
|
|
|
217
227
|
### Allowed delegations
|
|
218
228
|
- `project-starter-skill` — when bootstrap is pending or the project is still in discovery
|
|
219
229
|
- `opera-contract-auditor` — when there are gaps, contradictions, or readiness doubts
|
|
230
|
+
- `trackops-quality-guard` — when quality, readiness, release, or production decisions must be audited against the TrackOps runtime
|
|
220
231
|
- `opera-policy-guard` — when there is risk, side effects, or dubious permissions
|
|
221
232
|
- `commiter` — when the user requests a commit or the implementation block is ready
|
|
222
233
|
- `changelog-updater` — after commit, if the repo workflow requires it
|
|
@@ -271,6 +282,7 @@ Do not let it pass by intuition.
|
|
|
271
282
|
|
|
272
283
|
- read `references/phase-dod.md` when asked to close a phase, when doubting readiness, or when the agent needs to justify why it cannot advance
|
|
273
284
|
- read the `project-starter-skill` when in Phase O and discovery is needed
|
|
285
|
+
- read the `trackops-quality-guard` when you need to decide quality, release, or production readiness
|
|
274
286
|
- read the `opera-contract-auditor` when the operating contract needs validation
|
|
275
287
|
- read the `opera-policy-guard` when about to execute risky actions
|
|
276
288
|
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "trackops-quality-guard"
|
|
3
|
+
description: "Skill local de TrackOps para inspeccionar calidad, ejecutar verificaciones declaradas y decidir readiness antes de release o recomendaciones de producción."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
triggers:
|
|
8
|
+
- "quality"
|
|
9
|
+
- "calidad"
|
|
10
|
+
- "auditar"
|
|
11
|
+
- "auditoría"
|
|
12
|
+
- "readiness"
|
|
13
|
+
- "release readiness"
|
|
14
|
+
- "production readiness"
|
|
15
|
+
- "verifica calidad"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# TrackOps Quality Guard
|
|
19
|
+
|
|
20
|
+
## Misión
|
|
21
|
+
|
|
22
|
+
Complementar TrackOps y OPERA con una guardia explícita de calidad y readiness de salida.
|
|
23
|
+
|
|
24
|
+
## Cuándo usarla
|
|
25
|
+
|
|
26
|
+
- cuando el usuario pida una auditoría de calidad
|
|
27
|
+
- cuando haya que decidir si algo está listo para release
|
|
28
|
+
- cuando haya que decidir si algo puede recomendarse para producción
|
|
29
|
+
- cuando haga falta revisar blockers reales antes de cerrar fase o entregar
|
|
30
|
+
|
|
31
|
+
## Qué no hace
|
|
32
|
+
|
|
33
|
+
- no sustituye al runtime `trackops quality ...`
|
|
34
|
+
- no inventa checks ni criterios
|
|
35
|
+
- no suaviza blockers del runtime
|
|
36
|
+
- no publica, despliega ni aprueba por su cuenta
|
|
37
|
+
|
|
38
|
+
## Comandos obligatorios
|
|
39
|
+
|
|
40
|
+
- antes de cerrar una fase o declarar estabilidad, ejecuta `trackops quality status`
|
|
41
|
+
- si la decisión afecta a fase, consulta también `trackops quality phase-readiness`
|
|
42
|
+
- tras cambios relevantes en código, entorno, build o smoke, ejecuta `trackops quality verify`
|
|
43
|
+
- antes de `trackops release`, ejecuta `trackops quality release-readiness`
|
|
44
|
+
- antes de recomendar producción, ejecuta `trackops quality promote-readiness --target production`
|
|
45
|
+
|
|
46
|
+
## Reglas de decisión
|
|
47
|
+
|
|
48
|
+
- `phase-readiness` es informativo
|
|
49
|
+
- `release-readiness` decide si se puede liberar
|
|
50
|
+
- `promote-readiness` decide si se puede recomendar producción
|
|
51
|
+
- si el runtime marca bloqueo, no inventes excepciones
|
|
52
|
+
|
|
53
|
+
## Política de waivers
|
|
54
|
+
|
|
55
|
+
- solo usa waivers si existe aprobación humana explícita
|
|
56
|
+
- un waiver debe tener caducidad
|
|
57
|
+
- un waiver no borra la evidencia
|
|
58
|
+
|
|
59
|
+
## Salida obligatoria
|
|
60
|
+
|
|
61
|
+
Responde siempre con este orden exacto:
|
|
62
|
+
|
|
63
|
+
1. `Estado actual`
|
|
64
|
+
2. `Blockers reales`
|
|
65
|
+
3. `Acción siguiente`
|
|
66
|
+
4. `Decisión final`
|
|
67
|
+
|
|
68
|
+
## Qué referencia leer y cuándo
|
|
69
|
+
|
|
70
|
+
- lee `references/commands.md` para decidir qué comando corre en cada momento
|
|
71
|
+
- lee `references/decision-policy.md` para interpretar advisory vs gate duro
|
|
72
|
+
- lee `references/output-format.md` antes de responder si la salida puede afectar una decisión de release o producción
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "trackops-quality-guard"
|
|
3
|
+
description: "Local TrackOps skill for inspecting quality, running declared verification, and deciding readiness before release or production recommendations."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
triggers:
|
|
8
|
+
- "quality"
|
|
9
|
+
- "calidad"
|
|
10
|
+
- "auditar"
|
|
11
|
+
- "auditoría"
|
|
12
|
+
- "readiness"
|
|
13
|
+
- "release readiness"
|
|
14
|
+
- "production readiness"
|
|
15
|
+
- "verifica calidad"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# TrackOps Quality Guard
|
|
19
|
+
|
|
20
|
+
## Mission
|
|
21
|
+
|
|
22
|
+
Complement TrackOps and OPERA with an explicit quality and production-readiness guard.
|
|
23
|
+
|
|
24
|
+
## When to use it
|
|
25
|
+
|
|
26
|
+
- when the user asks for a quality audit
|
|
27
|
+
- when something must be judged as release-ready
|
|
28
|
+
- when something must be judged as safe to recommend for production
|
|
29
|
+
- when real blockers must be reviewed before closing a phase or delivering
|
|
30
|
+
|
|
31
|
+
## What it does not do
|
|
32
|
+
|
|
33
|
+
- it does not replace the `trackops quality ...` runtime
|
|
34
|
+
- it does not invent checks or criteria
|
|
35
|
+
- it does not soften runtime blockers
|
|
36
|
+
- it does not publish, deploy, or approve by itself
|
|
37
|
+
|
|
38
|
+
## Mandatory commands
|
|
39
|
+
|
|
40
|
+
- before closing a phase or declaring stability, run `trackops quality status`
|
|
41
|
+
- if the decision affects a phase, also run `trackops quality phase-readiness`
|
|
42
|
+
- after relevant code, environment, build, or smoke changes, run `trackops quality verify`
|
|
43
|
+
- before `trackops release`, run `trackops quality release-readiness`
|
|
44
|
+
- before recommending production, run `trackops quality promote-readiness --target production`
|
|
45
|
+
|
|
46
|
+
## Decision rules
|
|
47
|
+
|
|
48
|
+
- `phase-readiness` is advisory
|
|
49
|
+
- `release-readiness` decides whether release is allowed
|
|
50
|
+
- `promote-readiness` decides whether production can be recommended
|
|
51
|
+
- if the runtime blocks, do not invent exceptions
|
|
52
|
+
|
|
53
|
+
## Waiver policy
|
|
54
|
+
|
|
55
|
+
- only use waivers with explicit human approval
|
|
56
|
+
- a waiver must expire
|
|
57
|
+
- a waiver never erases evidence
|
|
58
|
+
|
|
59
|
+
## Required output
|
|
60
|
+
|
|
61
|
+
Always answer in this exact order:
|
|
62
|
+
|
|
63
|
+
1. `Current state`
|
|
64
|
+
2. `Real blockers`
|
|
65
|
+
3. `Next action`
|
|
66
|
+
4. `Final decision`
|
|
67
|
+
|
|
68
|
+
## Which reference to read and when
|
|
69
|
+
|
|
70
|
+
- read `locales/en/references/commands.md` to decide which command to run
|
|
71
|
+
- read `locales/en/references/decision-policy.md` to interpret advisory vs hard gate
|
|
72
|
+
- read `locales/en/references/output-format.md` before replying when the answer may affect a release or production decision
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Commands
|
|
2
|
+
|
|
3
|
+
Use the `trackops quality ...` runtime as the single source of truth.
|
|
4
|
+
|
|
5
|
+
## Execution order
|
|
6
|
+
|
|
7
|
+
1. If the user wants a status check or phase close review:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
trackops quality status
|
|
11
|
+
trackops quality phase-readiness
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. If there were relevant code, environment, build, or smoke changes:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
trackops quality verify --scope all
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. If the decision affects release:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
trackops quality release-readiness
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
4. If the decision affects production:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
trackops quality promote-readiness --target production
|
|
30
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Decision policy
|
|
2
|
+
|
|
3
|
+
- `trackops quality status` inspects the current state
|
|
4
|
+
- `trackops quality verify` runs declared checks and stores evidence
|
|
5
|
+
- `trackops quality phase-readiness` is advisory
|
|
6
|
+
- `trackops quality release-readiness` is a hard gate for release
|
|
7
|
+
- `trackops quality promote-readiness --target production` is a hard gate for production
|
|
8
|
+
|
|
9
|
+
Not allowed:
|
|
10
|
+
|
|
11
|
+
- reinterpreting runtime blockers
|
|
12
|
+
- declaring release-ready without `release-readiness`
|
|
13
|
+
- recommending production without `promote-readiness`
|
|
14
|
+
- using waivers without explicit human approval and expiration
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Output format
|
|
2
|
+
|
|
3
|
+
Always answer with these four sections in this order:
|
|
4
|
+
|
|
5
|
+
## Current state
|
|
6
|
+
|
|
7
|
+
- summarize the overall state
|
|
8
|
+
|
|
9
|
+
## Real blockers
|
|
10
|
+
|
|
11
|
+
- list only runtime blockers
|
|
12
|
+
|
|
13
|
+
## Next action
|
|
14
|
+
|
|
15
|
+
- give the minimum concrete next action
|
|
16
|
+
|
|
17
|
+
## Final decision
|
|
18
|
+
|
|
19
|
+
- `ready`
|
|
20
|
+
- `not ready`
|
|
21
|
+
- `ready only with explicit human approval`
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Comandos
|
|
2
|
+
|
|
3
|
+
Usa el runtime `trackops quality ...` como fuente única de verdad.
|
|
4
|
+
|
|
5
|
+
## Orden de ejecución
|
|
6
|
+
|
|
7
|
+
1. Si el usuario quiere revisar estado o cerrar fase:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
trackops quality status
|
|
11
|
+
trackops quality phase-readiness
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. Si hubo cambios relevantes en código, entorno, build o smoke:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
trackops quality verify --scope all
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. Si la decisión afecta a release:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
trackops quality release-readiness
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
4. Si la decisión afecta a producción:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
trackops quality promote-readiness --target production
|
|
30
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Política de decisión
|
|
2
|
+
|
|
3
|
+
- `trackops quality status` inspecciona el estado actual
|
|
4
|
+
- `trackops quality verify` ejecuta checks declarados y guarda evidencia
|
|
5
|
+
- `trackops quality phase-readiness` es advisory
|
|
6
|
+
- `trackops quality release-readiness` es gate duro para release
|
|
7
|
+
- `trackops quality promote-readiness --target production` es gate duro para producción
|
|
8
|
+
|
|
9
|
+
No está permitido:
|
|
10
|
+
|
|
11
|
+
- reinterpretar blockers del runtime
|
|
12
|
+
- declarar release-ready sin `release-readiness`
|
|
13
|
+
- recomendar producción sin `promote-readiness`
|
|
14
|
+
- usar waivers sin aprobación humana explícita y caducidad
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Formato de salida
|
|
2
|
+
|
|
3
|
+
Responde siempre con estas cuatro secciones y en este orden:
|
|
4
|
+
|
|
5
|
+
## Estado actual
|
|
6
|
+
|
|
7
|
+
- resume el estado general
|
|
8
|
+
|
|
9
|
+
## Blockers reales
|
|
10
|
+
|
|
11
|
+
- enumera solo los bloqueos del runtime
|
|
12
|
+
|
|
13
|
+
## Acción siguiente
|
|
14
|
+
|
|
15
|
+
- indica la próxima acción mínima y concreta
|
|
16
|
+
|
|
17
|
+
## Decisión final
|
|
18
|
+
|
|
19
|
+
- `listo`
|
|
20
|
+
- `no listo`
|
|
21
|
+
- `listo solo con aprobación humana explícita`
|