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.
Files changed (57) hide show
  1. package/README.md +326 -270
  2. package/bin/trackops.js +102 -70
  3. package/lib/config.js +260 -35
  4. package/lib/control.js +517 -475
  5. package/lib/env.js +227 -0
  6. package/lib/i18n.js +61 -53
  7. package/lib/init.js +135 -46
  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 +907 -554
  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 +7 -9
  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/opera/en/agent.md +26 -0
  32. package/templates/opera/en/genesis.md +79 -0
  33. package/templates/opera/en/references/autonomy-and-recovery.md +23 -0
  34. package/templates/opera/en/references/opera-cycle.md +62 -0
  35. package/templates/opera/en/registry.md +28 -0
  36. package/templates/opera/en/router.md +39 -0
  37. package/templates/opera/genesis.md +79 -94
  38. package/templates/skills/changelog-updater/locales/en/SKILL.md +11 -0
  39. package/templates/skills/commiter/locales/en/SKILL.md +11 -0
  40. package/templates/skills/project-starter-skill/locales/en/SKILL.md +24 -0
  41. package/ui/css/panels.css +956 -953
  42. package/ui/index.html +1 -1
  43. package/ui/js/api.js +211 -194
  44. package/ui/js/app.js +200 -199
  45. package/ui/js/i18n.js +14 -0
  46. package/ui/js/onboarding.js +439 -437
  47. package/ui/js/state.js +130 -129
  48. package/ui/js/utils.js +175 -172
  49. package/ui/js/views/board.js +255 -254
  50. package/ui/js/views/execution.js +256 -256
  51. package/ui/js/views/insights.js +340 -339
  52. package/ui/js/views/overview.js +365 -364
  53. package/ui/js/views/settings.js +340 -202
  54. package/ui/js/views/sidebar.js +131 -132
  55. package/ui/js/views/skills.js +163 -162
  56. package/ui/js/views/tasks.js +406 -405
  57. package/ui/js/views/topbar.js +239 -183
package/README.md CHANGED
@@ -5,407 +5,463 @@
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/estado-beta-F59E0B?style=flat-square" alt="Beta" />
15
- <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>
16
14
  <img src="https://img.shields.io/badge/node-%3E%3D18-333?style=flat-square" alt="Node 18+" />
17
15
  </p>
18
16
 
19
17
  <p align="center">
20
- <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>
21
19
  </p>
22
20
 
23
- <br/>
24
-
25
21
  ---
26
22
 
27
23
  ## Español
28
24
 
29
- > **Estado beta:** TrackOps ya es usable, pero sigue evolucionando rápido. La interfaz, los comandos y algunos flujos pueden cambiar entre versiones.
25
+ TrackOps es un sistema local de orquestación y automatización operativa de proyectos y desarrollo con agentes IA.
30
26
 
31
- > **Descargo de responsabilidad:** Revisa siempre los archivos generados, los cambios automáticos y los resultados de tus agentes antes de usarlos en proyectos sensibles o en producción.
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.
32
28
 
33
- ### El Problema: La IA es rápida. El caos también.
29
+ ### Modelo actual
34
30
 
35
- 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.
31
+ TrackOps funciona con dos capas:
36
32
 
37
- 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.
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
38
37
 
39
- ### La Solución: TrackOps
38
+ El flujo oficial es este:
40
39
 
41
- TrackOps es un **motor operativo local de código abierto** que actúa como puente entre tú (el humano) y tus agentes de IA.
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`
42
44
 
43
- **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.
45
+ ### Instalación global
44
46
 
45
- > **La IA se encarga del código. TrackOps se encarga del proyecto.**
47
+ TrackOps se distribuye como skill global desde el ecosistema `skills`.
46
48
 
47
- <br/>
49
+ ```bash
50
+ npx skills add Baxahaun/trackops --skill trackops --full-depth --global --agent codex -y
51
+ ```
48
52
 
49
- ### Por qué TrackOps se volverá indispensable en tu flujo
53
+ Targets soportados en la skill:
50
54
 
51
- | | |
52
- |---|---|
53
- | **Adopción en 10 segundos** | Un solo comando: `npx trackops init`. Cero configuración, cero dependencias, cero bases de datos. |
54
- | **Contexto determinista** | No dejes que la IA adivine. TrackOps sincroniza la verdad absoluta de tu proyecto en archivos Markdown que las IAs entienden nativamente. |
55
- | **Dashboard local premium** | Interfaz web profesional que corre en tu terminal. Sin telemetría, sin nube, **100% privado**. |
56
- | **Integración Git nativa** | TrackOps sabe cuándo haces commit, merge o checkout, capturando la salud del repositorio de forma automática. |
57
- | **Portfolio multi-proyecto** | Registra todos tus proyectos y navega entre ellos desde un solo dashboard. |
58
- | **Framework OPERA** | Metodología de desarrollo con agentes IA en 5 fases: Orquestar, Probar, Estructurar, Refinar, Automatizar. |
59
- | **Ecosistema de Skills** | Integración nativa a un click con el marketplace **skills.sh**. Habilidades y agentes modulares que dotan a tu proyecto de capacidades automatizadas avanzadas e IA pre-entrenada para tu workflow. |
55
+ - `antigravity`
56
+ - `claude-code`
57
+ - `codex`
58
+ - `cursor`
59
+ - `gemini-cli`
60
+ - `github-copilot`
61
+ - `kiro-cli`
62
+
63
+ La skill global:
60
64
 
61
- <br/>
65
+ - hace disponible TrackOps para tu agente
66
+ - asegura el runtime npm en primer uso
67
+ - no modifica repos por sí sola
62
68
 
63
- ### Inicio Rápido
69
+ ### Bootstrap del runtime
64
70
 
65
- No necesitas instalar nada globalmente. Ve a cualquier proyecto y ejecuta:
71
+ En el primer uso real, la skill ejecuta su bootstrap:
66
72
 
67
73
  ```bash
68
- npx trackops init # Inicializa el motor en tu proyecto
69
- npx trackops dashboard # Levanta el centro de control web
74
+ node scripts/bootstrap-trackops.js
70
75
  ```
71
76
 
72
- Tras `init`, también quedan disponibles atajos npm para el proyecto:
77
+ Ese bootstrap:
73
78
 
74
- ```bash
75
- npm run ops:status
76
- npm run ops:dashboard
77
- npm run ops:sync
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
79
88
 
80
- El flujo desde consola en tu día a día:
89
+ Cuando quieres gestionar un repo:
81
90
 
82
91
  ```bash
83
- npx trackops status # Salud del proyecto y bloqueos
84
- npx trackops next # Siguiente tarea priorizada
85
- npx trackops task start T-001 # Empieza a trabajar
86
- npx trackops sync # Genera contexto Markdown para tu IA
92
+ trackops init
93
+ trackops opera install
87
94
  ```
88
95
 
89
- Guía de uso paso a paso: [UserGUIDE.md](UserGUIDE.md)
96
+ Semántica oficial:
90
97
 
91
- <br/>
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
92
106
 
93
- ### Arquitectura de 3 Capas
107
+ ### Workspace split
94
108
 
95
- Diseñado para escalar desde un script de fin de semana hasta infraestructura empresarial.
109
+ TrackOps separa tu producto real en `app/` y la operación en `ops/`, para que no se mezclen.
96
110
 
97
- ```
98
- ┌─────────────────────────────────────────────────────┐
99
- │ Capa 3 · Ecosistema de Skills │
100
- │ Plugins modulares para automatizar capacidades │
101
- │ trackops skill install / list / remove / catalog │
102
- ├─────────────────────────────────────────────────────┤
103
- Capa 2 · Framework OPERA (opcional) │
104
- Enrutamiento de agentes y metodología estructurada │
105
- │ trackops opera install / configure / status │
106
- ├─────────────────────────────────────────────────────┤
107
- │ Capa 1 · Motor Core (siempre activo) │
108
- │ CLI + Servidor Web Local + Generador de Markdown │
109
- │ tareas · dashboard · registro · git hooks · sync │
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/
111
129
  ```
112
130
 
113
- <br/>
131
+ Fuente de verdad operativa:
114
132
 
115
- ### Metodología OPERA
133
+ - split layout: `ops/project_control.json`
134
+ - legacy layout: `project_control.json`
116
135
 
117
- Framework opcional de 5 fases para desarrollo estructurado con IA. Cada fase tiene un **Definition of Done** verificable:
136
+ ### Entorno y secretos
118
137
 
119
- | Fase | Nombre | Foco | Entregable |
120
- |------|--------|------|------------|
121
- | **O** | Orquestar | Visión, datos, reglas de negocio | Schema JSON en `genesis.md` |
122
- | **P** | Probar | Conectividad y validación | Scripts de test pasando |
123
- | **E** | Estructurar | Construcción en 3 capas | SOPs + tools + integración |
124
- | **R** | Refinar | Refinamiento y calidad | Outputs validados |
125
- | **A** | Automatizar | Despliegue y triggers | Triggers + smoke test |
138
+ TrackOps gestiona un contrato explícito de entorno:
126
139
 
127
- 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
128
146
 
129
- <br/>
147
+ Comandos principales:
130
148
 
131
- ### Referencia de Comandos
149
+ ```bash
150
+ trackops env status
151
+ trackops env sync
152
+ ```
132
153
 
133
- <details>
134
- <summary><strong>Motor Core</strong></summary>
154
+ ### Trabajo diario
135
155
 
136
- | Comando | Descripción |
137
- |---------|-------------|
138
- | `trackops init [--with-opera] [--locale es\|en]` | Inicializar en el directorio actual. `--with-etapa` se mantiene solo como alias heredado. |
139
- | `trackops status` | Estado: foco, fase, tareas, bloqueadores, repo |
140
- | `trackops next` | Próximas tareas ejecutables priorizadas |
141
- | `trackops sync` | Regenerar task_plan.md, progress.md, findings.md |
142
- | `trackops dashboard` | Lanzar dashboard web local |
143
- | `trackops task <acción> <id> [nota]` | start, review, complete, block, pending, cancel, note |
144
- | `trackops refresh-repo [--quiet]` | Actualizar runtime con estado del repo |
145
- | `trackops register` | Registrar en el portfolio multi-proyecto |
146
- | `trackops projects` | Listar proyectos registrados |
147
-
148
- </details>
149
-
150
- <details>
151
- <summary><strong>OPERA</strong></summary>
156
+ ```bash
157
+ trackops status
158
+ trackops next
159
+ trackops sync
160
+ trackops env status
161
+ trackops dashboard
162
+ ```
152
163
 
153
- | Comando | Descripción |
154
- |---------|-------------|
155
- | `trackops opera install` | Instalar metodología OPERA |
156
- | `trackops opera status` | Estado de instalación e integridad |
157
- | `trackops opera configure [--phases '...']` | Reconfigurar fases o idioma |
158
- | `trackops opera upgrade` | Actualizar templates a la versión del paquete |
164
+ Reglas operativas:
159
165
 
160
- </details>
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`
161
170
 
162
- <details>
163
- <summary><strong>Skills</strong></summary>
171
+ El dashboard es local, encuentra un puerto libre si el preferido está ocupado y puede copiar la URL al portapapeles.
164
172
 
165
- | Comando | Descripción |
166
- |---------|-------------|
167
- | `trackops skill install <nombre>` | Instalar skill del catálogo |
168
- | `trackops skill list` | Listar skills instaladas |
169
- | `trackops skill remove <nombre>` | Desinstalar skill |
170
- | `trackops skill catalog` | Ver skills disponibles |
173
+ ### CLI principal
171
174
 
172
- </details>
175
+ #### Core
173
176
 
174
- Antes de publicar una versión, ejecuta `npm run release:check`. La política mínima de versiones y publicación está en `docs/RELEASE.md`.
177
+ | Comando | Descripción |
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
175
192
 
176
- <br/>
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 |
177
200
 
178
- ### Estructura del Proyecto
201
+ #### Skills del proyecto
179
202
 
180
- ```
181
- mi-proyecto/
182
- ├── project_control.json # Fuente de verdad operativa
183
- ├── task_plan.md # Plan de tareas (auto-generado)
184
- ├── progress.md # Diario de progreso (auto-generado)
185
- ├── findings.md # Hallazgos (auto-generado)
186
- ├── genesis.md # Constitución del proyecto (OPERA)
187
- ├── .agent/hub/ # Identidad del agente + router (OPERA)
188
- └── .agents/skills/ # Skills instaladas (OPERA)
203
+ `trackops skill ...` gestiona skills nativas del proyecto. En split layout viven en `ops/.agents/skills/`.
204
+
205
+ ```bash
206
+ trackops skill catalog
207
+ trackops skill install commiter
208
+ trackops skill list
209
+ trackops skill remove commiter
189
210
  ```
190
211
 
191
- **Higiene del repositorio del paquete:** este repositorio solo versiona archivos propios de `trackops` como producto. Los artefactos generados al ejecutar `trackops` u `OPERA` sobre un proyecto (`project_control.json`, `task_plan.md`, `progress.md`, `findings.md`, `genesis.md`, `.agent/`, `.agents/`, `.githooks/`) se consideran salidas de uso y no deben subirse a este repo.
212
+ ### Vía alternativa sin skill global
192
213
 
193
- <br/>
214
+ Si no quieres usar la distribución por skill:
194
215
 
195
- ### Apoya el Proyecto
216
+ ```bash
217
+ npx trackops init
218
+ npx trackops dashboard
219
+ ```
196
220
 
197
- 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.
221
+ O instala el paquete globalmente con npm:
222
+
223
+ ```bash
224
+ npm install -g trackops
225
+ trackops init
226
+ trackops opera install
227
+ ```
198
228
 
199
- Si TrackOps te ha ayudado a recuperar el control de tus proyectos con IA:
229
+ ### Publicación y validación
200
230
 
201
- 1. **Dale una estrella en GitHub** — ayuda enormemente a la visibilidad.
202
- 2. **Comparte TrackOps** con tu equipo y en tus redes.
203
- 3. **Apoya con USDC en Polygon** para ayudar a mantener la documentación, las mejoras y el soporte del proyecto.
231
+ Antes de publicar:
204
232
 
205
- ```text
206
- Red: Polygon
207
- Moneda: USDC
208
- Dirección: 0x7B3d964247Dd309D13FF702649827947633e27F3
209
- ```
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
+ ```
210
240
 
211
- Envía solo `USDC` por la red `Polygon`. No envíes `BTC` ni activos de otras redes a esta dirección.
212
- 4. **Contribuye** — Pull Requests, reporte de bugs y nuevas Skills son siempre bienvenidos.
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`.
213
242
 
214
- <br/>
243
+ Guía ampliada: [UserGUIDE.md](./UserGUIDE.md)
215
244
 
216
245
  ---
217
246
 
218
247
  ## English
219
248
 
220
- > **Beta status:** TrackOps is already usable, but it is still evolving quickly. The interface, commands, and some flows may change between releases.
249
+ TrackOps is a local orchestration and operational automation system for projects and AI-agent development.
221
250
 
222
- > **Disclaimer:** Always review generated files, automated changes, and agent output before using them in sensitive or production projects.
251
+ It prepares your agents, organizes project execution, and keeps the real app separate from the operational layer, without depending on an external cloud.
223
252
 
224
- ### The Problem: AI is fast. So is chaos.
253
+ ### Current model
225
254
 
226
- 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.
255
+ TrackOps works in two layers:
227
256
 
228
- 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.
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
229
261
 
230
- ### The Solution: TrackOps
262
+ Official flow:
231
263
 
232
- TrackOps is a **local, open-source operational engine** that acts as a bridge between you (the human) and your AI agents.
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`
233
268
 
234
- **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.
269
+ ### Global install
235
270
 
236
- > **AI handles the code. TrackOps handles the project.**
271
+ TrackOps is distributed as a global skill through the `skills` ecosystem.
237
272
 
238
- <br/>
273
+ ```bash
274
+ npx skills add Baxahaun/trackops --skill trackops --full-depth --global --agent codex -y
275
+ ```
239
276
 
240
- ### Why TrackOps will become essential in your workflow
277
+ Supported skill targets:
241
278
 
242
- | | |
243
- |---|---|
244
- | **10-second adoption** | One command: `npx trackops init`. Zero config, zero dependencies, zero databases. |
245
- | **Deterministic context** | Don't let AI guess. TrackOps syncs the absolute truth of your project into Markdown files that AIs understand natively. |
246
- | **Premium local dashboard** | Professional web interface running in your terminal. No telemetry, no cloud, **100% private**. |
247
- | **Native Git integration** | TrackOps knows when you commit, merge, or checkout, capturing repository health automatically. |
248
- | **Multi-project portfolio** | Register all your projects and navigate between them from a single dashboard. |
249
- | **OPERA Framework** | AI development methodology in 5 phases: Orchestrate, Prove, Establish, Refine, Automate. |
250
- | **Skills ecosystem** | Modular plugins that give your project automated capabilities: `trackops skill install <name>`. |
279
+ - `antigravity`
280
+ - `claude-code`
281
+ - `codex`
282
+ - `cursor`
283
+ - `gemini-cli`
284
+ - `github-copilot`
285
+ - `kiro-cli`
286
+
287
+ The global skill:
251
288
 
252
- <br/>
289
+ - makes TrackOps available to your agent
290
+ - ensures the npm runtime on first use
291
+ - does not mutate repositories by itself
253
292
 
254
- ### Quick Start
293
+ ### Runtime bootstrap
255
294
 
256
- No global install needed. Go to any project and run:
295
+ On first real use, the skill runs:
257
296
 
258
297
  ```bash
259
- npx trackops init # Initialize the engine in your project
260
- npx trackops dashboard # Launch the web control center
298
+ node scripts/bootstrap-trackops.js
261
299
  ```
262
300
 
263
- After `init`, npm shortcuts are also ready to use inside the project:
301
+ That bootstrap:
264
302
 
265
- ```bash
266
- npm run ops:status
267
- npm run ops:dashboard
268
- npm run ops:sync
269
- ```
303
+ - validates `Node.js >= 18`
304
+ - validates `npm`
305
+ - installs or updates `trackops`
306
+ - verifies the command
307
+ - records state in `~/.trackops/runtime.json`
270
308
 
271
- Your daily workflow from the console:
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:
272
314
 
273
315
  ```bash
274
- npx trackops status # Project health and blockers
275
- npx trackops next # Next prioritized task
276
- npx trackops task start T-001 # Start working
277
- npx trackops sync # Generate Markdown context for your AI
316
+ trackops init
317
+ trackops opera install
278
318
  ```
279
319
 
280
- Step-by-step user guide: [UserGUIDE.md](UserGUIDE.md)
320
+ Official semantics:
281
321
 
282
- <br/>
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
283
330
 
284
- ### 3-Layer Architecture
331
+ ### Split workspace
285
332
 
286
- Designed to scale from a weekend script to enterprise infrastructure.
333
+ TrackOps separates your real product into `app/` and operations into `ops/`, so they do not get mixed.
287
334
 
288
- ```
289
- ┌─────────────────────────────────────────────────────┐
290
- │ Layer 3 · Skills Ecosystem │
291
- │ Modular plugins for automated capabilities │
292
- │ trackops skill install / list / remove / catalog │
293
- ├─────────────────────────────────────────────────────┤
294
- Layer 2 · OPERA Framework (optional) │
295
- Agent routing and structured methodology │
296
- │ trackops opera install / configure / status │
297
- ├─────────────────────────────────────────────────────┤
298
- │ Layer 1 · Core Engine (always active) │
299
- │ CLI + Local Web Server + Markdown Generator │
300
- │ tasks · dashboard · registry · git hooks · sync │
301
- └─────────────────────────────────────────────────────┘
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/
302
353
  ```
303
354
 
304
- <br/>
355
+ Operational source of truth:
305
356
 
306
- ### OPERA Methodology
357
+ - split layout: `ops/project_control.json`
358
+ - legacy layout: `project_control.json`
307
359
 
308
- Optional 5-phase framework for structured AI-assisted development. Each phase has a verifiable **Definition of Done**:
360
+ ### Environment and secrets
309
361
 
310
- | Phase | Name | Focus | Deliverable |
311
- |-------|------|-------|-------------|
312
- | **O** | Orchestrate | Vision, data, business rules | JSON schema in `genesis.md` |
313
- | **P** | Prove | Connectivity and validation | Passing test scripts |
314
- | **E** | Establish | 3-layer build | SOPs + tools + integration |
315
- | **R** | Refine | Refinement and quality | Validated outputs |
316
- | **A** | Automate | Deployment and triggers | Triggers + smoke test |
362
+ TrackOps manages an explicit environment contract:
317
363
 
318
- 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
319
370
 
320
- <br/>
371
+ Main commands:
321
372
 
322
- ### Command Reference
373
+ ```bash
374
+ trackops env status
375
+ trackops env sync
376
+ ```
323
377
 
324
- <details>
325
- <summary><strong>Core Engine</strong></summary>
378
+ ### Daily workflow
326
379
 
327
- | Command | Description |
328
- |---------|-------------|
329
- | `trackops init [--with-opera] [--locale es\|en]` | Initialize in current directory. `--with-etapa` remains as a legacy alias only. |
330
- | `trackops status` | State: focus, phase, tasks, blockers, repo |
331
- | `trackops next` | Next prioritized executable tasks |
332
- | `trackops sync` | Regenerate task_plan.md, progress.md, findings.md |
333
- | `trackops dashboard` | Launch local web dashboard |
334
- | `trackops task <action> <id> [note]` | start, review, complete, block, pending, cancel, note |
335
- | `trackops refresh-repo [--quiet]` | Update runtime with repo state |
336
- | `trackops register` | Register in multi-project portfolio |
337
- | `trackops projects` | List registered projects |
338
-
339
- </details>
340
-
341
- <details>
342
- <summary><strong>OPERA</strong></summary>
380
+ ```bash
381
+ trackops status
382
+ trackops next
383
+ trackops sync
384
+ trackops env status
385
+ trackops dashboard
386
+ ```
343
387
 
344
- | Command | Description |
345
- |---------|-------------|
346
- | `trackops opera install` | Install OPERA methodology |
347
- | `trackops opera status` | Installation state and integrity |
348
- | `trackops opera configure [--phases '...']` | Reconfigure phases or locale |
349
- | `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`
394
+
395
+ The dashboard is local, finds a free port if the preferred one is busy, and can copy the URL to the clipboard.
350
396
 
351
- </details>
397
+ ### Main CLI
352
398
 
353
- <details>
354
- <summary><strong>Skills</strong></summary>
399
+ #### Core
355
400
 
356
401
  | Command | Description |
357
- |---------|-------------|
358
- | `trackops skill install <name>` | Install skill from catalog |
359
- | `trackops skill list` | List installed skills |
360
- | `trackops skill remove <name>` | Uninstall skill |
361
- | `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
362
416
 
363
- </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 |
364
424
 
365
- <br/>
425
+ #### Project skills
366
426
 
367
- ### Project Structure
427
+ `trackops skill ...` manages project-native skills. In split layout they live under `ops/.agents/skills/`.
368
428
 
369
- ```
370
- my-project/
371
- ├── project_control.json # Operational source of truth
372
- ├── task_plan.md # Task plan (auto-generated)
373
- ├── progress.md # Progress log (auto-generated)
374
- ├── findings.md # Findings library (auto-generated)
375
- ├── genesis.md # Project constitution (OPERA)
376
- ├── .agent/hub/ # Agent identity + router (OPERA)
377
- └── .agents/skills/ # Installed skills (OPERA)
429
+ ```bash
430
+ trackops skill catalog
431
+ trackops skill install commiter
432
+ trackops skill list
433
+ trackops skill remove commiter
378
434
  ```
379
435
 
380
- **Package repository hygiene:** this repository only versions files that belong to `trackops` as a product. Artifacts generated when running `trackops` or `OPERA` on a project (`project_control.json`, `task_plan.md`, `progress.md`, `findings.md`, `genesis.md`, `.agent/`, `.agents/`, `.githooks/`) are considered runtime output and must not be committed to this repo.
436
+ ### Alternative path without the global skill
381
437
 
382
- <br/>
438
+ If you do not want to use the skill distribution path:
383
439
 
384
- ### Support the Project
385
-
386
- TrackOps is and will always be **free and open-source** (MIT). We built this to solve a real problem in the developer community.
440
+ ```bash
441
+ npx trackops init
442
+ npx trackops dashboard
443
+ ```
387
444
 
388
- If TrackOps has helped you regain control of your AI-assisted projects:
445
+ Or install the package globally with npm:
389
446
 
390
- 1. **Star us on GitHub** — it helps enormously with visibility.
391
- 2. **Share TrackOps** with your team and on social media.
392
- 3. **Support with USDC on Polygon** to help maintain documentation, improvements, and project support.
447
+ ```bash
448
+ npm install -g trackops
449
+ trackops init
450
+ trackops opera install
451
+ ```
393
452
 
394
- ```text
395
- Network: Polygon
396
- Asset: USDC
397
- Address: 0x7B3d964247Dd309D13FF702649827947633e27F3
398
- ```
453
+ ### Publish and validate
399
454
 
400
- Send only `USDC` on `Polygon`. Do not send `BTC` or assets from other networks to this address.
401
- 4. **Contribute** — Pull Requests, bug reports, and new Skills are always welcome.
455
+ Before publishing:
402
456
 
403
- <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
+ ```
404
464
 
405
- ---
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`.
406
466
 
407
- <p align="center">
408
- <a href="https://baxahaun.com"><strong>Xavier Crespo Gríman</strong></a> · <a href="https://baxahaun.com">Baxahaun AI Venture Studio</a>
409
- <br/>
410
- <a href="LICENSE">MIT License</a> · 2026
411
- </p>
467
+ Extended guide: [UserGUIDE.md](./UserGUIDE.md)