{"_id":"@agentproto/governance","_rev":"7-dfca721012a1277a68c33af6637691a8","name":"@agentproto/governance","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0-alpha.0":{"name":"@agentproto/governance","version":"0.1.0-alpha.0","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"MIT","_id":"@agentproto/governance@0.1.0-alpha.0","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"cf4023948b9e3f5db063c08738232d2c1fef54cf","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.0-alpha.0.tgz","fileCount":35,"integrity":"sha512-cjSxmduKaTiWWn+2fr7sod2EqMQK7GuAYakl5Gtqm10pYFrn1hMXB4VdApFxj4dgL5kh+HySWcJqhEpPQ9OEFw==","signatures":[{"sig":"MEUCIDLyzbdUVp92FAaCVxHBdcWXJ6bHyh/0RgELgMM0qGVgAiEA9x86xz58Jkrr2aiwiuWpCZ2qmA6ea4SDI7jWrP4K7x4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.0-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":150839},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.0-alpha.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/3b1d52790c4223a600e60cfb1b1a15f3/agentproto-governance-0.1.0-alpha.0.tgz","_integrity":"sha512-cjSxmduKaTiWWn+2fr7sod2EqMQK7GuAYakl5Gtqm10pYFrn1hMXB4VdApFxj4dgL5kh+HySWcJqhEpPQ9OEFw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^4.4.3","yaml":"^2.8.4","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.0-alpha.0_1781975168386_0.610857846738498","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@agentproto/governance","version":"0.1.0","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"Apache-2.0","_id":"@agentproto/governance@0.1.0","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"638ad1732fb7ca6ec946e3aabea9a859cb77cd05","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.0.tgz","fileCount":35,"integrity":"sha512-mFb43sNSp0am/D16q9itkc3UTVkx8jtb7P5IwaRKwhWQs1aXucP85SA5MjV3K9lE32A27cRNY8NGyVuLu2Ii+w==","signatures":[{"sig":"MEUCIBcGleYv8U+2c8KU2tBB7GNQRDx63xIx56ZcEP06hxonAiEA14HsoWRR2aBO6nRxVMS1V1Vbr9OjEGEpW4JhxyrxFZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161117},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/782cd2f51235193357d17f76d78456ab/agentproto-governance-0.1.0.tgz","_integrity":"sha512-mFb43sNSp0am/D16q9itkc3UTVkx8jtb7P5IwaRKwhWQs1aXucP85SA5MjV3K9lE32A27cRNY8NGyVuLu2Ii+w==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^4.4.3","yaml":"^2.8.4","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.0_1784165851297_0.365551053973022","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentproto/governance","version":"0.1.1","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"Apache-2.0","_id":"@agentproto/governance@0.1.1","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"92be270c7d5e712ac8999339d718cb00a1916a04","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.1.tgz","fileCount":35,"integrity":"sha512-65r/qPzvzlneqLQoIAa9Km3ZXT7tCosOLq2SPcUnsJik+d3ymO3IsKtIYjjynUS8SASYvyZaTTNJkBW/6MCcwQ==","signatures":[{"sig":"MEUCIQC09gL5h24NwuEA8Pu54L2OMWMycP647x0yhjZsQuJdSQIgYUE9PFiEhzRgcRgMyfCXBH8X2WLB34ASZMuA8wI7QW4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161117},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/999072f62900ddb25e8f7ffda6438e6a/agentproto-governance-0.1.1.tgz","_integrity":"sha512-65r/qPzvzlneqLQoIAa9Km3ZXT7tCosOLq2SPcUnsJik+d3ymO3IsKtIYjjynUS8SASYvyZaTTNJkBW/6MCcwQ==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^4.4.3","yaml":"^2.9.0","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.1_1785153669324_0.8138397659856587","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agentproto/governance","version":"0.1.2","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"Apache-2.0","_id":"@agentproto/governance@0.1.2","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"1aedc24280fb6f74d443368be8d3a6f0282d629d","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.2.tgz","fileCount":35,"integrity":"sha512-wbkpNzEqHM4ZLMOj5xcgK3OPLYRC57hXceyAg/nszUII1gwNhW9qu2ZHYQY/QbK1GekvNJEmS1oh+Eemm1sacA==","signatures":[{"sig":"MEQCIB5BXT6MejuqQrEIXwKP84WColuXJhVzzr/u1vu/F270AiA2gBp1O0zvrUJhJsQW+MvNWQF/IAgRxDJDd/Zof2tugw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDBha90NI0Pm3NRkuivJcdcBluxMeJQkCsy/TlBhRq/1AiEAwaOr2JLRd87nQ7rp2blkGelo2Qng+lNNgpWAcpyFyEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161117},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/964335d3040cc5b455aa392a92f98615/agentproto-governance-0.1.2.tgz","_integrity":"sha512-wbkpNzEqHM4ZLMOj5xcgK3OPLYRC57hXceyAg/nszUII1gwNhW9qu2ZHYQY/QbK1GekvNJEmS1oh+Eemm1sacA==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.5.4","yaml":"^2.9.0","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^25.6.2","@agentproto/tooling":"0.1.0-alpha.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.2_1788280435528_0.8142655263772691","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agentproto/governance","version":"0.1.3","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"Apache-2.0","_id":"@agentproto/governance@0.1.3","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"ade3ae6714e7c2d349a84a10314b70e6e17b9c20","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.3.tgz","fileCount":35,"integrity":"sha512-jLJq9IspwVx5UeKSx/Ul8mDKLAgGBh8QB1yqlcZesmvZy8rQFLm2mgsbiGOngB4ABmyI9P7aHGi8GptUMx8MUg==","signatures":[{"sig":"MEYCIQCuij47Uenh42VzLT0WrXj9ud+P8lp4xm+lBCkf1hIXiwIhAMPogy7EwbGGNosAKxAXjT4tTXjM4quVlfsHxKiKIJnJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDui+5FoSPkkyJEUFSoeds05bkHyTw9mXg0mEAyHbT4MwIhAJqsaxxDd9GDc/gck8Nt3im292a51ASXV7hqAMVNOlpx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161109},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.3.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/4e7a09b62ca304a74b126055dbf9ba85/agentproto-governance-0.1.3.tgz","_integrity":"sha512-jLJq9IspwVx5UeKSx/Ul8mDKLAgGBh8QB1yqlcZesmvZy8rQFLm2mgsbiGOngB4ABmyI9P7aHGi8GptUMx8MUg==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.5.4","yaml":"^2.9.0","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.3_1788960802765_0.7967897406081201","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@agentproto/governance","version":"0.1.4","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"license":"Apache-2.0","_id":"@agentproto/governance@0.1.4","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"homepage":"https://agentproto.sh/docs/gov-1","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"56a2b12b6ead66ba3f6e49cc9530f14db1f8aa4c","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.4.tgz","fileCount":35,"integrity":"sha512-Lcp2FhsIlicS+kkJRzSaZw3gSkXtAoVRHpsoG15PSSA2h925KGQXoLLXLl0XmnKxqsp5x40c9k0/nTBtjL4MJQ==","signatures":[{"sig":"MEQCIB3kU+Kc9Cx4SZhTVFeXk0Z5Sd9Gnim5LrNM37BTMavsAiBlc9eVtoCcp4JDuSOSdhfK5WFYvNfij/IvgZf9h1urMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC0H3DaDMYj2PiGUxgVIcODwDyF2iU13DYwxee0/NDTpwIgaWIq9/WO9UBF2Gq7mGSFra+CacKlmNXHBqU8l5Gyor0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161109},"main":"dist/index.mjs","type":"module","_from":"file:agentproto-governance-0.1.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"_resolved":"/tmp/be18d59708e376cb540b31812c2250de/agentproto-governance-0.1.4.tgz","_integrity":"sha512-Lcp2FhsIlicS+kkJRzSaZw3gSkXtAoVRHpsoG15PSSA2h925KGQXoLLXLl0XmnKxqsp5x40c9k0/nTBtjL4MJQ==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.6.5","yaml":"^2.9.1","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/governance_0.1.4_1789642969282_0.9322482714009281","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"_id":"@agentproto/governance@0.1.5","bugs":{"url":"https://github.com/agentproto/ts/issues"},"dist":{"shasum":"6d232effdfad70d9ff3c8063e12fdba25d9926b7","tarball":"https://registry.npmjs.org/@agentproto/governance/-/governance-0.1.5.tgz","fileCount":35,"integrity":"sha512-QEQMgcMBravch0JT+CZUTfrn+nEaPZGwpFe2pG2qk+FrykTZfe8skvqFhsiFYgiMETfHIG9lT1vBho9kGXQOZw==","signatures":[{"sig":"MEQCIBWWBAINi7Aa8a7SdYAF8PgzTVotObGdFOJio9vUVuN3AiAeHoRgS6FCf8LG+YjrYvWbjo3glmrPzzfQ7h+seUFEdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC2yesVGM/e6DdUfP/MQXG9n3qJMk7EfXuo93TYgSwBAAiEAlzZs3IPwmfi9HLrCGMlI41RlqOZwdfkx8VjjC8j1Yq4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentproto%2fgovernance@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":161109},"main":"dist/index.mjs","name":"@agentproto/governance","type":"module","_from":"file:agentproto-governance-0.1.5.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./policy":{"types":"./dist/policy/index.d.ts","import":"./dist/policy/index.mjs","default":"./dist/policy/index.mjs"},"./doctypes":{"types":"./dist/doctypes/index.d.ts","import":"./dist/doctypes/index.mjs","default":"./dist/doctypes/index.mjs"},"./renderers":{"types":"./dist/renderers/index.d.ts","import":"./dist/renderers/index.mjs","default":"./dist/renderers/index.mjs"},"./hash-chain":{"types":"./dist/hash-chain/index.d.ts","import":"./dist/hash-chain/index.mjs","default":"./dist/hash-chain/index.mjs"},"./validators":{"types":"./dist/validators/index.d.ts","import":"./dist/validators/index.mjs","default":"./dist/validators/index.mjs"},"./package.json":"./package.json","./AGENTGOVERNANCE.md":"./AGENTGOVERNANCE.md"},"license":"Apache-2.0","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","check-types":"tsc --noEmit"},"version":"0.1.5","_npmUser":{"name":"agentiknet","email":"jeremy@agentik.net"},"homepage":"https://agentproto.sh/docs/gov-1","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"_resolved":"/tmp/6f6a3a416633cd51df8195aea50575bf/agentproto-governance-0.1.5.tgz","_integrity":"sha512-QEQMgcMBravch0JT+CZUTfrn+nEaPZGwpFe2pG2qk+FrykTZfe8skvqFhsiFYgiMETfHIG9lT1vBho9kGXQOZw==","repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"_npmVersion":"10.9.8","description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","directories":{},"maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.6.5","yaml":"^2.9.1","gray-matter":"^4.0.3","@agentproto/define-doctype":"0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^25.9.5","@agentproto/tooling":"0.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/governance_0.1.5_1790702497601_0.8740822635420078"}}},"time":{"created":"2026-06-20T17:06:08.153Z","modified":"2026-09-29T17:21:38.215Z","0.1.0-alpha.0":"2026-06-20T17:06:08.570Z","0.1.0":"2026-07-16T01:37:31.437Z","0.1.1":"2026-07-27T12:01:09.447Z","0.1.2":"2026-09-01T16:33:55.631Z","0.1.3":"2026-09-09T13:33:22.848Z","0.1.4":"2026-09-17T11:02:49.367Z","0.1.5":"2026-09-29T17:21:37.707Z"},"bugs":{"url":"https://github.com/agentproto/ts/issues"},"license":"Apache-2.0","homepage":"https://agentproto.sh/docs/gov-1","keywords":["agentgovernance","governance","approval","signature","audit-log","hash-chain","policy","open-standard","agentcompanies","agentic"],"repository":{"url":"git+https://github.com/agentproto/ts.git","type":"git","directory":"packages/governance/core"},"description":"agentgovernance/v1 — universal contractual approval framework. Doctypes (signature.json, audit-log.jsonl, POLICY.md) describe how to record signatures, append hash-chained audit events, and declare autonomy policies as workspace files. Vendor-neutral, fil","maintainers":[{"name":"agentiknet","email":"jeremy@agentik.net"}],"readme":"# @agentproto/governance\n\n`agentgovernance/v1` — the universal contractual approval framework, published\nas the open standard at [governance.sh](https://agentproto.sh/docs/gov-1).\n\n> ⚠️ **Alpha (v0.1).** Spec stabilizing. APIs may change pre-1.0.\n\n## Trust boundary (read this first)\n\n`v0.1` ships an **honest internal building block**, not a fully-credible\ncontractual-approval product. Three pillars distinguish a credible standard from\nthis alpha; v0.1 has the first only:\n\n| Pillar                                                                                                | v0.1                                                                                                                                                | Provided by                                                                            |\n| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| **Bytes integrity** — \"this artifact has not changed since signing\"                                   | ✅ SHA-256 of artifact bytes recorded in `signature.json`; runtime always re-hashes from disk                                                       | `@agentproto/governance-engine`                                                         |\n| **Identity authenticity** — \"the signer was actually who the file says\"                               | ❌ The `signer` field is a declarative string. Anyone with FS write access can author a `signature.json` claiming any signer.                       | Cryptographic JWS over the signature payload, bound to a per-identity key. Roadmap M4. |\n| **History integrity vs. workspace owner** — \"the workspace owner cannot rewrite the chain undetected\" | ❌ The hash chain is verifiable by anyone who has the file, but the workspace owner can rewrite the file and re-chain. No external witness in v0.1. | OpenTimestamps / RFC 3161 / on-chain anchor sink. Roadmap M5.                          |\n\n**Use v0.1 in trusted contexts only**: an internal workspace where everyone with\nFS write is already inside your trust boundary, and you want a structured record\nof approvals that's portable, type-checkable, and machine-verifiable (within\nthat trust boundary). Do **not** use v0.1 where any of the following is true:\n\n- The workspace owner is one of the parties whose signature you need to trust.\n- Counterparties outside your trust boundary author `signature.json` files.\n- A regulator, court, or external auditor will be asked to rely on the chain.\n\nThe roadmap to close all three pillars (cryptographic identity in M4, external\nanchoring in M5, RFC 8785 / cross-language conformance in M6) is published in\n[the agentproto spec series](https://agentik.net/docs/aip-7). v1.0 of the\npackage will not ship until those three are in place.\n\n## What this is\n\nA small, vendor-neutral, filesystem-first standard for **recording approvals as\nsignatures, appending tamper-evident audit logs, and declaring autonomy\npolicies** — usable by any AI agent system that needs auditable decisions.\n\nThree doctypes:\n\n| Doctype           | File                                                   | Purpose                                                                                 |\n| ----------------- | ------------------------------------------------------ | --------------------------------------------------------------------------------------- |\n| `signature.json`  | `<artifact>/signatures/<signer>-<date>.signature.json` | Universal approval primitive (typed_name, agent_confirm, click_through, esign_external) |\n| `audit-log.jsonl` | `<scope>/audit/audit-log.jsonl`                        | Append-only, hash-chained event log                                                     |\n| `POLICY.md`       | `<scope>/policies/<slug>/POLICY.md`                    | Declarative autonomy rule (caps, thresholds, requiredSignatures-when-exceeded)          |\n\nThe full spec is in [`AGENTGOVERNANCE.md`](./AGENTGOVERNANCE.md).\n\n## Why a peer standard\n\nGovernance doctypes are **domain-agnostic**: `signature.json`,\n`audit-log.jsonl`, `POLICY.md` don't reference services, engagements, or\ncounterparties. Any workflow that needs an auditable approval — clinician\noverrides, approve-to-publish flows, board votes, AI-agent actions — uses the\nsame files.\n\n## Why filesystem\n\nA client receiving a workspace folder can verify every signature + the entire\naudit chain **without our infrastructure** using the published\n[hash-chain protocol](./src/spec/hash-chain/protocol.md). Third-party verifiers\ncan be implemented in any language.\n\n## Install\n\n```bash\nnpm install @agentproto/governance\n```\n\n## Subpath exports\n\n```ts\nimport {\n  signatureSchema,\n  auditEventSchema,\n  policySchema,\n} from \"@agentproto/governance/doctypes\"\nimport {\n  computeChainSignature,\n  verifyChain,\n} from \"@agentproto/governance/hash-chain\"\nimport {\n  validateSignature,\n  validateAuditEvent,\n  validatePolicy,\n} from \"@agentproto/governance/validators\"\nimport {\n  recordAuditEvent,\n  signArtifact,\n  listPendingSignatures,\n} from \"@agentproto/governance/runtime\"\n```\n\n## Vendor neutrality\n\nThis package depends only on `zod`, `gray-matter`, `yaml`, and Node's built-in\n`crypto`. There are **zero imports** from Mastra, LangChain, Temporal, or any\nother workflow runtime. Adapters live in separate packages:\n\n- `@agentproto/governance-mastra` — Mastra suspend/resume hooks\n- (future) `@agentproto/governance-langchain`, `@agentproto/governance-temporal`,\n  etc.\n\n## Status\n\nThis is the **canonical implementation** of `agentgovernance/v1`. The spec is\nopen; alternative implementations are welcome at\n[governance.sh](https://agentproto.sh/docs/gov-1).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}