ostacky 0.6.3 → 0.7.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 +9 -10
- package/assets/agents/ostacky.md +244 -62
- package/assets/commands/install-stack.md +62 -5
- package/assets/mcp/ostacky-controller/index.js +1341 -989
- package/assets/mcp/ostacky-controller/package.json +1 -1
- package/assets/skills/brainstorming/SKILL.md +8 -8
- package/assets/skills/execution-mode-evaluation/SKILL.md +8 -8
- package/assets/skills/graceful-degradation/SKILL.md +3 -3
- package/assets/skills/openspec-apply-change/SKILL.md +3 -3
- package/assets/skills/openspec-propose/SKILL.md +2 -2
- package/assets/skills/review/SKILL.md +2 -2
- package/assets/skills/subagent-driven-development/SKILL.md +8 -8
- package/dist/cli.js +69 -45
- package/manifest.json +36 -43
- package/package.json +1 -1
- package/assets/skills/writing-plans/SKILL.md +0 -149
package/manifest.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.7.0",
|
|
3
3
|
"repo": "JaimeHoracio/Ostacky",
|
|
4
|
-
"tag": "v0.
|
|
4
|
+
"tag": "v0.7.0",
|
|
5
5
|
"agents": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ostacky",
|
|
8
8
|
"file": "assets/agents/ostacky.md",
|
|
9
|
-
"description": "Orquestador con recuperación automática (nunca se congela), ruteo por nivel de impacto, controller MCP con SDK oficial, edición segura con fallback inline, y delegación en OpenSpec + Superpowers",
|
|
10
|
-
"version": "0.
|
|
11
|
-
"sha256": "
|
|
9
|
+
"description": "Orquestador con recuperación automática (nunca se congela), ruteo por nivel de impacto, controller MCP con SDK oficial, edición segura con fallback inline, y delegación en OpenSpec + Superpowers. v0.7.0: prune de skills obsoletas, lastHandoff, getAvailableTransitions, consecutiveFailures real, mem_session_summary automático al cierre.",
|
|
10
|
+
"version": "0.7.0",
|
|
11
|
+
"sha256": "f833e69b6eaa3dfe24de9addf6455b3da55f829b51cba3c7c90c65c69cda34c2"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"commands": [
|
|
15
15
|
{
|
|
16
16
|
"name": "install-stack",
|
|
17
17
|
"file": "assets/commands/install-stack.md",
|
|
18
|
-
"description": "Instala el stack tecnológico del proyecto (CodeGraph, skills, OpenSpec, Engram, Context7, controller MCP con SDK oficial)",
|
|
19
|
-
"version": "0.
|
|
20
|
-
"sha256": "
|
|
18
|
+
"description": "Instala el stack tecnológico del proyecto (CodeGraph, skills, OpenSpec, Engram, Context7, controller MCP con SDK oficial). v0.7.0: Paso 1.5 controller expandido con verificación post-instalación y troubleshooting.",
|
|
19
|
+
"version": "0.7.0",
|
|
20
|
+
"sha256": "c957627dfafabfdb9da2717546b996d1d8856f08a6e4c48caf72c562363b566b"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "opsx-sync",
|
|
24
24
|
"file": "assets/commands/opsx-sync.md",
|
|
25
25
|
"description": "Sincroniza delta specs del change activo sin inicializar CodeGraph si ya existe índice",
|
|
26
|
-
"version": "0.
|
|
26
|
+
"version": "0.7.0",
|
|
27
27
|
"sha256": "fe0158478f2ca63b315037a85fc1632b77868532e319af6c7384285441767d64"
|
|
28
28
|
}
|
|
29
29
|
],
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
{
|
|
32
32
|
"name": "ostacky-controller",
|
|
33
33
|
"file": "assets/mcp/ostacky-controller/",
|
|
34
|
-
"description": "Máquina de estados persistida con @modelcontextprotocol/server SDK.
|
|
35
|
-
"version": "0.
|
|
36
|
-
"sha256": "
|
|
34
|
+
"description": "Máquina de estados persistida con @modelcontextprotocol/server SDK. v0.7.0: 22 tools (incluye set_handoff, get_handoff, clear_handoff, get_available_transitions funcional). Bugfixes: consecutiveFailures real, lastHandoff state, defaultChoice persistido. Robustez: degraded mode automático tras 3 fallos, persistence condicional para Nivel 0, prune de skills obsoletas.",
|
|
35
|
+
"version": "0.7.0",
|
|
36
|
+
"sha256": "0ec6fa0fc2900c78b884258168309653dea4b77ded3596bb56866f689ec2404c"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "openspec",
|
|
40
40
|
"file": "assets/mcp/openspec/",
|
|
41
41
|
"description": "MCP server local para OpenSpec - proposal, apply, archive, sync de cambios",
|
|
42
|
-
"version": "0.
|
|
42
|
+
"version": "0.7.0",
|
|
43
43
|
"sha256": "fa4be28bfc1e75db8f1a037e2580f04a60066c80e8e5934e90e1041020d04609"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
@@ -47,114 +47,107 @@
|
|
|
47
47
|
{
|
|
48
48
|
"name": "brainstorming",
|
|
49
49
|
"file": "assets/skills/brainstorming/SKILL.md",
|
|
50
|
-
"description": "Skill unificado de pensamiento con dos modos: creative-design (producción de diseño → transición a
|
|
51
|
-
"version": "0.
|
|
52
|
-
"sha256": "
|
|
50
|
+
"description": "Skill unificado de pensamiento con dos modos: creative-design (producción de diseño → transición a implementación directa o openspec-propose) y open-exploration (exploración libre)",
|
|
51
|
+
"version": "0.7.0",
|
|
52
|
+
"sha256": "333810ca63450e8ab795e8c5a58e645101e788d79210ca8ac36e10d11be39585"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"name": "execution-mode-evaluation",
|
|
56
56
|
"file": "assets/skills/execution-mode-evaluation/SKILL.md",
|
|
57
57
|
"description": "Skill de análisis de modo de ejecución — output reconciliado con controller snapshot contract (recommendation field)",
|
|
58
|
-
"version": "0.
|
|
59
|
-
"sha256": "
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "writing-plans",
|
|
63
|
-
"file": "assets/skills/writing-plans/SKILL.md",
|
|
64
|
-
"description": "Skill de planificación de implementación (Superpowers) — execution handoff removido, Ostacky decide modo de ejecución",
|
|
65
|
-
"version": "0.6.3",
|
|
66
|
-
"sha256": "9b14903231df96f54da08158c117801b18bba8f5a2e5a0c069854d059e99f294"
|
|
58
|
+
"version": "0.7.0",
|
|
59
|
+
"sha256": "edf6fca0af52cce83f8fd08e7db9b3d79cc130b53fca505e90d3fbaf4909338b"
|
|
67
60
|
},
|
|
68
61
|
{
|
|
69
62
|
"name": "tdd",
|
|
70
63
|
"file": "assets/skills/tdd/SKILL.md",
|
|
71
64
|
"description": "Skill de test-driven development (Superpowers)",
|
|
72
|
-
"version": "0.
|
|
65
|
+
"version": "0.7.0",
|
|
73
66
|
"sha256": "aa412298980b7826165c211145c1b8e9135f68f36247bb3cb96d0a0eae274486"
|
|
74
67
|
},
|
|
75
68
|
{
|
|
76
69
|
"name": "subagent-driven-development",
|
|
77
70
|
"file": "assets/skills/subagent-driven-development/SKILL.md",
|
|
78
71
|
"description": "Skill de ejecución con subagentes (Superpowers) — ejecuta solo después de confirmación del coordinador Ostacky",
|
|
79
|
-
"version": "0.
|
|
80
|
-
"sha256": "
|
|
72
|
+
"version": "0.7.0",
|
|
73
|
+
"sha256": "1a42d714a9a13faf05f0bf7b580e8d837c2e77a5633839542ccce603023419e8"
|
|
81
74
|
},
|
|
82
75
|
{
|
|
83
76
|
"name": "dispatching-parallel-agents",
|
|
84
77
|
"file": "assets/skills/dispatching-parallel-agents/SKILL.md",
|
|
85
78
|
"description": "Skill de dispatch paralelo de agentes (Superpowers)",
|
|
86
|
-
"version": "0.
|
|
79
|
+
"version": "0.7.0",
|
|
87
80
|
"sha256": "3c8a66d51ae2e719e877d02c3dac32bd804722c3bb9227c258ecae78252a20ab"
|
|
88
81
|
},
|
|
89
82
|
{
|
|
90
83
|
"name": "review",
|
|
91
84
|
"file": "assets/skills/review/SKILL.md",
|
|
92
85
|
"description": "Skill de revisión de código (Superpowers)",
|
|
93
|
-
"version": "0.
|
|
94
|
-
"sha256": "
|
|
86
|
+
"version": "0.7.0",
|
|
87
|
+
"sha256": "b19650ed4d1d4d9857a4dd5b7e08e91328a1a1fc9c45bcc2fb600fa9d0213279"
|
|
95
88
|
},
|
|
96
89
|
{
|
|
97
90
|
"name": "receiving-code-review",
|
|
98
91
|
"file": "assets/skills/receiving-code-review/SKILL.md",
|
|
99
92
|
"description": "Skill de recibir y procesar feedback de code review",
|
|
100
|
-
"version": "0.
|
|
93
|
+
"version": "0.7.0",
|
|
101
94
|
"sha256": "d761e884e71d8d3476ac734d287cae403a4024506a7d12e7361a448217c0a831"
|
|
102
95
|
},
|
|
103
96
|
{
|
|
104
97
|
"name": "openspec-propose",
|
|
105
98
|
"file": "assets/skills/openspec-propose/SKILL.md",
|
|
106
99
|
"description": "Skill de generación de proposal (OpenSpec)",
|
|
107
|
-
"version": "0.
|
|
108
|
-
"sha256": "
|
|
100
|
+
"version": "0.7.0",
|
|
101
|
+
"sha256": "bb59100b9fd3c9f9a1ec6509fa975ec55bf7fc737df4fe73bb3e9bbc217b83f7"
|
|
109
102
|
},
|
|
110
103
|
{
|
|
111
104
|
"name": "openspec-apply-change",
|
|
112
105
|
"file": "assets/skills/openspec-apply-change/SKILL.md",
|
|
113
106
|
"description": "Skill de aplicación de change (OpenSpec)",
|
|
114
|
-
"version": "0.
|
|
115
|
-
"sha256": "
|
|
107
|
+
"version": "0.7.0",
|
|
108
|
+
"sha256": "dfc823bf89fc7505e91ab6dee9c1f004be38a410bd3d88fb67b211b1b6cbb1d0"
|
|
116
109
|
},
|
|
117
110
|
{
|
|
118
111
|
"name": "openspec-archive-change",
|
|
119
112
|
"file": "assets/skills/openspec-archive-change/SKILL.md",
|
|
120
113
|
"description": "Skill de archivo de change (OpenSpec)",
|
|
121
|
-
"version": "0.
|
|
114
|
+
"version": "0.7.0",
|
|
122
115
|
"sha256": "16e4b561de7747283663fed602e506abf502452c49a8d4b86d7a5539c40f0195"
|
|
123
116
|
},
|
|
124
117
|
{
|
|
125
118
|
"name": "openspec-explore",
|
|
126
119
|
"file": "assets/skills/openspec-explore/SKILL.md",
|
|
127
120
|
"description": "Modo explore para OpenSpec — thinking partner para explorar ideas, investigar problemas y clarificar requisitos antes/durante un cambio",
|
|
128
|
-
"version": "0.
|
|
121
|
+
"version": "0.7.0",
|
|
129
122
|
"sha256": "37ae4aaf17ea71a395bab6dc4d9d61b9a49d7910f6692535ae8553244c46880b"
|
|
130
123
|
},
|
|
131
124
|
{
|
|
132
125
|
"name": "using-git-worktrees",
|
|
133
126
|
"file": "assets/skills/using-git-worktrees/SKILL.md",
|
|
134
127
|
"description": "Skill de uso de git worktrees para aislamiento de trabajo",
|
|
135
|
-
"version": "0.
|
|
128
|
+
"version": "0.7.0",
|
|
136
129
|
"sha256": "11afa9123828fc5caa22137aff907cd99c751e99027fbd4c020751110a949281"
|
|
137
130
|
},
|
|
138
131
|
{
|
|
139
132
|
"name": "using-superpowers",
|
|
140
133
|
"file": "assets/skills/using-superpowers/SKILL.md",
|
|
141
134
|
"description": "Skill de orquestación de Superpowers skills",
|
|
142
|
-
"version": "0.
|
|
135
|
+
"version": "0.7.0",
|
|
143
136
|
"sha256": "7e54536f96d2a379185a10bfc1e970850caa2561b6d8aca7080f0defea0381a4"
|
|
144
137
|
},
|
|
145
138
|
{
|
|
146
139
|
"name": "writing-skills",
|
|
147
140
|
"file": "assets/skills/writing-skills/SKILL.md",
|
|
148
141
|
"description": "Skill de creación y edición de skills",
|
|
149
|
-
"version": "0.
|
|
142
|
+
"version": "0.7.0",
|
|
150
143
|
"sha256": "3d76b906cee518a2b809febb70db95697a35b9f368986bb504b4120c3bfb437a"
|
|
151
144
|
},
|
|
152
145
|
{
|
|
153
146
|
"name": "graceful-degradation",
|
|
154
147
|
"file": "assets/skills/graceful-degradation/SKILL.md",
|
|
155
148
|
"description": "Skill de degradación graceful cuando múltiples tools están indisponibles",
|
|
156
|
-
"version": "0.
|
|
157
|
-
"sha256": "
|
|
149
|
+
"version": "0.7.0",
|
|
150
|
+
"sha256": "e5090e475729f21871bb25bce738000f3616955ed3edb3ba926dd740d3298948"
|
|
158
151
|
}
|
|
159
152
|
]
|
|
160
153
|
}
|
package/package.json
CHANGED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: writing-plans
|
|
3
|
-
description: Use when you have a spec or requirements for a multi-step task, before touching code
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Writing Plans
|
|
7
|
-
|
|
8
|
-
**IMPORTANT:** Engram is an **MCP server**, not a skill. Tools `mem_save`, `mem_search`, `mem_context` are MCP tools. Do NOT use `skill("engram")` — it doesn't exist.
|
|
9
|
-
|
|
10
|
-
## Overview
|
|
11
|
-
|
|
12
|
-
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
|
|
13
|
-
|
|
14
|
-
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
|
|
15
|
-
|
|
16
|
-
**Announce at start:** "I'm using the writing-plans skill to create the implementation plan."
|
|
17
|
-
|
|
18
|
-
**Context:** If working in an isolated worktree, it should have been created via the `using-git-worktrees` skill at execution time.
|
|
19
|
-
|
|
20
|
-
**Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`
|
|
21
|
-
- (User preferences for plan location override this default)
|
|
22
|
-
|
|
23
|
-
## Pre-Plan: Check Engram for Past Decisions
|
|
24
|
-
|
|
25
|
-
Before writing the plan, **consult Engram** to avoid repeating past mistakes:
|
|
26
|
-
|
|
27
|
-
1. `mem_search` with keywords from the feature name and affected modules
|
|
28
|
-
2. Look for:
|
|
29
|
-
- Previous plans for similar features (avoid duplicating approaches)
|
|
30
|
-
- Architecture decisions that affect implementation (design patterns, library choices)
|
|
31
|
-
- Known gotchas or edge cases discovered in similar work
|
|
32
|
-
3. If relevant findings exist, incorporate them into the plan's context section
|
|
33
|
-
|
|
34
|
-
## Scope Check
|
|
35
|
-
|
|
36
|
-
If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming (creative-design mode). If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
|
|
37
|
-
|
|
38
|
-
## File Structure
|
|
39
|
-
|
|
40
|
-
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
|
|
41
|
-
|
|
42
|
-
- Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
|
|
43
|
-
- You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
|
|
44
|
-
- Files that change together should live together. Split by responsibility, not by technical layer.
|
|
45
|
-
- In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.
|
|
46
|
-
|
|
47
|
-
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
|
|
48
|
-
|
|
49
|
-
## Bite-Sized Task Granularity
|
|
50
|
-
|
|
51
|
-
**Each step is one action (2-5 minutes):**
|
|
52
|
-
- "Write the failing test" - step
|
|
53
|
-
- "Run it to make sure it fails" - step
|
|
54
|
-
- "Implement the minimal code to make the test pass" - step
|
|
55
|
-
- "Run the tests and make sure they pass" - step
|
|
56
|
-
- "Commit" - step
|
|
57
|
-
|
|
58
|
-
## Plan Document Header
|
|
59
|
-
|
|
60
|
-
**Every plan MUST start with this header:**
|
|
61
|
-
|
|
62
|
-
```markdown
|
|
63
|
-
# [Feature Name] Implementation Plan
|
|
64
|
-
|
|
65
|
-
> **For agentic workers:** Tasks use checkbox (`- [ ]`) syntax for tracking. Execution mode is determined by the coordinator after plan completion.
|
|
66
|
-
|
|
67
|
-
**Goal:** [One sentence describing what this builds]
|
|
68
|
-
|
|
69
|
-
**Architecture:** [2-3 sentences about approach]
|
|
70
|
-
|
|
71
|
-
**Tech Stack:** [Key technologies/libraries]
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Task Structure
|
|
77
|
-
|
|
78
|
-
````markdown
|
|
79
|
-
### Task N: [Component Name]
|
|
80
|
-
|
|
81
|
-
**Files:**
|
|
82
|
-
- Create: `exact/path/to/file.py`
|
|
83
|
-
- Modify: `exact/path/to/existing.py:123-145`
|
|
84
|
-
- Test: `tests/exact/path/to/test.py`
|
|
85
|
-
|
|
86
|
-
- [ ] **Step 1: Write the failing test**
|
|
87
|
-
|
|
88
|
-
```python
|
|
89
|
-
def test_specific_behavior():
|
|
90
|
-
result = function(input)
|
|
91
|
-
assert result == expected
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
- [ ] **Step 2: Run test to verify it fails**
|
|
95
|
-
|
|
96
|
-
Run: `pytest tests/path/test.py::test_name -v`
|
|
97
|
-
Expected: FAIL with "function not defined"
|
|
98
|
-
|
|
99
|
-
- [ ] **Step 3: Write minimal implementation**
|
|
100
|
-
|
|
101
|
-
```python
|
|
102
|
-
def function(input):
|
|
103
|
-
return expected
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
- [ ] **Step 4: Run test to verify it passes**
|
|
107
|
-
|
|
108
|
-
Run: `pytest tests/path/test.py::test_name -v`
|
|
109
|
-
Expected: PASS
|
|
110
|
-
|
|
111
|
-
- [ ] **Step 5: Commit**
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
git add tests/path/test.py src/path/file.py
|
|
115
|
-
git commit -m "feat: add specific feature"
|
|
116
|
-
```
|
|
117
|
-
````
|
|
118
|
-
|
|
119
|
-
## No Placeholders
|
|
120
|
-
|
|
121
|
-
Every step must contain the actual content an engineer needs. These are **plan failures** — never write them:
|
|
122
|
-
- "TBD", "TODO", "implement later", "fill in details"
|
|
123
|
-
- "Add appropriate error handling" / "add validation" / "handle edge cases"
|
|
124
|
-
- "Write tests for the above" (without actual test code)
|
|
125
|
-
- "Similar to Task N" (repeat the code — the engineer may be reading tasks out of order)
|
|
126
|
-
- Steps that describe what to do without showing how (code blocks required for code steps)
|
|
127
|
-
- References to types, functions, or methods not defined in any task
|
|
128
|
-
|
|
129
|
-
## Remember
|
|
130
|
-
- Exact file paths always
|
|
131
|
-
- Complete code in every step — if a step changes code, show the code
|
|
132
|
-
- Exact commands with expected output
|
|
133
|
-
- DRY, YAGNI, TDD, frequent commits
|
|
134
|
-
|
|
135
|
-
## Self-Review
|
|
136
|
-
|
|
137
|
-
After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
|
|
138
|
-
|
|
139
|
-
**1. Spec coverage:** Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
|
|
140
|
-
|
|
141
|
-
**2. Placeholder scan:** Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
|
|
142
|
-
|
|
143
|
-
**3. Type consistency:** Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called `clearLayers()` in Task 3 but `clearFullLayers()` in Task 7 is a bug.
|
|
144
|
-
|
|
145
|
-
If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
|
|
146
|
-
|
|
147
|
-
## Execution
|
|
148
|
-
|
|
149
|
-
Ostacky (the coordinator) handles execution-mode analysis and user confirmation after the plan is ready. This skill only writes the plan — it does NOT offer the user an execution mode choice. If an execution-mode prompt appears, defer to the coordinator.
|