@ontrails/warden 0.2.2 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.2.2
4
10
 
5
11
  No changes in this release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ontrails/warden",
3
- "version": "0.2.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.2",
36
- "@ontrails/cli": "^0.2.2",
37
- "@ontrails/config": "^0.2.2",
38
- "@ontrails/permits": "^0.2.2",
39
- "@ontrails/source": "^0.2.2",
40
- "@ontrails/store": "^0.2.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.2"
45
+ "@ontrails/testing": "^0.2.3"
46
46
  },
47
47
  "peerDependencies": {
48
- "@ontrails/core": "^0.2.2",
49
- "@ontrails/topography": "^0.2.2"
48
+ "@ontrails/core": "^0.2.3",
49
+ "@ontrails/topography": "^0.2.3"
50
50
  }
51
51
  }
@@ -294,14 +294,14 @@ const builtinWardenRuleMetadataInput = {
294
294
  'example-valid': {
295
295
  ...durableExternal,
296
296
  guidance: {
297
- docs: [trailContractDocs],
297
+ docs: [{ label: 'Entity', path: 'docs/lexicon.md#entity' }],
298
298
  steps: [
299
- 'Update the example input, expected output, or schema so they describe the same contract.',
300
- 'Run the package tests that exercise the affected trail examples.',
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 trail examples synchronized with their authored schemas.',
302
+ summary: 'Keep entity examples synchronized with their authored schemas.',
303
303
  },
304
- invariant: 'Trail examples remain valid against their authored schema.',
304
+ invariant: 'Entity examples remain valid against their authored schema.',
305
305
  tier: 'source-static',
306
306
  },
307
307
  'fires-declarations': {