From 7a335f21fc4c1048bbc24b56382bc3a01ab95ff7 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 9 Apr 2026 17:57:18 +0200 Subject: [PATCH] fix: clarify proposal TX output to prevent wrong hash usage in critiques/endorsements Remove the internal Lock TX hash from submit_proposal output and label the Proposal TX explicitly so agents use the correct hash as proposalTxHash. Co-Authored-By: Claude Opus 4.6 --- src/vector/governance.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vector/governance.ts b/src/vector/governance.ts index 80f0656..7f3f974 100644 --- a/src/vector/governance.ts +++ b/src/vector/governance.ts @@ -662,8 +662,7 @@ Each batch UTxO holds ~30 AP3X for adoption rewards.`, type: "text", text: `# Proposal Submitted (Validated) -**Transaction:** ${spendTxHash} -**Lock TX:** ${lockTxHash} +**Proposal TX (use this for critiques/endorsements):** ${spendTxHash} **Stake:** ${stakeApex} AP3X **Type:** ${proposalType} **Priority:** ${priority} @@ -676,6 +675,8 @@ ${ipfsCid ? `**IPFS CID:** ${ipfsCid}\n**Hash (auto-computed):** ${finalHash}` : Proposal submitted with on-chain validation. Proposal token (\`prop_\`) and activity tracking token (\`pact_\`) minted. Visible on the Foundation dashboard. +> **Note:** When submitting critiques or endorsements, use the Proposal TX hash above as the \`proposalTxHash\`. + [View on Explorer](${explorerTxLink(spendTxHash)})`, }], };