Which Gestation Repo Provisions Decide a Counterparty Workout?
The gestation repo provisions that decide a counterparty workout are four. They are the definition that places a mortgage-loan repo inside the Bankruptcy Code’s safe harbor, the margin and valuation clauses, the eligibility and revaluation rights the buyer holds alone, and the acceleration and cross-default terms. On the documents we read, none of them turns on whether the transfer is a sale or a secured financing, the question the earlier version of this article put first.
The one definition of a gestation facility we read says it finances loans a seller has identified as qualified for certification toward a pool. One 2019 master repurchase agreement filed by a public non-bank lender defines a “Gestation Facility” as “any Debt, whether accounted for as a sale or a financing, the purpose of which is to purchase or finance Mortgage Loans originated by a Seller which such Seller has identified as fully qualified for initial certification for the purpose of creating a pool of Mortgage Loans to support the issuance of a Security.” The agreement is a committed repurchase facility for loans held for whole loan sale or securitization, and the word gestation appears in it once, in that definition. This article reads that agreement whole, with the Securities Industry and Financial Markets Association (SIFMA) Master Repurchase Agreement of September 1996 and its annexes. It reads the Bankruptcy Code sections the forms cite, with the exceptions stated below, and four decisions on mortgage repos in a counterparty’s bankruptcy, two on mortgage loans and two on mortgage-backed securities. It reads the Financial Stability Oversight Council’s (FSOC’s) May 2024 report on nonbank mortgage servicing. Not read: any agreement filed under the gestation label, and any agency rule on gestation financing. We found no such agreement among the 334 documents the Securities and Exchange Commission’s full-text search returned on October 13, 2026, for the word with “master repurchase agreement.” Also not read in their own text: Sections 555, 562, and 741; Section 546 beyond its subsection (f); Section 548; Section 561 beyond its subsection (a); and Section 101 beyond paragraphs (46) and (47). We have written separately on how a warehouse margin call is calculated, on when a warehouse advance comes due, and on warehouse lending in 2026.
Is a gestation repo a “repurchase agreement” the safe harbor reaches?
A gestation repo of mortgage loans is a “repurchase agreement” the safe harbor reaches if it meets the Bankruptcy Code’s definition, and the one court among the decisions we read to decide the question for mortgage loans stopped there. Section 101(47) has covered “mortgage loans, interests in mortgage related securities or mortgage loans” since 2005; the text in force before that amendment named only certificates of deposit, bankers’ acceptances, and government securities. The transfer must be against funds, with a simultaneous agreement to transfer loans or interests of that kind back “at a date certain not later than 1 year after such transfer or on demand.” Section 559 then provides that the exercise of “a contractual right of a repo participant or financial participant to cause the liquidation, termination, or acceleration of a repurchase agreement” because of a condition of the kind in Section 365(e)(1) “shall not be stayed, avoided, or otherwise limited by operation of any provision of this title.” Section 365(e)(1)’s conditions are insolvency or financial condition, the commencement of a case, and the appointment of or taking possession by a trustee, or by a custodian before the case.
In In re American Home Mortgage, Inc., 379 B.R. 503 (2008), the Delaware bankruptcy court took up the debtors’ request that it decide whether the facility was in substance a secured financing. The decision followed the first phase of a bifurcated trial. The facility held loans about 30 days pending sale or securitization, with a 180-day outside date. The debtors argued the contract “lacks all indicia of a ‘true’ repurchase agreement and, in substance, is a secured financing,” citing case law and the model form. The court answered that “[t]he model form and the case law cited by the Debtors are not the statute,” that “if the definition of ‘repurchase agreement’ is met, the section 559 safe harbor provisions apply, period,” and that Section 101(54) defines “transfer” “to include the creation of a lien,” so even a facility that created only a lien would qualify. It quoted the 2005 legislative history as “intended to eliminate any inquiry under section 555 and related provisions as to whether a repurchase or reverse repurchase transaction is a purchase and sale transaction or a secured financing.”
The same decision severed servicing. Because the seller sold the loans “on a servicing retained basis,” the court held that the servicing portion of the contract was severable, was neither a “repurchase agreement” nor a “securities contract,” and stayed in the estate; the buyer could liquidate the loans but could not compel transfer of the servicing. The 1996 form takes both positions at once: Paragraph 6 states that “the parties intend that all Transactions hereunder be sales and purchases and not loans” and, “in the event any such Transactions are deemed to be loans,” deems the seller “to have granted to Buyer a security interest in” the Purchased Securities. Paragraph 19 recites that each Transaction is a “repurchase agreement” under Section 101, “except insofar as the type of Securities subject to such Transaction or the term of such Transaction would render such definition inapplicable,” and that the right to liquidate “is a contractual right to liquidate such Transaction as described in Sections 555 and 559.” The 2019 agreement does the same in its Sections 9 and 36, adds that its security agreement is one “as defined under Section 101(47)(v),” and in Section 25 agrees to treat each Transaction “as indebtedness of the Sellers that is secured by the Purchased Assets” for tax purposes. On servicing, the 2019 agreement sells each loan “on a servicing released basis” in Section 10(b), pledges “all servicing rights related to the Purchased Assets” in Section 9(a), and sells the loans “on a servicing released basis” again on liquidation in Section 15(a)(iv), unless a servicer other than the seller or its affiliate already owns the servicing rights. In our view the thing to worry about is whether the facility meets the definition on its own terms, and whether the servicing on the loans sits inside the safe harbor or outside it.
What does the margin clause actually say?
The margin clause in the documents we read says the buyer calls, the seller performs within a day or two, and a miss is an Event of Default. Paragraph 4(a) of the 1996 form provides that on a Margin Deficit “Buyer may by notice to Seller require Seller” to transfer cash or additional securities; under Paragraph 4(c) the seller meets a notice given “at or before the Margin Notice Deadline” by “the close of business in the relevant market on such day,” and a later notice by the close of the next business day. Market Value is “the price for such Securities on such date obtained from a generally recognized source agreed to by the parties or the most recent closing bid quotation from such a source.” Paragraph 11(iii) makes a failure to comply with Paragraph 4 an Event of Default.
The 2019 agreement covers loans rather than securities, and its clause is longer but points the same way. Section 5(a) provides that on a Margin Deficit “the Agent shall by notice to the Sellers” require cash or “Eligible Assets approved by the Agent in its sole discretion,” due “on the next Business Day” for a notice delivered by 4:00 p.m., New York time, and on the second Business Day otherwise. Section 14(a) makes a default in any “Margin Deficit payment on the date due” an Event of Default. The agreement’s “Asset Valuation Amount,” which a “Purchase Price Percentage” then discounts to the Asset Value, is the lowest of four numbers: unpaid principal balance, net acquisition cost, the weighted average price under the investor commitments that could cover the loan, or “market value, as determined by the Agent (in cooperation with the Custodian), based upon whole loan prices currently available, as and when the Agent, in its sole discretion (with no requirement to do so), chooses to calculate market value.” The first three are “as determined by the Sellers as of the Purchase Date (or other applicable date)” and reported to the Custodian; the fourth is the Agent’s, and the Agent or the Custodian may obtain “third party market pricing information” at the Sellers’ expense. Section 4(f) adds that the Agent “reserves the right, but shall have no obligation, to revalue any Purchased Asset to its market value.” Section 13(c)(iv) requires the seller to report any margin call it receives under another residential mortgage funding facility. The FSOC’s 2024 report describes the same mechanics on warehouse lines to nonbank mortgage companies, its “NMCs”: lenders “typically finance 90 percent to 95 percent of the loan value,” a drop in value means “the NMC will need to post more cash collateral,” and “each warehouse lender may worry that other warehouse lenders will also ask for additional cash collateral,” which “could lead warehouse lenders to quickly enforce covenants and impose higher margin requirements during periods of heightened volatility or strain.”
Among the decisions we read, what a court does with a disputed call is on the record once. In In re TMST, Inc., 518 B.R. 329 (2014), the Maryland bankruptcy court heard a Chapter 11 trustee allege that buyers of mortgage-backed securities under the 1996 form, most with pricing annexes, made “over $150 Million in additional margin calls” within hours of its annual report on Form 10-K and “$610 Million in additional margin calls” by the sixth day, on “improper pricing,” and that the calls forced a restructuring. The court dismissed the constructive-fraud and preference counts because the workout payments were “in connection with” repurchase agreements under the Section 546 safe harbors. It let the Bankruptcy Code actual-fraud counts survive, all but one, as pleaded with the specificity Federal Rule of Civil Procedure 9(b) requires. Those counts sit outside the Section 546 safe harbors, which except transfers avoidable under Section 548(a)(1)(A). It dismissed the state-law actual-fraud counts as within those safe harbors. It let the duress count and the two breach counts survive, noting that the complaint pleaded a right “to a reasonable exercise of the ‘sole discretion’ as to valuation,” and it said in a footnote that it “makes no finding as to the Plaintiff’s allegations that the margin calls were improperly made or coercive.” In our view the thing to worry about is which number the clause uses and who picks it.
What happens to setoff and netting when the seller files?
When the seller files, a repo participant’s contractual right to set off or net amounts arising under or in connection with the repurchase agreement is not stayed and sits outside the 90-day recovery rule. Section 362(b)(7) excepts from the stay “the exercise by a repo participant or financial participant of any contractual right (as defined in section 559)” under any security agreement or credit enhancement related to a repurchase agreement, and any such right “to offset or net out any termination value, payment amount, or other transfer obligation.” Section 559 defines “contractual right” to include a right “whether or not evidenced in writing, arising under common law, under law merchant or by reason of normal business practice.” Section 553 lists setoffs of the kind described in Section 362(b)(7) and Section 559 among the exceptions to its 90-day recovery rule, and Section 561(a), “[s]ubject to subsection (b),” protects the right to “offset or net termination values, payment amounts, or other transfer obligations” across repurchase agreements and master netting agreements. Section 559 also provides that, where the buyer has agreed to deliver assets subject to repurchase agreements back to the debtor, any excess of liquidation proceeds over the repurchase prices and expenses “shall be deemed property of the estate, subject to the available rights of setoff.”
Paragraph 12 of the 1996 form provides that all Transactions “constitute a single business and contractual relationship,” that each party may “set off claims and apply property held by them in respect of any Transaction against obligations owing to them in respect of any other Transactions,” and that payments “may be applied against each other and netted”; Paragraph 19(d) recites that the agreement is a “netting contract” under the Federal Deposit Insurance Corporation Improvement Act of 1991 (FDICIA). The 2019 agreement’s Section 20 repeats the single-agreement clause, its Section 36(d) repeats the FDICIA recital, and its Section 21 adds a setoff, once any amount is due and payable, “without prior notice to the Seller” against “any and all deposits (general or special, time or demand, provisional or final)” the Agent or any Buyer holds for the sellers, with four carve-outs, the first for “any deposit of escrow monies being held on behalf of the mortgagors under Purchased Assets or on behalf of other third Persons that are not Affiliates of Seller.” In our view the thing to worry about is how far the setoff reaches. Under the 2019 agreement it reaches every deposit the Agent or any Buyer holds for the sellers outside its four carve-outs, and the escrow carve-out is the one that touches borrower money.
Who decides whether a loan is still eligible?
Under the 2019 agreement the Agent holds the determination that zeroes a loan it reads as unsaleable and the waiver of any eligibility failure, and the form of 1996 has no eligibility concept to decide. The 1996 form’s “Securities” are “securities or other assets”; the word eligible does not appear in it. The 2019 agreement defines 10 asset types, prices each by a redacted percentage that changes with time on the line, in one row to zero, and sets “Sublimits” by type and a “Cumulative Sublimit” across types. Its Asset Value “shall be zero” on five grounds, among them if a loan “ceases to be an Eligible Asset,” if the note has been out of the custodian’s possession beyond a redacted period, and if “the Agent has determined (which determination shall be made in a commercially reasonably manner) that the Purchased Asset is not eligible for whole loan sale or securitization in a transaction consistent with the prevailing sale and securitization industry for assets of substantially the same type.” A separate paragraph provides that “the Agent in its sole discretion may approve Transactions which are not in strict compliance with the eligibility or sublimit requirements,” up to a redacted aggregate, and may waive strict compliance for a redacted period where eligibility “cannot be independently determined because of events beyond the reasonable control of the Sellers.”
The agreement also says what happens when a seller breaks a loan-level covenant. The “Basic Eligibility Requirements” list five covenants, among them not to modify a loan in a way that “materially and adversely affects the Asset Value” and to hold escrow funds “in trust, without commingling,” and the lead-in provides that for a breach of those covenants “the sole remedy for which shall be the removal of such Mortgage Loan as Eligible Asset.” Section 14(b) repeats the point for the Asset Value representations: a false one means the loan “shall cease to be an Eligible Asset as the sole remedy for such failure.” The FSOC report records the same lever at the facility level, listing among the risks that lenders “may reprice or restructure the lines, for example by raising interest rates, changing the types of acceptable mortgage collateral, or curtailing or canceling the lines altogether,” and that “[a]n estimated 55 percent of the lines were uncommitted in the fourth quarter of 2023.” In our view the thing to worry about is the zero. A loan the Agent reads as unsaleable carries an Asset Value of zero on the next Mark-to-Market.
When can the buyer accelerate, and what does it owe back?
The buyer can accelerate on any Event of Default at its option, and the forms deem the option exercised the moment the seller’s insolvency event occurs. What it owes back is any excess over the repurchase prices and the liquidation expenses, measured as the agreement and the statute say. Paragraph 11(a) of the 1996 form provides that the nondefaulting party “may, at its option (which option shall be deemed to have been exercised immediately upon the occurrence of an Act of Insolvency), declare an Event of Default,” whereupon “the Repurchase Date for each Transaction hereunder shall, if it has not already occurred, be deemed immediately to occur.” Paragraph 11(d) then lets it “immediately sell, in a recognized market (or otherwise in a commercially reasonable manner)” or “give the defaulting party credit” at a price “obtained from a generally recognized source or the most recent closing bid quotation from such a source.” Section 15(a)(i) of the 2019 agreement gives the Agent the same option, one it “may exercise in its sole discretion, and shall exercise at the direction of the Majority Buyers,” deemed exercised “automatically and immediately upon the occurrence of an Event of Insolvency of any Seller,” and Section 15(a)(iv) lets it sell “at a public or private sale or sales and at such price or prices as the Agent may deem satisfactory” on the Business Day after notice, with a credit bid. Section 26 adds a route that needs no Event of Default: on a “Termination Event,” which the agreement defines to include a “Change of Control” and a “Change in Executive Management,” the Majority Buyers “may elect that the Repurchase Date for each Transaction hereunder, if it has not already occurred, shall be deemed immediately to occur.”
The Events of Default in the 2019 agreement include a cross-default. Section 14(e), headed “Debt,” fires on four events: a seller’s or a subsidiary’s failure “to pay when due any Debt (other than the Obligations)”; any default beyond its grace period, if it has one, or any other event or condition whose effect is “to cause, or to permit the holder or holders of such Debt to cause, such Debt to become due prior to its stated maturity”; any such Debt being “declared to be due and payable or required to be prepaid or repurchased (other than by a regularly scheduled payment) prior to the stated maturity thereof”; and a seller or a subsidiary that “shall not pay, or admit in writing its inability to pay, its debts generally as they become due.” Its defined Debt includes “obligations of such Person under residential mortgage loan repurchase agreements or like arrangements,” but not an indemnification or contingent purchase agreement with an “Approved Investor” that could require a repurchase. Section 13(gg) goes further, providing that any “more burdensome” covenant or event of default in another residential mortgage funding facility “shall be deemed incorporated into” the agreement by reference. The FSOC report lists as the fourth risk on warehouse lines that they “generally have cross-default provisions so that an NMC default on one warehouse line can trigger an event of default on other lines,” and that “[t]hese provisions can trigger run dynamics as well.”
Two decisions say what the buyer gets and gives back. In In re American Home Mortgage Holdings, Inc., 637 F.3d 246 (3d Cir. 2011), the agent accelerated a $1.14 billion mortgage-loan repo five days before the petition. It held the loans rather than sell them into what every party agreed was a dysfunctional market, and it claimed a $478 million deficiency as of a date a year later. The Third Circuit affirmed the bankruptcy court’s ruling that a commercially reasonable determinant of value existed on the acceleration date, so Section 562 fixed the measurement there, that “commercially reasonable determinants of value” are not limited to a sale price, that a discounted cash flow value of the portfolio was one, and that because that value exceeded the repurchase price the agent “has no deficiency claim and therefore no damage claim.” In In re HomeBanc Mortgage Corp., 945 F.3d 801 (3d Cir. 2019), a mortgage-backed securities repo under a 2005 master repurchase agreement and a global master repurchasing agreement governed by English law, the same court held that Section 559 “can apply to a non-breaching party that has no excess proceeds,” that the safe harbor “is contingent on its adherence to” the agreement’s valuation term, and that an auction in which the buyer’s own trading desk won the nine securities with an all-or-nothing bid for 36 met a “reasonable opinion” standard, because “a declining market” is not “a dysfunctional one.” The court conceded that its reading “may incentivize bad behavior,” a buyer pricing the collateral at the debt and never asserting a deficiency, and added that “[t]he nature of repos, however, provides parties with the opportunity to address this issue contractually.” In our view the thing to worry about is the valuation term the agreement carries into the liquidation.
The facts the answer turns on
In our view the thing to worry about is who holds the pen on value. In the 2019 agreement the Sellers determine three of the four “Asset Valuation Amount” inputs, the fourth is the market value the Agent determines with the Custodian, calculated “as and when the Agent, in its sole discretion (with no requirement to do so), chooses to calculate market value,” and the loan is valued at the lowest of the four.
In our view, which of the four provisions decides a particular workout turns on the particular agreement. The facts are whose paper it is, what it says each number is and who computes it, whether the servicing sits inside the safe harbor, and what the market was when the buyer moved. The answer sits in the agreement’s own numbers and the statute’s own definition, and that is the work.
Goldsmith Associates is a leading provider of legal counsel to depository institutions, mortgage bankers, fund managers, loan servicers, and broker-dealers nationwide in connection with the purchase, sale, servicing, and financing of whole loans and servicing rights. Founded by Jason Goldsmith in 2015, Goldsmith Associates has represented its clients on 903+ secondary market transactions conveying more than $163 billion in mortgage-related assets. Visit us online at goldsmithpllc.com, email us at info@goldsmithpllc.com, call us at 833-4-GOLDSMITH, or follow us everywhere @goldsmithpllc. We are on call and at the ready 24/7.

