trackops 1.0.1 → 2.0.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 +292 -272
- package/bin/trackops.js +108 -50
- package/lib/config.js +267 -38
- package/lib/control.js +534 -480
- package/lib/env.js +244 -0
- package/lib/i18n.js +61 -53
- package/lib/init.js +170 -47
- package/lib/locale.js +63 -0
- package/lib/opera-bootstrap.js +1075 -0
- package/lib/opera.js +524 -125
- package/lib/preferences.js +74 -0
- package/lib/registry.js +27 -13
- package/lib/release.js +56 -0
- package/lib/resources.js +42 -0
- package/lib/runtime-state.js +144 -0
- package/lib/server.js +1004 -521
- package/lib/skills.js +148 -124
- package/lib/workspace.js +260 -0
- package/locales/en.json +418 -132
- package/locales/es.json +418 -132
- package/package.json +8 -9
- package/scripts/postinstall-locale.js +21 -0
- package/scripts/skills-marketplace-smoke.js +124 -0
- package/scripts/smoke-tests.js +570 -0
- package/scripts/sync-skill-version.js +21 -0
- package/scripts/validate-skill.js +89 -0
- package/skills/trackops/SKILL.md +89 -0
- package/skills/trackops/agents/openai.yaml +3 -0
- package/skills/trackops/references/activation.md +73 -0
- package/skills/trackops/references/troubleshooting.md +49 -0
- package/skills/trackops/references/workflow.md +26 -0
- package/skills/trackops/scripts/bootstrap-trackops.js +203 -0
- package/skills/trackops/skill.json +29 -0
- package/templates/opera/agent.md +10 -9
- package/templates/opera/architecture/dependency-graph.md +24 -0
- package/templates/opera/architecture/runtime-automation.md +24 -0
- package/templates/opera/architecture/runtime-operations.md +34 -0
- package/templates/opera/en/agent.md +27 -0
- package/templates/opera/en/architecture/dependency-graph.md +24 -0
- package/templates/opera/en/architecture/runtime-automation.md +24 -0
- package/templates/opera/en/architecture/runtime-operations.md +34 -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/reviews/delivery-audit.md +18 -0
- package/templates/opera/en/reviews/integration-audit.md +18 -0
- package/templates/opera/en/router.md +49 -0
- package/templates/opera/genesis.md +79 -94
- package/templates/opera/reviews/delivery-audit.md +18 -0
- package/templates/opera/reviews/integration-audit.md +18 -0
- package/templates/opera/router.md +15 -5
- package/templates/skills/changelog-updater/locales/en/SKILL.md +11 -0
- package/templates/skills/commiter/locales/en/SKILL.md +11 -0
- package/templates/skills/opera-contract-auditor/SKILL.md +38 -0
- package/templates/skills/opera-contract-auditor/locales/en/SKILL.md +38 -0
- package/templates/skills/opera-policy-guard/SKILL.md +26 -0
- package/templates/skills/opera-policy-guard/locales/en/SKILL.md +26 -0
- package/templates/skills/project-starter-skill/SKILL.md +89 -164
- package/templates/skills/project-starter-skill/locales/en/SKILL.md +104 -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 +366 -361
- 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
- package/templates/etapa/agent.md +0 -26
- package/templates/etapa/genesis.md +0 -94
- package/templates/etapa/references/autonomy-and-recovery.md +0 -117
- package/templates/etapa/references/etapa-cycle.md +0 -193
- package/templates/etapa/registry.md +0 -28
- package/templates/etapa/router.md +0 -39
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# SOP - Runtime Operations
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Define the minimum operating procedure required to keep a TrackOps + OPERA workspace healthy.
|
|
6
|
+
|
|
7
|
+
## Inputs
|
|
8
|
+
|
|
9
|
+
- `ops/project_control.json`
|
|
10
|
+
- `ops/contract/operating-contract.json`
|
|
11
|
+
- `ops/policy/autonomy.json`
|
|
12
|
+
- `ops/bootstrap/quality-report.json`
|
|
13
|
+
|
|
14
|
+
## Core checks
|
|
15
|
+
|
|
16
|
+
1. Run `trackops status`.
|
|
17
|
+
2. Run `trackops opera status`.
|
|
18
|
+
3. Run `trackops env status`.
|
|
19
|
+
4. Confirm `contract readiness` is not `hypothesis` for active delivery work.
|
|
20
|
+
5. Confirm `legacyStatus` is `supported`.
|
|
21
|
+
|
|
22
|
+
## Recovery path
|
|
23
|
+
|
|
24
|
+
1. If bootstrap is incomplete, run `trackops opera handoff --print`.
|
|
25
|
+
2. If discovery artifacts already exist, run `trackops opera bootstrap --resume`.
|
|
26
|
+
3. If operational docs drift, run `trackops sync`.
|
|
27
|
+
4. If managed artifacts drift, run `trackops opera upgrade --stable`.
|
|
28
|
+
|
|
29
|
+
## Exit criteria
|
|
30
|
+
|
|
31
|
+
- Runtime status is readable.
|
|
32
|
+
- OPERA status is readable.
|
|
33
|
+
- Contract and policy files exist.
|
|
34
|
+
- No critical blocker remains undocumented.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# {{PROJECT_NAME}} — Genesis
|
|
2
|
+
|
|
3
|
+
> **The Constitution of the project.** This document is the source of truth. Before making any architectural or implementation decision, consult this file. If a script contradicts what is defined here, the script is wrong.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Desired Outcome
|
|
8
|
+
|
|
9
|
+
_What is the single desired outcome of this project?_
|
|
10
|
+
|
|
11
|
+
> {{DESIRED_OUTCOME}}
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 2. External Integrations
|
|
16
|
+
|
|
17
|
+
_Which external services do we need? Are credentials ready?_
|
|
18
|
+
|
|
19
|
+
| Service | Status | Key / Config |
|
|
20
|
+
|---------|--------|--------------|
|
|
21
|
+
{{SERVICES_TABLE}}
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 3. Source of Truth
|
|
26
|
+
|
|
27
|
+
_Where does the primary data live?_
|
|
28
|
+
|
|
29
|
+
> {{SOURCE_OF_TRUTH}}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 4. Payload
|
|
34
|
+
|
|
35
|
+
_How and where should the final result be delivered?_
|
|
36
|
+
|
|
37
|
+
> {{PAYLOAD}}
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 5. Behavior Rules
|
|
42
|
+
|
|
43
|
+
_Domain constraints, tone, and specific rules._
|
|
44
|
+
|
|
45
|
+
{{BEHAVIOR_RULES}}
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Data Schema
|
|
50
|
+
|
|
51
|
+
> **Data-first rule**: this schema must exist before any code is written.
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{{DATA_SCHEMA}}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Architectural Invariants
|
|
60
|
+
|
|
61
|
+
_Non-negotiable technical decisions. Changing them requires explicit approval._
|
|
62
|
+
|
|
63
|
+
{{ARCHITECTURAL_INVARIANTS}}
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Pipeline
|
|
68
|
+
|
|
69
|
+
_Document the dependency graph between tools._
|
|
70
|
+
|
|
71
|
+
{{PIPELINE_ITEMS}}
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Templates
|
|
76
|
+
|
|
77
|
+
_References to output templates defined under `templates/`._
|
|
78
|
+
|
|
79
|
+
{{TEMPLATE_ITEMS}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Autonomy and Recovery
|
|
2
|
+
|
|
3
|
+
Use this reference to decide when the agent can continue autonomously and when it must stop for confirmation.
|
|
4
|
+
|
|
5
|
+
## Red level
|
|
6
|
+
|
|
7
|
+
Ask for confirmation before:
|
|
8
|
+
- Changing `genesis.md` in a way that alters the contract.
|
|
9
|
+
- Deleting persistent data.
|
|
10
|
+
- Creating repositories or external resources.
|
|
11
|
+
- Deploying to production.
|
|
12
|
+
|
|
13
|
+
## Green level
|
|
14
|
+
|
|
15
|
+
Proceed autonomously for:
|
|
16
|
+
- Reading and editing local source files.
|
|
17
|
+
- Running tests and checks.
|
|
18
|
+
- Updating operational docs.
|
|
19
|
+
- Repairing deterministic errors after a bounded number of attempts.
|
|
20
|
+
|
|
21
|
+
## Recovery rule
|
|
22
|
+
|
|
23
|
+
If a later phase invalidates an earlier decision, document the proposed change first, request approval, and only then update `genesis.md` and the operational record.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# The O.P.E.R.A. Cycle — Complete Reference
|
|
2
|
+
|
|
3
|
+
This document describes each phase, its rules, its procedures, and its Definition of Done.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## O — Orchestrate
|
|
8
|
+
|
|
9
|
+
Answer the five discovery questions, define the input/output schema in `genesis.md`, document behavior rules, and make sure the plan is approved before moving forward.
|
|
10
|
+
|
|
11
|
+
### Definition of Done
|
|
12
|
+
- [ ] Discovery questions answered.
|
|
13
|
+
- [ ] Input/output schema defined in `genesis.md`.
|
|
14
|
+
- [ ] Behavior rules documented in `genesis.md`.
|
|
15
|
+
- [ ] `task_plan.md` reviewed and accepted.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## P — Prove
|
|
20
|
+
|
|
21
|
+
Validate credentials, run minimal connectivity checks, and confirm that external systems return data that matches the schema in `genesis.md`.
|
|
22
|
+
|
|
23
|
+
### Definition of Done
|
|
24
|
+
- [ ] Required credentials verified.
|
|
25
|
+
- [ ] Connectivity tests executed and passing.
|
|
26
|
+
- [ ] Response shapes validated against `genesis.md`.
|
|
27
|
+
- [ ] Findings documented.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## E — Establish
|
|
32
|
+
|
|
33
|
+
Build the three-layer structure: SOPs in `architecture/`, atomic tools in `tools/`, and explicit dependency flow in `genesis.md`.
|
|
34
|
+
|
|
35
|
+
### Definition of Done
|
|
36
|
+
- [ ] SOPs written.
|
|
37
|
+
- [ ] Tools implemented.
|
|
38
|
+
- [ ] Dependency graph documented.
|
|
39
|
+
- [ ] Integration tests passing.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## R — Refine
|
|
44
|
+
|
|
45
|
+
Validate outputs against templates and ensure delivery formats match the expected payload.
|
|
46
|
+
|
|
47
|
+
### Definition of Done
|
|
48
|
+
- [ ] Outputs validated against templates.
|
|
49
|
+
- [ ] Delivery formats reviewed.
|
|
50
|
+
- [ ] UI review completed when applicable.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## A — Automate
|
|
55
|
+
|
|
56
|
+
Clean temporary artifacts, configure triggers, deploy the final logic, and run a smoke test in the target environment.
|
|
57
|
+
|
|
58
|
+
### Definition of Done
|
|
59
|
+
- [ ] `.tmp/` cleaned.
|
|
60
|
+
- [ ] Deployment completed.
|
|
61
|
+
- [ ] Triggers configured.
|
|
62
|
+
- [ ] Smoke test passing.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Skills Registry — {{PROJECT_NAME}}
|
|
2
|
+
|
|
3
|
+
> Index of installed skills in this project. Managed automatically by `trackops skill`.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installed Skills
|
|
8
|
+
|
|
9
|
+
_No skills installed yet. Use `trackops skill install <name>` to add one._
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## How to Use a Skill
|
|
14
|
+
|
|
15
|
+
1. Identify the context in `.agent/hub/router.md`.
|
|
16
|
+
2. Open the corresponding `SKILL.md`.
|
|
17
|
+
3. Follow the workflow defined in that skill.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Management
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
trackops skill list
|
|
25
|
+
trackops skill catalog
|
|
26
|
+
trackops skill install <name>
|
|
27
|
+
trackops skill remove <name>
|
|
28
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Delivery Audit
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
Review the final output shape against the active templates and compiled contract.
|
|
6
|
+
|
|
7
|
+
## Checklist
|
|
8
|
+
|
|
9
|
+
- `ops/genesis.md` matches the current contract.
|
|
10
|
+
- `ops/task_plan.md`, `ops/progress.md` and `ops/findings.md` are synchronized.
|
|
11
|
+
- Public copy matches runtime behavior.
|
|
12
|
+
- API and dashboard reflect the same operational state.
|
|
13
|
+
- Visual review completed when a UI change exists.
|
|
14
|
+
|
|
15
|
+
## Result
|
|
16
|
+
|
|
17
|
+
- Status: pending review
|
|
18
|
+
- Notes: replace this section with project-specific evidence.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Integration Audit
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
Review credentials, connectivity assumptions and external response shapes before expanding delivery.
|
|
6
|
+
|
|
7
|
+
## Checklist
|
|
8
|
+
|
|
9
|
+
- Required keys identified from the contract and environment contract.
|
|
10
|
+
- Missing keys documented without exposing secret values.
|
|
11
|
+
- External services listed in the contract.
|
|
12
|
+
- Response shapes aligned with `ops/contract/operating-contract.json`.
|
|
13
|
+
- Findings recorded in `ops/findings.md` when applicable.
|
|
14
|
+
|
|
15
|
+
## Result
|
|
16
|
+
|
|
17
|
+
- Status: pending review
|
|
18
|
+
- Notes: replace this section with project-specific evidence.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Skills Router
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
This file defines the routing rules between the main agent and the available skills. When the agent detects a specific context, it should consult these rules and choose the right skill.
|
|
5
|
+
|
|
6
|
+
## Routing Rules
|
|
7
|
+
|
|
8
|
+
### Context: Code commit
|
|
9
|
+
- **Trigger**: The user asks for a commit or a code change has just been completed.
|
|
10
|
+
- **Skill**: `commiter`
|
|
11
|
+
- **Action**: Use the skill to format the commit message.
|
|
12
|
+
|
|
13
|
+
### Context: Post-commit
|
|
14
|
+
- **Trigger**: A successful commit has just happened.
|
|
15
|
+
- **Skill**: `changelog-updater`
|
|
16
|
+
- **Action**: Run the changelog update flow.
|
|
17
|
+
|
|
18
|
+
### Context: Agent-led project start
|
|
19
|
+
- **Trigger**: The user has an idea, partial specification, or TrackOps has generated `ops/bootstrap/agent-handoff.md`.
|
|
20
|
+
- **Skill**: `project-starter-skill`
|
|
21
|
+
- **Action**: Turn the user context into `ops/bootstrap/intake.json`, `ops/bootstrap/spec-dossier.md`, and `ops/bootstrap/open-questions.md` when needed.
|
|
22
|
+
|
|
23
|
+
### Context: Contract audit
|
|
24
|
+
- **Trigger**: `ops/contract/operating-contract.json` or `ops/bootstrap/quality-report.json` exists and there are doubts about gaps or contradictions.
|
|
25
|
+
- **Skill**: `opera-contract-auditor`
|
|
26
|
+
- **Action**: Audit consistency, gaps, and false precision before execution continues.
|
|
27
|
+
|
|
28
|
+
### Context: Operational risk
|
|
29
|
+
- **Trigger**: The action affects persistent data, deployments, external side effects, or sensitive permissions.
|
|
30
|
+
- **Skill**: `opera-policy-guard`
|
|
31
|
+
- **Action**: Read `ops/policy/autonomy.json` and decide whether explicit approval is required.
|
|
32
|
+
|
|
33
|
+
### Context: Operational tracking
|
|
34
|
+
- **Trigger**: A work block is about to start, resume, or close.
|
|
35
|
+
- **Skill**: No external skill.
|
|
36
|
+
- **Action**: Run `trackops status`, take the next task with `trackops next`, use `ops/contract/operating-contract.json` as the machine contract, and keep `ops/project_control.json` as the backlog source of truth.
|
|
37
|
+
|
|
38
|
+
## Adding New Rules
|
|
39
|
+
|
|
40
|
+
Use this format for each new rule:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
### Context: [description]
|
|
44
|
+
- **Trigger**: [what activates the rule]
|
|
45
|
+
- **Skill**: [skill name]
|
|
46
|
+
- **Action**: [what the agent should do]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
When a new skill is installed with `trackops skill install <name>`, add its routing rule here.
|
|
@@ -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,18 @@
|
|
|
1
|
+
# Delivery Audit
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
Review the final output shape against the active templates and compiled contract.
|
|
6
|
+
|
|
7
|
+
## Checklist
|
|
8
|
+
|
|
9
|
+
- `ops/genesis.md` matches the current contract.
|
|
10
|
+
- `ops/task_plan.md`, `ops/progress.md` and `ops/findings.md` are synchronized.
|
|
11
|
+
- Public copy matches runtime behavior.
|
|
12
|
+
- API and dashboard reflect the same operational state.
|
|
13
|
+
- Visual review completed when a UI change exists.
|
|
14
|
+
|
|
15
|
+
## Result
|
|
16
|
+
|
|
17
|
+
- Status: pending review
|
|
18
|
+
- Notes: replace this section with project-specific evidence.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Integration Audit
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
Review credentials, connectivity assumptions and external response shapes before expanding delivery.
|
|
6
|
+
|
|
7
|
+
## Checklist
|
|
8
|
+
|
|
9
|
+
- Required keys identified from the contract and environment contract.
|
|
10
|
+
- Missing keys documented without exposing secret values.
|
|
11
|
+
- External services listed in the contract.
|
|
12
|
+
- Response shapes aligned with `ops/contract/operating-contract.json`.
|
|
13
|
+
- Findings recorded in `ops/findings.md` when applicable.
|
|
14
|
+
|
|
15
|
+
## Result
|
|
16
|
+
|
|
17
|
+
- Status: pending review
|
|
18
|
+
- Notes: replace this section with project-specific evidence.
|
|
@@ -15,15 +15,25 @@ Este archivo define las reglas de enrutamiento entre el agente principal y las s
|
|
|
15
15
|
- **Skill**: `changelog-updater`
|
|
16
16
|
- **Acción**: Ejecuta el script de actualización del changelog.
|
|
17
17
|
|
|
18
|
-
### Contexto:
|
|
19
|
-
- **Trigger**: El usuario
|
|
20
|
-
- **Skill**: `project-starter-skill`
|
|
21
|
-
- **Acción**:
|
|
18
|
+
### Contexto: Arranque asistido del proyecto
|
|
19
|
+
- **Trigger**: El usuario tiene una idea, una especificación parcial o TrackOps ha generado `ops/bootstrap/agent-handoff.md`.
|
|
20
|
+
- **Skill**: `project-starter-skill`
|
|
21
|
+
- **Acción**: Convertir el contexto del usuario en `ops/bootstrap/intake.json`, `ops/bootstrap/spec-dossier.md` y `ops/bootstrap/open-questions.md` cuando haga falta.
|
|
22
|
+
|
|
23
|
+
### Contexto: Auditoria del contrato
|
|
24
|
+
- **Trigger**: Existe `ops/contract/operating-contract.json` o `ops/bootstrap/quality-report.json` y hay dudas sobre huecos o contradicciones.
|
|
25
|
+
- **Skill**: `opera-contract-auditor`
|
|
26
|
+
- **Acción**: Auditar consistencia, huecos y pseudoprecision antes de seguir ejecutando.
|
|
27
|
+
|
|
28
|
+
### Contexto: Riesgo operativo
|
|
29
|
+
- **Trigger**: La accion afecta datos persistentes, despliegues, efectos externos o permisos sensibles.
|
|
30
|
+
- **Skill**: `opera-policy-guard`
|
|
31
|
+
- **Acción**: Consultar `ops/policy/autonomy.json` y decidir si hace falta aprobacion explicita.
|
|
22
32
|
|
|
23
33
|
### Contexto: Seguimiento operativo
|
|
24
34
|
- **Trigger**: Se va a empezar, retomar o cerrar un bloque de trabajo.
|
|
25
35
|
- **Skill**: No aplica skill externa.
|
|
26
|
-
- **Acción**: Ejecutar `trackops status`, tomar la siguiente tarea con `trackops next` y mantener `project_control.json` como fuente de verdad operativa.
|
|
36
|
+
- **Acción**: Ejecutar `trackops status`, tomar la siguiente tarea con `trackops next`, usar `ops/contract/operating-contract.json` como contrato de maquina y mantener `ops/project_control.json` como fuente de verdad operativa del backlog.
|
|
27
37
|
|
|
28
38
|
## Cómo Añadir Nuevas Reglas
|
|
29
39
|
|
|
@@ -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,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "opera-contract-auditor"
|
|
3
|
+
description: "Skill para auditar el contrato operativo de OPERA, detectar huecos, contradicciones y pseudoprecision antes de seguir ejecutando."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# OPERA Contract Auditor
|
|
10
|
+
|
|
11
|
+
Usa esta skill cuando exista `ops/contract/operating-contract.json` o cuando OPERA haya dejado `ops/bootstrap/quality-report.json`.
|
|
12
|
+
|
|
13
|
+
## Objetivo
|
|
14
|
+
|
|
15
|
+
Validar si el contrato operativo ya es suficientemente coherente para pasar de discovery a ejecucion.
|
|
16
|
+
|
|
17
|
+
## Debes revisar
|
|
18
|
+
|
|
19
|
+
- `ops/contract/operating-contract.json`
|
|
20
|
+
- `ops/bootstrap/quality-report.json`
|
|
21
|
+
- `ops/bootstrap/open-questions.md`
|
|
22
|
+
- `ops/genesis.md`
|
|
23
|
+
|
|
24
|
+
## Checklist minimo
|
|
25
|
+
|
|
26
|
+
- el problema y el usuario objetivo estan definidos
|
|
27
|
+
- el resultado singular deseado es verificable
|
|
28
|
+
- la fuente de verdad esta clara
|
|
29
|
+
- input y output schema no se contradicen
|
|
30
|
+
- no hay reglas de comportamiento ambiguas
|
|
31
|
+
- las integraciones externas son coherentes con el contrato
|
|
32
|
+
- las preguntas abiertas siguen abiertas de forma explicita o estan resueltas
|
|
33
|
+
|
|
34
|
+
## Salida esperada
|
|
35
|
+
|
|
36
|
+
- identificar contradicciones o lagunas concretas
|
|
37
|
+
- proponer solo las correcciones necesarias
|
|
38
|
+
- no inventar decisiones de negocio no confirmadas
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "opera-contract-auditor"
|
|
3
|
+
description: "Skill for auditing the OPERA operating contract, spotting gaps, contradictions, and false precision before execution continues."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
type: "project"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# OPERA Contract Auditor
|
|
10
|
+
|
|
11
|
+
Use this skill when `ops/contract/operating-contract.json` already exists or when OPERA has produced `ops/bootstrap/quality-report.json`.
|
|
12
|
+
|
|
13
|
+
## Goal
|
|
14
|
+
|
|
15
|
+
Validate whether the operating contract is coherent enough to move from discovery into execution.
|
|
16
|
+
|
|
17
|
+
## Review these files
|
|
18
|
+
|
|
19
|
+
- `ops/contract/operating-contract.json`
|
|
20
|
+
- `ops/bootstrap/quality-report.json`
|
|
21
|
+
- `ops/bootstrap/open-questions.md`
|
|
22
|
+
- `ops/genesis.md`
|
|
23
|
+
|
|
24
|
+
## Minimum checklist
|
|
25
|
+
|
|
26
|
+
- the problem and target user are defined
|
|
27
|
+
- the singular desired outcome is verifiable
|
|
28
|
+
- the source of truth is clear
|
|
29
|
+
- input and output schema do not contradict each other
|
|
30
|
+
- behavior rules are not ambiguous
|
|
31
|
+
- external integrations match the contract
|
|
32
|
+
- open questions are either explicitly open or clearly resolved
|
|
33
|
+
|
|
34
|
+
## Expected output
|
|
35
|
+
|
|
36
|
+
- identify concrete contradictions or gaps
|
|
37
|
+
- propose only the corrections that are actually needed
|
|
38
|
+
- do not invent unconfirmed business decisions
|