@ontrails/warden 0.2.1 → 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/CHANGELOG.md +10 -0
- package/package.json +10 -10
- package/src/rules/metadata.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ontrails/warden
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3555995`](https://github.com/outfitter-dev/trails/commit/3555995e0d3a9bc2fda52b233832aae1d1908ff4): Describe the `example-valid` rule as validating entity examples, matching its diagnostics and actual source checks. Regenerate the Warden guide outputs so agents see the accurate invariant.
|
|
8
|
+
|
|
9
|
+
## 0.2.2
|
|
10
|
+
|
|
11
|
+
No changes in this release.
|
|
12
|
+
|
|
3
13
|
## 0.2.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontrails/warden",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/outfitter-dev/trails.git",
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ontrails/adapter-kit": "^0.2.
|
|
36
|
-
"@ontrails/cli": "^0.2.
|
|
37
|
-
"@ontrails/config": "^0.2.
|
|
38
|
-
"@ontrails/permits": "^0.2.
|
|
39
|
-
"@ontrails/source": "^0.2.
|
|
40
|
-
"@ontrails/store": "^0.2.
|
|
35
|
+
"@ontrails/adapter-kit": "^0.2.3",
|
|
36
|
+
"@ontrails/cli": "^0.2.3",
|
|
37
|
+
"@ontrails/config": "^0.2.3",
|
|
38
|
+
"@ontrails/permits": "^0.2.3",
|
|
39
|
+
"@ontrails/source": "^0.2.3",
|
|
40
|
+
"@ontrails/store": "^0.2.3",
|
|
41
41
|
"oxc-resolver": "11.19.1",
|
|
42
42
|
"zod": "^4.3.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@ontrails/testing": "^0.2.
|
|
45
|
+
"@ontrails/testing": "^0.2.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@ontrails/core": "^0.2.
|
|
49
|
-
"@ontrails/topography": "^0.2.
|
|
48
|
+
"@ontrails/core": "^0.2.3",
|
|
49
|
+
"@ontrails/topography": "^0.2.3"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/src/rules/metadata.ts
CHANGED
|
@@ -294,14 +294,14 @@ const builtinWardenRuleMetadataInput = {
|
|
|
294
294
|
'example-valid': {
|
|
295
295
|
...durableExternal,
|
|
296
296
|
guidance: {
|
|
297
|
-
docs: [
|
|
297
|
+
docs: [{ label: 'Entity', path: 'docs/lexicon.md#entity' }],
|
|
298
298
|
steps: [
|
|
299
|
-
'Update the example
|
|
300
|
-
'Run
|
|
299
|
+
'Update the entity example or schema so the example matches the schema.',
|
|
300
|
+
'Run Warden to verify the affected entity examples.',
|
|
301
301
|
],
|
|
302
|
-
summary: 'Keep
|
|
302
|
+
summary: 'Keep entity examples synchronized with their authored schemas.',
|
|
303
303
|
},
|
|
304
|
-
invariant: '
|
|
304
|
+
invariant: 'Entity examples remain valid against their authored schema.',
|
|
305
305
|
tier: 'source-static',
|
|
306
306
|
},
|
|
307
307
|
'fires-declarations': {
|