The plain answer
A failed software company leaves behind two different assets that are easy to treat as one. The first is the software itself: the right to own, use, change and resell the code, usually packaged with trademarks, domains and customer contracts. The second is the engineering record: years of commits, pull requests, review comments, issue tickets, design documents and incident write-ups that show how the product was built and why.
The first goes to a strategic buyer, a competitor, a key customer or an IP aggregator through a sale. In bankruptcy that is a court-approved sale, which practitioners often call a 363 sale; in an assignment for the benefit of creditors the assignee sells under the state procedure. The second can be licensed to SourceX, who use real engineering work to train and evaluate coding agents. Run together carefully, the two transactions need not compete.
What is actually in a software estate?
Break the estate into components before anyone prices it.
| Component | Normally part of the IP sale? | Licensable as training or evaluation data? | Check first |
|---|---|---|---|
| Current source code | Yes, the core of the package | Possibly, if the IP buyer agrees | Ownership chain, open-source components |
| Commit history and branches | Often transferred with the repositories | Yes; shows how code changed and why | Credentials committed to history |
| Pull requests and review comments | Seldom priced separately | Yes; reviewers' reasoning and rejected changes | Personal information in comments |
| Issue tracker tickets | Seldom | Yes; bug reports linked to their fixes | Customer names and data in tickets |
| Design docs and decision records | Sometimes | Yes; decisions with their context | Client-confidential designs |
| Build logs and incident postmortems | Rarely | Yes; failures, diagnoses and fixes | Infrastructure secrets |
| Trademarks, domains and patents | Yes | No | Registration and renewal status |
| Customer-specific code and forks | Depends on customer contracts | Only if the contract allows | Customer ownership clauses |
The pattern is clear: the IP buyer pays for the latest version, while most of the history's value lies in the parts an IP buyer rarely prices.
How a code sale runs in each path
The mechanics differ less than people expect. The fiduciary, the approval step and the buyer's comfort are what change.
| Step | Bankruptcy (chapter 7 or 11) | Assignment for the benefit of creditors |
|---|---|---|
| Who sells | The trustee, or the debtor in possession in chapter 11 | The assignee |
| Approval | Court approval after notice to creditors | The state procedure; some states supervise, others do not |
| Diligence buyers expect | Chain of title, open-source report, escrow and license review | The same, often on a faster timetable |
| Buyer comfort | A court sale order | The assignee's title and the contract, usually sold as-is |
| Where a records license fits | A separate or combined motion, approved alongside or after the sale | A separate agreement, coordinated with the sale contract |
Trustees working the wider estate can use the guide to overlooked intangible assets in chapter 7, and software estates in an assignment are covered in SaaS companies in an ABC.
Who owns the code? The rights checks that decide value
No buyer pays full value for code it cannot be sure the estate owns. Six checks cover most of the risk.
- Employee code. The Copyright Office's Circular 30 explains that a work prepared by an employee within the scope of employment is a work made for hire, so the employer is the author and owner.
- Contractor code. Work by outside developers may not belong to the company unless the contractor assigned it in writing. Pull every development agreement and statement of work.
- Partial transfers. Under 17 U.S.C. section 201, ownership can be transferred in whole or in part, and each exclusive right can be transferred and owned separately. That is why a sale contract can pass the code to one buyer while leaving defined rights in the engineering records with the estate, if it is drafted that way.
- Open-source components. Their licenses travel with the code, and the estate cannot sell what it never owned. A software composition report helps bidders price the risk.
- Customer code and data. Code written under services agreements may belong to the customer, and customer data sitting in repositories or tickets must be excluded or redacted.
- Escrow and secrets. Check source code escrow agreements for release rights that may be triggered by the insolvency, and rotate and scrub any credentials committed to history before anything changes hands.
The IP and data asset audit checklist for trustees and receivers turns these into a working document.
Why the engineering history matters to AI labs and data users
AI development is moving from models that answer questions to agents that carry out multi-step tasks, and writing and fixing software is one of those tasks. Training and evaluating a coding agent calls for examples of how professional engineers actually work: an issue is filed, discussed, assigned, fixed in a change, reviewed, revised, tested and closed, with the outcome recorded.
Public open-source projects show some of that, but long-lived commercial codebases, with their linked tickets, review culture and production incidents, mostly sit behind company walls. A software company with years of history across its repositories, tracker and documentation holds exactly that kind of record, as long as the rights are clean.
Running a records license alongside the IP sale
Use simple if-then rules when structuring the two deals.
- If the IP buyer wants the full history, price that into the IP sale; a license of non-code records such as tickets and design docs may still be possible if the buyer agrees.
- If the IP buyer needs only the current code, keep the history in the estate and license it.
- If no IP buyer appears, the history may still be licensable, and the code itself can form part of the licensed records.
- If customer code dominates the repositories, exclude it and license only the company's own work.
In every case, tell IP bidders that AI-training rights are reserved, because SourceX deals are exclusive for AI training. For the broader trade-off between licensing and outright sale, see licensing data from a bankruptcy estate vs selling it outright. Where tickets and CRM notes carry customer details, business records vs personal data in a bankruptcy sale explains the line.
What this means for a referral partner
The people who spot these estates first are rarely the fiduciaries: an IP broker valuing the code, a turnaround advisor, a venture investor writing off a position, or a former CTO who knows what the repositories hold. Any of them can introduce the company, and none of them should copy, upload or describe the repositories.
The company still has to clear SourceX's baseline: a business in an eligible country with 50+ full-time employees at peak (contractors excluded), several years of documented operations, the rights to license its records and an authorized sponsor, who in an insolvency is the trustee or assignee. Companies in the U.S., Canada and the EU qualify, as do companies in the UK, Australia, New Zealand, India, Singapore, South Africa, Latin America, the UAE and Saudi Arabia when at least 70% of the data is in English. A wound-down company qualifies on the same terms as long as the data still exists. Check who qualifies, or run the company fit checker first.
Partners earn the greater of $50,000 plus 5% and 15% of the compensation SourceX actually pays the company you refer, with no cap. A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details. Fiduciaries and professionals retained by the estate should clear any reward with counsel and, where required, the court before registering it.
Limits and open questions
- The law on copyright and AI training is still developing. The US Copyright Office's report on generative AI training was released in pre-publication form in May 2025; it discusses where training can implicate copyright and how practical licensing is, and it is not itself law.
- ABC procedures differ by state, and court practice on combined sales and licenses differs by district.
- Engineering records full of customer code or personal data may not be licensable even when the company otherwise qualifies.
This is general information, not legal, tax or financial advice. Confirm with your own counsel before acting.
Next step
Before the IP sale is marketed, ask who owns the history and whether it should stay with the estate. If you know a qualifying software company in wind-down, register as a partner and make the introduction, or have the trustee or assignee apply at sourcex.si/apply.