Deal commands
Commands that work on the deal itself, like filing a rate curve, mapping comps, locking a package, or saving a fact to deal memory.
The deal commands work on the deal itself rather than on one of its documents: they file a market input, map a comp set, lock a package at a decision point, or save a fact to deal memory. The four verbs behind the other groups are in the table on Commands.
/deal:get-sofr-forward-curve
Pulls the current SOFR forward curve from its published source and files it as a CSV in the Financing & Debt folder of the Library, with the pull date in the file name and the source noted on the file's first line, so pricing work can cite it. Each pull is its own dated file, so earlier pulls stay as they were. It asks which series to use (1M Term SOFR by default, 30D Average SOFR, or another the source carries) and how far out to run the curve (through the hold by default, the loan term, or the term plus extension options), and skips those questions when the loan documents or deal memory already settle the index and term. Building or re-sizing the model and choosing the loan's index are separate work; the curve is an input they cite.
/deal:map-comps
Produces a map image (png) in Drafts with the subject and each comp pinned on a clean map, numbered, ready to drop into a memo or deck. The legend that keys the numbers to the properties appears in the reply and, when the comp set is a document you can edit, in that document too. Point it at the comp set with @ or list the addresses, and before rendering it asks about whatever shapes this map, such as which table to use when the deal holds more than one comp set, or whether a satellite view suits the subject better than the light map. A comp it can't place with confidence is listed in the legend as not mapped, and choosing the comps and judging how comparable they are stay with you. If maps aren't available in your workspace, it says so and stops.
/deal:finalize
Copies the package for a decision point into a new dated folder in Outputs as the version of record, and leaves your working files in Drafts untouched. Give it a stage (screening, ic, closing, or am); it works from the matching documents in Drafts, such as the memo alone for a screening call or the memo and model for IC, and a note in the new folder lists the stage, date and time, headline figures, check result, and the files included. Before copying, it checks that the model recalculates cleanly with realistic headline figures, that the memo has no unresolved [TBD] in material claims, and that the memo's headline numbers match the model. It asks which files make up the package when Drafts holds several candidates, the stage if you didn't give one, the period label for an AM cycle, and whether to fix or waive each problem the checks find; fixing stays with you, and each waiver is recorded with your reason. Every run adds a new folder, so a second IC pack after a retrade sits beside the first, and the decision point is saved to deal memory.
/deal:remember
Saves something to this deal's memory when you ask. Type the fact after the command to save it: relative dates like "Friday" are written as calendar dates, a fact that an existing memory already covers updates that memory, and a one-line confirmation says what was saved. Run it with nothing after it and it goes back over the current conversation for facts that will matter in a later session, such as a number adopted, a decision and its reason, a correction or approval you gave, or something learned about a person or firm. It asks which of those to keep before saving anything, and says so and stops when nothing is worth keeping. It reviews only the current conversation, not earlier sessions.