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
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: question-validation
|
|
3
|
-
description: Validates that the agent uses OpenCode's native question tool instead of the removed ask-user MCP. Triggers on any question-asking scenario.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Question Validation
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
|
|
10
|
-
Prevents the agent from attempting to use the removed `ask_user` MCP server. The MCP always times out because it cannot access the TTY in OpenCode's process model.
|
|
11
|
-
|
|
12
|
-
## Rules
|
|
13
|
-
|
|
14
|
-
### BEFORE asking any question
|
|
15
|
-
|
|
16
|
-
1. **NEVER use `ask_user` MCP** — it does not exist anymore and will timeout
|
|
17
|
-
2. **ALWAYS use the native `question` tool** — it works correctly
|
|
18
|
-
|
|
19
|
-
### Correct format
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"questions": [
|
|
24
|
-
{
|
|
25
|
-
"question": "The question to ask",
|
|
26
|
-
"header": "Short label (max 30 chars)",
|
|
27
|
-
"options": [
|
|
28
|
-
{ "label": "Option A", "description": "What this means" },
|
|
29
|
-
{ "label": "Option B", "description": "What this means" }
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Validation checklist
|
|
37
|
-
|
|
38
|
-
- [ ] Did I use `question` tool? (not `ask_user`)
|
|
39
|
-
- [ ] Is the `question` field present?
|
|
40
|
-
- [ ] Are `options` provided with both `label` and `description`?
|
|
41
|
-
- [ ] Is the `header` short (max 30 chars)?
|
|
42
|
-
|
|
43
|
-
### Error recovery
|
|
44
|
-
|
|
45
|
-
If you accidentally called `ask_user`:
|
|
46
|
-
1. STOP immediately
|
|
47
|
-
2. Use `question` tool instead
|
|
48
|
-
3. Do not retry the MCP call
|
|
49
|
-
|
|
50
|
-
## Examples
|
|
51
|
-
|
|
52
|
-
### Good
|
|
53
|
-
|
|
54
|
-
```json
|
|
55
|
-
{
|
|
56
|
-
"questions": [
|
|
57
|
-
{
|
|
58
|
-
"question": "¿Qué enfoque preferís?",
|
|
59
|
-
"header": "Enfoque",
|
|
60
|
-
"options": [
|
|
61
|
-
{ "label": "Directo", "description": "Implementar sin spec" },
|
|
62
|
-
{ "label": "Con spec", "description": "Generar spec primero" }
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Bad
|
|
70
|
-
|
|
71
|
-
```json
|
|
72
|
-
// WRONG — this is the removed MCP
|
|
73
|
-
{
|
|
74
|
-
"question": "¿Qué preferís?",
|
|
75
|
-
"options": ["A", "B"]
|
|
76
|
-
}
|
|
77
|
-
```
|