跳到正文
DEV Community· asagiman·· 4 小時前AI 評分49

ARC 財務示範的付款檢查再次轉為通過:誰批准了新金額?

The payment check turned green again. Who approved the new amount?

AI 導讀

ARC 財務示範中,付款檢查在沒有人作出新批准的情況下再次顯示 PASS;更新三項紀錄識別碼的是示範腳本。金額維持 249,999,999,三項紀錄改為指向同一提案後,檢查便通過。示範使用離線測試資料,沒有實際批准或資金轉移;操作人員仍須查明作出決定的人、決定時間及相關證據。

正文

Nobody did. In a local Agent Role Contracts (ARC) demo, the result switches from an expected failure to PASS while the payment amount stays exactly the same. No reviewer is contacted between the two calls.

Our earlier DEV post followed a coding task whose requirements changed after review. Its final result was a useful red light: the previous decision referred to the earlier task. The finance demo in our Think IT article lets us ask a different question. What extra information would an operator need when that light turns green again? Earlier coding example · Think IT article, in Japanese

Compare two consecutive calls

The original fictional payment is 250,000,000 token base units. In case 5, the demo reduces it to 249,999,999 and reuses the recorded decisions. In case 6, it keeps the reduced amount. The script recalculates the identifier for the changed proposal and places it into three fixture records: simulation, review and human approval. The rest of those records, including the declared decision and role, stays in place.

Observation Amount submitted What the three records refer to Result we observed
Finance, case 5 249,999,999 Original proposal FINANCE_SUBJECT_MISMATCH
Finance, case 6 249,999,999 Changed proposal PASS

The unchanged amount isolates what the second check establishes: the records now agree about which proposal they describe. The source also lets us answer who supplied those new identifiers. It was the demo script. A payment operator would need a separate answer about the person who made a fresh decision. Finance demo source

Compare it with the coding result

In the non-financial demo, changing the requested behavior while keeping the original review produces G1_SUBJECT_MISMATCH. The two demos agree on what happens to a stale reference. Only the finance example here takes the next step of giving the changed proposal new fictional records. That is the case worth bringing to a workflow review. Task/action demo source

Give your team the case-6 result and ask whoever runs the payment workflow to find one record from its real approval system. Can they identify the authenticated person who approved that exact revision, the decision time, and the evidence that the payment proposer could not edit that decision? It is fine to use a sandbox decision with test data. If the operator can locate that evidence, document its source. If they can see only a role label and a matching identifier, record which question is still open.

We reproduced the eight expected finance outcomes and six task/action outcomes on November 24, 2026, on Linux x86_64 with Node.js v24.22.3. Both scripts exited 0. These are offline fixtures. No funds moved and no real approval took place. To repeat the comparison, use Git, npm and Node.js 22.5 or later:

git clone --depth 1 --branch v1.0.0 https://github.com/suirindo/agent-role-contracts.git
cd agent-role-contracts
npm run demo:finance --silent
npm run demo:binding --silent

Where would you find that revision-specific human decision in a workflow you operate today? A record type and the system that creates it are enough to discuss the design. Please keep live transactions and private logs out of public examples. Evaluate one workflow

來源:DEV Community · dev.to