company-skill 2.2.1 → 2.2.3
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/hooks/stop-guard.js +6 -4
- package/package.json +1 -1
- package/skill/SKILL.md +3 -1
package/hooks/stop-guard.js
CHANGED
|
@@ -28,8 +28,9 @@ if (fs.existsSync(criteriaPath)) {
|
|
|
28
28
|
|
|
29
29
|
const failList = failing.map(c => c.description).join(', ');
|
|
30
30
|
console.log(JSON.stringify({
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
continue: false,
|
|
32
|
+
stopReason: failing.length + "/" + all.length + " criteria not met. Continue working.",
|
|
33
|
+
systemMessage: "COMPANY GOAL NOT ACHIEVED. " + failing.length + " criteria still failing: " + failList + ". Read .company/criteria.json and start the next THINK > EXECUTE > VERIFY cycle."
|
|
33
34
|
}));
|
|
34
35
|
process.exit(0);
|
|
35
36
|
} catch (e) {
|
|
@@ -46,6 +47,7 @@ if (fs.existsSync(statusPath)) {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
console.log(JSON.stringify({
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
continue: false,
|
|
51
|
+
stopReason: "Company goal not yet achieved.",
|
|
52
|
+
systemMessage: "COMPANY GOAL NOT ACHIEVED. Read .company/criteria.json and .company/GOAL.md. Start the next THINK > EXECUTE > VERIFY cycle."
|
|
51
53
|
}));
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -72,8 +72,10 @@ Every finding MUST have:
|
|
|
72
72
|
```
|
|
73
73
|
FINDING: what
|
|
74
74
|
SOURCE: file/URL/command that proves it
|
|
75
|
+
OR "NOVEL - needs validation" for new ideas/techniques that don't exist yet
|
|
75
76
|
```
|
|
76
|
-
|
|
77
|
+
Existing claims (numbers, papers, competitor data) need real sources.
|
|
78
|
+
Novel ideas (new techniques, hypotheses, untested approaches) use "NOVEL - needs validation" and MUST be tested in the same or next cycle. The reviewer accepts novel sources but adds a criterion to criteria.json: "Validate novel technique X with experiment."
|
|
77
79
|
|
|
78
80
|
### VERIFY (Opus)
|
|
79
81
|
|