{"eip":8436,"title":"Agent Collective Decision Framework","description":"Registries and composable decision policies through which authorized agents form collective decisions with procedural finality","authors":["Gary Yang (@garyyang-finchip)"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2026-10-04","requires":[165,712,1271,6372],"discussionsTo":"https://ethereum-magicians.org/t/erc-8436-agent-collective-decision-framework/29850","repo":"ERCs","label":"ERC-8436","officialUrl":"https://eips.ethereum.org/EIPS/eip-8436","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-8436.md","url":"https://eips.huatuo.xyz/eip-8436/","tldr":{"en":"Proposes registries for collective decisions by agents, humans or contracts: a hashed, immutable voting policy, an issue bound in advance to the contract that will honour the result, and a state machine with appeals and guaranteed finality.","ja":"エージェント、人間、コントラクトによる集団的意思決定のためのレジストリを提案する。ハッシュ化された不変の投票ポリシー、結果を尊重するコントラクトに事前にバインドされた議題（イシュー）、そして異議申し立てと確定性の保証を備えたステートマシンである。","ko":"에이전트, 사람, 컨트랙트의 집단적 의사결정을 위한 레지스트리를 제안한다. 해시된 불변의 투표 정책, 결과를 이행할 컨트랙트에 미리 묶인 안건(issue), 그리고 이의 제기와 확정성 보장을 갖춘 상태 머신이다.","zh":"提出用于智能体、人类或合约进行集体决策的注册表：经过哈希、不可变的投票策略，预先绑定到将遵守结果的合约的议题，以及带有申诉和终局性保证的状态机。"},"tags":["ai-agents","governance","voting","coordination"],"explainers":{"en":{"lang":"en","tldr":"Proposes registries for collective decisions by agents, humans or contracts: a hashed, immutable voting policy, an issue bound in advance to the contract that will honour the result, and a state machine with appeals and guaranteed finality.","tags":["ai-agents","governance","voting","coordination"],"related":[8183,8033,8004,712,6372],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8436/","markdown":"## What problem does it solve?\n\nAgents increasingly decide things that move value: accepting delivered work in an escrow, admitting or suspending a marketplace member, changing a parameter a swarm runs under. Existing tools each cover one corner: token governors assume one electorate, multisigs have K-of-N but no notion of a *question* or of a procedure that can end without a decision, and agent commerce standards like [ERC-8183](/eip-8183/) leave the evaluator as a single trusted address.\n\nERC-8436 (ACDF) adds a common record of *which rule* decided *which question* about *which subject*, *who committed in advance* to accept the result, whether the procedure is still open, provisional or final, and whether it produced a decision at all. A core principle: voting creates no power by itself; a result only has effect where a relying contract agreed beforehand to accept it.\n\n## How it works\n\n- **Decision Policy.** An immutable struct (roster, thresholds, windows, how bodies combine, appeal rules) identified by `policyId = keccak256(abi.encode(spec))`. What is published is exactly what runs. New versions are published within a policy family by its update authority.\n- **Issue.** One concrete decision: subject, question, policy version, and at most one **consumer** (the relying contract). The consumer commits through one of three modes: it files itself (`CONSUMER_FILED`), pre-registers a standing acceptance (`STANDING_ACCEPTANCE`), or acknowledges after filing (`POST_ACK`). Issues without a consumer are **Advisory**: same procedure, no binding effect.\n- **Bodies.** The minimum is a fixed roster deciding K-of-N with on-chain ballots: `Yes` at k approvals, `No` at N−k+1 blocks, otherwise `NoDecision(QUORUM_NOT_MET)` when the window closes. Optional profiles add [EIP-712](/eip-712/) signed ballots, a single authorised submitter, and composition with `ALL`, `ANY`, `K-of-M` and `VETO`.\n- **State machine.** `Filed → Deciding → Provisional → Final` (or `Withdrawn` before admission). Appeals reopen a fresh round within a fixed appeal count and window, and a hard deadline guarantees the issue ends.\n- **Three separate dimensions** in `getResult`: procedure state, outcome type (`None`, `Decided` + yes/no, or `NoDecision` + reason), and enactment status. The registry never executes effects; the consumer does, and may log its enactment.\n\n## Sample code\n\nA relying contract applying a final result (Solidity, using the spec's types):\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract TaskEscrow {\n    IACDFRegistry public immutable acdf;\n    constructor(IACDFRegistry r) { acdf = r; }\n\n    function settle(bytes32 issueId) external {\n        ACDFTypes.Result memory r = acdf.getResult(issueId);\n        require(r.consumer == address(this), \"not our issue\");\n        require(r.state == ACDFTypes.ProcedureState.Final, \"not final\");\n\n        if (r.outcomeType == ACDFTypes.OutcomeType.Decided) {\n            if (r.outcomeYes) _payFulfiller();\n            else _refundClient();\n        } else {\n            _applyCommittedDisposition(); // what this contract committed to for \"no decision\"\n        }\n    }\n\n    function _payFulfiller() internal { /* ... */ }\n    function _refundClient() internal { /* ... */ }\n    function _applyCommittedDisposition() internal { /* ... */ }\n}\n```\n\n## Things to know\n\n- Status is **Draft**.\n- A `No` from a K-of-N body means the proposition was *blocked*, not that its opposite was decided. A `NoDecision` is not a verdict on the merits.\n- A Binding issue cannot be withdrawn once admitted, so a filer cannot shop for a friendlier panel. Only one unfinished Binding issue may exist per consumer obligation.\n- Who may sit on a roster (reputation, stake, identity via e.g. [ERC-8004](/eip-8004/)) and how participants are paid are left to profiles. The spec explicitly does not treat \"agreeing with the majority\" as correctness.\n- Time is measured with an [ERC-6372](/eip-6372/) clock exposed by the registry.\n"},"ja":{"lang":"ja","tldr":"エージェント、人間、コントラクトによる集団的意思決定のためのレジストリを提案する。ハッシュ化された不変の投票ポリシー、結果を尊重するコントラクトに事前にバインドされた議題（イシュー）、そして異議申し立てと確定性の保証を備えたステートマシンである。","tags":["ai-agents","governance","voting","coordination"],"related":[8183,8033,8004,712,6372],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8436/","markdown":"## 何を解決するのか\n\nエージェントは、価値を動かす物事をますます決定するようになっています。エスクローで納品された成果物を受け入れる、マーケットプレイスのメンバーを承認または停止する、群れが動作するパラメーターを変更する、といったことです。既存のツールはそれぞれ一部しかカバーしていません。トークンのガバナーは 1 つの有権者集団を前提とし、マルチシグには K-of-N はあっても*問い*の概念や、決定なしに終われる手続きの概念はなく、[ERC-8183](/eip-8183/) のようなエージェントコマースの標準は、評価者を信頼できる 1 つのアドレスのままにしています。\n\nERC-8436（ACDF）は、*どのルール*が、*どの対象*についての*どの問い*を決定したか、*誰が事前に*その結果を受け入れることをコミットしたか、手続きがまだ開いているのか、暫定なのか、確定したのか、そもそも決定が出たのか、という共通の記録を加えます。中心となる原則は、投票はそれ自体では権限を生まないということです。結果が効力を持つのは、依拠するコントラクトが事前にそれを受け入れることに同意している場合だけです。\n\n## 仕組み\n\n- **決定ポリシー（Decision Policy）。** 名簿、しきい値、期間、機関の組み合わせ方、異議申し立てのルールを含む不変の構造体で、`policyId = keccak256(abi.encode(spec))` で識別されます。公開されたものが、そのまま実行されるものです。新しいバージョンは、更新権限者によってポリシーファミリー内で公開されます。\n- **イシュー（Issue）。** 具体的な 1 つの決定で、対象、問い、ポリシーのバージョン、そして高々 1 つの**コンシューマー**（依拠するコントラクト）を持ちます。コンシューマーは 3 つのモードのいずれかでコミットします。自分で提起する（`CONSUMER_FILED`）、常設の受諾を事前登録する（`STANDING_ACCEPTANCE`）、提起後に確認応答する（`POST_ACK`）です。コンシューマーのいないイシューは**助言的（Advisory）**で、手続きは同じですが拘束力はありません。\n- **機関（Bodies）。** 最小限のものは、オンチェーンの投票で K-of-N を決める固定名簿です。k 件の賛成で `Yes`、N−k+1 件の反対で `No`、そうでなければ期間が終了した時点で `NoDecision(QUORUM_NOT_MET)` となります。任意のプロファイルが、[EIP-712](/eip-712/) 署名付きの投票、権限を持つ単一の提出者、そして `ALL`、`ANY`、`K-of-M`、`VETO` による組み合わせを加えます。\n- **ステートマシン。** `Filed → Deciding → Provisional → Final`（承認前なら `Withdrawn`）。異議申し立ては、決められた回数と期間の範囲内で新たなラウンドを開き、絶対的な期限がイシューの終了を保証します。\n- `getResult` の **3 つの独立した次元**: 手続きの状態、結果のタイプ（`None`、`Decided` + 賛否、または `NoDecision` + 理由）、そして施行の状況です。レジストリが効果を実行することはなく、コンシューマーが実行し、その施行を記録することもできます。\n\n## サンプルコード\n\n最終結果を適用する、依拠するコントラクト（Solidity、仕様の型を使用）:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract TaskEscrow {\n    IACDFRegistry public immutable acdf;\n    constructor(IACDFRegistry r) { acdf = r; }\n\n    function settle(bytes32 issueId) external {\n        ACDFTypes.Result memory r = acdf.getResult(issueId);\n        require(r.consumer == address(this), \"not our issue\");\n        require(r.state == ACDFTypes.ProcedureState.Final, \"not final\");\n\n        if (r.outcomeType == ACDFTypes.OutcomeType.Decided) {\n            if (r.outcomeYes) _payFulfiller();\n            else _refundClient();\n        } else {\n            _applyCommittedDisposition(); // what this contract committed to for \"no decision\"\n        }\n    }\n\n    function _payFulfiller() internal { /* ... */ }\n    function _refundClient() internal { /* ... */ }\n    function _applyCommittedDisposition() internal { /* ... */ }\n}\n```\n\n## 知っておくべきこと\n\n- ステータスは **Draft** です。\n- K-of-N の機関による `No` は、その命題が*阻止された*ことを意味し、その反対が決定されたことを意味しません。`NoDecision` は、実質的な是非についての判断ではありません。\n- 拘束力のあるイシューは、一度受理されると取り下げられないため、提起者がより好意的なパネルを探し回ることはできません。コンシューマーの義務ごとに、未完了の拘束力のあるイシューは 1 つしか存在できません。\n- 誰が名簿に入れるか（レピュテーション、ステーク、たとえば [ERC-8004](/eip-8004/) によるアイデンティティ）や、参加者がどう報酬を受け取るかは、プロファイルに委ねられています。仕様は、「多数派に同意すること」を正しさとはみなさないと明示しています。\n- 時間は、レジストリが公開する [ERC-6372](/eip-6372/) のクロックで測定されます。\n"},"ko":{"lang":"ko","tldr":"에이전트, 사람, 컨트랙트의 집단적 의사결정을 위한 레지스트리를 제안한다. 해시된 불변의 투표 정책, 결과를 이행할 컨트랙트에 미리 묶인 안건(issue), 그리고 이의 제기와 확정성 보장을 갖춘 상태 머신이다.","tags":["ai-agents","governance","voting","coordination"],"related":[8183,8033,8004,712,6372],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8436/","markdown":"## 어떤 문제를 해결하나요?\n\n에이전트는 가치를 움직이는 일들을 점점 더 많이 결정합니다. 에스크로에서 납품된 작업을 수락하거나, 마켓플레이스 구성원을 승인하거나 정지하거나, 에이전트 군집이 동작하는 매개변수를 바꾸는 일 등입니다. 기존 도구는 각기 한 부분만 다룹니다. 토큰 거버너는 하나의 유권자 집단을 가정하고, 멀티시그는 K-of-N은 있어도 *질문*이라는 개념이나 결정 없이 끝날 수 있는 절차라는 개념이 없으며, [ERC-8183](/eip-8183/) 같은 에이전트 상거래 표준은 평가자를 신뢰할 수 있는 단일 주소로 남겨 둡니다.\n\nERC-8436(ACDF)은 *어떤 규칙*이 *어떤 대상*에 대한 *어떤 질문*을 결정했는지, *누가 미리* 그 결과를 수락하기로 약속했는지, 절차가 아직 열려 있는지 잠정인지 확정인지, 그리고 결정이 도출되기는 했는지에 대한 공통 기록을 더합니다. 핵심 원칙은 투표가 그 자체로는 권한을 만들지 않는다는 것입니다. 결과는 이를 신뢰하는 컨트랙트가 미리 수락하기로 동의한 곳에서만 효력이 있습니다.\n\n## 어떻게 동작하나요?\n\n- **결정 정책(Decision Policy).** 명부, 임계값, 기간, 기관의 결합 방식, 이의 제기 규칙으로 이루어진 불변 구조체이며 `policyId = keccak256(abi.encode(spec))`로 식별됩니다. 게시된 것이 곧 실행되는 것입니다. 새 버전은 갱신 권한자가 정책 패밀리 안에서 게시합니다.\n- **안건(Issue).** 하나의 구체적인 결정으로, 대상, 질문, 정책 버전, 그리고 최대 하나의 **컨슈머**(이를 신뢰하는 컨트랙트)를 가집니다. 컨슈머는 세 가지 모드 중 하나로 약속합니다. 스스로 제기하거나(`CONSUMER_FILED`), 상시 수락을 미리 등록하거나(`STANDING_ACCEPTANCE`), 제기 후 확인 응답합니다(`POST_ACK`). 컨슈머가 없는 안건은 **자문(Advisory)**입니다. 절차는 같지만 구속력은 없습니다.\n- **기관(Bodies).** 최소 구성은 온체인 투표로 K-of-N을 결정하는 고정 명부입니다. k표 찬성이면 `Yes`, N−k+1표 반대(차단)이면 `No`, 그렇지 않으면 기간이 끝날 때 `NoDecision(QUORUM_NOT_MET)`입니다. 선택적 프로필이 [EIP-712](/eip-712/) 서명 투표, 권한 있는 단일 제출자, 그리고 `ALL`, `ANY`, `K-of-M`, `VETO`를 통한 결합을 더합니다.\n- **상태 머신.** `Filed → Deciding → Provisional → Final`(수리 전이라면 `Withdrawn`). 이의 제기는 정해진 횟수와 기간 안에서 새 라운드를 열고, 강제 마감 시한이 안건이 반드시 끝나도록 보장합니다.\n- `getResult`의 **서로 분리된 세 가지 차원**: 절차 상태, 결과 유형(`None`, `Decided` + 찬반, 또는 `NoDecision` + 사유), 그리고 이행 상태입니다. 레지스트리는 효과를 실행하지 않으며, 컨슈머가 실행하고 그 이행을 기록할 수도 있습니다.\n\n## 샘플 코드\n\n최종 결과를 적용하는 신뢰 컨트랙트(Solidity, 명세의 타입 사용):\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract TaskEscrow {\n    IACDFRegistry public immutable acdf;\n    constructor(IACDFRegistry r) { acdf = r; }\n\n    function settle(bytes32 issueId) external {\n        ACDFTypes.Result memory r = acdf.getResult(issueId);\n        require(r.consumer == address(this), \"not our issue\");\n        require(r.state == ACDFTypes.ProcedureState.Final, \"not final\");\n\n        if (r.outcomeType == ACDFTypes.OutcomeType.Decided) {\n            if (r.outcomeYes) _payFulfiller();\n            else _refundClient();\n        } else {\n            _applyCommittedDisposition(); // what this contract committed to for \"no decision\"\n        }\n    }\n\n    function _payFulfiller() internal { /* ... */ }\n    function _refundClient() internal { /* ... */ }\n    function _applyCommittedDisposition() internal { /* ... */ }\n}\n```\n\n## 알아둘 점\n\n- 상태는 **Draft**입니다.\n- K-of-N 기관의 `No`는 그 명제가 *차단*되었다는 뜻이지 그 반대가 결정되었다는 뜻이 아닙니다. `NoDecision`은 실질에 대한 판결이 아닙니다.\n- 구속력 있는(Binding) 안건은 일단 수리되면 철회할 수 없으므로, 제기자가 더 우호적인 패널을 찾아다닐 수 없습니다. 컨슈머의 의무마다 끝나지 않은 구속력 있는 안건은 하나만 존재할 수 있습니다.\n- 누가 명부에 들어갈 수 있는지(평판, 스테이크, 예를 들어 [ERC-8004](/eip-8004/)를 통한 신원)와 참가자가 어떻게 보상받는지는 프로필에 맡겨져 있습니다. 명세는 \"다수에 동의하는 것\"을 정확성으로 취급하지 않는다고 명시합니다.\n- 시간은 레지스트리가 노출하는 [ERC-6372](/eip-6372/) 클럭으로 측정합니다.\n"},"zh":{"lang":"zh","tldr":"提出用于智能体、人类或合约进行集体决策的注册表：经过哈希、不可变的投票策略，预先绑定到将遵守结果的合约的议题，以及带有申诉和终局性保证的状态机。","tags":["ai-agents","governance","voting","coordination"],"related":[8183,8033,8004,712,6372],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8436/","markdown":"## 它解决什么问题？\n\n智能体越来越多地决定会转移价值的事务：在托管中接受交付的工作、接纳或暂停某个市场成员、更改一个智能体群所依据的参数。现有工具各自只覆盖一角：代币治理合约假定只有一个选民群体，多签有 K-of-N，但没有*问题*的概念，也没有可以不产生决定就结束的程序；而 [ERC-8183](/eip-8183/) 这类智能体商务标准把评估者留作单一的受信任地址。\n\nERC-8436（ACDF）增加了一份共同记录，说明*哪条规则*对*哪个对象*的*哪个问题*做出了决定，*谁事先承诺*接受结果，程序仍是开放、暂定还是终局，以及它是否真的产生了决定。核心原则是：投票本身不产生权力；只有在依赖方合约事先同意接受它的地方，结果才有效力。\n\n## 它如何运作\n\n- **决策策略（Decision Policy）。** 一个不可变的结构体（名册、阈值、时间窗口、各机构如何组合、申诉规则），由 `policyId = keccak256(abi.encode(spec))` 标识。所发布的就是实际运行的。新版本由其更新权限方在策略族内发布。\n- **议题（Issue）。** 一项具体的决定：对象、问题、策略版本，以及至多一个**消费方（consumer）**（依赖方合约）。消费方通过三种模式之一做出承诺：自己提交（`CONSUMER_FILED`）、预先登记一项长期接受（`STANDING_ACCEPTANCE`），或在提交之后确认（`POST_ACK`）。没有消费方的议题为**咨询性（Advisory）**：程序相同，但没有约束效力。\n- **机构（Bodies）。** 最小的形式是由固定名册以链上投票决定 K-of-N：达到 k 票赞成为 `Yes`，达到 N−k+1 票阻止为 `No`，否则在窗口关闭时为 `NoDecision(QUORUM_NOT_MET)`。可选的配置文件增加 [EIP-712](/eip-712/) 签名投票、单一授权提交者，以及用 `ALL`、`ANY`、`K-of-M` 和 `VETO` 进行的组合。\n- **状态机。** `Filed → Deciding → Provisional → Final`（在受理之前则为 `Withdrawn`）。申诉会在固定的申诉次数和窗口内重新开启一轮，而硬性截止时间保证议题一定会结束。\n- `getResult` 中的**三个相互独立的维度**：程序状态、结果类型（`None`、`Decided` 加是/否，或 `NoDecision` 加原因）以及执行状态。注册表从不执行效果；由消费方执行，并且可以记录其执行情况。\n\n## 示例代码\n\n依赖方合约应用最终结果（Solidity，使用规范中的类型）：\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract TaskEscrow {\n    IACDFRegistry public immutable acdf;\n    constructor(IACDFRegistry r) { acdf = r; }\n\n    function settle(bytes32 issueId) external {\n        ACDFTypes.Result memory r = acdf.getResult(issueId);\n        require(r.consumer == address(this), \"not our issue\");\n        require(r.state == ACDFTypes.ProcedureState.Final, \"not final\");\n\n        if (r.outcomeType == ACDFTypes.OutcomeType.Decided) {\n            if (r.outcomeYes) _payFulfiller();\n            else _refundClient();\n        } else {\n            _applyCommittedDisposition(); // what this contract committed to for \"no decision\"\n        }\n    }\n\n    function _payFulfiller() internal { /* ... */ }\n    function _refundClient() internal { /* ... */ }\n    function _applyCommittedDisposition() internal { /* ... */ }\n}\n```\n\n## 需要注意\n\n- 状态为 **Draft**。\n- K-of-N 机构给出的 `No` 意味着该命题被*阻止*了，而不是其反面被决定了。`NoDecision` 不是对实质内容的裁决。\n- 具有约束力（Binding）的议题一经受理就不能撤回，因此提交者无法挑选更友好的评审团。每项消费方义务最多只能存在一个未完成的具有约束力的议题。\n- 谁可以进入名册（声誉、质押、例如通过 [ERC-8004](/eip-8004/) 的身份）以及参与者如何获得报酬，都留给配置文件决定。规范明确不把\"与多数人一致\"视为正确性。\n- 时间通过注册表公开的 [ERC-6372](/eip-6372/) 时钟来衡量。\n"}}}
