Repository navigation
No agent action without a signed human approval, reads included - #87
Merged
Merged
Conversation
Every policy approve rule must now require an approvalSignals fact with is_true, as its whole condition or directly inside its top level all. PolicyValidator refuses any other policy on load and on proposal, and RuntimeEngine refuses an approval when no approval verifier is set (G-80, CLAIMS 2.47). New policy versions that need a signed approval: github-pr-read 1.1.0, hubspot-deal-read 1.0.0 (new, for hubspot:deal-fetch), hubspot-deal-update 1.1.0, slack-post-message 1.1.0, and approval backed versions of every reference policy. Older versions stay as history and are refused at load. A NODE_ENV=test server can trust a local test approver through PARMANA_TEST_APPROVER_PUBLIC_KEY_FILE for the quickstarts. Tests, SDK examples, tutorials and the offline check sign approvals; new tutorials 120 to 122. Docs, docs site and READMEs updated. Production: approve the new policy versions through maker checker before merging; until then GitHub reads, HubSpot and Slack are refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
No AI agent action is authorized without a signed approval from a trusted person, for that action and its resource. This now holds for every policy and every action, reads included (
docs/CLAIMS.md2.47,docs/VERIFICATION-GAPS.mdG-80).Before this, only refunds, merges and LLM tool calls needed a person. GitHub reads, HubSpot reads and updates, Slack posts and every reference policy were authorized on facts the agent declares, or on nothing.
How
PolicyValidator.validateEveryApprovalNeedsSignedApproval: every approve rule must require anapprovalSignalsfact withis_true, as its whole condition or directly inside its top levelall. It runs on every policy load and on every proposed policy change.RuntimeEnginerefuses an approve decision when no approval verifier is configured.github-pr-read1.1.0,hubspot-deal-read1.0.0 (new, bound tohubspot:deal-fetch),hubspot-deal-update1.1.0,slack-post-message1.1.0, plus approval backed versions of the nine reference policies. Older versions stay inpolicies/as history and are refused at load.HubSpotSignalStateVerifierskips its own pre authorization check when the policy declaresapprovalSignals, so one approval is not spent twice.PARMANA_TEST_APPROVER_PUBLIC_KEY_FILEmakes aNODE_ENV=testserver trust a local test approver for the quickstarts. With any otherNODE_ENVthe server refuses to start while it is set.llms.txtand the handbook PDF are regenerated.Verified
npm run examples: all 113 tutorials and 2 scenarios pass.Before merging
github-pr-read1.1.0,hubspot-deal-read1.0.0,hubspot-deal-update1.1.0,slack-post-message1.1.0,vendor-payment2.1.0,access-control1.1.0,agent-vendor-payment1.1.0,api-key-issuance1.1.0,connector-capability1.1.0,database-change3.1.0,expense-reimbursement1.1.0,production-deployment1.1.0,rag-document-access1.1.0. CI'sverify-policy-approvalsjob fails until each has an approval record.Not covered
🤖 Generated with Claude Code