trackops 1.0.1 → 1.1.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 +326 -270
- package/bin/trackops.js +102 -70
- package/lib/config.js +260 -35
- package/lib/control.js +517 -475
- package/lib/env.js +227 -0
- package/lib/i18n.js +61 -53
- package/lib/init.js +135 -46
- package/lib/locale.js +63 -0
- package/lib/opera-bootstrap.js +523 -0
- package/lib/opera.js +319 -170
- package/lib/registry.js +27 -13
- package/lib/release.js +56 -0
- package/lib/resources.js +42 -0
- package/lib/server.js +907 -554
- package/lib/skills.js +148 -124
- package/lib/workspace.js +260 -0
- package/locales/en.json +331 -139
- package/locales/es.json +331 -139
- package/package.json +7 -9
- package/scripts/skills-marketplace-smoke.js +124 -0
- package/scripts/smoke-tests.js +445 -0
- package/scripts/sync-skill-version.js +21 -0
- package/scripts/validate-skill.js +88 -0
- package/skills/trackops/SKILL.md +64 -0
- package/skills/trackops/agents/openai.yaml +3 -0
- package/skills/trackops/references/activation.md +39 -0
- package/skills/trackops/references/troubleshooting.md +34 -0
- package/skills/trackops/references/workflow.md +20 -0
- package/skills/trackops/scripts/bootstrap-trackops.js +201 -0
- package/skills/trackops/skill.json +29 -0
- package/templates/opera/en/agent.md +26 -0
- package/templates/opera/en/genesis.md +79 -0
- package/templates/opera/en/references/autonomy-and-recovery.md +23 -0
- package/templates/opera/en/references/opera-cycle.md +62 -0
- package/templates/opera/en/registry.md +28 -0
- package/templates/opera/en/router.md +39 -0
- package/templates/opera/genesis.md +79 -94
- package/templates/skills/changelog-updater/locales/en/SKILL.md +11 -0
- package/templates/skills/commiter/locales/en/SKILL.md +11 -0
- package/templates/skills/project-starter-skill/locales/en/SKILL.md +24 -0
- package/ui/css/panels.css +956 -953
- package/ui/index.html +1 -1
- package/ui/js/api.js +211 -194
- package/ui/js/app.js +200 -199
- package/ui/js/i18n.js +14 -0
- package/ui/js/onboarding.js +439 -437
- package/ui/js/state.js +130 -129
- package/ui/js/utils.js +175 -172
- package/ui/js/views/board.js +255 -254
- package/ui/js/views/execution.js +256 -256
- package/ui/js/views/insights.js +340 -339
- package/ui/js/views/overview.js +365 -364
- package/ui/js/views/settings.js +340 -202
- package/ui/js/views/sidebar.js +131 -132
- package/ui/js/views/skills.js +163 -162
- package/ui/js/views/tasks.js +406 -405
- package/ui/js/views/topbar.js +239 -183
|
@@ -1,94 +1,79 @@
|
|
|
1
|
-
# {{PROJECT_NAME}} — Genesis
|
|
2
|
-
|
|
3
|
-
> **La Constitución del proyecto.** Este documento es la fuente de verdad. Antes de tomar cualquier decisión arquitectónica o de implementación, consulta este archivo. Si un script contradice lo definido aquí, el script está mal.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Directriz Principal
|
|
8
|
-
|
|
9
|
-
_¿Cuál es el resultado singular deseado de este proyecto?_
|
|
10
|
-
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## 2. Integraciones Externas
|
|
16
|
-
|
|
17
|
-
_¿Qué servicios externos necesitamos? ¿Están listas las claves?_
|
|
18
|
-
|
|
19
|
-
| Servicio | Estado | Clave / Config |
|
|
20
|
-
|----------|--------|----------------|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## 3. Fuente de la Verdad
|
|
26
|
-
|
|
27
|
-
_¿Dónde viven los datos primarios?_
|
|
28
|
-
|
|
29
|
-
>
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## 4. Carga Útil (Payload)
|
|
34
|
-
|
|
35
|
-
_¿Cómo y dónde debe entregarse el resultado final?_
|
|
36
|
-
|
|
37
|
-
>
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## 5. Reglas de Comportamiento
|
|
42
|
-
|
|
43
|
-
_Restricciones, tono y reglas específicas del dominio._
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Esquema de Datos
|
|
50
|
-
|
|
51
|
-
> **Regla "Datos-Primero"**: Este schema debe estar definido antes de escribir cualquier código.
|
|
52
|
-
|
|
53
|
-
```json
|
|
54
|
-
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
<!-- Ejemplo:
|
|
81
|
-
### tool_fetch.py → tool_transform.py
|
|
82
|
-
- Output: `.tmp/raw_data.json`
|
|
83
|
-
- Formato: JSON array según schema X
|
|
84
|
-
-->
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## Templates
|
|
89
|
-
|
|
90
|
-
_Referencias a las plantillas de output definidas en `templates/`._
|
|
91
|
-
|
|
92
|
-
<!-- Ejemplo:
|
|
93
|
-
- `templates/report.md` — Plantilla para reportes
|
|
94
|
-
-->
|
|
1
|
+
# {{PROJECT_NAME}} — Genesis
|
|
2
|
+
|
|
3
|
+
> **La Constitución del proyecto.** Este documento es la fuente de verdad. Antes de tomar cualquier decisión arquitectónica o de implementación, consulta este archivo. Si un script contradice lo definido aquí, el script está mal.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Directriz Principal
|
|
8
|
+
|
|
9
|
+
_¿Cuál es el resultado singular deseado de este proyecto?_
|
|
10
|
+
|
|
11
|
+
> {{DESIRED_OUTCOME}}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 2. Integraciones Externas
|
|
16
|
+
|
|
17
|
+
_¿Qué servicios externos necesitamos? ¿Están listas las claves?_
|
|
18
|
+
|
|
19
|
+
| Servicio | Estado | Clave / Config |
|
|
20
|
+
|----------|--------|----------------|
|
|
21
|
+
{{SERVICES_TABLE}}
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 3. Fuente de la Verdad
|
|
26
|
+
|
|
27
|
+
_¿Dónde viven los datos primarios?_
|
|
28
|
+
|
|
29
|
+
> {{SOURCE_OF_TRUTH}}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 4. Carga Útil (Payload)
|
|
34
|
+
|
|
35
|
+
_¿Cómo y dónde debe entregarse el resultado final?_
|
|
36
|
+
|
|
37
|
+
> {{PAYLOAD}}
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 5. Reglas de Comportamiento
|
|
42
|
+
|
|
43
|
+
_Restricciones, tono y reglas específicas del dominio._
|
|
44
|
+
|
|
45
|
+
{{BEHAVIOR_RULES}}
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Esquema de Datos
|
|
50
|
+
|
|
51
|
+
> **Regla "Datos-Primero"**: Este schema debe estar definido antes de escribir cualquier código.
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{{DATA_SCHEMA}}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Invariantes Arquitectónicas
|
|
60
|
+
|
|
61
|
+
_Decisiones técnicas inamovibles. Cambiarlas requiere aprobación explícita (Nivel Rojo)._
|
|
62
|
+
|
|
63
|
+
{{ARCHITECTURAL_INVARIANTS}}
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Pipeline
|
|
68
|
+
|
|
69
|
+
_Documenta el grafo de dependencias entre herramientas._
|
|
70
|
+
|
|
71
|
+
{{PIPELINE_ITEMS}}
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Templates
|
|
76
|
+
|
|
77
|
+
_Referencias a las plantillas de output definidas en `templates/`._
|
|
78
|
+
|
|
79
|
+
{{TEMPLATE_ITEMS}}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "changelog-updater"
|
|
3
|
+
description: "Automatically update CHANGELOG.md from the latest commit after a successful commit."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Changelog Updater
|
|
10
|
+
|
|
11
|
+
Use this skill right after a successful commit to update `CHANGELOG.md` from the git history. It should parse the latest commit, classify it using Conventional Commit semantics, and append the entry to the proper dated section.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "commiter"
|
|
3
|
+
description: "Generate commit messages in English following strict Conventional Commits rules with emojis."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Commit Writer
|
|
10
|
+
|
|
11
|
+
Use this skill whenever a commit message must be generated. The message must follow Conventional Commits, keep the scope explicit when relevant, and preserve the emoji convention used by the project.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "project-starter-skill"
|
|
3
|
+
description: "Global skill to initialize complete projects using the O.P.E.R.A. protocol. Use it when the user wants to start a new project, scaffold a repo, initialize an agent structure, or kick off a new automation."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "3.0"
|
|
6
|
+
type: "global"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Project Starter Skill
|
|
10
|
+
|
|
11
|
+
You are the system pilot. Your job is to initialize deterministic, recoverable projects under the O.P.E.R.A. protocol.
|
|
12
|
+
|
|
13
|
+
## Protocol
|
|
14
|
+
|
|
15
|
+
1. Ask discovery questions about the desired outcome, integrations, source of truth, payload, and behavior rules.
|
|
16
|
+
2. Run `npx trackops init --with-opera`.
|
|
17
|
+
3. Populate `genesis.md` with schemas, constraints, and invariants.
|
|
18
|
+
4. Regenerate docs with `trackops sync` and refine the plan.
|
|
19
|
+
5. Ensure base skills are present: `commiter` and `changelog-updater`.
|
|
20
|
+
6. Suggest optional repo governance tasks if needed.
|
|
21
|
+
|
|
22
|
+
## Rule
|
|
23
|
+
|
|
24
|
+
Do not write delivery code before the data contract exists in `genesis.md`.
|