{"type":"supplemental_research","official":false,"disclaimer":"Supplemental public-source research supplied for inquiry, not approved Eviulon doctrine. Assertions, dates, references and legal or technical conclusions may require independent verification. The fourteen books remain the official Eviulon library.","report":{"id":"evulgare/autonomous-agent-auth-research","group":"Evulgare","slug":"autonomous-agent-auth-research","title":"Principal Authorization for Autonomous Agents: Delegation, Exact-Step Consent, Succession, Revocation, and Receipt Lineage for Patefacere","source_file":"Evulgare/Autonomous Agent Auth Research.md","source_sha256":"ef0de86ed5b1180a0cf2c4c9546f2b61281d6ae159fe4d09d1a5d1ad02b6c001","parts":8,"words":10584,"summary":"The integration of autonomous software agents into high-stakes commercial, civic, and legal environments represents a paradigm shift that severely tests traditional agency law and cryptographic authorization structures. The legal framework surrounding these entities relies heavily on the…","status":"supplemental_research_unverified","url":"/research/evulgare/autonomous-agent-auth-research/"},"section":5,"total_sections":8,"canonical_url":"https://library.eviulon.com/research/evulgare/autonomous-agent-auth-research/5/","content_text":"JSON  \n{  \n  \u0022$schema\u0022: \u0022https://patefacere.eviulon.org/schemas/revocation/v1\u0022,  \n  \u0022type\u0022: \u0022object\u0022,  \n  \u0022properties\u0022: {  \n    \u0022event\\_id\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022description\u0022: \u0022Unique identifier for this revocation or correction event.\u0022  \n    },  \n    \u0022timestamp\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022format\u0022: \u0022date-time\u0022  \n    },  \n    \u0022target\\_receipt\\_id\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022description\u0022: \u0022The specific receipt\\_id of the authorization being revoked or corrected.\u0022  \n    },  \n    \u0022action\\_type\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022enum\u0022: \\[\u0022revocation\u0022, \u0022correction\u0022, \u0022suspension\u0022, \u0022legal\\_void\u0022\\],  \n      \u0022description\u0022: \u0022\u0027legal\\_void\u0027 is used specifically for receivership or dissolution events.\u0022  \n    },  \n    \u0022reason\\_code\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022description\u0022: \u0022Standardized codes: e.g., \u0027UETA\\_SEC\\_14\\_ERROR\u0027, \u0027DGCL\\_291\\_RECEIVERSHIP\u0027, \u0027EXACT\\_STEP\\_HALT\u0027.\u0022  \n    },  \n    \u0022initiating\\_party\u0022: {  \n      \u0022type\u0022: \u0022object\u0022,  \n      \u0022properties\u0022: {  \n        \u0022did\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n        \u0022role\u0022: { \u0022type\u0022: \u0022string\u0022, \u0022description\u0022: \u0022Principal, Patefacere Admin, Enterprise IAM, or Court Appointee.\u0022 }  \n      },  \n      \u0022required\u0022: \\[\u0022did\u0022, \u0022role\u0022\\]  \n    },  \n    \u0022cryptographic\\_proof\u0022: {  \n      \u0022type\u0022: \u0022object\u0022,  \n      \u0022properties\u0022: {  \n        \u0022signature\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n        \u0022predecessor\\_hash\u0022: { \u0022type\u0022: \u0022string\u0022 }  \n      },  \n      \u0022required\u0022: \\[\u0022signature\u0022, \u0022predecessor\\_hash\u0022\\]  \n    }  \n  },  \n  \u0022required\u0022: \\[\u0022event\\_id\u0022, \u0022timestamp\u0022, \u0022target\\_receipt\\_id\u0022, \u0022action\\_type\u0022, \u0022reason\\_code\u0022, \u0022initiating\\_party\u0022, \u0022cryptographic\\_proof\u0022\\]  \n}\n\n\n## **9\\. Field-Complete Delegation Schema**\n\n\nThis schema maps the strict monotonic attenuation from a Principal to an Agent, and subsequently to a Sub-Agent, mirroring Macaroon and UCAN architecture.\n\n\nJSON  \n{  \n  \u0022$schema\u0022: \u0022https://patefacere.eviulon.org/schemas/delegation/v1\u0022,  \n  \u0022type\u0022: \u0022object\u0022,  \n  \u0022properties\u0022: {  \n    \u0022delegation\\_id\u0022: {  \n      \u0022type\u0022: \u0022string\u0022  \n    },  \n    \u0022root\\_authorization\\_id\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022description\u0022: \u0022Points explicitly back to the original principal-authorization receipt.\u0022  \n    },  \n    \u0022delegator\u0022: {  \n      \u0022type\u0022: \u0022object\u0022,  \n      \u0022properties\u0022: {  \n        \u0022agent\\_id\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n        \u0022current\\_state\\_hash\u0022: { \u0022type\u0022: \u0022string\u0022 }  \n      },  \n      \u0022required\u0022: \\[\u0022agent\\_id\u0022\\]  \n    },  \n    \u0022delegatee\u0022: {  \n      \u0022type\u0022: \u0022object\u0022,  \n      \u0022properties\u0022: {  \n        \u0022sub\\_agent\\_id\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n        \u0022intended\\_purpose\u0022: { \u0022type\u0022: \u0022string\u0022 }  \n      },  \n      \u0022required\u0022: \\[\u0022sub\\_agent\\_id\u0022\\]  \n    },  \n    \u0022attenuation\\_caveats\u0022: {  \n      \u0022type\u0022: \u0022array\u0022,  \n      \u0022items\u0022: { \u0022type\u0022: \u0022string\u0022 },  \n      \u0022description\u0022: \u0022Additional monotonic restrictions appended to the root authority (cannot expand scope).\u0022  \n    },  \n    \u0022delegation\\_token\u0022: {  \n      \u0022type\u0022: \u0022string\u0022,  \n      \u0022description\u0022: \u0022The base64 encoded Macaroon, UCAN, or GNAP token representing the delegated state.\u0022  \n    }  \n  },  \n  \u0022required\u0022: \\[\u0022delegation\\_id\u0022, \u0022root\\_authorization\\_id\u0022, \u0022delegator\u0022, \u0022delegatee\u0022, \u0022attenuation\\_caveats\u0022, \u0022delegation\\_token\u0022\\]  \n}\n\n\n## **10\\. Verification Algorithm**\n\n\nThe following precise pseudocode details how Patefacere (or a Relying Party) verifies an agent\u0027s request. It ensures strict compliance with exact-step logic, cryptographic validity, and the critical check of legal office status.  \nFUNCTION VerifyAgentAuthority(Request, AgentToken, PrincipalID, TargetService): // 1\\. Basic Cryptographic Validation IF NOT VerifySignature(AgentToken.Signature, AgentToken.PublicKey): RETURN REJECT(\u0022Invalid Signature\u0022)\n\n\n// 2\\. Exact-Step Evaluation  \nIF Request.Phase \\!= AgentToken.ExactStepPhase:  \n    RETURN REJECT(\u0022Exact-Step Mismatch: Requested Phase not Authorized\u0022)  \n\n\n// 3\\. Temporal Validation (Expiry)  \nIF CurrentTime() \\\u003E AgentToken.Expiry:  \n    RETURN REJECT(\u0022Token Expired\u0022)  \n\n\n// 4\\. Revocation Ledger Sync \u0026 Evaluation  \nLatestLedger \\= Patefacere.GetLatestState(PrincipalID)  \nIF TargetService.IsOffline():  \n    IF NOT IsWithinOfflineTolerance(TargetService.LastSync):  \n        RETURN REJECT(\u0022Offline CRL out of date\u0022)  \nELSE:  \n    IF LatestLedger.ContainsRevocation(AgentToken.ID):  \n        RETURN REJECT(\u0022Token Revoked\u0022)  \n\n\n// 5\\. Office \u0026 Legal Validity Check (Why Signature Is Not Enough)  \nPrincipalState \\= Eviulon.GetLegalState(PrincipalID)  \nIF PrincipalState.InReceivership \\== TRUE OR PrincipalState.IsDissolved \\== TRUE:  \n    RETURN REJECT(\u0022Legal Authority Voided: Corporate Governance Event (DGCL 291/275)\u0022)  \nIF PrincipalState.Officer(AgentToken.IssuerKey).IsActive \\== FALSE:  \n    RETURN REJECT(\u0022Legal Authority Voided: Signer No Longer In Office\u0022)  \n\n\n// 6\\. Conflicting Directives Check  \nIF LatestLedger.HasDeadlockOrConflict(PrincipalID):  \n    RETURN REFUSE\\_TO\\_DECIDE(\u0022Unresolvable Conflict Between Principals (e.g., DGCL 226)\u0022)  \n\n\n// 7\\. Caveat Evaluation (Macaroons/UCAN)  \nFOR EACH Caveat IN AgentToken.Caveats:  \n    IF IsFirstParty(Caveat):  \n        IF NOT EvaluateConstraint(Caveat, Request.Context):  \n            RETURN REJECT(\u0022First-Party Caveat Violated: \u0022 \\+ Caveat.Rule)  \n    ELSE IF IsThirdParty(Caveat):  \n        DischargeToken \\= Request.GetDischarge(Caveat.ID)  \n        IF NOT VerifyDischarge(DischargeToken, Caveat.VerifierKey):  \n            RETURN REJECT(\u0022Third-Party Caveat Violated: Missing or Invalid Discharge Token\u0022)  \n\n\n// 8\\. Replay \u0026 Idempotency Prevention  \nIF LatestLedger.HasNonce(Request.Nonce):  \n    RETURN REJECT(\u0022Replay Detected: Nonce Already Consumed\u0022)  \nIF Request.SequenceNumber \\\u003C= LatestLedger.LastSequenceNumber:  \n    RETURN REJECT(\u0022Invalid Sequence Number: Must be Strictly Increasing\u0022)\n\n\n// All Checks Pass  \nRETURN APPROVED\n\n\nEND FUNCTION\n\n\n## **11\\. Authorization Protocols Matrix**\n\n\n| Dimension | OAuth 2.0 | GNAP (RFC 9635/9767) | Macaroons | UCAN | Cap-Systems (OCap) | Signed Legal Records | Offline Manifests |\n| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |\n| **Architecture** | Centralized Client/Server | Role-separated (RQ/RO/RS) | Decentralized, Proof-Carrying | Decentralized, Local-First PKI | Object-oriented references | Centralized/Ledger-backed | P2P / Airgapped |\n| **Delegation** | Poor (Requires new token) | Better (Rich interactive negotiation) | Excellent (Chained HMACs) | Excellent (Chained PKI) | Native (Pass-by-reference) | Manual (Power of Attorney) | Static (Pre-shared) |\n| **Attenuation** | Static Scopes | Dynamic Grants | Monotonic Caveats | Monotonic Capabilities | Object wrapping | Fixed by document text | Fixed by manifest |\n| **Offline Validation** | No (Introspection req.) | No (Requires AS interaction) | Yes (If symmetric key known) | Yes (Pure PKI validation) | N/A (Runtime execution) | No (Requires notary/registry) | Yes (By design) |\n| **Client Registration** | Pre-registered (Static) | Dynamic / None Required | None Required | None Required | None Required | Entity Registration Req. | Static Key Pre-loading |\n| **Third-Party Logic** | External federations | Complex multi-party routing | Native (Third-party caveats) | Via Proofs/Delegation | Via Facets/Proxies | Court/Notary involvement | Hardcoded logic only |\n| **Identity vs Auth** | Conflated (often) | Strictly Separated | Strictly Separated | Separated (DID based) | Wholly separated | Bound to physical identity | Bound to hardware root |\n| **Legal Interop** | Low (Standard API focus) | Medium (Rich metadata support) | Medium (Programmable logic) | Medium (Verifiable Claims) | Low (Software level only) | High (UETA/E-SIGN native) | Medium (Audit logs) |\n| **Revocation** | Token Introspection | Grant Management API | External / Short expiry limits | External / Short expiry limits | Reference deletion | Legal injunction / Ledger | None / Hardware limit |\n| **Patefacere Fit** | Poor | Strong for Interactive Negotiation | Excellent for Execution | Excellent for Edge Devices | Conceptual overlap | Foundational Baseline | Fallback only |\n\n\n## **12\\. 40 FAQs**","source_sha256":"ef0de86ed5b1180a0cf2c4c9546f2b61281d6ae159fe4d09d1a5d1ad02b6c001"}