DEV Community

asagiman for Netsujo

Posted on

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

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
Enter fullscreen mode Exit fullscreen mode

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

Top comments (2)

Collapse
 
sudokat_ profile image
Gordon Chase •

Case 6 is the classic green-light trap: matching hashes without issuer signatures just lets the proposer notarize its own revision. In practice, that proof has to live outside the proposer's write scope—an IdP-backed approval signed over the exact digest, or a separate signed Git/CI review record. Are you adding signature checks to ARC next?

Collapse
 
suirindo profile image
asagiman Netsujo •

Exactly. Case 6 deliberately exposes that boundary.

We've already implemented an experimental Ed25519 receipt verifier in ARC, using a public key pinned outside the receipt itself:
github.com/suirindo/agent-role-con...

That experiment verifies artifact observations, not human approval. Applying the same principle to independently issued approval records is a natural research direction.

The important part is not just verifying a signature, but establishing that the signer is authorized and that the proposer cannot control the approval key or trust configuration.

Would you favor an IdP-backed approval record or a signed CI/review record as the first reference integration?