@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pablozrrrr/jevguard",
3
- "version": "0.2.0",
3
+ "version": "0.2.3",
4
4
  "description": "OpenCode plugin that reviews a completed agent turn against a repository semantic rule using Jev.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -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; `severity` and `scope` remain the only
105
- accepted metadata. Provenance is **never** written inside a rule block.
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, add keys, or change the model. The default configuration is
172
- valid and uses the documented defaults.
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