ostacky 0.5.6 → 0.5.7
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 +22 -22
- package/assets/agents/ostacky.md +89 -120
- package/assets/commands/install-stack.md +7 -8
- package/assets/mcp/ostacky-controller/index.js +16 -4
- package/assets/mcp/ostacky-controller/package.json +1 -1
- package/assets/skills/execution-mode-evaluation/SKILL.md +107 -529
- package/assets/skills/openspec-apply-change/SKILL.md +18 -9
- package/assets/skills/openspec-archive-change/SKILL.md +3 -3
- package/assets/skills/openspec-propose/SKILL.md +10 -8
- package/assets/skills/review/SKILL.md +7 -5
- package/assets/skills/subagent-driven-development/SKILL.md +14 -0
- package/assets/skills/thinking/SKILL.md +195 -0
- package/assets/skills/using-git-worktrees/SKILL.md +1 -1
- package/assets/skills/using-superpowers/SKILL.md +8 -8
- package/assets/skills/writing-plans/SKILL.md +12 -1
- package/assets/tests/e2e-scenarios.md +502 -0
- package/assets/tests/validate-config.sh +254 -0
- package/dist/cli.js +76 -50
- package/dist/mcp/ostacky-controller/index.js +15 -4
- package/manifest.json +58 -44
- package/package.json +1 -1
- package/assets/skills/brainstorming/SKILL.md +0 -153
- package/assets/skills/openspec-explore/SKILL.md +0 -288
- package/assets/skills/question-validation/SKILL.md +0 -77
package/manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.5.
|
|
2
|
+
"version": "0.5.7",
|
|
3
3
|
"repo": "JaimeHoracio/Ostacky",
|
|
4
|
-
"tag": "v0.5.
|
|
4
|
+
"tag": "v0.5.7",
|
|
5
5
|
"agents": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ostacky",
|
|
8
8
|
"file": "assets/agents/ostacky.md",
|
|
9
9
|
"description": "Orquestador principal con ruteo por nivel de impacto, máquina de estados persistida (controller MCP), edición segura con 3 outcomes, y delegación en OpenSpec + Superpowers",
|
|
10
|
-
"version": "0.5.
|
|
11
|
-
"sha256": "
|
|
10
|
+
"version": "0.5.7",
|
|
11
|
+
"sha256": "eb3ab4cfcdedee63dd4aae05d748d34d9cfc3323bdc5f53f06848cfe3efd439f"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"commands": [
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"name": "install-stack",
|
|
17
17
|
"file": "assets/commands/install-stack.md",
|
|
18
18
|
"description": "Instala el stack tecnológico del proyecto (CodeGraph, skills, OpenSpec, Engram, Context7, controller MCP)",
|
|
19
|
-
"version": "0.5.
|
|
20
|
-
"sha256": "
|
|
19
|
+
"version": "0.5.7",
|
|
20
|
+
"sha256": "f8357678ae180fc9fda03be2e4f44a18ee4d7eedf138a6f9dbe22cc63bd2bc41"
|
|
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.5.
|
|
26
|
+
"version": "0.5.7",
|
|
27
27
|
"sha256": "ed9948f1910743b672e1dfad496bc96972a224a98b063232be39290d43068c50"
|
|
28
28
|
}
|
|
29
29
|
],
|
|
@@ -32,94 +32,108 @@
|
|
|
32
32
|
"name": "ostacky-controller",
|
|
33
33
|
"file": "assets/mcp/ostacky-controller/",
|
|
34
34
|
"description": "Máquina de estados persistida para Ostacky: 13 tools MCP para ciclo completo de request (start_request → discovery → route → execution → sync → done), edición segura con validación de transiciones y persistencia atómica",
|
|
35
|
-
"version": "0.5.
|
|
36
|
-
"sha256": "
|
|
35
|
+
"version": "0.5.7",
|
|
36
|
+
"sha256": "f457acabe9187fea9ea4a132d4a54e26021d1dc8a87469ba5815d8d3052336af"
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
"skills": [
|
|
40
|
+
{
|
|
41
|
+
"name": "thinking",
|
|
42
|
+
"file": "assets/skills/thinking/SKILL.md",
|
|
43
|
+
"description": "Skill unificado de pensamiento con dos modos: creative-design (producción de diseño → transición a writing-plans o openspec-propose) y open-exploration (exploración libre)",
|
|
44
|
+
"version": "0.5.7",
|
|
45
|
+
"sha256": "3801f3c964e3c4a64f54747d7a8b2e5c2c956c907ebc938b45d05c3b5ee6dfa4"
|
|
46
|
+
},
|
|
40
47
|
{
|
|
41
48
|
"name": "execution-mode-evaluation",
|
|
42
49
|
"file": "assets/skills/execution-mode-evaluation/SKILL.md",
|
|
43
50
|
"description": "Skill de análisis de modo de ejecución — output reconciliado con controller snapshot contract (recommendation field)",
|
|
44
|
-
"version": "0.5.
|
|
45
|
-
"sha256": "
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "brainstorming",
|
|
49
|
-
"file": "assets/skills/brainstorming/SKILL.md",
|
|
50
|
-
"description": "Skill de descubrimiento y exploración (Superpowers)",
|
|
51
|
-
"version": "0.5.6",
|
|
52
|
-
"sha256": "ad15458c54912007ae3f708c698a11f0a4a58e2a7c7860a1ae8874db573c9e98"
|
|
51
|
+
"version": "0.5.7",
|
|
52
|
+
"sha256": "0d791c514c1bde60ac3a2b02e75fdebf36230e46c30d76d5f1c32aefad82463f"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"name": "writing-plans",
|
|
56
56
|
"file": "assets/skills/writing-plans/SKILL.md",
|
|
57
57
|
"description": "Skill de planificación de implementación (Superpowers) — execution handoff removido, Ostacky decide modo de ejecución",
|
|
58
|
-
"version": "0.5.
|
|
59
|
-
"sha256": "
|
|
58
|
+
"version": "0.5.7",
|
|
59
|
+
"sha256": "d8dde75ee7aac1195060444e93484319d5b1ddc7125576715978b5352354c9a8"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "tdd",
|
|
63
63
|
"file": "assets/skills/tdd/SKILL.md",
|
|
64
64
|
"description": "Skill de test-driven development (Superpowers)",
|
|
65
|
-
"version": "0.5.
|
|
66
|
-
"sha256": "
|
|
65
|
+
"version": "0.5.7",
|
|
66
|
+
"sha256": "7dee67b4af6bdccc7a914ca34533184d64592d0f5b23aeae631538168db14994"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "subagent-driven-development",
|
|
70
70
|
"file": "assets/skills/subagent-driven-development/SKILL.md",
|
|
71
71
|
"description": "Skill de ejecución con subagentes (Superpowers) — ejecuta solo después de confirmación del coordinador Ostacky",
|
|
72
|
-
"version": "0.5.
|
|
73
|
-
"sha256": "
|
|
72
|
+
"version": "0.5.7",
|
|
73
|
+
"sha256": "6b5344c5749dd9b61bed0fded1516c212cdfeec59779f9c32a5a84fa94315431"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "dispatching-parallel-agents",
|
|
77
77
|
"file": "assets/skills/dispatching-parallel-agents/SKILL.md",
|
|
78
78
|
"description": "Skill de dispatch paralelo de agentes (Superpowers)",
|
|
79
|
-
"version": "0.5.
|
|
80
|
-
"sha256": "
|
|
79
|
+
"version": "0.5.7",
|
|
80
|
+
"sha256": "76806091c7f923ba2596546b19cccd98a08e57a68745df77c3a7b998fe838e2b"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"name": "review",
|
|
84
84
|
"file": "assets/skills/review/SKILL.md",
|
|
85
85
|
"description": "Skill de revisión de código (Superpowers)",
|
|
86
|
-
"version": "0.5.
|
|
87
|
-
"sha256": "
|
|
86
|
+
"version": "0.5.7",
|
|
87
|
+
"sha256": "fc68671ac4592ceeae6bf0d3ac33abaf78cd34e94e67c07ad0329843d6003468"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
"name": "
|
|
91
|
-
"file": "assets/skills/
|
|
92
|
-
"description": "Skill de
|
|
93
|
-
"version": "0.5.
|
|
94
|
-
"sha256": "
|
|
90
|
+
"name": "receiving-code-review",
|
|
91
|
+
"file": "assets/skills/receiving-code-review/SKILL.md",
|
|
92
|
+
"description": "Skill de recibir y procesar feedback de code review",
|
|
93
|
+
"version": "0.5.7",
|
|
94
|
+
"sha256": "b6ace0ce93c5eade7b3f17d6744aa2fca6f492632b80e5dd754f93ba2c331550"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"name": "openspec-propose",
|
|
98
98
|
"file": "assets/skills/openspec-propose/SKILL.md",
|
|
99
99
|
"description": "Skill de generación de proposal (OpenSpec)",
|
|
100
|
-
"version": "0.5.
|
|
101
|
-
"sha256": "
|
|
100
|
+
"version": "0.5.7",
|
|
101
|
+
"sha256": "674b84346d954f61fbbe53d1efb7e6cd9a761b49ea6a9950aa9dfbfe6366a165"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"name": "openspec-apply-change",
|
|
105
105
|
"file": "assets/skills/openspec-apply-change/SKILL.md",
|
|
106
106
|
"description": "Skill de aplicación de change (OpenSpec)",
|
|
107
|
-
"version": "0.5.
|
|
108
|
-
"sha256": "
|
|
107
|
+
"version": "0.5.7",
|
|
108
|
+
"sha256": "9e4fe9fe780b580bfba9f842c3c3603e77150355f8bf2b68a85e8ce41e2c941a"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"name": "openspec-archive-change",
|
|
112
112
|
"file": "assets/skills/openspec-archive-change/SKILL.md",
|
|
113
113
|
"description": "Skill de archivo de change (OpenSpec)",
|
|
114
|
-
"version": "0.5.
|
|
115
|
-
"sha256": "
|
|
114
|
+
"version": "0.5.7",
|
|
115
|
+
"sha256": "4c611a20654841c585fe1c6f573e6e69c8b95c4eecdfe5552923be44dd3da0c4"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "using-git-worktrees",
|
|
119
|
+
"file": "assets/skills/using-git-worktrees/SKILL.md",
|
|
120
|
+
"description": "Skill de uso de git worktrees para aislamiento de trabajo",
|
|
121
|
+
"version": "0.5.7",
|
|
122
|
+
"sha256": "ff16257abe3836ca0f1003f130236a79acf4c8574a2e9fed092a5101d52ae860"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "using-superpowers",
|
|
126
|
+
"file": "assets/skills/using-superpowers/SKILL.md",
|
|
127
|
+
"description": "Skill de orquestación de Superpowers skills",
|
|
128
|
+
"version": "0.5.7",
|
|
129
|
+
"sha256": "bc8bd5445b623c1158f83c518155518b6556c58dd194f73f3bab444a983410ab"
|
|
116
130
|
},
|
|
117
131
|
{
|
|
118
|
-
"name": "
|
|
119
|
-
"file": "assets/skills/
|
|
120
|
-
"description": "
|
|
121
|
-
"version": "0.5.
|
|
122
|
-
"sha256": "
|
|
132
|
+
"name": "writing-skills",
|
|
133
|
+
"file": "assets/skills/writing-skills/SKILL.md",
|
|
134
|
+
"description": "Skill de creación y edición de skills",
|
|
135
|
+
"version": "0.5.7",
|
|
136
|
+
"sha256": "915369d6a74570c1605ad49d6e6551a946ca232b12400fbb45797149f16a7f2c"
|
|
123
137
|
}
|
|
124
138
|
]
|
|
125
139
|
}
|
package/package.json
CHANGED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: brainstorming
|
|
3
|
-
description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Brainstorming Ideas Into Designs
|
|
7
|
-
|
|
8
|
-
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
9
|
-
|
|
10
|
-
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
|
|
11
|
-
|
|
12
|
-
<HARD-GATE>
|
|
13
|
-
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
14
|
-
</HARD-GATE>
|
|
15
|
-
|
|
16
|
-
## Anti-Pattern: "This Is Too Simple To Need A Design"
|
|
17
|
-
|
|
18
|
-
Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
|
|
19
|
-
|
|
20
|
-
## Checklist
|
|
21
|
-
|
|
22
|
-
You MUST create a task for each of these items and complete them in order:
|
|
23
|
-
|
|
24
|
-
1. **Explore project context** — check files, docs, recent commits
|
|
25
|
-
2. **Use visual companion only when the user explicitly asks for browser/visual help** — read the Visual Companion section below before doing so.
|
|
26
|
-
3. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
|
|
27
|
-
4. **Propose 2-3 approaches** — with trade-offs and your recommendation
|
|
28
|
-
5. **Present design** — in sections scaled to their complexity, get user approval after each section
|
|
29
|
-
6. **Write design doc** — save to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commit
|
|
30
|
-
7. **Spec self-review** — quick inline check for placeholders, contradictions, ambiguity, scope (see below)
|
|
31
|
-
8. **User reviews written spec** — ask user to review the spec file before proceeding
|
|
32
|
-
9. **Transition to implementation** — invoke writing-plans skill to create implementation plan
|
|
33
|
-
|
|
34
|
-
## Process Flow
|
|
35
|
-
|
|
36
|
-
```dot
|
|
37
|
-
digraph brainstorming {
|
|
38
|
-
"Explore project context" [shape=box];
|
|
39
|
-
"User explicitly asks for browser/visual help?" [shape=diamond];
|
|
40
|
-
"Read Visual Companion guide" [shape=box];
|
|
41
|
-
"Ask clarifying questions" [shape=box];
|
|
42
|
-
"Propose 2-3 approaches" [shape=box];
|
|
43
|
-
"Present design sections" [shape=box];
|
|
44
|
-
"User approves design?" [shape=diamond];
|
|
45
|
-
"Write design doc" [shape=box];
|
|
46
|
-
"Spec self-review\n(fix inline)" [shape=box];
|
|
47
|
-
"User reviews spec?" [shape=diamond];
|
|
48
|
-
"Invoke writing-plans skill" [shape=doublecircle];
|
|
49
|
-
|
|
50
|
-
"Explore project context" -> "User explicitly asks for browser/visual help?";
|
|
51
|
-
"User explicitly asks for browser/visual help?" -> "Read Visual Companion guide" [label="yes"];
|
|
52
|
-
"User explicitly asks for browser/visual help?" -> "Ask clarifying questions" [label="no"];
|
|
53
|
-
"Read Visual Companion guide" -> "Ask clarifying questions";
|
|
54
|
-
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
55
|
-
"Propose 2-3 approaches" -> "Present design sections";
|
|
56
|
-
"Present design sections" -> "User approves design?";
|
|
57
|
-
"User approves design?" -> "Present design sections" [label="no, revise"];
|
|
58
|
-
"User approves design?" -> "Write design doc" [label="yes"];
|
|
59
|
-
"Write design doc" -> "Spec self-review\n(fix inline)";
|
|
60
|
-
"Spec self-review\n(fix inline)" -> "User reviews spec?";
|
|
61
|
-
"User reviews spec?" -> "Write design doc" [label="changes requested"];
|
|
62
|
-
"User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
|
|
67
|
-
|
|
68
|
-
## The Process
|
|
69
|
-
|
|
70
|
-
**Understanding the idea:**
|
|
71
|
-
|
|
72
|
-
- Check out the current project state first (files, docs, recent commits)
|
|
73
|
-
- Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
|
|
74
|
-
- If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
|
|
75
|
-
- For appropriately-scoped projects, ask questions one at a time to refine the idea
|
|
76
|
-
- Prefer multiple choice questions when possible, but open-ended is fine too
|
|
77
|
-
- Only one question per message - if a topic needs more exploration, break it into multiple questions
|
|
78
|
-
- Focus on understanding: purpose, constraints, success criteria
|
|
79
|
-
|
|
80
|
-
**Exploring approaches:**
|
|
81
|
-
|
|
82
|
-
- Propose 2-3 different approaches with trade-offs
|
|
83
|
-
- Present options conversationally with your recommendation and reasoning
|
|
84
|
-
- Lead with your recommended option and explain why
|
|
85
|
-
|
|
86
|
-
**Presenting the design:**
|
|
87
|
-
|
|
88
|
-
- Once you believe you understand what you're building, present the design
|
|
89
|
-
- Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
|
|
90
|
-
- Ask after each section whether it looks right so far
|
|
91
|
-
- Cover: architecture, components, data flow, error handling, testing
|
|
92
|
-
- Be ready to go back and clarify if something doesn't make sense
|
|
93
|
-
|
|
94
|
-
**Design for isolation and clarity:**
|
|
95
|
-
|
|
96
|
-
- Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
|
|
97
|
-
- For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
|
|
98
|
-
- Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
|
|
99
|
-
- Smaller, well-bounded units are also easier for you to work with - you reason better about code you can hold in context at once, and your edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.
|
|
100
|
-
|
|
101
|
-
**Working in existing codebases:**
|
|
102
|
-
|
|
103
|
-
- Explore the current structure before proposing changes. Follow existing patterns.
|
|
104
|
-
- Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design - the way a good developer improves code they're working in.
|
|
105
|
-
- Don't propose unrelated refactoring. Stay focused on what serves the current goal.
|
|
106
|
-
|
|
107
|
-
## After the Design
|
|
108
|
-
|
|
109
|
-
**Documentation:**
|
|
110
|
-
|
|
111
|
-
- Write the validated design (spec) to `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md`
|
|
112
|
-
- (User preferences for spec location override this default)
|
|
113
|
-
- Use elements-of-style:writing-clearly-and-concisely skill if available
|
|
114
|
-
- Commit the design document to git
|
|
115
|
-
|
|
116
|
-
**Spec Self-Review:**
|
|
117
|
-
After writing the spec document, look at it with fresh eyes:
|
|
118
|
-
|
|
119
|
-
1. **Placeholder scan:** Any "TBD", "TODO", incomplete sections, or vague requirements? Fix them.
|
|
120
|
-
2. **Internal consistency:** Do any sections contradict each other? Does the architecture match the feature descriptions?
|
|
121
|
-
3. **Scope check:** Is this focused enough for a single implementation plan, or does it need decomposition?
|
|
122
|
-
4. **Ambiguity check:** Could any requirement be interpreted two different ways? If so, pick one and make it explicit.
|
|
123
|
-
|
|
124
|
-
Fix any issues inline. No need to re-review — just fix and move on.
|
|
125
|
-
|
|
126
|
-
**User Review Gate:**
|
|
127
|
-
After the spec review loop passes, ask the user to review the written spec before proceeding:
|
|
128
|
-
|
|
129
|
-
> "Spec written and committed to `<path>`. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
|
|
130
|
-
|
|
131
|
-
Wait for the user's response. If they request changes, make them and re-run the spec review loop. Only proceed once the user approves.
|
|
132
|
-
|
|
133
|
-
**Implementation:**
|
|
134
|
-
|
|
135
|
-
- Invoke the writing-plans skill to create a detailed implementation plan
|
|
136
|
-
- Do NOT invoke any other skill. writing-plans is the next step.
|
|
137
|
-
|
|
138
|
-
## Key Principles
|
|
139
|
-
|
|
140
|
-
- **One question at a time** - Don't overwhelm with multiple questions
|
|
141
|
-
- **Multiple choice preferred** - Easier to answer than open-ended when possible
|
|
142
|
-
- **YAGNI ruthlessly** - Remove unnecessary features from all designs
|
|
143
|
-
- **Explore alternatives** - Always propose 2-3 approaches before settling
|
|
144
|
-
- **Incremental validation** - Present design, get approval before moving on
|
|
145
|
-
- **Be flexible** - Go back and clarify when something doesn't make sense
|
|
146
|
-
|
|
147
|
-
## Visual Companion
|
|
148
|
-
|
|
149
|
-
Browser use is text-only by default.
|
|
150
|
-
|
|
151
|
-
- Only use the browser when the user explicitly asks for browser/visual help.
|
|
152
|
-
- Do not suggest the browser just because it might explain something more clearly.
|
|
153
|
-
- If the user asks for browser/visual help, read `skills/brainstorming/visual-companion.md` before proceeding.
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: openspec-explore
|
|
3
|
-
description: Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: Requires openspec CLI.
|
|
6
|
-
metadata:
|
|
7
|
-
author: openspec
|
|
8
|
-
version: "1.0"
|
|
9
|
-
generatedBy: "1.3.1"
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.
|
|
13
|
-
|
|
14
|
-
**IMPORTANT: Explore mode is for thinking, not implementing.** You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create OpenSpec artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.
|
|
15
|
-
|
|
16
|
-
**This is a stance, not a workflow.** There are no fixed steps, no required sequence, no mandatory outputs. You're a thinking partner helping the user explore.
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## The Stance
|
|
21
|
-
|
|
22
|
-
- **Curious, not prescriptive** - Ask questions that emerge naturally, don't follow a script
|
|
23
|
-
- **Open threads, not interrogations** - Surface multiple interesting directions and let the user follow what resonates. Don't funnel them through a single path of questions.
|
|
24
|
-
- **Visual** - Use ASCII diagrams liberally when they'd help clarify thinking
|
|
25
|
-
- **Adaptive** - Follow interesting threads, pivot when new information emerges
|
|
26
|
-
- **Patient** - Don't rush to conclusions, let the shape of the problem emerge
|
|
27
|
-
- **Grounded** - Explore the actual codebase when relevant, don't just theorize
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## What You Might Do
|
|
32
|
-
|
|
33
|
-
Depending on what the user brings, you might:
|
|
34
|
-
|
|
35
|
-
**Explore the problem space**
|
|
36
|
-
- Ask clarifying questions that emerge from what they said
|
|
37
|
-
- Challenge assumptions
|
|
38
|
-
- Reframe the problem
|
|
39
|
-
- Find analogies
|
|
40
|
-
|
|
41
|
-
**Investigate the codebase**
|
|
42
|
-
- Map existing architecture relevant to the discussion
|
|
43
|
-
- Find integration points
|
|
44
|
-
- Identify patterns already in use
|
|
45
|
-
- Surface hidden complexity
|
|
46
|
-
|
|
47
|
-
**Compare options**
|
|
48
|
-
- Brainstorm multiple approaches
|
|
49
|
-
- Build comparison tables
|
|
50
|
-
- Sketch tradeoffs
|
|
51
|
-
- Recommend a path (if asked)
|
|
52
|
-
|
|
53
|
-
**Visualize**
|
|
54
|
-
```
|
|
55
|
-
┌─────────────────────────────────────────┐
|
|
56
|
-
│ Use ASCII diagrams liberally │
|
|
57
|
-
├─────────────────────────────────────────┤
|
|
58
|
-
│ │
|
|
59
|
-
│ ┌────────┐ ┌────────┐ │
|
|
60
|
-
│ │ State │────────▶│ State │ │
|
|
61
|
-
│ │ A │ │ B │ │
|
|
62
|
-
│ └────────┘ └────────┘ │
|
|
63
|
-
│ │
|
|
64
|
-
│ System diagrams, state machines, │
|
|
65
|
-
│ data flows, architecture sketches, │
|
|
66
|
-
│ dependency graphs, comparison tables │
|
|
67
|
-
│ │
|
|
68
|
-
└─────────────────────────────────────────┘
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
**Surface risks and unknowns**
|
|
72
|
-
- Identify what could go wrong
|
|
73
|
-
- Find gaps in understanding
|
|
74
|
-
- Suggest spikes or investigations
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## OpenSpec Awareness
|
|
79
|
-
|
|
80
|
-
You have full context of the OpenSpec system. Use it naturally, don't force it.
|
|
81
|
-
|
|
82
|
-
### Check for context
|
|
83
|
-
|
|
84
|
-
At the start, quickly check what exists:
|
|
85
|
-
```bash
|
|
86
|
-
openspec list --json
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
This tells you:
|
|
90
|
-
- If there are active changes
|
|
91
|
-
- Their names, schemas, and status
|
|
92
|
-
- What the user might be working on
|
|
93
|
-
|
|
94
|
-
### When no change exists
|
|
95
|
-
|
|
96
|
-
Think freely. When insights crystallize, you might offer:
|
|
97
|
-
|
|
98
|
-
- "This feels solid enough to start a change. Want me to create a proposal?"
|
|
99
|
-
- Or keep exploring - no pressure to formalize
|
|
100
|
-
|
|
101
|
-
### When a change exists
|
|
102
|
-
|
|
103
|
-
If the user mentions a change or you detect one is relevant:
|
|
104
|
-
|
|
105
|
-
1. **Read existing artifacts for context**
|
|
106
|
-
- `openspec/changes/<name>/proposal.md`
|
|
107
|
-
- `openspec/changes/<name>/design.md`
|
|
108
|
-
- `openspec/changes/<name>/tasks.md`
|
|
109
|
-
- etc.
|
|
110
|
-
|
|
111
|
-
2. **Reference them naturally in conversation**
|
|
112
|
-
- "Your design mentions using Redis, but we just realized SQLite fits better..."
|
|
113
|
-
- "The proposal scopes this to premium users, but we're now thinking everyone..."
|
|
114
|
-
|
|
115
|
-
3. **Offer to capture when decisions are made**
|
|
116
|
-
|
|
117
|
-
| Insight Type | Where to Capture |
|
|
118
|
-
|----------------------------|--------------------------------|
|
|
119
|
-
| New requirement discovered | `specs/<capability>/spec.md` |
|
|
120
|
-
| Requirement changed | `specs/<capability>/spec.md` |
|
|
121
|
-
| Design decision made | `design.md` |
|
|
122
|
-
| Scope changed | `proposal.md` |
|
|
123
|
-
| New work identified | `tasks.md` |
|
|
124
|
-
| Assumption invalidated | Relevant artifact |
|
|
125
|
-
|
|
126
|
-
Example offers:
|
|
127
|
-
- "That's a design decision. Capture it in design.md?"
|
|
128
|
-
- "This is a new requirement. Add it to specs?"
|
|
129
|
-
- "This changes scope. Update the proposal?"
|
|
130
|
-
|
|
131
|
-
4. **The user decides** - Offer and move on. Don't pressure. Don't auto-capture.
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## What You Don't Have To Do
|
|
136
|
-
|
|
137
|
-
- Follow a script
|
|
138
|
-
- Ask the same questions every time
|
|
139
|
-
- Produce a specific artifact
|
|
140
|
-
- Reach a conclusion
|
|
141
|
-
- Stay on topic if a tangent is valuable
|
|
142
|
-
- Be brief (this is thinking time)
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
## Handling Different Entry Points
|
|
147
|
-
|
|
148
|
-
**User brings a vague idea:**
|
|
149
|
-
```
|
|
150
|
-
User: I'm thinking about adding real-time collaboration
|
|
151
|
-
|
|
152
|
-
You: Real-time collab is a big space. Let me think about this...
|
|
153
|
-
|
|
154
|
-
COLLABORATION SPECTRUM
|
|
155
|
-
════════════════════════════════════════════
|
|
156
|
-
|
|
157
|
-
Awareness Coordination Sync
|
|
158
|
-
│ │ │
|
|
159
|
-
▼ ▼ ▼
|
|
160
|
-
┌────────┐ ┌────────┐ ┌────────┐
|
|
161
|
-
│Presence│ │Cursors │ │ CRDT │
|
|
162
|
-
│ "3 │ │ Multi │ │Conflict│
|
|
163
|
-
│online" │ │ select │ │ free │
|
|
164
|
-
└────────┘ └────────┘ └────────┘
|
|
165
|
-
│ │ │
|
|
166
|
-
trivial moderate complex
|
|
167
|
-
|
|
168
|
-
Where's your head at?
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
**User brings a specific problem:**
|
|
172
|
-
```
|
|
173
|
-
User: The auth system is a mess
|
|
174
|
-
|
|
175
|
-
You: [reads codebase]
|
|
176
|
-
|
|
177
|
-
┌─────────────────────────────────────────────┐
|
|
178
|
-
│ CURRENT AUTH FLOW │
|
|
179
|
-
└─────────────────────────────────────────────┘
|
|
180
|
-
│
|
|
181
|
-
┌─────────────┼─────────────┐
|
|
182
|
-
▼ ▼ ▼
|
|
183
|
-
┌─────────┐ ┌─────────┐ ┌─────────┐
|
|
184
|
-
│ Google │ │ GitHub │ │ Email │
|
|
185
|
-
│ OAuth │ │ OAuth │ │ Magic │
|
|
186
|
-
└────┬────┘ └────┬────┘ └────┬────┘
|
|
187
|
-
│ │ │
|
|
188
|
-
└─────────────┼─────────────┘
|
|
189
|
-
▼
|
|
190
|
-
┌───────────┐
|
|
191
|
-
│ Session │
|
|
192
|
-
└─────┬─────┘
|
|
193
|
-
│
|
|
194
|
-
▼
|
|
195
|
-
┌───────────┐
|
|
196
|
-
│ Perms │
|
|
197
|
-
└───────────┘
|
|
198
|
-
|
|
199
|
-
I see three tangles. Which one's burning?
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
**User is stuck mid-implementation:**
|
|
203
|
-
```
|
|
204
|
-
User: /opsx-explore add-auth-system
|
|
205
|
-
The OAuth integration is more complex than expected
|
|
206
|
-
|
|
207
|
-
You: [reads change artifacts]
|
|
208
|
-
|
|
209
|
-
You're on task 4: "Implement OAuth flow"
|
|
210
|
-
|
|
211
|
-
Let me trace what's involved...
|
|
212
|
-
|
|
213
|
-
[draws diagram, explores options, suggests paths]
|
|
214
|
-
|
|
215
|
-
Want to update the design to reflect this?
|
|
216
|
-
Or add a spike task to investigate?
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
**User wants to compare options:**
|
|
220
|
-
```
|
|
221
|
-
User: Should we use Postgres or SQLite?
|
|
222
|
-
|
|
223
|
-
You: Generic answer is boring. What's the context?
|
|
224
|
-
|
|
225
|
-
User: A CLI tool that tracks local dev environments
|
|
226
|
-
|
|
227
|
-
You: That changes everything.
|
|
228
|
-
|
|
229
|
-
┌─────────────────────────────────────────────────┐
|
|
230
|
-
│ CLI TOOL DATA STORAGE │
|
|
231
|
-
└─────────────────────────────────────────────────┘
|
|
232
|
-
|
|
233
|
-
Key constraints:
|
|
234
|
-
• No daemon running
|
|
235
|
-
• Must work offline
|
|
236
|
-
• Single user
|
|
237
|
-
|
|
238
|
-
SQLite Postgres
|
|
239
|
-
Deployment embedded ✓ needs server ✗
|
|
240
|
-
Offline yes ✓ no ✗
|
|
241
|
-
Single file yes ✓ no ✗
|
|
242
|
-
|
|
243
|
-
SQLite. Not even close.
|
|
244
|
-
|
|
245
|
-
Unless... is there a sync component?
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
## Ending Discovery
|
|
251
|
-
|
|
252
|
-
There's no required ending. Discovery might:
|
|
253
|
-
|
|
254
|
-
- **Flow into a proposal**: "Ready to start? I can create a change proposal."
|
|
255
|
-
- **Result in artifact updates**: "Updated design.md with these decisions"
|
|
256
|
-
- **Just provide clarity**: User has what they need, moves on
|
|
257
|
-
- **Continue later**: "We can pick this up anytime"
|
|
258
|
-
|
|
259
|
-
When it feels like things are crystallizing, you might summarize:
|
|
260
|
-
|
|
261
|
-
```
|
|
262
|
-
## What We Figured Out
|
|
263
|
-
|
|
264
|
-
**The problem**: [crystallized understanding]
|
|
265
|
-
|
|
266
|
-
**The approach**: [if one emerged]
|
|
267
|
-
|
|
268
|
-
**Open questions**: [if any remain]
|
|
269
|
-
|
|
270
|
-
**Next steps** (if ready):
|
|
271
|
-
- Create a change proposal
|
|
272
|
-
- Keep exploring: just keep talking
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
But this summary is optional. Sometimes the thinking IS the value.
|
|
276
|
-
|
|
277
|
-
---
|
|
278
|
-
|
|
279
|
-
## Guardrails
|
|
280
|
-
|
|
281
|
-
- **Don't implement** - Never write code or implement features. Creating OpenSpec artifacts is fine, writing application code is not.
|
|
282
|
-
- **Don't fake understanding** - If something is unclear, dig deeper
|
|
283
|
-
- **Don't rush** - Discovery is thinking time, not task time
|
|
284
|
-
- **Don't force structure** - Let patterns emerge naturally
|
|
285
|
-
- **Don't auto-capture** - Offer to save insights, don't just do it
|
|
286
|
-
- **Do visualize** - A good diagram is worth many paragraphs
|
|
287
|
-
- **Do explore the codebase** - Ground discussions in reality
|
|
288
|
-
- **Do question assumptions** - Including the user's and your own
|