audrey 1.1.0 → 1.1.1
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 +8 -0
- package/README.md +14 -7
- package/benchmarks/output/adapter-self-test/guardbench-adapter-self-test.json +4 -4
- package/benchmarks/output/external/guardbench-external-dry-run.json +1 -1
- package/benchmarks/output/external/guardbench-external-evidence.json +1 -1
- package/benchmarks/output/guardbench-conformance-card.json +9 -9
- package/benchmarks/output/guardbench-raw.json +104 -104
- package/benchmarks/output/guardbench-summary.json +163 -163
- package/benchmarks/output/leaderboard/guardbench-leaderboard.json +5 -5
- package/benchmarks/output/leaderboard/guardbench-leaderboard.md +2 -2
- package/benchmarks/output/submission-bundle/guardbench-conformance-card.json +9 -9
- package/benchmarks/output/submission-bundle/guardbench-raw.json +104 -104
- package/benchmarks/output/submission-bundle/guardbench-summary.json +163 -163
- package/benchmarks/output/submission-bundle/submission-manifest.json +10 -10
- package/benchmarks/output/submission-bundle/validation-report.json +1 -1
- package/benchmarks/output/summary.json +67 -67
- package/dist/mcp-server/config.d.ts +1 -1
- package/dist/mcp-server/config.js +1 -1
- package/dist/mcp-server/index.d.ts.map +1 -1
- package/dist/mcp-server/index.js +20 -19
- package/dist/mcp-server/index.js.map +1 -1
- package/dist/src/preflight.d.ts.map +1 -1
- package/dist/src/preflight.js +3 -3
- package/dist/src/preflight.js.map +1 -1
- package/docs/paper/07-evaluation.md +4 -4
- package/docs/paper/audrey-paper-v1.md +4 -4
- package/docs/paper/evidence-ledger.md +1 -1
- package/docs/paper/output/arxiv/arxiv-manifest.json +4 -4
- package/docs/paper/output/arxiv/main.tex +4 -4
- package/docs/paper/output/arxiv-compile-report.json +3 -3
- package/docs/paper/output/submission-bundle/README.md +14 -7
- package/docs/paper/output/submission-bundle/benchmarks/output/adapter-self-test/guardbench-adapter-self-test.json +4 -4
- package/docs/paper/output/submission-bundle/benchmarks/output/external/guardbench-external-dry-run.json +1 -1
- package/docs/paper/output/submission-bundle/benchmarks/output/external/guardbench-external-evidence.json +1 -1
- package/docs/paper/output/submission-bundle/benchmarks/output/guardbench-conformance-card.json +9 -9
- package/docs/paper/output/submission-bundle/benchmarks/output/guardbench-raw.json +104 -104
- package/docs/paper/output/submission-bundle/benchmarks/output/guardbench-summary.json +163 -163
- package/docs/paper/output/submission-bundle/benchmarks/output/leaderboard/guardbench-leaderboard.json +5 -5
- package/docs/paper/output/submission-bundle/benchmarks/output/leaderboard/guardbench-leaderboard.md +2 -2
- package/docs/paper/output/submission-bundle/benchmarks/output/submission-bundle/submission-manifest.json +10 -10
- package/docs/paper/output/submission-bundle/benchmarks/output/submission-bundle/validation-report.json +1 -1
- package/docs/paper/output/submission-bundle/benchmarks/output/summary.json +56 -56
- package/docs/paper/output/submission-bundle/docs/paper/07-evaluation.md +4 -4
- package/docs/paper/output/submission-bundle/docs/paper/audrey-paper-v1.md +4 -4
- package/docs/paper/output/submission-bundle/docs/paper/evidence-ledger.md +1 -1
- package/docs/paper/output/submission-bundle/docs/paper/output/arxiv/arxiv-manifest.json +4 -4
- package/docs/paper/output/submission-bundle/docs/paper/output/arxiv/main.tex +4 -4
- package/docs/paper/output/submission-bundle/docs/paper/output/arxiv-compile-report.json +3 -3
- package/docs/paper/output/submission-bundle/package.json +7 -1
- package/docs/paper/output/submission-bundle/paper-submission-manifest.json +31 -31
- package/package.json +7 -1
- package/scripts/audit-release-completion.mjs +1 -1
- package/scripts/finalize-release.mjs +1 -1
- package/scripts/prepare-release-cut.mjs +1 -1
- package/scripts/publish-release-bundle.mjs +1 -1
- package/scripts/publish-release-github-api.mjs +1 -1
- package/scripts/verify-release-readiness.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.1 - 2026-07-10
|
|
4
|
+
|
|
5
|
+
### npm 12 install compatibility
|
|
6
|
+
|
|
7
|
+
- Documents and emits a least-privilege global install command that explicitly allows only Audrey's four required dependency lifecycle scripts. This keeps SQLite and local inference working under npm 12's new default-deny install-script policy without enabling arbitrary package scripts.
|
|
8
|
+
- Adds pinned project-level npm 12 approvals for Audrey's current native/runtime dependencies and regression coverage for the CLI guidance.
|
|
9
|
+
- Pins the trusted npm publisher to npm 11.14.1 so the immutable 1.1.0 tag can be recovered safely after npm 12 withheld `better-sqlite3`'s native binding during its first publish attempt.
|
|
10
|
+
|
|
3
11
|
## 1.1.0 - 2026-07-09
|
|
4
12
|
|
|
5
13
|
### Audrey Autopilot
|
package/README.md
CHANGED
|
@@ -34,10 +34,12 @@ The model does not have to remember that a memory tool exists. That is the point
|
|
|
34
34
|
Install Audrey once, review the hooks once, and then use Codex or Claude Code normally.
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm install -g audrey
|
|
37
|
+
npm install -g audrey --allow-scripts=better-sqlite3,onnxruntime-node,sharp,protobufjs
|
|
38
38
|
audrey install --host auto
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
The explicit install-script list is for npm 12's safer dependency policy. It permits only the four packages Audrey needs for SQLite, local inference, and their generated runtime files. With npm 11 or earlier, the shorter `npm install -g audrey` is equivalent.
|
|
42
|
+
|
|
41
43
|
`auto` configures whichever supported CLIs are installed. You can choose one explicitly:
|
|
42
44
|
|
|
43
45
|
```bash
|
|
@@ -76,7 +78,7 @@ This is more useful than “the vector search found a vaguely similar error.”
|
|
|
76
78
|
Try the complete loop without an API key or network call:
|
|
77
79
|
|
|
78
80
|
```bash
|
|
79
|
-
|
|
81
|
+
audrey demo --scenario repeated-failure
|
|
80
82
|
```
|
|
81
83
|
|
|
82
84
|
## What Audrey remembers
|
|
@@ -127,12 +129,10 @@ Vector candidates are partitioned by agent before nearest-neighbor ranking, so o
|
|
|
127
129
|
## See it before installing anything
|
|
128
130
|
|
|
129
131
|
```bash
|
|
130
|
-
|
|
131
|
-
npx audrey demo
|
|
132
|
-
npx audrey install --host auto --dry-run
|
|
132
|
+
npm exec --yes --package=audrey --allow-scripts=better-sqlite3,onnxruntime-node,sharp,protobufjs -- audrey demo --scenario repeated-failure
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
That command runs from the npm cache, exercises the full SQLite-backed Guard loop, and leaves host configuration unchanged.
|
|
136
136
|
|
|
137
137
|
<div align="center">
|
|
138
138
|
<img src="docs/assets/audrey-feature-grid.jpg" alt="Audrey memory continuity, recall, evidence, local storage, and memory-before-action" width="760">
|
|
@@ -165,6 +165,13 @@ npm install audrey
|
|
|
165
165
|
pip install audrey-memory
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
+
For a project install with npm 12, approve Audrey's reviewed dependency scripts in the project root and rebuild once if npm reported that it blocked them:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npm install-scripts approve better-sqlite3 onnxruntime-node sharp protobufjs
|
|
172
|
+
npm rebuild
|
|
173
|
+
```
|
|
174
|
+
|
|
168
175
|
For Autopilot, prefer a global or otherwise stable installation. Hook and MCP configuration pins the actual Node executable and Audrey entrypoint; an ephemeral `npx` cache is not a durable production runtime.
|
|
169
176
|
|
|
170
177
|
### Host configuration
|
|
@@ -381,7 +388,7 @@ npm run pack:check
|
|
|
381
388
|
GuardBench currently contains ten local, deterministic pre-action scenarios covering repeated failures, procedures, scope changes, recovery, redaction, conflicting instructions, and noisy stores. The checked-in v1 methodology uses a mock 64-dimensional embedding provider and exists to catch regressions. A perfect local pass is not a claim about real-provider latency or production false-positive rates.
|
|
382
389
|
|
|
383
390
|
<!-- guardbench-summary:start -->
|
|
384
|
-
Latest local result in this checkout: 10/10 scenarios passed, 100% prevention rate, 0% false-block rate, 0 raw secret leaks, 0 published artifact leaks, and 3.
|
|
391
|
+
Latest local result in this checkout: 10/10 scenarios passed, 100% prevention rate, 0% false-block rate, 0 raw secret leaks, 0 published artifact leaks, and 3.075ms / 17.056ms p50/p95 Guard latency under the mock-provider methodology.
|
|
385
392
|
<!-- guardbench-summary:end -->
|
|
386
393
|
|
|
387
394
|
`benchmarks/perf-snapshot.js` measures encode and hybrid-recall p50/p95/p99 at configurable corpus sizes with machine and provider provenance. Run it on the hardware and embedding provider you plan to operate; hosted-provider latency is dominated by its network round trip.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"suite": "GuardBench adapter self-test",
|
|
4
|
-
"generatedAt": "2026-07-10T15:
|
|
4
|
+
"generatedAt": "2026-07-10T15:19:16.097Z",
|
|
5
5
|
"ok": true,
|
|
6
6
|
"adapter": {
|
|
7
7
|
"name": "Example Allow Adapter",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"evidenceRecall": 0.1,
|
|
28
28
|
"redactionLeaks": 0,
|
|
29
29
|
"latency": {
|
|
30
|
-
"p50Ms": 0.
|
|
31
|
-
"p95Ms": 0.
|
|
32
|
-
"maxMs": 0.
|
|
30
|
+
"p50Ms": 0.015,
|
|
31
|
+
"p95Ms": 0.036,
|
|
32
|
+
"maxMs": 0.036
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"contract": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"suite": "GuardBench external adapter dry-run matrix",
|
|
4
|
-
"generatedAt": "2026-07-10T15:
|
|
4
|
+
"generatedAt": "2026-07-10T15:19:16.549Z",
|
|
5
5
|
"ok": true,
|
|
6
6
|
"registry": "benchmarks/adapters/registry.json",
|
|
7
7
|
"outRoot": "benchmarks/output/external",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"suite": "GuardBench conformance card",
|
|
4
|
-
"generatedAt": "2026-07-10T15:
|
|
4
|
+
"generatedAt": "2026-07-10T15:18:56.703Z",
|
|
5
5
|
"sourceDir": "benchmarks/output",
|
|
6
6
|
"manifestVersion": "0.2.0",
|
|
7
7
|
"suiteId": "guardbench-local-comparative",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"evidenceRecall": 1,
|
|
26
26
|
"redactionLeaks": 0,
|
|
27
27
|
"latency": {
|
|
28
|
-
"p50Ms": 3.
|
|
29
|
-
"p95Ms":
|
|
30
|
-
"maxMs":
|
|
28
|
+
"p50Ms": 3.075,
|
|
29
|
+
"p95Ms": 17.056,
|
|
30
|
+
"maxMs": 17.056
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"conformance": {
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"integrity": {
|
|
40
40
|
"artifactHashes": {
|
|
41
41
|
"guardbench-manifest.json": "57636ce19fdaa6e50fc3fc961d9e499a9f43632f588c713a9fefe8e8a6fa724c",
|
|
42
|
-
"guardbench-summary.json": "
|
|
43
|
-
"guardbench-raw.json": "
|
|
42
|
+
"guardbench-summary.json": "420c3d8188cdc636459ad034d6e5ee3836bdf9e649aa3febe5ce087d681a98bb",
|
|
43
|
+
"guardbench-raw.json": "46026c7bd5add25bf7aed89357b958b012bcd46549dc7dd6d31362cef0a0e00f"
|
|
44
44
|
},
|
|
45
45
|
"externalRunMetadataHash": null
|
|
46
46
|
},
|
|
47
47
|
"provenance": {
|
|
48
|
-
"generatedAt": "2026-07-10T15:
|
|
49
|
-
"gitSha": "
|
|
48
|
+
"generatedAt": "2026-07-10T15:18:56.391Z",
|
|
49
|
+
"gitSha": "27632f13e6231ed526303640247343bb60af86a9",
|
|
50
50
|
"gitDirty": false,
|
|
51
51
|
"node": "v24.18.0",
|
|
52
52
|
"v8": "13.6.233.17-node.50",
|
|
53
53
|
"platform": "linux",
|
|
54
54
|
"arch": "x64",
|
|
55
55
|
"osRelease": "6.17.0-1018-azure",
|
|
56
|
-
"cpuModel": "
|
|
56
|
+
"cpuModel": "INTEL(R) XEON(R) PLATINUM 8573C",
|
|
57
57
|
"cpuCount": 4,
|
|
58
58
|
"totalMemoryGb": 15.61,
|
|
59
59
|
"embeddingProvider": "mock",
|