refacil-sdd-ai 5.2.1 → 5.2.2
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/package.json +1 -1
- package/skills/verify/SKILL.md +2 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "refacil-sdd-ai",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "SDD-AI: Specification-Driven Development with AI — development methodology using AI with Claude Code, Cursor, OpenCode and Codex",
|
|
5
5
|
"bin": {
|
|
6
6
|
"refacil-sdd-ai": "./bin/cli.js"
|
package/skills/verify/SKILL.md
CHANGED
|
@@ -37,16 +37,6 @@ If you already have a `changeName`, run `refacil-sdd-ai sdd status <changeName>
|
|
|
37
37
|
|
|
38
38
|
If **this session** inspects the change directory before or after delegating, apply **`refacil-prereqs/METHODOLOGY-CONTRACT.md` §8**.
|
|
39
39
|
|
|
40
|
-
### Step 0.6: Verify validator agent is installed (blocking — CA-12)
|
|
41
|
-
|
|
42
|
-
Before doing anything else, check that `.claude/agents/refacil-validator.md` exists (read by explicit path or `ls -la .claude/agents/refacil-validator.md`).
|
|
43
|
-
|
|
44
|
-
**If the file does NOT exist**, stop immediately:
|
|
45
|
-
```
|
|
46
|
-
El agente `refacil-validator` no está instalado. Ejecuta `/refacil:update` y reinicia la sesión antes de volver a correr `/refacil:verify`.
|
|
47
|
-
```
|
|
48
|
-
Do not continue and do not escalate to any other agent.
|
|
49
|
-
|
|
50
40
|
### Step 1: Build briefing for the sub-agent (reduces validator tool calls)
|
|
51
41
|
|
|
52
42
|
Before invoking the sub-agent, extract the context that the validator would otherwise calculate on its own:
|
|
@@ -107,7 +97,8 @@ The sub-agent:
|
|
|
107
97
|
|
|
108
98
|
Show the user the **combined report** (everything before the `refacil-verify-result` block). Do not show the JSON block — it is internal metadata.
|
|
109
99
|
|
|
110
|
-
**If the sub-agent failed to load** (tool error, agent type not found, or no response at all): stop immediately and do NOT escalate to any other agent
|
|
100
|
+
**If the sub-agent failed to load** (tool error, agent type not found, or no response at all): stop immediately and do NOT escalate to any other agent. If the failure is due to a missing install, `refacil-sdd-ai update` (or `init`) + restart the session — same as other skills that delegate to sub-agents.
|
|
101
|
+
|
|
111
102
|
```
|
|
112
103
|
The validator sub-agent could not be loaded — retry or run `/refacil:verify` again.
|
|
113
104
|
```
|
|
@@ -173,5 +164,4 @@ Do you want me to apply these corrections? (yes/no)
|
|
|
173
164
|
- **Sub-agent failsafe (CA-01)**: if the validator fails to load (tool error) or returns no response — stop and inform the user. Do NOT escalate to any other agent.
|
|
174
165
|
- **Unstructured output (CA-02)**: if the validator responds but without a `refacil-verify-result` block — show the raw report and stop. Do NOT re-invoke another agent.
|
|
175
166
|
- **SCOPE_ERROR (CR-03)**: if the validator returns `SCOPE_ERROR: <reason>` — propagate and ask for clarification. CA-01 does NOT apply here.
|
|
176
|
-
- **Agent missing (CA-12)**: checked in Step 0.6 — stop before delegating if `.claude/agents/refacil-validator.md` is absent.
|
|
177
167
|
- **Flow continuity**: if the result is APPROVED and the user confirms affirmatively, immediately invoke the **Skill tool** with `skill: "refacil:review"`. (See `METHODOLOGY-CONTRACT.md §5`.)
|