{"_id":"@agenticprimitives/provenance","_rev":"5-dd512eddbe0373b9ef2c6ec865cac243","name":"@agenticprimitives/provenance","dist-tags":{"latest":"0.0.0-alpha.4"},"versions":{"0.0.0-alpha.0":{"name":"@agenticprimitives/provenance","version":"0.0.0-alpha.0","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy"],"license":"MIT","_id":"@agenticprimitives/provenance@0.0.0-alpha.0","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/provenance","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"4d2208897d5d1d60b4f39cb2c8903beaa4db159a","tarball":"https://registry.npmjs.org/@agenticprimitives/provenance/-/provenance-0.0.0-alpha.0.tgz","fileCount":19,"integrity":"sha512-HEPnNCr5pPei3hBvgTAjToB6mPyYD+6hJuQN6WsdIIYgF6AKrhyogYntAkZGaiYR6ygXEq61sY99i42CMRmhxA==","signatures":[{"sig":"MEQCIHYyURXcQ76CNo0Q7EOvBS2bytoKBYi2ybdHPd/5gSrqAiAX7iG8Wak/PAs+PHzkI2jEKGmsngoqv8Ns14ey8XX5bQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24844},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-provenance-0.0.0-alpha.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/6d1510ac491766875f5a54e380ce71d0/agenticprimitives-provenance-0.0.0-alpha.0.tgz","_integrity":"sha512-HEPnNCr5pPei3hBvgTAjToB6mPyYD+6hJuQN6WsdIIYgF6AKrhyogYntAkZGaiYR6ygXEq61sY99i42CMRmhxA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"_npmVersion":"11.16.0","description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/provenance_0.0.0-alpha.0_1784044293092_0.1915722240831843","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.1":{"name":"@agenticprimitives/provenance","version":"0.0.0-alpha.1","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy"],"license":"MIT","_id":"@agenticprimitives/provenance@0.0.0-alpha.1","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/provenance","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"7df0933109b26ca82135d4796818c11bd2e25e18","tarball":"https://registry.npmjs.org/@agenticprimitives/provenance/-/provenance-0.0.0-alpha.1.tgz","fileCount":23,"integrity":"sha512-maKvcT1ZpwBJwz23tO9Mux0eN4udqBWvRkyXyIX+nCTeqBHASYJVBQGIFv0c1GKceNDSdrguSe/IwK8PHRX8WA==","signatures":[{"sig":"MEYCIQDhOsC614mW1U9kpyYdhtAB6e0Jee4jsDfkA5FhvY882gIhANih0I1tI4WFqq7heDlvP+3oVuWdhaloDrec7iT1eHxx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47322},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-provenance-0.0.0-alpha.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:286c9b91-d25e-443e-ac24-565879b0d0cf"}},"_resolved":"/tmp/39daf53764bf90da4fed8cb26b43a7ee/agenticprimitives-provenance-0.0.0-alpha.1.tgz","_integrity":"sha512-maKvcT1ZpwBJwz23tO9Mux0eN4udqBWvRkyXyIX+nCTeqBHASYJVBQGIFv0c1GKceNDSdrguSe/IwK8PHRX8WA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"_npmVersion":"11.16.0","description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/provenance_0.0.0-alpha.1_1785727534537_0.045989573241493","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.2":{"name":"@agenticprimitives/provenance","version":"0.0.0-alpha.2","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy"],"license":"MIT","_id":"@agenticprimitives/provenance@0.0.0-alpha.2","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/provenance","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"303c4199fcf72cb77f7aa09d1aac8c34c6c2ca83","tarball":"https://registry.npmjs.org/@agenticprimitives/provenance/-/provenance-0.0.0-alpha.2.tgz","fileCount":35,"integrity":"sha512-cyW8lzP0Y6xInUARVqOrzMNgYyPxsyltXn/ySsT1XQJ+GqYl3VD9tBX4oIdkBI0OwpfcClXZzWDIXAooPXP3Wg==","signatures":[{"sig":"MEUCIHEp04jswGLiYzxqycBRe0UVGaDStTaW/KblkH00PYqKAiEAvqCmFq4CLNW8Twn4kvBrBBHYq/42Iyj9zru35/aNrPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123658},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-provenance-0.0.0-alpha.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:286c9b91-d25e-443e-ac24-565879b0d0cf"}},"_resolved":"/tmp/f5314f1c34749361cd0f4124c6bfd693/agenticprimitives-provenance-0.0.0-alpha.2.tgz","_integrity":"sha512-cyW8lzP0Y6xInUARVqOrzMNgYyPxsyltXn/ySsT1XQJ+GqYl3VD9tBX4oIdkBI0OwpfcClXZzWDIXAooPXP3Wg==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"_npmVersion":"11.19.0","description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/provenance_0.0.0-alpha.2_1789164140001_0.4219472571930447","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.3":{"name":"@agenticprimitives/provenance","version":"0.0.0-alpha.3","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy"],"license":"MIT","_id":"@agenticprimitives/provenance@0.0.0-alpha.3","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/provenance","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"895590dc42f98fd38a20d41df7ff5db4fcca44df","tarball":"https://registry.npmjs.org/@agenticprimitives/provenance/-/provenance-0.0.0-alpha.3.tgz","fileCount":35,"integrity":"sha512-APijl/mq5jvjJUA7RongP1jhxOM/xjetkYwWpVX7rNvI/8IlaQzNtVSzCxvTDeD59EtOSQl6xnt5QBdKDPDO9A==","signatures":[{"sig":"MEYCIQCWOAXr7KlngdGxOUjSwr4mGw9rBupqq4ErFbdrraR1FAIhAMdMuP86GQHqqrfH9XA/M4ZgYlwv2OgVMwaShJFL34Su","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123658},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-provenance-0.0.0-alpha.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:286c9b91-d25e-443e-ac24-565879b0d0cf"}},"_resolved":"/tmp/7b306241e198465be3aa5691d5a16ffd/agenticprimitives-provenance-0.0.0-alpha.3.tgz","_integrity":"sha512-APijl/mq5jvjJUA7RongP1jhxOM/xjetkYwWpVX7rNvI/8IlaQzNtVSzCxvTDeD59EtOSQl6xnt5QBdKDPDO9A==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"_npmVersion":"11.19.0","description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/provenance_0.0.0-alpha.3_1789230558053_0.7503683917105637","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.4":{"_id":"@agenticprimitives/provenance@0.0.0-alpha.4","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"1095cff2c2c51e1815202aedb45d1592d4f1d57d","tarball":"https://registry.npmjs.org/@agenticprimitives/provenance/-/provenance-0.0.0-alpha.4.tgz","fileCount":35,"integrity":"sha512-6vGBe7g/hjBHklBeO7bI9R0gHvgCITOQU9emTssHKjo8Zslg3y4KDLN4UlhUnp84kxlurs28QHPGlvKL9g2p/g==","signatures":[{"sig":"MEYCIQDVCQipFMIhipM3JvHEI1y62M49g1yQtZ4asWthU6Uz/QIhAIcV7K+1Uheitp4ucYT6VNLhB8cSR0RII7g1bavStWeR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNI5g7uQdZNL1tiD+CpvaLaWvE0U0sVkeCowPTAi6vXgIhAKdJgTbrnFGSZBCdhRwk2x/LHEZsKpFkC1QxN7WrbA4O"}],"unpackedSize":124154},"main":"./dist/index.js","name":"@agenticprimitives/provenance","type":"module","_from":"file:agenticprimitives-provenance-0.0.0-alpha.4.tgz","types":"./dist/index.d.ts","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"MIT","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"version":"0.0.0-alpha.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:286c9b91-d25e-443e-ac24-565879b0d0cf"}},"homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"_resolved":"/tmp/e53acc577c7937c69423e2bced6352b0/agenticprimitives-provenance-0.0.0-alpha.4.tgz","_integrity":"sha512-6vGBe7g/hjBHklBeO7bI9R0gHvgCITOQU9emTssHKjo8Zslg3y4KDLN4UlhUnp84kxlurs28QHPGlvKL9g2p/g==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"_npmVersion":"11.19.0","description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","directories":{},"maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provenance_0.0.0-alpha.4_1789814974966_0.3470746915831999"}}},"time":{"created":"2026-07-14T15:51:32.906Z","modified":"2026-09-19T10:49:35.239Z","0.0.0-alpha.0":"2026-07-14T15:51:33.248Z","0.0.0-alpha.1":"2026-08-03T03:25:34.664Z","0.0.0-alpha.2":"2026-09-11T22:02:20.138Z","0.0.0-alpha.3":"2026-09-12T16:29:18.181Z","0.0.0-alpha.4":"2026-09-19T10:49:35.075Z"},"bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"license":"MIT","homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","provenance","prov-o","p-plan","privacy","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/provenance"},"description":"The Ring-0 provenance projector (spec 316 §6): maps fabric exchanges + orchestration runs to a PRIVATE PROV-O / P-Plan A-box, and enforces the ADR-0040 public-projection firewall (S1). Sole writer of the private vault A-box; NEVER writes the public KB.","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"readme":"# @agenticprimitives/provenance\n\n> Part of **[Agentic Primitives](https://agenticprimitives.dev)** — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. [Developer kit](https://github.com/agentictrustlabs/agentic-primitives) · [All packages](https://agenticprimitives.dev/developers)\n\nThe Ring-0 **provenance projector** (spec 316 §6). It maps fabric exchanges + orchestration runs into a\n**private PROV-O / P-Plan A-box**, and enforces the ADR-0040 **public-projection firewall (S1)** on any\ncandidate world-readable row.\n\n## What it owns\n- **PROV-O A-box types** — `ProvActivity` (`CommunicationDelivery`/`IntentInvocation`/`OrchestratedTask` ⊑\n  `prov:Activity`), `ProvEntity`, `ProvAgentRef` (classified per ADR-0046), and **P-Plan** (`PPlanPlan`/\n  `PPlanStep`) grounding orchestration plans.\n- **`projectExchangeProvenance`** / **`projectRunProvenance`** — the projectors (one trace: intent → plan →\n  executed activities → outcome, §15).\n- **`isPublicProjectionSafe` / `assertPublicProjectionSafe`** — the S1 firewall.\n\n## Hard rules\n- **Sole writer of the PRIVATE vault A-box; it NEVER writes the public discovery KB.** The public KB has one\n  writer — the indexer — projecting on-chain facts (§6 / B1). There is no `fabric → public-KB` path.\n- **S1 firewall (ADR-0040), fail-closed.** A public row is admissible ONLY if it carries a resolvable on-chain\n  anchor (`0x`+64 hex) + `OnchainConfirmed` assurance, AND has ZERO `actedOnBehalfOf` edges, ZERO person\n  attribution, ZERO inline plaintext, ZERO off-chain (`hmac-sha256:`) commitment fields.\n- **Leaf, zero deps.** It takes STRUCTURAL input (plain fields) — never fabric's `ExchangeRecordV1` (which\n  would cycle: `fabric → provenance`). fabric adapts its record to these shapes.\n\n## Validate\n```bash\npnpm --filter @agenticprimitives/provenance typecheck\npnpm --filter @agenticprimitives/provenance test\n```\n","readmeFilename":"README.md","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"}}