audrey 1.0.3 → 1.1.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.
- package/CHANGELOG.md +30 -0
- package/README.md +301 -435
- package/SECURITY.md +3 -3
- package/benchmarks/output/adapter-self-test/guardbench-adapter-self-test.json +2 -2
- 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 +12 -12
- package/benchmarks/output/guardbench-raw.json +106 -106
- package/benchmarks/output/guardbench-summary.json +168 -168
- 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 +12 -12
- package/benchmarks/output/submission-bundle/guardbench-raw.json +106 -106
- package/benchmarks/output/submission-bundle/guardbench-summary.json +168 -168
- package/benchmarks/output/submission-bundle/submission-manifest.json +11 -11
- package/benchmarks/output/submission-bundle/validation-report.json +1 -1
- package/benchmarks/output/summary.json +57 -57
- package/benchmarks/public-paths.mjs +14 -1
- package/dist/mcp-server/config.d.ts +4 -1
- package/dist/mcp-server/config.d.ts.map +1 -1
- package/dist/mcp-server/config.js +47 -7
- package/dist/mcp-server/config.js.map +1 -1
- package/dist/mcp-server/hooks.d.ts +41 -0
- package/dist/mcp-server/hooks.d.ts.map +1 -0
- package/dist/mcp-server/hooks.js +313 -0
- package/dist/mcp-server/hooks.js.map +1 -0
- package/dist/mcp-server/index.d.ts +5 -10
- package/dist/mcp-server/index.d.ts.map +1 -1
- package/dist/mcp-server/index.js +588 -286
- package/dist/mcp-server/index.js.map +1 -1
- package/dist/src/action-key.d.ts +1 -0
- package/dist/src/action-key.d.ts.map +1 -1
- package/dist/src/action-key.js +11 -13
- package/dist/src/action-key.js.map +1 -1
- package/dist/src/affect.d.ts +1 -0
- package/dist/src/affect.d.ts.map +1 -1
- package/dist/src/affect.js +9 -4
- package/dist/src/affect.js.map +1 -1
- package/dist/src/audrey.d.ts +11 -3
- package/dist/src/audrey.d.ts.map +1 -1
- package/dist/src/audrey.js +59 -25
- package/dist/src/audrey.js.map +1 -1
- package/dist/src/autopilot.d.ts +32 -0
- package/dist/src/autopilot.d.ts.map +1 -0
- package/dist/src/autopilot.js +997 -0
- package/dist/src/autopilot.js.map +1 -0
- package/dist/src/capsule.d.ts +2 -0
- package/dist/src/capsule.d.ts.map +1 -1
- package/dist/src/capsule.js +27 -12
- package/dist/src/capsule.js.map +1 -1
- package/dist/src/consolidate.d.ts +1 -1
- package/dist/src/consolidate.d.ts.map +1 -1
- package/dist/src/consolidate.js +14 -8
- package/dist/src/consolidate.js.map +1 -1
- package/dist/src/controller.d.ts +2 -0
- package/dist/src/controller.d.ts.map +1 -1
- package/dist/src/controller.js +18 -11
- package/dist/src/controller.js.map +1 -1
- package/dist/src/db.d.ts.map +1 -1
- package/dist/src/db.js +121 -33
- package/dist/src/db.js.map +1 -1
- package/dist/src/decay.d.ts +2 -1
- package/dist/src/decay.d.ts.map +1 -1
- package/dist/src/decay.js +14 -10
- package/dist/src/decay.js.map +1 -1
- package/dist/src/embedding.d.ts.map +1 -1
- package/dist/src/embedding.js.map +1 -1
- package/dist/src/encode.d.ts.map +1 -1
- package/dist/src/encode.js +4 -2
- package/dist/src/encode.js.map +1 -1
- package/dist/src/events.d.ts +2 -0
- package/dist/src/events.d.ts.map +1 -1
- package/dist/src/events.js +15 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/feedback.d.ts +1 -0
- package/dist/src/feedback.d.ts.map +1 -1
- package/dist/src/feedback.js +13 -9
- package/dist/src/feedback.js.map +1 -1
- package/dist/src/forget.d.ts.map +1 -1
- package/dist/src/forget.js.map +1 -1
- package/dist/src/impact.d.ts +1 -1
- package/dist/src/impact.d.ts.map +1 -1
- package/dist/src/impact.js +40 -30
- package/dist/src/impact.js.map +1 -1
- package/dist/src/import.d.ts.map +1 -1
- package/dist/src/import.js +13 -9
- package/dist/src/import.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/interference.d.ts +2 -1
- package/dist/src/interference.d.ts.map +1 -1
- package/dist/src/interference.js +44 -17
- package/dist/src/interference.js.map +1 -1
- package/dist/src/llm.d.ts.map +1 -1
- package/dist/src/llm.js +12 -1
- package/dist/src/llm.js.map +1 -1
- package/dist/src/migrate.d.ts.map +1 -1
- package/dist/src/migrate.js +9 -9
- package/dist/src/migrate.js.map +1 -1
- package/dist/src/preflight.d.ts +2 -0
- package/dist/src/preflight.d.ts.map +1 -1
- package/dist/src/preflight.js +29 -12
- package/dist/src/preflight.js.map +1 -1
- package/dist/src/promote.d.ts +1 -0
- package/dist/src/promote.d.ts.map +1 -1
- package/dist/src/promote.js +12 -8
- package/dist/src/promote.js.map +1 -1
- package/dist/src/recall.d.ts.map +1 -1
- package/dist/src/recall.js +152 -100
- package/dist/src/recall.js.map +1 -1
- package/dist/src/reflexes.d.ts.map +1 -1
- package/dist/src/reflexes.js.map +1 -1
- package/dist/src/rollback.d.ts.map +1 -1
- package/dist/src/rollback.js.map +1 -1
- package/dist/src/routes.d.ts +1 -0
- package/dist/src/routes.d.ts.map +1 -1
- package/dist/src/routes.js +73 -20
- package/dist/src/routes.js.map +1 -1
- package/dist/src/server.d.ts +1 -0
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +2 -2
- package/dist/src/server.js.map +1 -1
- package/dist/src/types.d.ts +1 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils.d.ts +2 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +18 -0
- package/dist/src/utils.js.map +1 -1
- package/dist/src/validate.d.ts +1 -0
- package/dist/src/validate.d.ts.map +1 -1
- package/dist/src/validate.js +19 -10
- package/dist/src/validate.js.map +1 -1
- package/docs/AUDREY_PAPER_OUTLINE.md +6 -3
- package/docs/PRODUCTION_BACKLOG.md +47 -30
- package/docs/paper/06-implementation.md +5 -3
- package/docs/paper/07-evaluation.md +5 -5
- package/docs/paper/08-discussion-limitations.md +1 -1
- package/docs/paper/audrey-paper-v1.md +11 -9
- package/docs/paper/evidence-ledger.md +8 -8
- package/docs/paper/output/arxiv/arxiv-manifest.json +4 -4
- package/docs/paper/output/arxiv/main.tex +11 -9
- package/docs/paper/output/arxiv-compile-report.json +3 -3
- package/docs/paper/output/submission-bundle/README.md +301 -435
- package/docs/paper/output/submission-bundle/benchmarks/output/adapter-self-test/guardbench-adapter-self-test.json +2 -2
- 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 +12 -12
- package/docs/paper/output/submission-bundle/benchmarks/output/guardbench-raw.json +106 -106
- package/docs/paper/output/submission-bundle/benchmarks/output/guardbench-summary.json +168 -168
- 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 +11 -11
- 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 +52 -52
- package/docs/paper/output/submission-bundle/docs/AUDREY_PAPER_OUTLINE.md +6 -3
- package/docs/paper/output/submission-bundle/docs/paper/06-implementation.md +5 -3
- package/docs/paper/output/submission-bundle/docs/paper/07-evaluation.md +5 -5
- package/docs/paper/output/submission-bundle/docs/paper/08-discussion-limitations.md +1 -1
- package/docs/paper/output/submission-bundle/docs/paper/audrey-paper-v1.md +11 -9
- package/docs/paper/output/submission-bundle/docs/paper/evidence-ledger.md +8 -8
- 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 +11 -9
- package/docs/paper/output/submission-bundle/docs/paper/output/arxiv-compile-report.json +3 -3
- package/docs/paper/output/submission-bundle/package.json +5 -2
- package/docs/paper/output/submission-bundle/paper-submission-manifest.json +41 -41
- package/package.json +5 -2
- package/scripts/audit-release-completion.mjs +8 -8
- package/scripts/finalize-release.mjs +1 -1
- package/scripts/prepare-release-cut.mjs +1 -1
- package/scripts/publish-release-bundle.mjs +8 -4
- package/scripts/publish-release-github-api.mjs +1 -1
- package/scripts/sync-paper-artifacts.mjs +4 -5
- package/scripts/verify-release-readiness.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.0 - 2026-07-09
|
|
4
|
+
|
|
5
|
+
### Audrey Autopilot
|
|
6
|
+
|
|
7
|
+
- Adds one normalized lifecycle runtime for current Codex and Claude Code hooks. Session and prompt hooks inject bounded memory context; pre-tool hooks run exact-action Guard checks; post-tool hooks close the matching receipt by `session_id + tool_use_id`; explicitly reported failures form redacted durable memories; stop/compact hooks run due-only consolidation. Opaque Codex Bash results without exit status remain `unknown` rather than being mislabeled as success.
|
|
8
|
+
- Adds deterministic capture for explicit durable user language such as “remember that…”, “I prefer…”, and “from now on…”. Raw prompt events remain hash-only, secrets are rejected, and injected memory is redacted and labeled as evidence rather than authority.
|
|
9
|
+
- Adds host-specific, idempotent hook configuration for Codex and Claude Code with documented scopes, exact side-effectful tool matchers, timeouts, Windows-safe commands, legacy Audrey-hook replacement, private backups, dry runs, and owned-hook uninstall.
|
|
10
|
+
- `audrey install` now defaults to `--host auto`, configures installed Codex and/or Claude Code CLIs, installs Autopilot hooks, warms the pinned local runtime, and rolls MCP configuration back if registration fails. Scope validation happens before any host mutation, and MCP-only installs no longer claim Autopilot readiness. Uninstall has a non-mutating preview, understands Claude's project-keyed local registration, preserves hooks in MCP-only mode, and propagates real CLI failures instead of reporting false success. Codex still requires one-time trust through `/hooks`.
|
|
11
|
+
|
|
12
|
+
### Isolation and retrieval correctness
|
|
13
|
+
|
|
14
|
+
- Agent ownership now scopes validation, reinforcement, contradiction detection, interference, affective resonance, recent failures, capsules, greetings, preflight, Guard outcome actors, consolidation, and agent-routed REST calls inside a shared store.
|
|
15
|
+
- Cross-agent and legacy mixed-agent contradictions are excluded from scoped capsules. Explicit `scope: "shared"` remains available where cross-agent recall is intentional.
|
|
16
|
+
- Agent-scoped vector retrieval now uses native `sqlite-vec` partition keys before nearest-neighbor ranking, with a single bounded partition-local retry. Existing vector stores migrate losslessly and transactionally. Agent FTS no longer requests 10,000 candidates.
|
|
17
|
+
- Explicit cross-agent REST recall is disabled unless `AUDREY_ENABLE_SHARED_SCOPE=1` or admin routes are enabled; the agent-selection header remains routing metadata rather than an authentication boundary.
|
|
18
|
+
- Semantic and procedural retrieval bookkeeping now updates only final results actually yielded. Hidden, deduplicated, over-limit, and unconsumed stream candidates no longer gain authority merely because a query ran.
|
|
19
|
+
|
|
20
|
+
### Guard and provider compatibility
|
|
21
|
+
|
|
22
|
+
- Automatic tool outcomes inherit the Guard action fingerprint, so exact failed actions block, successful recovery clears stale failure behavior, and parallel tool calls retain correct lineage. Retrieval queries remain bounded for large prompts and writes while exact identity hashes the full normalized, redacted action rather than a truncated prefix.
|
|
23
|
+
- Adds `AUDREY_LLM_MODEL` plumbing to generated MCP environments.
|
|
24
|
+
- OpenAI chat completions use `max_completion_tokens` with reasoning headroom for GPT-5 and o-series models while retaining `max_tokens` for older chat models.
|
|
25
|
+
- Refreshes Hono and the affected `protobufjs`, `qs`, and `tar` dependency chain to patched releases; the production dependency audit is clean at the release cut.
|
|
26
|
+
- MCP server instructions describe the memory capsule and Guard receipt loop for hosts where lifecycle hooks are unavailable.
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
|
|
30
|
+
- Rewrites the README as a human-first product landing page, moves implementation detail into a technical reference, documents honest install/trust boundaries, and states current production limitations explicitly.
|
|
31
|
+
- Updates the supported security release lines for 1.x.
|
|
32
|
+
|
|
3
33
|
## 1.0.3 - 2026-05-28
|
|
4
34
|
|
|
5
35
|
Housekeeping release. Nothing about how Audrey behaves has changed — this is
|