{"_id":"@agenticprimitives/harness","_rev":"4-c5463f22c3e9f52f1b352f98915f1007","name":"@agenticprimitives/harness","dist-tags":{"latest":"0.0.0-alpha.4"},"versions":{"0.0.0-alpha.1":{"name":"@agenticprimitives/harness","version":"0.0.0-alpha.1","keywords":["agentic","primitives","harness","orchestration","mandate","authority"],"license":"MIT","_id":"@agenticprimitives/harness@0.0.0-alpha.1","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives#readme","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"124ceb18a933285fedf89745d1713b27ba44f922","tarball":"https://registry.npmjs.org/@agenticprimitives/harness/-/harness-0.0.0-alpha.1.tgz","fileCount":56,"integrity":"sha512-qEUMuPIt2Xok+Nk9FpBCkOpg/upd36RAgW9AGKPvravN3IA4nrbrj4Z7Xnm8ZquuQXd2kCzw2DP8A91xLqME4Q==","signatures":[{"sig":"MEUCIQC6c9dK1KB8kpn0Goa1UmOnJhCI+wiEK5zFKY7AwbiuFwIgWXRvRYX8uzsgR2Ho8IlJaR9J9vz2j9oUqYk5RfzPTvE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143266},"type":"module","_from":"file:agenticprimitives-harness-0.0.0-alpha.1.tgz","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/5726d55b94f189d9e56867d91391a6b8/agenticprimitives-harness-0.0.0-alpha.1.tgz","_integrity":"sha512-qEUMuPIt2Xok+Nk9FpBCkOpg/upd36RAgW9AGKPvravN3IA4nrbrj4Z7Xnm8ZquuQXd2kCzw2DP8A91xLqME4Q==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/harness"},"_npmVersion":"11.16.0","description":"The authority-aware agent harness (spec 350): the composition root that binds delegation mandates, the tool-policy risk ladder and receipts to the orchestration loop's ports.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.22","@agenticprimitives/delegation":"1.0.0-alpha.22","@agenticprimitives/tool-policy":"1.0.0-alpha.22","@agenticprimitives/orchestration":"0.0.0-alpha.1","@agenticprimitives/capability-claims":"0.0.0-alpha.19"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/harness_0.0.0-alpha.1_1789159996056_0.5781730529847529","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.2":{"name":"@agenticprimitives/harness","version":"0.0.0-alpha.2","keywords":["agentic","primitives","harness","orchestration","mandate","authority"],"license":"MIT","_id":"@agenticprimitives/harness@0.0.0-alpha.2","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives#readme","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"ad855ecfbd3605bf45df2ec119258c0ca114af55","tarball":"https://registry.npmjs.org/@agenticprimitives/harness/-/harness-0.0.0-alpha.2.tgz","fileCount":56,"integrity":"sha512-q63hz5RW0/D6s3oeb0pepkgAzeTFX0EGjH5PVgqW+iAzQSuP5MzDPgTg/F1VUhXdRr2yht1sKo1L4+ITN8RM/w==","signatures":[{"sig":"MEUCIG9HrAgDfdcgycEKJJElyI3rSwN74Gii6aJ4G434ydjOAiEAtBMi2jVlU955YyFuxEYTGVk13jIpchOKqIJqv7rrcuI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDumnKKEH63ee+Us0IDxu4f3sTaKgqm4kHfbx8eGsH4/gIgBHJXdgThdws6n6g0IKQYVYHLzX1H0PsT+Ku8dBX3qm4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143266},"type":"module","_from":"file:agenticprimitives-harness-0.0.0-alpha.2.tgz","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:a4fd2b44-5025-46f8-89c0-85f24ef22b0d"}},"_resolved":"/tmp/a2270753ac052f26a15e891f0ef8a4ae/agenticprimitives-harness-0.0.0-alpha.2.tgz","_integrity":"sha512-q63hz5RW0/D6s3oeb0pepkgAzeTFX0EGjH5PVgqW+iAzQSuP5MzDPgTg/F1VUhXdRr2yht1sKo1L4+ITN8RM/w==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/harness"},"_npmVersion":"11.19.0","description":"The authority-aware agent harness (spec 350): the composition root that binds delegation mandates, the tool-policy risk ladder and receipts to the orchestration loop's ports.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.23","@agenticprimitives/delegation":"1.0.0-alpha.23","@agenticprimitives/tool-policy":"1.0.0-alpha.23","@agenticprimitives/orchestration":"0.0.0-alpha.2","@agenticprimitives/capability-claims":"0.0.0-alpha.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/harness_0.0.0-alpha.2_1789164172297_0.22454535905144635","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.3":{"name":"@agenticprimitives/harness","version":"0.0.0-alpha.3","keywords":["agentic","primitives","harness","orchestration","mandate","authority"],"license":"MIT","_id":"@agenticprimitives/harness@0.0.0-alpha.3","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives#readme","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"4e56ab5c55941c092f7b215afa846e6db3fa4477","tarball":"https://registry.npmjs.org/@agenticprimitives/harness/-/harness-0.0.0-alpha.3.tgz","fileCount":56,"integrity":"sha512-uxkx1EugfJ3n220TF8ABjkyEFdrQ/CrbaN3+VKRkTbyf6psW0npIyJuWkNS+dLBf3P47MtYaB7tppwF4oUpftQ==","signatures":[{"sig":"MEQCICeGfd1z/Id1hv/k07ykDYWc1F9flTCVPmvHaAcCVwtuAiAUi3cU+S0Ys/y3UrsW+m7JWQjeEF8NN4ovU4xhtzGBqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD+zasL0qckGUVHNHlC3ePt47SsQla2lE7RN3OyTaWtgAIgNmILRDr49rCSsgdQZlzNiFTQGhKQ+T/x+xDC8e7mFfo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145040},"type":"module","_from":"file:agenticprimitives-harness-0.0.0-alpha.3.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./run-state":{"types":"./dist/run-state.d.ts","import":"./dist/run-state.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:a4fd2b44-5025-46f8-89c0-85f24ef22b0d"}},"_resolved":"/tmp/3aa2508ab6030fe58265826a5b55aae5/agenticprimitives-harness-0.0.0-alpha.3.tgz","_integrity":"sha512-uxkx1EugfJ3n220TF8ABjkyEFdrQ/CrbaN3+VKRkTbyf6psW0npIyJuWkNS+dLBf3P47MtYaB7tppwF4oUpftQ==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/harness"},"_npmVersion":"11.19.0","description":"The authority-aware agent harness (spec 350): the composition root that binds delegation mandates, the tool-policy risk ladder and receipts to the orchestration loop's ports.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.24","@agenticprimitives/delegation":"1.0.0-alpha.24","@agenticprimitives/tool-policy":"1.0.0-alpha.24","@agenticprimitives/orchestration":"0.0.0-alpha.3","@agenticprimitives/capability-claims":"0.0.0-alpha.21"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/harness_0.0.0-alpha.3_1789230662373_0.7802014271029649","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.4":{"_id":"@agenticprimitives/harness@0.0.0-alpha.4","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"005283d31ff813e97bcdf8561afb0de9ae09bc43","tarball":"https://registry.npmjs.org/@agenticprimitives/harness/-/harness-0.0.0-alpha.4.tgz","fileCount":60,"integrity":"sha512-Wetv1h+ZOmkG8DTOohTux1ELnR1+3ZCPr4U0QM/DN89kyz2cjic5rE6Gmx/C2LhrJB7AKvOaA5GrFF3bAOtbdw==","signatures":[{"sig":"MEYCIQC7gq8UNaMLuOjQXvdkdZYY/ahPDgIpwbu4YTie6z/3VgIhAMuUzEubgbUxIddQnjuDdyWRr0vkekD//JryrFw2oLHp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC23Jb1G3mFo9E5sEyxk9KHuzaPJa+bgwQ8Xmmy/1n68wIgUqhO7hagu3Jb3ahH3xzDfDkEWx8E5DWcr8mY3VnpP54="}],"unpackedSize":164773},"name":"@agenticprimitives/harness","type":"module","_from":"file:agenticprimitives-harness-0.0.0-alpha.4.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./recipe":{"types":"./dist/recipe.d.ts","import":"./dist/recipe.js"},"./run-state":{"types":"./dist/run-state.d.ts","import":"./dist/run-state.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:a4fd2b44-5025-46f8-89c0-85f24ef22b0d"}},"homepage":"https://github.com/agentictrustlabs/agenticprimitives#readme","keywords":["agentic","primitives","harness","orchestration","mandate","authority"],"_resolved":"/tmp/494425e6cafae8fbd9f88674b3b35aae/agenticprimitives-harness-0.0.0-alpha.4.tgz","_integrity":"sha512-Wetv1h+ZOmkG8DTOohTux1ELnR1+3ZCPr4U0QM/DN89kyz2cjic5rE6Gmx/C2LhrJB7AKvOaA5GrFF3bAOtbdw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/harness"},"_npmVersion":"11.19.0","description":"The authority-aware agent harness (spec 350): the composition root that binds delegation mandates, the tool-policy risk ladder and receipts to the orchestration loop's ports.","directories":{},"maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.24","@agenticprimitives/delegation":"1.0.0-alpha.24","@agenticprimitives/tool-policy":"1.0.0-alpha.24","@agenticprimitives/orchestration":"0.0.0-alpha.3","@agenticprimitives/capability-claims":"0.0.0-alpha.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/harness_0.0.0-alpha.4_1789248330557_0.3119225472594862"}}},"time":{"created":"2026-09-11T20:53:15.805Z","modified":"2026-09-12T21:25:30.834Z","0.0.0-alpha.1":"2026-09-11T20:53:16.200Z","0.0.0-alpha.2":"2026-09-11T22:02:52.392Z","0.0.0-alpha.3":"2026-09-12T16:31:02.461Z","0.0.0-alpha.4":"2026-09-12T21:25:30.647Z"},"bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"license":"MIT","homepage":"https://github.com/agentictrustlabs/agenticprimitives#readme","keywords":["agentic","primitives","harness","orchestration","mandate","authority"],"repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/harness"},"description":"The authority-aware agent harness (spec 350): the composition root that binds delegation mandates, the tool-policy risk ladder and receipts to the orchestration loop's ports.","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"readme":"# @agenticprimitives/harness\n\nThe composition root of the authority-aware agent harness — [spec 350](../../specs/350-authority-aware-agent-harness.md).\n\n```ts\nimport { runIntent } from '@agenticprimitives/orchestration';\nimport { delegationMandateVerifier, riskLadderPolicy } from '@agenticprimitives/harness';\n\nconst ports = {\n  mandateVerifier: delegationMandateVerifier({ actor, enforcers, checks }),\n  policyEvaluator: riskLadderPolicy({ discharge: { 'second-party-approval': { role: 'Treasurer' } } }),\n  approvalPort,   // yours — durable, checkpointing; returns `pending` and the run suspends\n  receiptSink,    // yours — signs and stores in the agent's vault\n};\nconst result = await runIntent(intent, { planner, tools, invoke, ports, presented: { ref, wire } });\n```\n\nThe planner proposes. The mandate authorizes. The executor acts. The receipt proves.\n","readmeFilename":"README.md"}