AI for Investors
Get The Brief
✓ Tested Nov 5, 2026Original workflowExample data

The covenant compliance check

From a borrower's compliance certificate, financials and covenant definitions to a line-by-line recalculation of every covenant, with each number traced to a source line and the judgment calls sent to the deal team. Shown on a made-up borrower.

Reviewed by the editor

For
Private credit · Direct lenders · BDCs
Run time
1 to 2 hr → 25 min
Tested on
Ridgeline Example Packaging (made-up data)
Spend
Existing AI seats
  1. 01Build a recalculation table, not the memo1 min 53 s · Claude Code CLI, no files or web

    Feed the compliance certificate, the quarterly financials and the covenant definitions and levels from the credit agreement, with an ID on every line. Ask for one row per line the covenants depend on: the borrower's figure, your recalculated figure, the source lines, the arithmetic and a status. Tell it to use restated figures, apply every cap and exclusion as written, and where a definition can be read two ways, carry both readings to the ratios instead of picking one. The deal team approves this table, so the memo can only say what the table supports.

    Prompt
    You are a portfolio monitoring analyst at a private credit lender. Below are a borrower's quarterly compliance certificate (F1), its quarterly financial statements (F2) and the covenant definitions and levels from the credit agreement (F3). All of it is example data. Every line has an ID such as F1.07 or F3.02.
    
    Task: build a RECALCULATION TABLE, not the memo yet.
    1. One row per line the covenants depend on: each EBITDA component and add-back, each cap, each debt and cash item, each Fixed Charges item, each covenant ratio and each covenant level.
    2. Columns: ID (R1, R2...), Item, Borrower's figure (with the F1 line), Recalculated figure, Source lines (the F2 and F3 lines you used), Working (the arithmetic, shown), Status (Agrees / Differs / Judgment call).
    3. Recompute everything from F2 and the F3 definitions. Do not copy a borrower figure unless F2 supports it. Use restated figures where F2 restates a quarter. Apply every cap and exclusion in F3 exactly as written.
    4. Where a definition can reasonably be read more than one way, do not pick one. Mark it "Judgment call", compute each reading, and carry both readings through to the ratios.
    5. After the table, give a covenant summary: covenant, level for this test date, borrower's figure, recalculated figure (each reading where there are two), and the headroom.
    6. Then list "Items for the deal team": each difference from the certificate, each judgment call, and anything to ask the borrower for. Describe what the numbers show. Do not state whether a default has occurred or give legal conclusions; that is for the deal team and counsel.
    7. Ratios to two decimals; amounts in $ thousands as in the inputs. Never fill a missing number from memory.
    
    Output Markdown only.
    
    INPUTS:
    [paste F1, F2 and F3]
    In our run

    It produced 39 rows and caught all eight problems we planted: the restated quarter, the gain on sale left in EBITDA, the uncapped add-backs, the escrowed cash, the cash netting cap, last quarter's leverage level, the coverage arithmetic, and the ambiguous plant costs, which it carried as two readings. It also noticed that the definition, read literally, leaves run-rate savings with nothing to add back, but it didn't compute that case.

  2. 02Draft the memo from the table only48 s · A fresh session, no files or web

    A new session turns the approved table into a covenant summary, a list of differences from the certificate, questions for the borrower and judgment calls for the deal team, plus a short note, with an [R#] tag on every line. Tell it not to add anything that isn't in the table and not to say whether a default has occurred.

    Prompt
    Using ONLY the approved recalculation table below, draft the covenant compliance memo for the deal team on Ridgeline Example Packaging (example data), test date September 30, 2026.
    
    Output four parts:
    1. Covenant summary: a table with Covenant, Level, Borrower reported, Recalculated, Headroom, [R#]. Where the table has two readings, show both.
    2. Differences from the certificate: one line each, with the borrower's figure, the recalculated figure, the reason and the [R#].
    3. Items for the deal team: questions for the borrower and judgment calls for the deal team and counsel, one line each, with [R#].
    4. Summary note: about 150 words, factual, no adjectives about the borrower or management. End every sentence with its [R#]. Do not say whether a default has occurred and do not give legal conclusions.
    Do not add anything that is not in the table.
    
    RECALCULATION TABLE:
    [paste the approved recalculation table]
    In our run

    Every number matched the table. But the note said the recalculation did "four things" and listed five, the borrower's coverage headroom was built on the certificate's wrong ratio, one percentage mixed two bases, and it compared this quarter's leverage to the March 2027 level.

  3. 03Independent recalculation and check3 min 22 s · A second model, read-only

    A second reviewer recomputes EBITDA and every ratio from the financials and the definitions on its own, then checks every number and statement in the memo for arithmetic, definition errors, unsupported claims and conclusions stronger than the numbers. Use a different model from the drafter if you can.

    Prompt
    You are an independent credit reviewer checking a draft covenant compliance memo before it goes to the deal team. Below are the draft (with [R#] tags), the recalculation table it was built from and the original inputs: the compliance certificate (F1), the quarterly financials (F2) and the credit agreement definitions (F3).
    First recompute Consolidated EBITDA, the Total Net Leverage Ratio, the Fixed Charge Coverage Ratio and Liquidity yourself from F2 and F3 only, without relying on the table, and show your working.
    Then, for EVERY number, ratio and statement in the draft, output a row in a Markdown table:
    | # | Item (short) | Cited | Value in draft | Your recomputation from F1-F3 | Verdict |
    Verdicts: MATCH, MISMATCH, ARITHMETIC (a calculation error), DEFINITION (applies an F3 definition, cap or level wrongly), UNSUPPORTED (not in F1-F3), OVERSTATED (a conclusion stronger than the numbers or the agreement support).
    Then list anything in F1-F3 the draft left out that the deal team should see. Be strict. Then list each fix with exact corrected wording.
    In our run

    It rated 88 items and reproduced every planted fix. It caught all six slips we later fixed in the draft and listed the missing December 31 test date. It pressed hard on the literal reading of the savings add-back, which puts leverage above 4.75x under both readings. It also went further than the inputs allow, saying the draft "should not circulate as an unqualified compliance memo" and asking for the literal case to lead.

  4. 04Tie out every number to the source yourselfNon-negotiableabout 15 min · The certificate, the financials and the agreement

    Check each recalculated number against the financials and the definitions, not against the AI's table. Redo each division. Confirm the covenant level for this test date. Then decide what the two models disagree on, and keep the memo to what the numbers show. This is the step you can't skip, because the AI steps only checked each other.

    In our run

    All 23 items tied out against the inputs and against an answer key we wrote before the run. We made six fixes and added two items: the literal-reading case, as a separate question for counsel, and the December 31 test date. We kept Codex's stronger wording out of the memo: it describes the numbers, and the deal team and counsel decide what they mean.

  5. 05Send to the deal teamabout 5 min · The deal team, then counsel and the borrower

    Keep the recalculation table and the checking notes with the certificate. The deal team settles the judgment calls with counsel and sends the borrower its questions. Nothing about the borrower changes in your systems until they do.

Sample output

The covenant memo after checking, unedited apart from the fixes listed below. Everything in it is example data about a made-up borrower and a made-up credit agreement. Each chip links to the input file it came from.

Ridgeline Example Packaging · Q3 2026 certificateExample data · not a real borrower

Ridgeline Example Packaging: covenant check for the quarter ended September 30, 2026

EXAMPLE DATA. Made-up borrower, lender and credit agreement. Certificate delivered November 4, 2026. $ in thousands (USD). Reading A treats the 1,300 of plant consolidation costs as uncapped non-recurring charges, as the borrower did; reading B treats them as capped restructuring charges.

Covenant summary

Covenant or inputBorrower reportedRecalculated, reading ARecalculated, reading B
Total Net Leverage, maximum 4.75x at this date F33.99x, tested against 5.00x F14.43x, 0.32x under the level4.84x, 0.09x over the level
Fixed Charge Coverage, minimum 1.20x F32.69x; its own inputs give 2.30x F12.13x1.92x
Liquidity, minimum 7,500 at all times F317,200 F115,700 at quarter end F215,700 at quarter end F2
Consolidated EBITDA F319,000 F117,82516,330
Net debt for leverage F375,800 F179,00079,000
Literal reading of the savings add-back, for counsel F3Not considered F1EBITDA 16,400; leverage 4.82x; coverage 1.93xEBITDA 16,330; leverage 4.84x; coverage 1.92x

Differences from the certificate

  • Q1 2026 was restated: net income 400, not 700, and tax expense 150, not 250. The agreement uses restated figures, so EBITDA before adjustments is 14,400, not 14,800 (minus 400) F2F3.
  • The 600 gain on the Dayton equipment sale stayed in EBITDA. The definition subtracts gains on asset sales outside the ordinary course, and the financials say the company doesn't sell equipment in the ordinary course (minus 600) F2F3.
  • The 15% cap on restructuring, severance and run-rate savings wasn't applied. It allows 2,325 of the 2,500 claimed under reading A, or 2,130 of 3,800 under reading B (minus 175 or 1,670) F1F3.
  • 1,500 of cash held in escrow was counted as cash. Unrestricted Cash excludes it, which leaves 6,700 for the liquidity test F2F3.
  • All 8,200 of cash was netted against debt. The leverage definition nets no more than 5,000, so net debt is 79,000, not 75,800 F1F3.
  • Leverage was tested against 5.00x. That level applied at March 31 and June 30, 2026; it is 4.75x at September 30, 2026 F1F3.
  • The certificate's coverage ratio doesn't follow from its own lines: 16,300 divided by 7,100 is 2.30x, not 2.69x F1.

Items for the deal team

  • Judgment call for the deal team and counsel: are the 1,300 of plant consolidation costs non-recurring charges under clause (v), with no cap (reading A), or restructuring charges under clause (vi), inside the cap (reading B)? The answer puts leverage on one side of 4.75x or the other F2F3.
  • For counsel: read literally, the definition only adds back amounts deducted in net income, and projected savings never are. On that reading the 1,600 adds nothing and leverage is 4.82x (A) or 4.84x (B). It would also leave clause (vii) with nothing to do, which is why we show it separately F3.
  • Ask the borrower for a corrected certificate, a breakdown of the 1,300 by nature, and the projection behind the 1,600 of savings, including the date of the action the 12 months run from. The certificate counts from completion on August 31; the agreement counts from when the action is taken F1F2F3.
  • Ask whether the March 31 and June 30, 2026 certificates will be recalculated, since the restated Q1 sits in both test periods F2F3.
  • Ask for daily Unrestricted Cash and revolver usage for the quarter. Liquidity applies at all times and we have only the quarter-end balance F2F3.
  • Ask for the definition and basket behind the 500 dividend, which the excerpt doesn't include, and confirmation that there is no other debt for borrowed money F2F3.
  • Next test date: December 31, 2026, still at 4.75x. The level falls to 4.50x on March 31, 2027, on a different four quarters F3.

Summary note

The certificate for September 30, 2026 reports leverage of 3.99x against 5.00x F1. The level for this date is 4.75x F3. The recalculation uses the restated Q1 2026 figures, deducts the 600 gain on the Dayton equipment sale, applies the 15% cap on restructuring, severance and savings add-backs, excludes 1,500 of escrowed cash and nets no more than 5,000 of cash against debt F2F3.

That gives net debt of 79,000 and Consolidated EBITDA of 17,825 or 16,330, depending on how the 1,300 of plant consolidation costs are classified F2F3. Leverage is 4.43x on the first reading and 4.84x on the second F3. Fixed charge coverage is 2.13x or 1.92x against a 1.20x minimum, and the certificate's 2.69x doesn't follow from its own inputs F1F3. Liquidity at quarter end is 15,700 against 7,500 F2F3. The classification and the savings add-back go to the deal team and counsel F3.

Not concluded on purpose

Whether any of this is a default, and what follows from it. The excerpt has no default, cure or notice terms, and that call belongs to the deal team and counsel, not to a recalculation F3.

Headroom for March 31, 2027. That test uses a different four quarters, so we didn't project it from these numbers F3.

The example inputs

We wrote these and planted the problems on purpose: a restated quarter, a gain left in EBITDA, add-backs over their cap, escrowed cash counted as cash, a cash netting limit ignored, last quarter’s covenant level, a division that doesn’t work, and one item that can honestly be read two ways.

F1 · Borrower's compliance certificate, quarter ended Sep 30, 2026
EXAMPLE DATA. Fictional compliance certificate from Ridgeline Example Packaging, Inc. (a made-up borrower) to Example Credit Partners (a made-up lender), as Administrative Agent, delivered Nov 4, 2026 under Section 5.01(c) of the made-up Credit Agreement dated March 15, 2025. $ in thousands (USD).

COMPLIANCE CERTIFICATE, fiscal quarter ended September 30, 2026

The undersigned Chief Financial Officer certifies that the calculations below are true and correct and that the Borrower is in compliance with the Financial Covenants in Section 6.12 as of September 30, 2026.

Schedule 1: Consolidated EBITDA, four quarters ended Sep 30, 2026 (Q4 2025 | Q1 2026 | Q2 2026 | Q3 2026 | LTM)
F1.01 Consolidated Net Income: 1,050 | 700 | 500 | 150 | 2,400
F1.02 plus Interest expense: 1,450 | 1,450 | 1,500 | 1,550 | 5,950
F1.03 plus Income tax expense: 350 | 250 | 200 | 100 | 900
F1.04 plus Depreciation and amortization: 1,350 | 1,400 | 1,400 | 1,400 | 5,550
F1.05 EBITDA before adjustments: 4,200 | 3,800 | 3,600 | 3,200 | 14,800
F1.06 plus Non-cash stock compensation, clause (iv): LTM 400
F1.07 plus Non-recurring charges (plant consolidation costs), clause (v): LTM 1,300
F1.08 plus Restructuring charges and severance, clause (vi): LTM 900
F1.09 plus Run-rate cost savings from the Dayton consolidation, clause (vii): LTM 1,600
F1.10 Consolidated EBITDA: LTM 19,000

Schedule 2: Total Net Leverage Ratio, Section 6.12(a)
F1.11 Term Loan outstanding: 78,000
F1.12 Revolving Loans outstanding: 6,000
F1.13 Consolidated Total Debt: 84,000
F1.14 less Cash and cash equivalents: 8,200
F1.15 Consolidated Net Debt: 75,800
F1.16 Total Net Leverage Ratio (F1.15 / F1.10): 3.99x
F1.17 Maximum permitted: 5.00x. In compliance: Yes

Schedule 3: Fixed Charge Coverage Ratio, Section 6.12(b)
F1.18 Consolidated EBITDA: 19,000
F1.19 less Unfinanced Capital Expenditures: 2,000
F1.20 less Cash taxes paid: 700
F1.21 Numerator: 16,300
F1.22 Cash interest expense: 5,800
F1.23 Scheduled principal payments: 800
F1.24 Restricted Payments made in cash: 500
F1.25 Fixed Charges: 7,100
F1.26 Fixed Charge Coverage Ratio (F1.21 / F1.25): 2.69x
F1.27 Minimum permitted: 1.20x. In compliance: Yes

Schedule 4: Minimum Liquidity, Section 6.12(c)
F1.28 Cash and cash equivalents: 8,200
F1.29 Revolving Availability: 9,000
F1.30 Liquidity: 17,200
F1.31 Minimum required: 7,500. In compliance: Yes

F1.32 The run-rate cost savings in F1.09 are expected to be realized within 12 months of the Dayton consolidation, which was completed August 31, 2026.

Signed: Morgan Example (made-up name), Chief Financial Officer, Nov 4, 2026
F2 · Borrower's quarterly financial statements
EXAMPLE DATA. Fictional unaudited quarterly financial statements of Ridgeline Example Packaging, Inc. (a made-up borrower) for the quarter ended September 30, 2026, delivered with the compliance certificate on Nov 4, 2026. $ in thousands (USD).

Income statement items by quarter (Q4 2025 | Q1 2026 restated, see note 2 | Q2 2026 | Q3 2026)
F2.01 Revenue: 41,200 | 39,500 | 40,800 | 38,900
F2.02 Net income: 1,050 | 400 | 500 | 150
F2.03 Interest expense (see note 3): 1,450 | 1,450 | 1,500 | 1,550
F2.04 Income tax expense: 350 | 150 | 200 | 100
F2.05 Depreciation and amortization: 1,350 | 1,400 | 1,400 | 1,400
F2.06 Other income, included in net income: 0 | 0 | 600 | 0. The Q2 2026 amount is the gain on the sale of the Dayton line equipment (see note 4).
F2.07 Non-cash stock-based compensation, included in operating expenses: 100 | 100 | 100 | 100
F2.08 Plant consolidation costs, included in operating expenses: 0 | 0 | 500 | 800 (see note 5)
F2.09 Severance, included in operating expenses: 0 | 0 | 300 | 600 (see note 5)

Balance sheet at September 30, 2026
F2.10 Cash and cash equivalents: 8,200. Of this, 1,500 is held in escrow under the Dayton lease termination agreement until March 31, 2027 (see note 6).
F2.11 Term loan: 78,000
F2.12 Revolving loans: 6,000. Revolving commitments: 15,000. No letters of credit outstanding.

Cash flow items, four quarters ended September 30, 2026
F2.13 Capital expenditures: 2,000. None financed with Indebtedness.
F2.14 Income taxes paid in cash: 700
F2.15 Interest paid in cash: 5,800
F2.16 Scheduled principal payments on the term loan: 800
F2.17 Dividend paid in cash to Ridgeline Example Holdings LLC on Aug 14, 2026: 500

Notes
F2.18 Note 2, restatement: Q1 2026 has been restated to correct the capitalization of freight costs into inventory. Cost of goods sold increased by 400, income tax expense decreased by 100 and net income decreased by 300. Previously reported Q1 2026: net income 700, income tax expense 250.
F2.19 Note 3, interest: interest expense includes amortization of deferred financing costs of 150 for the four quarters, which is non-cash.
F2.20 Note 4, asset sale: in Q2 2026 the company sold the equipment of its Dayton production line, which it no longer needed after the consolidation, for a gain of 600. The company does not sell equipment in the ordinary course of business.
F2.21 Note 5, Dayton consolidation: in Q2 and Q3 2026 the company moved its Dayton production line into its Columbus plant, completed August 31, 2026. Plant consolidation costs (equipment moves, duplicate rent and line requalification) were 1,300. Severance for Dayton employees was 900. Management estimates annual run-rate savings of 1,600 from the consolidation, beginning in Q4 2026. No savings were realized in Q3 2026.
F2.22 Note 6, restricted cash: the 1,500 held in escrow is released to the landlord or the company on March 31, 2027, depending on the condition of the Dayton premises.
F3 · Credit agreement excerpt: covenant definitions and levels
EXAMPLE DATA. Fictional, simplified excerpt from a made-up Credit Agreement dated March 15, 2025 among Ridgeline Example Packaging, Inc., as Borrower, the Lenders party to it, and Example Credit Partners, as Administrative Agent. Written for this example. Not real contract language and not a model form. $ amounts in thousands.

F3.01 "Consolidated EBITDA" means, for any Test Period, Consolidated Net Income for that period plus, without duplication and to the extent deducted in calculating Consolidated Net Income: (i) interest expense; (ii) income tax expense; (iii) depreciation and amortization; (iv) non-cash stock-based compensation expense; (v) non-recurring or unusual losses, charges or expenses; (vi) restructuring charges and severance costs; and (vii) the amount of run-rate cost savings projected by the Borrower in good faith to be realized within 12 months after the action giving rise to them is taken, net of the actual benefits realized during the period; minus, to the extent included in Consolidated Net Income, (viii) gains on sales of assets outside the ordinary course of business and other non-recurring gains.
F3.02 Cap: the aggregate amount added back under clauses (vi) and (vii) for any Test Period shall not exceed 15% of Consolidated EBITDA for that Test Period, calculated before giving effect to any add-back under clauses (vi) and (vii).
F3.03 "Test Period" means the four consecutive fiscal quarters most recently ended. Financial statements for each quarter are to be used as most recently restated.
F3.04 "Consolidated Total Debt" means the aggregate principal amount of Term Loans, Revolving Loans and other Indebtedness for borrowed money outstanding.
F3.05 "Unrestricted Cash" means cash and cash equivalents of the Borrower that are not subject to any escrow, pledge (other than in favor of the Administrative Agent) or other restriction on use.
F3.06 "Total Net Leverage Ratio" means (a) Consolidated Total Debt minus Unrestricted Cash, with no more than $5,000 of Unrestricted Cash deducted, divided by (b) Consolidated EBITDA for the Test Period.
F3.07 "Fixed Charge Coverage Ratio" means (a) Consolidated EBITDA minus Unfinanced Capital Expenditures minus taxes paid in cash, divided by (b) Fixed Charges, in each case for the Test Period.
F3.08 "Fixed Charges" means cash interest expense plus scheduled principal payments of Indebtedness plus Restricted Payments made in cash.
F3.09 "Liquidity" means Unrestricted Cash plus Revolving Availability. "Revolving Availability" means Revolving Commitments minus Revolving Loans and letters of credit outstanding.
F3.10 Section 6.12(a), Total Net Leverage Ratio. As of the last day of any Test Period, not to exceed: March 31, 2026 and June 30, 2026: 5.00 to 1.00; September 30, 2026 and December 31, 2026: 4.75 to 1.00; March 31, 2027 and after: 4.50 to 1.00.
F3.11 Section 6.12(b), Fixed Charge Coverage Ratio. As of the last day of any Test Period, not less than 1.20 to 1.00.
F3.12 Section 6.12(c), Liquidity. At all times not less than $7,500.
23 claims checked15 verified6 corrected or rephrased2 added by the human check

Checking table

Every number and statement in the memo, tied out against the certificate, the financials and the agreement, not against the AI’s table. Of 23 items: 15 verified, 6 corrected or rephrased, and 2 added because the draft left out something the deal team needs.

ItemWhere we checkedResultNote
Q1 2026 restated: net income 400, tax 150F2.18; F3.03; F1.01, F1.03VerifiedEvery AI step used the restated figures. The certificate still had 700 and 250.
EBITDA before adjustments 14,400F2.02 to F2.05Verified4,200 + 3,400 + 3,600 + 3,200, recomputed by hand.
Stock compensation add-back 400F2.07; F3.01(iv)Verified
Gain on equipment sale deducted, 600F2.06, F2.20; F3.01(viii)VerifiedThe certificate has no line for it at all, so it's easy to miss by reading only the certificate.
15% cap: 2,325 allowed (A), 2,130 (B)F3.02VerifiedMatches the answer key we wrote before the run.
Plant consolidation costs: clause (v) or (vi)F2.21; F3.01(v), (vi)VerifiedThe planted ambiguity. Step 1 didn't pick a side; it carried both readings to the ratios, as the prompt asks.
Consolidated EBITDA 17,825 (A), 16,330 (B)F3.01 to F3.03Verified
Escrowed cash excluded; Unrestricted Cash 6,700F2.10, F2.22; F3.05Verified
Cash netted capped at 5,000; net debt 79,000F3.06Verified
Leverage level 4.75x at Sep 30, not 5.00xF3.10; F1.17VerifiedThe certificate tested against the level from the previous quarter.
Leverage 4.43x (A), 4.84x (B)F3.06, F3.10Verified79,000 / 17,825 and 79,000 / 16,330.
Certificate coverage 2.69x vs 2.30xF1.21, F1.25, F1.26VerifiedCaught by step 1 and again by Codex.
Fixed Charges 7,100, including the 500 dividendF2.15 to F2.17, F2.19; F3.08VerifiedCash interest 5,800 is 5,950 less 150 of non-cash amortization. The excerpt doesn't define Restricted Payments, so the dividend stays in as the certificate had it and goes on the question list.
Coverage 2.13x (A), 1.92x (B)F3.07, F3.11Verified
Liquidity 15,700F2.10 to F2.12; F3.09, F3.12VerifiedQuarter end only. The covenant applies at all times.
Literal reading of the savings add-backF3.01AddedNot a planted trap: a gap in how we wrote the example excerpt. Step 1 noticed it but didn't compute it. Codex insisted on the number (16,400 and 4.82x under A). We show it as a separate item for counsel.
Summary note: "four things"Step 2 noteCorrectedIt listed five adjustments. Codex caught it.
Borrower's coverage headroom 1.49xF1.21, F1.25 to F1.27CorrectedIt was built on the certificate's wrong 2.69x. On the certificate's own inputs it is 1.10x. Codex caught it; we dropped the figure from the memo.
EBITDA cushion "6.7% over" the required levelF3.06, F3.10Corrected1,193 is 6.7% of reading A's EBITDA but 7.2% of the EBITDA the level requires. Codex caught the mixed basis; we kept the amount and dropped the percentage.
"4.43x is 0.07x below the March 2027 level"F3.10CorrectedIt compared this quarter's ratio to a future level that will be tested on different numbers. Codex flagged it as overstated; we removed it.
Savings "realized from Q4 2026 onward"F2.21CorrectedManagement only estimates savings beginning in Q4; none have been realized. Reworded.
Liquidity data requestF3.12CorrectedThe draft asked for daily or month-end balances. Month-end can't show compliance at all times, so we ask for daily.
December 31, 2026 test at 4.75xF3.10AddedThe draft jumped from September to March. Codex listed the missing test date.

Where the two models disagreed, the human check decided. Codex wanted the literal reading of the savings add-back to lead the memo. We kept both readings of the plant costs as the main case, because the literal reading would leave a whole clause of the definition with nothing to do, and put the literal case in front of counsel as its own item.

Common failure modes, and how to catch them

The certificate's own math

Borrowers compute their own ratios, and an arithmetic slip passes because nobody redoes the division.

Check: Recompute each ratio from the certificate's own lines before you recompute it from the financials.

In our run: the certificate said 2.69x coverage; its own lines give 2.30x.

A stale quarter

A quarter restated in the financials never makes it into the four quarters on the certificate.

Check: Search the financial statement notes for "restated" and compare each quarter line by line.

In our run: restated Q1 2026 EBITDA was 400 lower than the certificate used.

Caps nobody applies

Capped add-backs are summed in full.

Check: For each capped add-back, compute the cap base exactly as the definition says, then the allowed amount.

In our run: the cap disallowed 175 under one reading and 1,670 under the other.

Cash that isn't unrestricted

Escrowed or pledged cash is netted against debt, and the netting limit is ignored.

Check: Tie cash to the balance sheet notes and the Unrestricted Cash definition, then apply the netting limit.

In our run: the escrow and the 5,000 limit moved net debt from 75,800 to 79,000.

Last quarter's level

The covenant steps down, and the certificate tests against the old level.

Check: Read the level off the covenant schedule for this test date.

In our run: 5.00x on the certificate, 4.75x in the agreement.

A reading picked quietly

Where a definition can be read two ways, the friendlier reading gets used without anyone saying so.

Check: Ask the AI to compute every reasonable reading and carry each one to the ratio.

In our run: the plant costs put leverage at 4.43x or 4.84x, on either side of 4.75x.

Who it’s for

  • Private credit and direct lenders: the quarterly certificate review in portfolio monitoring, where one uncapped add-back or a stale covenant level can hide a ratio that is closer to its limit than the borrower says.
  • BDCs and credit funds with many borrowers: the same three prompts work certificate by certificate. Keep each borrower’s definitions in their own file, because no two agreements define EBITDA the same way.
  • Deal teams and counsel: the judgment calls come out as a short list with both readings computed, so the conversation starts from numbers instead of from the borrower’s version.

The workflow replaces the first pass at the recalculation, not the deal team’s judgment or your counsel’s reading of the agreement. Use only tools your firm has approved for borrower data. We used a made-up borrower and a made-up agreement so we could publish every input.

Before (our estimate)1 to 2 hours

Rebuild the EBITDA bridge from the definitions, recompute each ratio, check the cash and the levels, then write up the differences by hand.

After (AI time measured, review our estimate)25 minutes

About 6 minutes of AI time and about 20 minutes of tying out and sending, on a one-quarter certificate with three covenants. Longer agreements with more add-backs take longer, and most of the time should still go to the check.

The tools

We ran the recalculation table and the memo with the Claude Code CLI and the independent check with the Codex CLI, each in a fresh session, on existing subscriptions, with no web access, no API keys and no paid data. Using two different models means the check isn’t the drafter grading its own work. Other credit tools in our directory that cover parts of this work, such as spreading financials, extracting credit agreement terms or running the same questions across many documents: Crediflow AI, Allvue, Hebbia, Blueflame AI.

Credit tools are building parts of this in. CredCore launched Credit Agents, which it says link each answer to the defining clause, later amendments and the underlying financial figures, and it lists “Which EBITDA and pro forma adjustments are actually permitted by the definitions?” among the questions deal teams use them for (CredCore, Oct 14, 2026). Ellis says it ingests borrower financials and compliance certificates automatically and ties each figure to the row, cell or GL account behind it (Ellis). Allvue’s Document IQ extracts data from documents including financials and credit agreements (Allvue). Harvey’s October release added Octus content covering credit analysis, private company financials, and covenant and restructuring data (Harvey, October 2026). And Cognitive Credit, which delivers credit data through a platform, an API, an Excel add-in and a native Claude connector, raised a $40 million strategic growth investment led by Summit Partners (Summit Partners). Whichever tool does the recalculation, steps 3 and 4 still apply.

Make it yours

  • Paste the agreement’s actual definitions into step 1, with every amendment. The AI follows the words you give it, and summaries drop the caps.
  • Give every input line an ID. Then every number in the memo can point to the line it came from, and the tie-out goes much faster.
  • Write your own answer key for the first few borrowers before you run the AI. It tells you quickly which kinds of mistakes your setup misses.
Next upPlaybook 06 lands in The Brief first.

One email a week. Free.

Illustrative workflow, not investment advice or legal advice. Ridgeline Example Packaging, Example Credit Partners, the credit agreement excerpt and every person and number on this page are made up. Nothing here describes a real borrower, lender or contract, and the excerpt is not a model form.

Spot an error? Submit a correction

← All playbooks