Escrow page's cross-chain bullet calls the open state an exception to atomicity and says 'revealed' and 'lands' instead

Open Beginner friendly
#361 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Domain
documentation

Research direction

The wording lives in the cross-chain bullet at line 28 of docs/learn/what-is-escrow-for-ai-agents.md on the phase0-completion branch. Read DACS-4 section 9.8 and rule HTLC-9 first, since the issue asks you to match that wording. Done means the lead no longer calls the state an exception to atomicity, both boundaries use 'final' as HTLC-9 defines them, and the bullet links to the matching HTLC-9 text. Confirm the review finding against the spec before editing.

Written by the indexing model from the issue text.

Description

contributors-section

Where: docs/learn/what-is-escrow-for-ai-agents.md:28 (on phase0-completion at the linked commit)

What goes wrong: Two wording problems in the same bullet. (1) It starts 'A cross-chain payment is atomic, with one bounded exception'. DACS-4 section 9.8 calls this state a bounded exception to the refund arm, not a hole in atomicity, and the rest of the bullet already follows that framing. (2) The bullet begins the no-refund state when the preimage 'is revealed' and ends it when the payee's claim 'lands'. DACS-4 section 9.8 (rule HTLC-9) says the state begins when the reveal is final on the destination chain and resolves when the source claim is final, not merely included. Before the reveal is final, a source refund is still allowed.

Suggested fix: Change the lead to 'A cross-chain payment is atomic; one bounded state sits outside the refund arm.' Say 'final' in both places: the state starts when the preimage reveal is final on the destination chain and ends when the payee's claim on the source chain is final. Link the matching HTLC-9 wording in DACS-4 section 9.8.

Size: Small

This comes from a code review, not from a failing run, so please confirm it before starting. Send the fix as a pull request to phase0-completion. It merges once tests pass and a maintainer has approved it.

Dominant language
TypeScript
Stars
0
Forks
3
Avg merge
20h 26m
Merged PRs (30d)
119

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DACS-Agent-commerce/Community

All issues in DACS-Agent-commerce/Community

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.