@metamynd/agentsafe-guard 0.4.0 → 0.4.2

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 +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,6 +15,21 @@ compliance team edits in the dashboard, changeable live with no redeploy.
15
15
  `policy-core` the gate runs (MAGP §9.2 cooperative mode) — identical inputs give the identical
16
16
  verdict, with no network round-trip. See §4.
17
17
 
18
+ ## The protocol
19
+
20
+ This guard is one implementation of an open specification. You do not have to use it — the
21
+ protocol is published so you can implement it yourself, verify a verdict independently, or
22
+ re-implement the gate:
23
+
24
+ **[MAGP v1.0 — MetaMynd Agentic Governance Protocol](https://metamynd.ai/en/developers/spec)**
25
+ ([markdown](https://metamynd.ai/specs/magp-v1.0.md))
26
+
27
+ It defines agent identity, the canonical signed message (§8.3), the sixteen-stage order of
28
+ checks (§8.5), all 59 reason codes (Appendix A), delegation narrowing (§5.4), and evidence
29
+ you can verify offline without MetaMynd (§13.4). If you are writing a client in a language
30
+ other than JavaScript, read §8.3.3–8.3.5 first: key encoding, number stringification and
31
+ signed-vs-sent field identity each surface only as `SIGNATURE_INVALID`.
32
+
18
33
  ## Try it first — no account, no network
19
34
 
20
35
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamynd/agentsafe-guard",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Zero-dependency runtime governance for any Node AI agent \u2014 gate tool calls through MetaMynd/AgentSafe (allow / block / escalate) against the agent's mandate, enforced Standards, and SOPs. Ed25519-signed, deterministic, fail-closed.",
5
5
  "type": "module",
6
6
  "main": "./agentsafe-guard.mjs",