loopin: Route invoices over asset channels #1212
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.46) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 257 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #1212"
general
weight: 0.35
sputn1ck
Summary
compressed group key, an explicit edge, and a minimum asset-unit output.
GetLoopInQuote,and display those terms before CLI confirmation. Execution obtains a fresh
RFQ and rejects output below the user-approved minimum before funding.
requires a quote covering the full 30-day invoice lifetime.
Monitor, including asset-only filtering and restart recovery.
before releasing the preimage. Cancel payments below the minimum after
per-HTLC rounding; on-chain funds then follow the normal timeout recovery
path, which can delay recovery and incur an on-chain fee.
the quote and settlement behavior.
Invoices remain BTC/msat-denominated BOLT 11 invoices. The selected edge's
RFQ converts the amount into asset units. A quote-only request creates and
immediately cancels a temporary hold invoice because tapd has no quote-only
RPC for this BTC-denominated receive flow. The built-in one-hour mock oracle
is insufficient for execution.
Testing
GOWORK=off go test ./...make lint workers=4,make rpc, and generated CLI documentation checkspersisted asset terms, shared status marshalling and asset-only filtering
asset-ID/group-key selection, exact-minimum forced MPP, physical channel
balance deltas, pre-funding quote rejection, and client restart recovery
Pull Request Checklist
docs/release-notes/release-notes-next.md