Skip to main content
Version: 0.4.0

KQ002 — duplicate identity

Error · duplicate-identity · Structure

No two elements share an Id, and no two elements under one parent share a Code.

Two elements have the same Code under one parent, or the same Id anywhere. Rename one of them. A duplicate Id comes from copying lines in .g.kq; delete the copy and rebuild.

Examples​

In a model whose invoice-files storage holds a channel named invoice, a plateau that adds the invoice entity, which takes its domain object's Code, to that storage gives two of its elements one Code, and raises KQ002:

plateau to-be "To be" after as-is { ecosystem shop { platform finance { object invoice "Invoice" : selling component exporter { blob invoice-files { root invoice authoritative origin identifier "Invoice Id" } } } } }

Moving the channel to a Code of its own in the same plateau raises nothing:

plateau to-be "To be" after as-is { move shop/finance/exporter/invoice-files/invoice to shop/finance/exporter/invoice-files/invoice-drop ecosystem shop { platform finance { object invoice "Invoice" : selling component exporter { blob invoice-files { root invoice authoritative origin identifier "Invoice Id" } } } } }

© 2026 Extenza Works. All rights reserved.