@pablozrrrr/jevguard 0.2.0 → 0.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/README.md +104 -19
- package/cli/main.js +1299 -88
- package/index.js +1174 -96
- package/package.json +1 -1
- package/skills/jev-init/SKILL.md +12 -5
- package/skills/jev-init/validate-init.js +541 -68
- package/skills/jevguard-rules/SKILL.md +44 -2
- package/skills/jevguard-rules/validate-rules.js +541 -68
package/package.json
CHANGED
package/skills/jev-init/SKILL.md
CHANGED
|
@@ -101,8 +101,14 @@ A single README sentence, an isolated code sample, personal preference, or an
|
|
|
101
101
|
aspiration the repository does not already follow is **not** strong evidence. Exclude
|
|
102
102
|
speculative rules and say which candidates you dropped and why.
|
|
103
103
|
|
|
104
|
-
Each rule block keeps the document grammar
|
|
105
|
-
|
|
104
|
+
Each rule block keeps the document grammar. The accepted metadata is `severity`,
|
|
105
|
+
repeatable `scope` (a leading `!` excludes), and optional `evidence` (`code`, the
|
|
106
|
+
default, `docs`, or `any`). Provenance is **never** written inside a rule block.
|
|
107
|
+
|
|
108
|
+
Prefer a bounded `scope:` over a repository-wide rule: a convention that only holds under
|
|
109
|
+
particular paths must say so, or it will fire where it does not apply. Add
|
|
110
|
+
`evidence: docs` or `evidence: any` only when the rule genuinely inspects documentation,
|
|
111
|
+
because the default `code` class excludes prose.
|
|
106
112
|
|
|
107
113
|
### 5. Write the provenance preamble before the rules
|
|
108
114
|
|
|
@@ -165,11 +171,12 @@ remediation:
|
|
|
165
171
|
auto_propose: true
|
|
166
172
|
propose_on:
|
|
167
173
|
- FAIL
|
|
168
|
-
model: opencode/gpt-5.6-luna
|
|
169
174
|
```
|
|
170
175
|
|
|
171
|
-
Do not invent thresholds
|
|
172
|
-
|
|
176
|
+
Do not invent thresholds or add keys. The default configuration is valid and uses the
|
|
177
|
+
documented defaults. Never pin `remediation.model`: when it is absent the proposer
|
|
178
|
+
inherits the host model, which is the only portable choice. A hard-coded provider
|
|
179
|
+
model can be absent on the user's machine and would make every proposal fail.
|
|
173
180
|
|
|
174
181
|
### 7. Preview both files and require explicit confirmation
|
|
175
182
|
|