Payment safety page: explain 'preimage' and 'claim' and name the cross-chain open state precisely
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown
- Domain
- documentation
Research direction
Open docs/learn/how-do-ai-agents-pay-each-other-safely.md at line 30 and read step 5 in full, then follow the DACS-4 links already on that line to sections 9.8 and 9.5.5 before touching the text. Skim docs/learn/how-do-agent-payment-protocols-compare.md lines 24 and 31 for the liquidity-tank rails, and check the sibling issues #361 and #359 so preimage and claim are worded the same way. Done means the last sentence of step 5 defines both terms, names this as the HTLC open state, adds the reveal-final-on-destination condition, and distinguishes the unreleased liquidity-tank lock, with existing links kept.
Written by the indexing model from the issue text.
Description
Where: docs/learn/how-do-ai-agents-pay-each-other-safely.md:30 (on phase0-completion at the linked commit)
What goes wrong: Step 5 of 'How DACS does it' ends with: 'The one open state where the preimage is revealed but the payee's claim has not landed is not refunded'. A reader new to DACS is not told what a preimage or a claim is. 'The one open state' also reads as if a cross-chain payment has no other open state, but the page's rails (see how-do-agent-payment-protocols-compare.md:24 and :31) include a liquidity-tank route that has its own non-terminal state. The sentence also leaves out the condition that puts a payment into this state: the reveal must already be final on the destination chain. This is a docs-only change to one sentence.
Suggested fix: Edit the last sentence of step 5 in docs/learn/how-do-ai-agents-pay-each-other-safely.md (line 30). (1) Add a short plain definition of the hash-time-locked-contract (HTLC) terms: the preimage is the secret whose hash locks the payment, and the claim is the payee's transaction on the source chain that uses it. (2) Replace 'the one open state' with wording that names this as the HTLC open state. (3) State that it begins only once the reveal is final on the destination chain. (4) Say in a few words that the liquidity-tank lock that has not been released is a different state. Check every statement against DACS-4 section 9.8 (the link already on that line) and section 9.5.5 before editing, and keep the existing links. Keep terms consistent with the sibling edits tracked in #361 (escrow page) and #359 (glossary) so the pages do not diverge.
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DACS-Agent-commerce/Community
-
contributors-section
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DACS-Agent-commerce/Community#361 ·
Maintainers usually reply within 1 day
-
contributors-section
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DACS-Agent-commerce/Community#359 ·
Maintainers usually reply within 1 day
-
contributors-section
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DACS-Agent-commerce/Community#354 ·
Maintainers usually reply within 1 day
-
OpenAPI entry for the listing version route omits its 409 responsePossibly taken A pull request linked to this issue is open or already merged. Opencontributors-section
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
DACS-Agent-commerce/Community#348 · 1 comment ·
Maintainers usually reply within 1 day
-
contributors-section
Difficulty 1/5 Under an hour Newbie friendliness 80/100
DACS-Agent-commerce/Community#345 ·
Maintainers usually reply within 1 day
All issues in DACS-Agent-commerce/Community
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process TerminationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nocobase/nocobase#11711 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong columnOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
readest/readest#7903 · 1 comment ·
Maintainers usually reply within 1 day