{"_id":"@ahamie/outcomes","_rev":"2-768d56aa35a636c127b1d15a4411dd52","name":"@ahamie/outcomes","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ahamie/outcomes","version":"0.1.0","license":"Apache-2.0","_id":"@ahamie/outcomes@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"a5bb7624305107f089b1a62f062f92cd424707f5","tarball":"https://registry.npmjs.org/@ahamie/outcomes/-/outcomes-0.1.0.tgz","fileCount":4,"integrity":"sha512-0MwtnwGMUy4aunnzrQ5HMcqx7q48jHsJb08mvNVJdTVTQW/vEYOe2awVCw2ejn54TDKdY8zayadX8S1M5o+hyw==","signatures":[{"sig":"MEYCIQCR94QvutPc1XYnOU7R7zhc+Cqo4L2qL5QmvSTRAv8xJgIhAOxXvRGZ9q8WvhMiMnS9+eUlUFHVT8de5JzXOsl32q6R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5536},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","ahamie":{"kind":"runtime","specVersion":"0.1.0"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_npmVersion":"10.9.7","description":"Passive outcome recorder: record(runId, type, value, source) + attribute(runId, subject). Sensor-isolation invariant.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"drizzle-orm":"^0.45.2","@ahamie/schema":"workspace:*","@ahamie/storage":"workspace:*","@ahamie/telemetry":"workspace:*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/outcomes_0.1.0_1777663167314_0.4874052880123294","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ahamie/outcomes","version":"0.1.1","description":"Passive outcome recorder: record(runId, type, value, source) + attribute(runId, subject). Sensor-isolation invariant.","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo"},"dependencies":{"@ahamie/schema":"0.1.1","@ahamie/storage":"0.1.1","@ahamie/telemetry":"0.1.1","drizzle-orm":"^0.45.2"},"devDependencies":{"@types/node":"^22.10.0","tsup":"^8.5.1","typescript":"^5.6.3","vitest":"^2.1.5"},"engines":{"node":">=22.0.0"},"publishConfig":{"access":"public","provenance":true},"ahamie":{"kind":"runtime","specVersion":"0.1.0"},"_id":"@ahamie/outcomes@0.1.1","gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-xmMAvP4Gae9BpFnBs3d6jwRDo/910hWQ3boo9g9Z/pkRg1QL70EGouCs2OBCfXtwh6QgfuZZeKk514mNUDaFhA==","shasum":"4ef35a753a20a4cdda6a7669635645eb55a86231","tarball":"https://registry.npmjs.org/@ahamie/outcomes/-/outcomes-0.1.1.tgz","fileCount":4,"unpackedSize":5518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAkCMojAjHB88Q2nh5rRPsihtVZowFcdmmNUUQr9gueYAiApoX4/U4M40Lc4ydwuZt4TOCdJ+cKUv+GHF5HewO2B6Q=="}]},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"directories":{},"maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/outcomes_0.1.1_1777663295306_0.08440907180894297"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T19:19:27.252Z","modified":"2026-05-01T19:21:35.602Z","0.1.0":"2026-05-01T19:19:27.454Z","0.1.1":"2026-05-01T19:21:35.442Z"},"license":"Apache-2.0","description":"Passive outcome recorder: record(runId, type, value, source) + attribute(runId, subject). Sensor-isolation invariant.","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @ahamie/outcomes\n\nPassive outcome recorder. Two operations:\n\n```ts\nawait recordOutcome(db, { orgId, automationRunId, subject, outcome_type, source, source_kind });\nconst runId = await attribute(db, { orgId, subject });\n```\n\nSensor-isolation guard rejects any write where `source` is a system the agent has write access to (T13).\n","readmeFilename":"README.md"}