{"trace":{"id":"trace_864732b9-d255-4676-99f8-7470536eed82","createdAt":"2026-07-29T13:22:04.544+00:00","mode":"sandbox","senderNode":"fiber-devnet-sender-01","receiverNode":"fiber-devnet-receiver-09","amount":500,"asset":"CKB","status":"replayed","latencyMs":84,"failureStage":"capacity_probe","failureFingerprint":"ROUTE_CAPACITY_INSUFFICIENT","events":[{"id":"event_15b25b63-ae56-44b3-b2fe-6c223c74b108","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":0,"stage":"request_received","message":"Payment attempt created for 500 CKB","severity":"info"},{"id":"event_ce8b3a05-8dc2-4a6a-bbce-cfa34d947da9","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":8,"stage":"invoice_validation","message":"Invoice fields parsed","severity":"success"},{"id":"event_ef9836d9-0bae-420a-a49c-b9fc2e54c10c","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":18,"stage":"route_discovery","message":"Candidate routes loaded from sandbox graph","severity":"info"},{"id":"event_6d1bdb47-e718-4aa6-a2a3-927c68e434f1","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":50,"stage":"policy_check","message":"Route policies evaluated","severity":"info"},{"id":"event_736eed28-a88e-4be5-89fe-9cf7b8dcac56","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":62,"stage":"capacity_probe","message":"Candidate path capacity: 320 CKB available for 500 CKB request","severity":"warning"},{"id":"event_576f1296-6beb-4c0d-b031-d0e66710a4fc","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","timestampMs":84,"stage":"capacity_probe","message":"Route capacity insufficient: max forwardable 320 CKB","severity":"error","metadata":{"sandbox":true,"fingerprint":"ROUTE_CAPACITY_INSUFFICIENT"}}],"replayResults":[{"id":"replay_b40a88ed-727e-442f-9d94-c23f6a884a57","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"same_conditions","changedCondition":"Original amount, route, peer state, fee limit, timeout, and asset unchanged","result":"failed","latencyMs":91,"explanation":"The original failure reproduces under the same conditions, confirming the fingerprint is stable.","recommended":false},{"id":"replay_d0160b48-551c-4e8e-9efd-0f32d682f587","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"reduced_amount_80","changedCondition":"Reduced amount to 80%: 400 CKB","result":"failed","latencyMs":70,"explanation":"400 CKB still exceeds the constrained route capacity, so the payment fails again.","recommended":false},{"id":"replay_36544e16-458f-4bdd-983c-cd719d7bfa8e","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"reduced_amount_64","changedCondition":"Reduced amount to 64%: 320 CKB","result":"success","latencyMs":58,"explanation":"320 CKB matches the observed maximum forwardable capacity and settles.","recommended":true},{"id":"replay_fa659aff-2a56-44ee-958d-4a67c25638cb","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"increased_outbound_capacity","changedCondition":"Added exact outbound route capacity deficit: 180 CKB","result":"success","latencyMs":66,"explanation":"Adding 180 CKB raises route capacity to the original payment amount and removes the constrained hop.","recommended":false},{"id":"replay_0d6d5d15-5fab-4f9c-8127-f5f01fcbdc11","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"alternate_route","changedCondition":"Selected alternate route excluding the failing condition","result":"success","latencyMs":73,"explanation":"A route with different hops avoids the original failure point with slightly higher latency.","recommended":false},{"id":"replay_6d510d1c-ce66-4022-93d1-7f4e2a003810","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"split_payment","changedCondition":"Split payment into 250 CKB + 250 CKB","result":"failed","latencyMs":79,"explanation":"The route has only 320 CKB total forwardable capacity. After the first part, the same static route cannot carry the second part, so the full 500 CKB payment is not completed.","recommended":false}]},"diagnosis":{"traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","fingerprint":"ROUTE_CAPACITY_INSUFFICIENT","title":"Route capacity insufficient","explanation":"A route was discovered, but the available forwarding capacity was lower than the requested payment amount.","likelyCauses":["Outbound liquidity is below the payment size","One hop has a lower max HTLC than the payment amount","The route can carry smaller payments but not this full amount"],"suggestedFixes":["Reduce amount to the largest successful replay amount","Add outbound route capacity on the constrained hop","Use an alternate route with enough capacity for the full payment"],"confidence":"high","replayStrategies":["reduced_amount_80","reduced_amount_64","increased_outbound_capacity","alternate_route","split_payment"]},"smallestFix":{"id":"replay_36544e16-458f-4bdd-983c-cd719d7bfa8e","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"reduced_amount_64","changedCondition":"Reduced amount to 64%: 320 CKB","result":"success","latencyMs":58,"explanation":"320 CKB matches the observed maximum forwardable capacity and settles.","recommended":true},"recommendation":{"title":"Smallest route-capacity fix","summary":"Replay showed the original 500 CKB payment fails, 80% still fails, and a partial payment of 320 CKB succeeds. Splitting over the same static route does not complete the original total; exact outbound capacity repair and an alternate route succeeded.","primaryAction":"Send at most 320 CKB now as a partial payment, or add capacity to send the full 500 CKB.","operatorAction":"If the operator controls liquidity, add at least 180 CKB outbound route capacity.","confidence":"high","primaryResult":{"id":"replay_36544e16-458f-4bdd-983c-cd719d7bfa8e","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"reduced_amount_64","changedCondition":"Reduced amount to 64%: 320 CKB","result":"success","latencyMs":58,"explanation":"320 CKB matches the observed maximum forwardable capacity and settles.","recommended":true},"alternatives":[{"id":"replay_fa659aff-2a56-44ee-958d-4a67c25638cb","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"increased_outbound_capacity","changedCondition":"Added exact outbound route capacity deficit: 180 CKB","result":"success","latencyMs":66,"explanation":"Adding 180 CKB raises route capacity to the original payment amount and removes the constrained hop.","recommended":false},{"id":"replay_0d6d5d15-5fab-4f9c-8127-f5f01fcbdc11","traceId":"trace_864732b9-d255-4676-99f8-7470536eed82","scenario":"alternate_route","changedCondition":"Selected alternate route excluding the failing condition","result":"success","latencyMs":73,"explanation":"A route with different hops avoids the original failure point with slightly higher latency.","recommended":false}]},"liveFixRecommendations":[],"liveVerifications":[],"evidenceProvenance":{"traceSource":"sandbox","replayMode":"deterministic sandbox replay","liveMutation":"no","rpcMethods":[],"notes":["Sandbox events are deterministic and safe for repeatable demos and CI.","Replay-to-Fix changes simulated route conditions without moving funds."]},"suggestedNextActions":["Reduce amount to the largest successful replay amount","Add outbound route capacity on the constrained hop","Use an alternate route with enough capacity for the full payment","Send at most 320 CKB now as a partial payment, or add capacity to send the full 500 CKB.","If the operator controls liquidity, add at least 180 CKB outbound route capacity."],"disclosure":"Sandbox mode: deterministic simulated Fiber payment conditions are used for repeatable diagnostics."}