Skip to content

Commit bf7ffa7

Browse files
committed
Tighten TBV agent runbook safety
1 parent 789fd14 commit bf7ffa7

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/trustless-bitcoin-vault/reference/agent-runbook.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Before wallet-affecting actions, confirm:
4444
* borrow amount and asset
4545
* full or partial repay intent
4646
* fresh run or resume
47-
* whether recovery artifacts should be downloaded before activation
47+
* whether recovery artifacts must be downloaded before activation
4848

4949
Do not invent default amounts for wallet actions. If funded test assets are missing, pause and ask the user to fund through the public Testnet faucet process.
5050

@@ -58,12 +58,13 @@ Do not invent default amounts for wallet actions. If funded test assets are miss
5858
6. Complete UniSat and Ethereum wallet signing steps.
5959
7. Wait for Bitcoin confirmations and provider-side verification.
6060
8. Complete payout and recovery signing checkpoints when prompted.
61-
9. Download recovery artifacts if requested.
62-
10. Activate the vault.
61+
9. Download and back up recovery artifacts before activation, or explicitly confirm that skipping them removes the depositor self-claim fallback.
62+
10. Activate the vault only after the artifact checkpoint is complete.
6363
11. Borrow the confirmed asset and amount.
6464
12. Repay the intended amount, using max/full only when requested.
65-
13. Select the relevant vault row if withdraw controls are disabled.
66-
14. Initiate withdraw and record the final app-side state.
65+
13. If repayment was partial, stop and record the updated position unless the user separately confirms a partial collateral withdrawal, target vault subset, and acceptable post-withdrawal health factor.
66+
14. If debt is fully repaid, select the relevant vault row if withdraw controls are disabled.
67+
15. Initiate withdraw and record the final app-side state.
6768

6869
Report app-side withdraw initiation separately from BTC-side settlement. `Withdraw Initiated`, `Pending Withdraw`, and final Bitcoin payout are different states.
6970

0 commit comments

Comments
 (0)