aval-adr 1.4.0 → 1.5.0

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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -79,6 +79,20 @@ Repo-specific caveats go in `.claude/aval-hook.local.md`. The hook appends that
79
79
  file; installing again never touches it. `--check` is the drift detector for
80
80
  CI: exit 0 wired, exit 1 stale.
81
81
 
82
+ The script's second line names the aval that wrote it:
83
+
84
+ ```sh
85
+ #!/bin/sh
86
+ # aval-hook: written by aval 1.5.0
87
+ ```
88
+
89
+ A script from a **newer** aval is not stale, and an older aval leaves it alone
90
+ rather than downgrading it, so a workstation that upgrades first does not
91
+ redden a CI job pinned to the release before. Both modes also print a `note`
92
+ for every `AVAL_VERSION:` pin under `.github/workflows` or `.forgejo/workflows`
93
+ that is behind or ahead of the running aval — advisory, never an exit code,
94
+ never an edit to the workflow.
95
+
82
96
  Where the repository vendors packs, the hook also asks whether they are still
83
97
  what their sources publish — at most once an hour per repository, under a
84
98
  five-second budget that kills the remote call rather than waiting on it, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aval-adr",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Ask what the current architecture decision is, and get a typed answer",
5
5
  "keywords": [
6
6
  "adr",
@@ -32,11 +32,11 @@
32
32
  "node": ">=18"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@aval-adr/darwin-arm64": "1.4.0",
36
- "@aval-adr/darwin-x64": "1.4.0",
37
- "@aval-adr/linux-arm64-gnu": "1.4.0",
38
- "@aval-adr/linux-x64-gnu": "1.4.0",
39
- "@aval-adr/linux-x64-musl": "1.4.0",
40
- "@aval-adr/win32-x64": "1.4.0"
35
+ "@aval-adr/darwin-arm64": "1.5.0",
36
+ "@aval-adr/darwin-x64": "1.5.0",
37
+ "@aval-adr/linux-arm64-gnu": "1.5.0",
38
+ "@aval-adr/linux-x64-gnu": "1.5.0",
39
+ "@aval-adr/linux-x64-musl": "1.5.0",
40
+ "@aval-adr/win32-x64": "1.5.0"
41
41
  }
42
42
  }