trackops 1.0.0 → 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.
Files changed (72) hide show
  1. package/README.md +341 -232
  2. package/bin/trackops.js +102 -70
  3. package/lib/config.js +260 -35
  4. package/lib/control.js +518 -475
  5. package/lib/env.js +227 -0
  6. package/lib/i18n.js +61 -53
  7. package/lib/init.js +146 -55
  8. package/lib/locale.js +63 -0
  9. package/lib/opera-bootstrap.js +523 -0
  10. package/lib/opera.js +319 -170
  11. package/lib/registry.js +27 -13
  12. package/lib/release.js +56 -0
  13. package/lib/resources.js +42 -0
  14. package/lib/server.js +912 -418
  15. package/lib/skills.js +148 -124
  16. package/lib/workspace.js +260 -0
  17. package/locales/en.json +331 -139
  18. package/locales/es.json +331 -139
  19. package/package.json +14 -3
  20. package/scripts/skills-marketplace-smoke.js +124 -0
  21. package/scripts/smoke-tests.js +445 -0
  22. package/scripts/sync-skill-version.js +21 -0
  23. package/scripts/validate-skill.js +88 -0
  24. package/skills/trackops/SKILL.md +64 -0
  25. package/skills/trackops/agents/openai.yaml +3 -0
  26. package/skills/trackops/references/activation.md +39 -0
  27. package/skills/trackops/references/troubleshooting.md +34 -0
  28. package/skills/trackops/references/workflow.md +20 -0
  29. package/skills/trackops/scripts/bootstrap-trackops.js +201 -0
  30. package/skills/trackops/skill.json +29 -0
  31. package/templates/etapa/agent.md +2 -2
  32. package/templates/etapa/references/etapa-cycle.md +1 -1
  33. package/templates/opera/agent.md +1 -1
  34. package/templates/opera/en/agent.md +26 -0
  35. package/templates/opera/en/genesis.md +79 -0
  36. package/templates/opera/en/references/autonomy-and-recovery.md +23 -0
  37. package/templates/opera/en/references/opera-cycle.md +62 -0
  38. package/templates/opera/en/registry.md +28 -0
  39. package/templates/opera/en/router.md +39 -0
  40. package/templates/opera/genesis.md +79 -94
  41. package/templates/skills/changelog-updater/locales/en/SKILL.md +11 -0
  42. package/templates/skills/commiter/locales/en/SKILL.md +11 -0
  43. package/templates/skills/project-starter-skill/SKILL.md +5 -3
  44. package/templates/skills/project-starter-skill/locales/en/SKILL.md +24 -0
  45. package/ui/css/base.css +266 -0
  46. package/ui/css/charts.css +327 -0
  47. package/ui/css/components.css +570 -0
  48. package/ui/css/panels.css +956 -0
  49. package/ui/css/tokens.css +227 -0
  50. package/ui/favicon.svg +5 -0
  51. package/ui/index.html +91 -351
  52. package/ui/js/api.js +220 -0
  53. package/ui/js/app.js +200 -0
  54. package/ui/js/console-logger.js +172 -0
  55. package/ui/js/i18n.js +14 -0
  56. package/ui/js/icons.js +104 -0
  57. package/ui/js/onboarding.js +439 -0
  58. package/ui/js/router.js +125 -0
  59. package/ui/js/state.js +130 -0
  60. package/ui/js/theme.js +100 -0
  61. package/ui/js/time-tracker.js +248 -0
  62. package/ui/js/utils.js +175 -0
  63. package/ui/js/views/board.js +255 -0
  64. package/ui/js/views/execution.js +256 -0
  65. package/ui/js/views/flash.js +47 -0
  66. package/ui/js/views/insights.js +340 -0
  67. package/ui/js/views/overview.js +365 -0
  68. package/ui/js/views/settings.js +381 -0
  69. package/ui/js/views/sidebar.js +131 -0
  70. package/ui/js/views/skills.js +163 -0
  71. package/ui/js/views/tasks.js +406 -0
  72. package/ui/js/views/topbar.js +239 -0
package/README.md CHANGED
@@ -1,358 +1,467 @@
1
1
  <p align="center">
2
- <img src="docs/assets/TrackOps.webp" alt="TrackOps" width="400" />
2
+ <img src="docs/assets/logo.svg" alt="TrackOps Logo" width="96" height="96" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">TrackOps</h1>
6
6
 
7
7
  <p align="center">
8
- <strong>El motor operativo open-source para desarrolladores que construyen con IA.</strong>
8
+ <strong>Local orchestration and operational automation for AI-agent projects.</strong>
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
12
  <a href="https://www.npmjs.com/package/trackops"><img src="https://img.shields.io/npm/v/trackops?color=D97706&style=flat-square" alt="npm" /></a>
13
- <a href="LICENSE"><img src="https://img.shields.io/badge/licencia-MIT-22C55E?style=flat-square" alt="MIT" /></a>
14
- <img src="https://img.shields.io/badge/dependencias-0-D97706?style=flat-square" alt="0 deps" />
13
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22C55E?style=flat-square" alt="MIT" /></a>
15
14
  <img src="https://img.shields.io/badge/node-%3E%3D18-333?style=flat-square" alt="Node 18+" />
16
15
  </p>
17
16
 
18
17
  <p align="center">
19
- <a href="#español">Español</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="#english">English</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="https://baxahaun.github.io/trackops">Web</a>
18
+ <a href="#español">Español</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="#english">English</a>&nbsp;&nbsp;·&nbsp;&nbsp;<a href="https://baxahaun.github.io/trackops/">Web</a>
20
19
  </p>
21
20
 
22
- <br/>
23
-
24
21
  ---
25
22
 
26
23
  ## Español
27
24
 
28
- ### El Problema: La IA es rápida. El caos también.
25
+ TrackOps es un sistema local de orquestación y automatización operativa de proyectos y desarrollo con agentes IA.
29
26
 
30
- Escribir código con asistentes de IA (Cursor, Copilot, Claude Code, agentes autónomos) es increíblemente rápido. Pero a medida que el proyecto crece, **la IA pierde el contexto**, olvida las prioridades y el proyecto se convierte en una pesadilla de mantenimiento.
27
+ Prepara a tus agentes, ordena el trabajo del proyecto y mantiene separadas la aplicación real y la capa operativa, sin depender de una nube externa.
31
28
 
32
- Tu agente no sabe qué tarea es prioritaria. No sabe qué está bloqueado. No sabe en qué fase estás. Y tú terminas repitiendo instrucciones en cada prompt.
29
+ ### Modelo actual
33
30
 
34
- ### La Solución: TrackOps
31
+ TrackOps funciona con dos capas:
35
32
 
36
- TrackOps es un **motor operativo local de código abierto** que actúa como puente entre tú (el humano) y tus agentes de IA.
33
+ 1. `skill global`
34
+ se instala una vez en tu agente o CLI
35
+ 2. `activación local por proyecto`
36
+ se ejecuta cuando quieres gestionar un repo concreto
37
37
 
38
- **Tú** gestionas el proyecto visualmente a través de un elegante **Dashboard Web local**. TrackOps compila automáticamente ese estado en **archivos Markdown hiper-estructurados** (`task_plan.md`, `progress.md`, `findings.md`) que tu IA lee para saber exactamente qué hacer, qué reglas seguir y qué prioridades existen.
38
+ El flujo oficial es este:
39
39
 
40
- > **La IA se encarga del código. TrackOps se encarga del proyecto.**
40
+ 1. instala la skill global
41
+ 2. deja que la skill asegure el runtime en primer uso
42
+ 3. activa TrackOps en un repo con `trackops init`
43
+ 4. añade OPERA solo si lo necesitas con `trackops opera install`
41
44
 
42
- <br/>
45
+ ### Instalación global
43
46
 
44
- ### Por qué TrackOps se volverá indispensable en tu flujo
47
+ TrackOps se distribuye como skill global desde el ecosistema `skills`.
45
48
 
46
- | | |
47
- |---|---|
48
- | **Adopción en 10 segundos** | Un solo comando: `npx trackops init`. Cero configuración, cero dependencias, cero bases de datos. |
49
- | **Contexto determinista** | No dejes que la IA adivine. TrackOps sincroniza la verdad absoluta de tu proyecto en archivos Markdown que las IAs entienden nativamente. |
50
- | **Dashboard local premium** | Interfaz web profesional que corre en tu terminal. Sin telemetría, sin nube, **100% privado**. |
51
- | **Integración Git nativa** | TrackOps sabe cuándo haces commit, merge o checkout, capturando la salud del repositorio de forma automática. |
52
- | **Portfolio multi-proyecto** | Registra todos tus proyectos y navega entre ellos desde un solo dashboard. |
53
- | **Framework OPERA** | Metodología de desarrollo con agentes IA en 5 fases: Orquestar, Probar, Estructurar, Refinar, Automatizar. |
54
- | **Ecosistema de Skills** | Plugins modulares que dotan a tu proyecto de capacidades automatizadas: `trackops skill install <nombre>`. |
49
+ ```bash
50
+ npx skills add Baxahaun/trackops --skill trackops --full-depth --global --agent codex -y
51
+ ```
52
+
53
+ Targets soportados en la skill:
55
54
 
56
- <br/>
55
+ - `antigravity`
56
+ - `claude-code`
57
+ - `codex`
58
+ - `cursor`
59
+ - `gemini-cli`
60
+ - `github-copilot`
61
+ - `kiro-cli`
57
62
 
58
- ### Inicio Rápido
63
+ La skill global:
59
64
 
60
- No necesitas instalar nada globalmente. Ve a cualquier proyecto y ejecuta:
65
+ - hace disponible TrackOps para tu agente
66
+ - asegura el runtime npm en primer uso
67
+ - no modifica repos por sí sola
68
+
69
+ ### Bootstrap del runtime
70
+
71
+ En el primer uso real, la skill ejecuta su bootstrap:
61
72
 
62
73
  ```bash
63
- npx trackops init # Inicializa el motor en tu proyecto
64
- npx trackops dashboard # Levanta el centro de control web
74
+ node scripts/bootstrap-trackops.js
65
75
  ```
66
76
 
67
- El flujo desde consola en tu día a día:
77
+ Ese bootstrap:
78
+
79
+ - valida `Node.js >= 18`
80
+ - valida `npm`
81
+ - instala o actualiza `trackops`
82
+ - verifica el comando
83
+ - registra el estado en `~/.trackops/runtime.json`
84
+
85
+ Contrato de la skill: [skills/trackops/skill.json](./skills/trackops/skill.json)
86
+
87
+ ### Activación local por proyecto
88
+
89
+ Cuando quieres gestionar un repo:
68
90
 
69
91
  ```bash
70
- npx trackops status # Salud del proyecto y bloqueos
71
- npx trackops next # Siguiente tarea priorizada
72
- npx trackops task start T-001 # Empieza a trabajar
73
- npx trackops sync # Genera contexto Markdown para tu IA
92
+ trackops init
93
+ trackops opera install
74
94
  ```
75
95
 
76
- <br/>
96
+ Semántica oficial:
77
97
 
78
- ### Arquitectura de 3 Capas
98
+ - `trackops init`
99
+ crea por defecto un workspace split con `app/`, `ops/`, `/.env`, `/.env.example` y `.trackops-workspace.json`
100
+ - `trackops opera install`
101
+ añade OPERA sobre un proyecto ya inicializado y escribe solo en `ops/`
102
+ - `trackops init --with-opera`
103
+ existe como atajo explícito
104
+ - `trackops init --legacy-layout`
105
+ existe solo por compatibilidad
79
106
 
80
- Diseñado para escalar desde un script de fin de semana hasta infraestructura empresarial.
107
+ ### Workspace split
81
108
 
82
- ```
83
- ┌─────────────────────────────────────────────────────┐
84
- │ Capa 3 · Ecosistema de Skills │
85
- │ Plugins modulares para automatizar capacidades │
86
- trackops skill install / list / remove / catalog │
87
- ├─────────────────────────────────────────────────────┤
88
- │ Capa 2 · Framework OPERA (opcional) │
89
- │ Enrutamiento de agentes y metodología estructurada │
90
- trackops opera install / configure / status │
91
- ├─────────────────────────────────────────────────────┤
92
- │ Capa 1 · Motor Core (siempre activo) │
93
- │ CLI + Servidor Web Local + Generador de Markdown │
94
- │ tareas · dashboard · registro · git hooks · sync │
95
- └─────────────────────────────────────────────────────┘
109
+ TrackOps separa tu producto real en `app/` y la operación en `ops/`, para que no se mezclen.
110
+
111
+ ```text
112
+ mi-proyecto/
113
+ ├── .trackops-workspace.json
114
+ ├── .env
115
+ ├── .env.example
116
+ ├── app/
117
+ ├── .env
118
+ │ └── ...producto real...
119
+ └── ops/
120
+ ├── project_control.json
121
+ ├── task_plan.md
122
+ ├── progress.md
123
+ ├── findings.md
124
+ ├── genesis.md
125
+ ├── .agent/hub/
126
+ ├── .agents/skills/
127
+ ├── .githooks/
128
+ └── .tmp/
96
129
  ```
97
130
 
98
- <br/>
131
+ Fuente de verdad operativa:
99
132
 
100
- ### Metodología OPERA
133
+ - split layout: `ops/project_control.json`
134
+ - legacy layout: `project_control.json`
101
135
 
102
- Framework opcional de 5 fases para desarrollo estructurado con IA. Cada fase tiene un **Definition of Done** verificable:
136
+ ### Entorno y secretos
103
137
 
104
- | Fase | Nombre | Foco | Entregable |
105
- |------|--------|------|------------|
106
- | **O** | Orquestar | Visión, datos, reglas de negocio | Schema JSON en `genesis.md` |
107
- | **P** | Probar | Conectividad y validación | Scripts de test pasando |
108
- | **E** | Estructurar | Construcción en 3 capas | SOPs + tools + integración |
109
- | **R** | Refinar | Refinamiento y calidad | Outputs validados |
110
- | **A** | Automatizar | Despliegue y triggers | Triggers + smoke test |
138
+ TrackOps gestiona un contrato explícito de entorno:
111
139
 
112
- Las fases son totalmente configurables por proyecto vía `project_control.json`.
140
+ - `/.env`
141
+ archivo real de secretos del workspace
142
+ - `/.env.example`
143
+ contrato público de variables
144
+ - `app/.env`
145
+ puente de compatibilidad para herramientas del producto
113
146
 
114
- <br/>
147
+ Comandos principales:
115
148
 
116
- ### Referencia de Comandos
149
+ ```bash
150
+ trackops env status
151
+ trackops env sync
152
+ ```
117
153
 
118
- <details>
119
- <summary><strong>Motor Core</strong></summary>
154
+ ### Trabajo diario
120
155
 
121
- | Comando | Descripción |
122
- |---------|-------------|
123
- | `trackops init [--with-opera] [--locale es\|en]` | Inicializar en el directorio actual |
124
- | `trackops status` | Estado: foco, fase, tareas, bloqueadores, repo |
125
- | `trackops next` | Próximas tareas ejecutables priorizadas |
126
- | `trackops sync` | Regenerar task_plan.md, progress.md, findings.md |
127
- | `trackops dashboard` | Lanzar dashboard web local |
128
- | `trackops task <acción> <id> [nota]` | start, review, complete, block, pending, cancel, note |
129
- | `trackops refresh-repo [--quiet]` | Actualizar runtime con estado del repo |
130
- | `trackops register` | Registrar en el portfolio multi-proyecto |
131
- | `trackops projects` | Listar proyectos registrados |
132
-
133
- </details>
134
-
135
- <details>
136
- <summary><strong>OPERA</strong></summary>
156
+ ```bash
157
+ trackops status
158
+ trackops next
159
+ trackops sync
160
+ trackops env status
161
+ trackops dashboard
162
+ ```
137
163
 
138
- | Comando | Descripción |
139
- |---------|-------------|
140
- | `trackops opera install` | Instalar metodología OPERA |
141
- | `trackops opera status` | Estado de instalación e integridad |
142
- | `trackops opera configure [--phases '...']` | Reconfigurar fases o idioma |
143
- | `trackops opera upgrade` | Actualizar templates a la versión del paquete |
164
+ Reglas operativas:
165
+
166
+ - usa `trackops status` para leer foco, fase y bloqueadores
167
+ - usa `trackops next` para identificar la siguiente tarea lista
168
+ - usa `trackops sync` para regenerar docs operativos
169
+ - no edites a mano `task_plan.md`, `progress.md` ni `findings.md`
170
+
171
+ El dashboard es local, encuentra un puerto libre si el preferido está ocupado y puede copiar la URL al portapapeles.
144
172
 
145
- </details>
173
+ ### CLI principal
146
174
 
147
- <details>
148
- <summary><strong>Skills</strong></summary>
175
+ #### Core
149
176
 
150
177
  | Comando | Descripción |
151
- |---------|-------------|
152
- | `trackops skill install <nombre>` | Instalar skill del catálogo |
153
- | `trackops skill list` | Listar skills instaladas |
154
- | `trackops skill remove <nombre>` | Desinstalar skill |
155
- | `trackops skill catalog` | Ver skills disponibles |
178
+ |---|---|
179
+ | `trackops init [--with-opera] [--locale es\|en] [--name "..."] [--no-bootstrap] [--legacy-layout]` | Inicializa TrackOps en el repo actual |
180
+ | `trackops status` | Muestra el estado operativo actual |
181
+ | `trackops next` | Muestra las siguientes tareas listas |
182
+ | `trackops sync` | Regenera la documentación operativa |
183
+ | `trackops workspace status` | Muestra layout, roots y configuración del workspace |
184
+ | `trackops workspace migrate` | Migra un proyecto legacy al layout `app/` + `ops/` |
185
+ | `trackops env status` | Audita claves requeridas, presentes y faltantes sin mostrar valores |
186
+ | `trackops env sync` | Crea o regenera `/.env`, `/.env.example` y el puente `app/.env` |
187
+ | `trackops release [--push]` | Publica la rama configurada a partir de `app/` |
188
+ | `trackops dashboard [--port N] [--host HOST] [--public] [--strict-port]` | Lanza el dashboard local |
189
+ | `trackops version` | Imprime la versión instalada |
190
+
191
+ #### OPERA
156
192
 
157
- </details>
193
+ | Comando | Descripción |
194
+ |---|---|
195
+ | `trackops opera install [--locale es\|en] [--non-interactive] [--no-bootstrap]` | Instala OPERA en el proyecto actual |
196
+ | `trackops opera bootstrap [--locale es\|en] [--non-interactive]` | Reanuda el bootstrap OPERA |
197
+ | `trackops opera status` | Muestra el estado de instalación y bootstrap |
198
+ | `trackops opera configure [--phases '...'] [--locale es\|en]` | Reconfigura fases o idioma |
199
+ | `trackops opera upgrade` | Actualiza los templates OPERA a la versión del paquete |
158
200
 
159
- <br/>
201
+ #### Skills del proyecto
160
202
 
161
- ### Estructura del Proyecto
203
+ `trackops skill ...` gestiona skills nativas del proyecto. En split layout viven en `ops/.agents/skills/`.
162
204
 
205
+ ```bash
206
+ trackops skill catalog
207
+ trackops skill install commiter
208
+ trackops skill list
209
+ trackops skill remove commiter
163
210
  ```
164
- mi-proyecto/
165
- ├── project_control.json # Fuente de verdad operativa
166
- ├── task_plan.md # Plan de tareas (auto-generado)
167
- ├── progress.md # Diario de progreso (auto-generado)
168
- ├── findings.md # Hallazgos (auto-generado)
169
- ├── genesis.md # Constitución del proyecto (OPERA)
170
- ├── .agent/hub/ # Identidad del agente + router (OPERA)
171
- └── .agents/skills/ # Skills instaladas (OPERA)
211
+
212
+ ### Vía alternativa sin skill global
213
+
214
+ Si no quieres usar la distribución por skill:
215
+
216
+ ```bash
217
+ npx trackops init
218
+ npx trackops dashboard
172
219
  ```
173
220
 
174
- <br/>
221
+ O instala el paquete globalmente con npm:
175
222
 
176
- ### Apoya el Proyecto
223
+ ```bash
224
+ npm install -g trackops
225
+ trackops init
226
+ trackops opera install
227
+ ```
177
228
 
178
- TrackOps es y siempre será **libre, gratuito y de código abierto** (MIT). Construimos esto para resolver un problema real de la comunidad de desarrolladores.
229
+ ### Publicación y validación
179
230
 
180
- Si TrackOps te ha ayudado a recuperar el control de tus proyectos con IA:
231
+ Antes de publicar:
181
232
 
182
- 1. **Dale una estrella en GitHub** — ayuda enormemente a la visibilidad.
183
- 2. **Comparte TrackOps** con tu equipo y en tus redes.
184
- 3. **Contribuye** — Pull Requests, reporte de bugs y nuevas Skills son siempre bienvenidos.
233
+ ```bash
234
+ trackops workspace status
235
+ trackops env status
236
+ npm run skill:validate
237
+ npm run skill:smoke
238
+ npm run release:check
239
+ ```
185
240
 
186
- <br/>
241
+ En proyectos split, `trackops release` publica solo el contenido de `app/` hacia la rama configurada e incluye `.env.example`. No publica `/.env`, `ops/` ni `.trackops-workspace.json`.
242
+
243
+ Guía ampliada: [UserGUIDE.md](./UserGUIDE.md)
187
244
 
188
245
  ---
189
246
 
190
247
  ## English
191
248
 
192
- ### The Problem: AI is fast. So is chaos.
249
+ TrackOps is a local orchestration and operational automation system for projects and AI-agent development.
193
250
 
194
- Writing code with AI assistants (Cursor, Copilot, Claude Code, autonomous agents) is incredibly fast. But as the project grows, **the AI loses context**, forgets priorities, and the project becomes a maintenance nightmare.
251
+ It prepares your agents, organizes project execution, and keeps the real app separate from the operational layer, without depending on an external cloud.
195
252
 
196
- Your agent doesn't know which task is a priority. It doesn't know what's blocked. It doesn't know what phase you're in. And you end up repeating instructions in every prompt.
253
+ ### Current model
197
254
 
198
- ### The Solution: TrackOps
255
+ TrackOps works in two layers:
199
256
 
200
- TrackOps is a **local, open-source operational engine** that acts as a bridge between you (the human) and your AI agents.
257
+ 1. `global skill`
258
+ installed once in your agent or CLI
259
+ 2. `local per-project activation`
260
+ run only when you want to manage a specific repository
201
261
 
202
- **You** manage the project visually through an elegant **local Web Dashboard**. TrackOps automatically compiles that state into **hyper-structured Markdown files** (`task_plan.md`, `progress.md`, `findings.md`) that your AI reads to know exactly what to do, what rules to follow, and what priorities exist.
262
+ Official flow:
203
263
 
204
- > **AI handles the code. TrackOps handles the project.**
264
+ 1. install the global skill
265
+ 2. let the skill ensure the runtime on first use
266
+ 3. activate TrackOps in a repo with `trackops init`
267
+ 4. add OPERA only when needed with `trackops opera install`
205
268
 
206
- <br/>
269
+ ### Global install
207
270
 
208
- ### Why TrackOps will become essential in your workflow
271
+ TrackOps is distributed as a global skill through the `skills` ecosystem.
209
272
 
210
- | | |
211
- |---|---|
212
- | **10-second adoption** | One command: `npx trackops init`. Zero config, zero dependencies, zero databases. |
213
- | **Deterministic context** | Don't let AI guess. TrackOps syncs the absolute truth of your project into Markdown files that AIs understand natively. |
214
- | **Premium local dashboard** | Professional web interface running in your terminal. No telemetry, no cloud, **100% private**. |
215
- | **Native Git integration** | TrackOps knows when you commit, merge, or checkout, capturing repository health automatically. |
216
- | **Multi-project portfolio** | Register all your projects and navigate between them from a single dashboard. |
217
- | **OPERA Framework** | AI development methodology in 5 phases: Orchestrate, Prove, Establish, Refine, Automate. |
218
- | **Skills ecosystem** | Modular plugins that give your project automated capabilities: `trackops skill install <name>`. |
273
+ ```bash
274
+ npx skills add Baxahaun/trackops --skill trackops --full-depth --global --agent codex -y
275
+ ```
276
+
277
+ Supported skill targets:
278
+
279
+ - `antigravity`
280
+ - `claude-code`
281
+ - `codex`
282
+ - `cursor`
283
+ - `gemini-cli`
284
+ - `github-copilot`
285
+ - `kiro-cli`
286
+
287
+ The global skill:
219
288
 
220
- <br/>
289
+ - makes TrackOps available to your agent
290
+ - ensures the npm runtime on first use
291
+ - does not mutate repositories by itself
221
292
 
222
- ### Quick Start
293
+ ### Runtime bootstrap
223
294
 
224
- No global install needed. Go to any project and run:
295
+ On first real use, the skill runs:
225
296
 
226
297
  ```bash
227
- npx trackops init # Initialize the engine in your project
228
- npx trackops dashboard # Launch the web control center
298
+ node scripts/bootstrap-trackops.js
229
299
  ```
230
300
 
231
- Your daily workflow from the console:
301
+ That bootstrap:
302
+
303
+ - validates `Node.js >= 18`
304
+ - validates `npm`
305
+ - installs or updates `trackops`
306
+ - verifies the command
307
+ - records state in `~/.trackops/runtime.json`
308
+
309
+ Skill contract: [skills/trackops/skill.json](./skills/trackops/skill.json)
310
+
311
+ ### Local per-project activation
312
+
313
+ When you want to manage a repository:
232
314
 
233
315
  ```bash
234
- npx trackops status # Project health and blockers
235
- npx trackops next # Next prioritized task
236
- npx trackops task start T-001 # Start working
237
- npx trackops sync # Generate Markdown context for your AI
316
+ trackops init
317
+ trackops opera install
238
318
  ```
239
319
 
240
- <br/>
320
+ Official semantics:
241
321
 
242
- ### 3-Layer Architecture
322
+ - `trackops init`
323
+ creates a split workspace by default with `app/`, `ops/`, `/.env`, `/.env.example`, and `.trackops-workspace.json`
324
+ - `trackops opera install`
325
+ adds OPERA to an initialized project and writes only inside `ops/`
326
+ - `trackops init --with-opera`
327
+ exists as an explicit shortcut
328
+ - `trackops init --legacy-layout`
329
+ exists only for compatibility
243
330
 
244
- Designed to scale from a weekend script to enterprise infrastructure.
331
+ ### Split workspace
245
332
 
246
- ```
247
- ┌─────────────────────────────────────────────────────┐
248
- │ Layer 3 · Skills Ecosystem │
249
- │ Modular plugins for automated capabilities │
250
- trackops skill install / list / remove / catalog │
251
- ├─────────────────────────────────────────────────────┤
252
- │ Layer 2 · OPERA Framework (optional) │
253
- │ Agent routing and structured methodology │
254
- trackops opera install / configure / status │
255
- ├─────────────────────────────────────────────────────┤
256
- │ Layer 1 · Core Engine (always active) │
257
- │ CLI + Local Web Server + Markdown Generator │
258
- │ tasks · dashboard · registry · git hooks · sync │
259
- └─────────────────────────────────────────────────────┘
333
+ TrackOps separates your real product into `app/` and operations into `ops/`, so they do not get mixed.
334
+
335
+ ```text
336
+ my-project/
337
+ ├── .trackops-workspace.json
338
+ ├── .env
339
+ ├── .env.example
340
+ ├── app/
341
+ ├── .env
342
+ │ └── ...real product...
343
+ └── ops/
344
+ ├── project_control.json
345
+ ├── task_plan.md
346
+ ├── progress.md
347
+ ├── findings.md
348
+ ├── genesis.md
349
+ ├── .agent/hub/
350
+ ├── .agents/skills/
351
+ ├── .githooks/
352
+ └── .tmp/
260
353
  ```
261
354
 
262
- <br/>
355
+ Operational source of truth:
263
356
 
264
- ### OPERA Methodology
357
+ - split layout: `ops/project_control.json`
358
+ - legacy layout: `project_control.json`
265
359
 
266
- Optional 5-phase framework for structured AI-assisted development. Each phase has a verifiable **Definition of Done**:
360
+ ### Environment and secrets
267
361
 
268
- | Phase | Name | Focus | Deliverable |
269
- |-------|------|-------|-------------|
270
- | **O** | Orchestrate | Vision, data, business rules | JSON schema in `genesis.md` |
271
- | **P** | Prove | Connectivity and validation | Passing test scripts |
272
- | **E** | Establish | 3-layer build | SOPs + tools + integration |
273
- | **R** | Refine | Refinement and quality | Validated outputs |
274
- | **A** | Automate | Deployment and triggers | Triggers + smoke test |
362
+ TrackOps manages an explicit environment contract:
275
363
 
276
- Phases are fully configurable per project via `project_control.json`.
364
+ - `/.env`
365
+ real secrets file for the workspace
366
+ - `/.env.example`
367
+ public variable contract
368
+ - `app/.env`
369
+ compatibility bridge for product tooling
277
370
 
278
- <br/>
371
+ Main commands:
279
372
 
280
- ### Command Reference
373
+ ```bash
374
+ trackops env status
375
+ trackops env sync
376
+ ```
281
377
 
282
- <details>
283
- <summary><strong>Core Engine</strong></summary>
378
+ ### Daily workflow
284
379
 
285
- | Command | Description |
286
- |---------|-------------|
287
- | `trackops init [--with-opera] [--locale es\|en]` | Initialize in current directory |
288
- | `trackops status` | State: focus, phase, tasks, blockers, repo |
289
- | `trackops next` | Next prioritized executable tasks |
290
- | `trackops sync` | Regenerate task_plan.md, progress.md, findings.md |
291
- | `trackops dashboard` | Launch local web dashboard |
292
- | `trackops task <action> <id> [note]` | start, review, complete, block, pending, cancel, note |
293
- | `trackops refresh-repo [--quiet]` | Update runtime with repo state |
294
- | `trackops register` | Register in multi-project portfolio |
295
- | `trackops projects` | List registered projects |
296
-
297
- </details>
298
-
299
- <details>
300
- <summary><strong>OPERA</strong></summary>
380
+ ```bash
381
+ trackops status
382
+ trackops next
383
+ trackops sync
384
+ trackops env status
385
+ trackops dashboard
386
+ ```
301
387
 
302
- | Command | Description |
303
- |---------|-------------|
304
- | `trackops opera install` | Install OPERA methodology |
305
- | `trackops opera status` | Installation state and integrity |
306
- | `trackops opera configure [--phases '...']` | Reconfigure phases or locale |
307
- | `trackops opera upgrade` | Update templates to package version |
388
+ Operating rules:
389
+
390
+ - use `trackops status` to inspect focus, phase, and blockers
391
+ - use `trackops next` to find the next ready task
392
+ - use `trackops sync` to regenerate operational docs
393
+ - do not hand-edit `task_plan.md`, `progress.md`, or `findings.md`
308
394
 
309
- </details>
395
+ The dashboard is local, finds a free port if the preferred one is busy, and can copy the URL to the clipboard.
310
396
 
311
- <details>
312
- <summary><strong>Skills</strong></summary>
397
+ ### Main CLI
398
+
399
+ #### Core
313
400
 
314
401
  | Command | Description |
315
- |---------|-------------|
316
- | `trackops skill install <name>` | Install skill from catalog |
317
- | `trackops skill list` | List installed skills |
318
- | `trackops skill remove <name>` | Uninstall skill |
319
- | `trackops skill catalog` | Show available skills |
402
+ |---|---|
403
+ | `trackops init [--with-opera] [--locale es\|en] [--name "..."] [--no-bootstrap] [--legacy-layout]` | Initialize TrackOps in the current repo |
404
+ | `trackops status` | Show the current operational state |
405
+ | `trackops next` | Show the next ready tasks |
406
+ | `trackops sync` | Regenerate operational docs |
407
+ | `trackops workspace status` | Show workspace layout, roots, and publish configuration |
408
+ | `trackops workspace migrate` | Migrate a legacy project to the `app/` + `ops/` layout |
409
+ | `trackops env status` | Audit required, present, and missing keys without showing values |
410
+ | `trackops env sync` | Create or regenerate `/.env`, `/.env.example`, and the `app/.env` bridge |
411
+ | `trackops release [--push]` | Publish the configured branch from `app/` |
412
+ | `trackops dashboard [--port N] [--host HOST] [--public] [--strict-port]` | Launch the local dashboard |
413
+ | `trackops version` | Print the installed version |
414
+
415
+ #### OPERA
320
416
 
321
- </details>
417
+ | Command | Description |
418
+ |---|---|
419
+ | `trackops opera install [--locale es\|en] [--non-interactive] [--no-bootstrap]` | Install OPERA in the current project |
420
+ | `trackops opera bootstrap [--locale es\|en] [--non-interactive]` | Resume the OPERA bootstrap |
421
+ | `trackops opera status` | Show install and bootstrap state |
422
+ | `trackops opera configure [--phases '...'] [--locale es\|en]` | Reconfigure phases or locale |
423
+ | `trackops opera upgrade` | Update OPERA templates to the package version |
322
424
 
323
- <br/>
425
+ #### Project skills
324
426
 
325
- ### Project Structure
427
+ `trackops skill ...` manages project-native skills. In split layout they live under `ops/.agents/skills/`.
326
428
 
429
+ ```bash
430
+ trackops skill catalog
431
+ trackops skill install commiter
432
+ trackops skill list
433
+ trackops skill remove commiter
327
434
  ```
328
- my-project/
329
- ├── project_control.json # Operational source of truth
330
- ├── task_plan.md # Task plan (auto-generated)
331
- ├── progress.md # Progress log (auto-generated)
332
- ├── findings.md # Findings library (auto-generated)
333
- ├── genesis.md # Project constitution (OPERA)
334
- ├── .agent/hub/ # Agent identity + router (OPERA)
335
- └── .agents/skills/ # Installed skills (OPERA)
336
- ```
337
435
 
338
- <br/>
436
+ ### Alternative path without the global skill
437
+
438
+ If you do not want to use the skill distribution path:
439
+
440
+ ```bash
441
+ npx trackops init
442
+ npx trackops dashboard
443
+ ```
339
444
 
340
- ### Support the Project
445
+ Or install the package globally with npm:
341
446
 
342
- TrackOps is and will always be **free and open-source** (MIT). We built this to solve a real problem in the developer community.
447
+ ```bash
448
+ npm install -g trackops
449
+ trackops init
450
+ trackops opera install
451
+ ```
343
452
 
344
- If TrackOps has helped you regain control of your AI-assisted projects:
453
+ ### Publish and validate
345
454
 
346
- 1. **Star us on GitHub** — it helps enormously with visibility.
347
- 2. **Share TrackOps** with your team and on social media.
348
- 3. **Contribute** — Pull Requests, bug reports, and new Skills are always welcome.
455
+ Before publishing:
349
456
 
350
- <br/>
457
+ ```bash
458
+ trackops workspace status
459
+ trackops env status
460
+ npm run skill:validate
461
+ npm run skill:smoke
462
+ npm run release:check
463
+ ```
351
464
 
352
- ---
465
+ In split projects, `trackops release` publishes only the contents of `app/` to the configured branch and includes `.env.example`. It never publishes `/.env`, `ops/`, or `.trackops-workspace.json`.
353
466
 
354
- <p align="center">
355
- <a href="https://baxahaun.com"><strong>Xavier Crespo Gríman</strong></a> · <a href="https://baxahaun.com">Baxahaun AI Venture Studio</a>
356
- <br/>
357
- <a href="LICENSE">MIT License</a> · 2026
358
- </p>
467
+ Extended guide: [UserGUIDE.md](./UserGUIDE.md)