Is it legal to use others' repos for reference code?
We have a large monolith in fintech to re-work and recently started using xerj as AST and semantic search for Claude code instead of grep/sed waste. After a month we estimated that we saved tokens a few times over for the same refactoring work and visually much “better” (means more like our previous coding style) code.
Recently xerj.org changed their llms.txt promoting reference coding and our harness clones dozens of relevant OSS repos from GitHub using them as a coding corpus for references coding. But the question how is it legal? From one hand OSS licenses allows to reused their code and most likely all of these were in Anthropic datasets anyways.
Anyone have a clear answer?