AutoMovie API
    Preparing search index...
    INodes: readonly {
        id: string;
        links: readonly string[];
        path: string;
        value: unknown;
    }[]

    Borrowed graph nodes visited by iterative depth-first traversal in declaration/link order. appendGraphCycles appends one type finding for each edge to a currently visiting id at the target node's path, retaining its value. Nodes and links are not mutated.

    Unknown links are skipped because reference admission belongs to the caller. Ids match exactly. With duplicate ids, link lookup uses the last declaration but outer traversal can start the first declaration; visited state is keyed by id, so uniqueness must be checked separately. Collector exceptions propagate and earlier findings remain appended.