01Assign layer
→02Greedy descent from entry point
→03Beam search at base layer
→04Heuristic neighbour prune
→05Bidirectional link
→06Persist & benchmark
StageTriggerSystemOutput
01 · LayerTriggerNew vector insertedSystemExponentially decaying random level assignmentOutputA top layer for the node; most nodes live only at the base
02 · DescendTriggerInsert or query beginsSystemGreedy search from the entry point, one layer at a timeOutputA good entry node handed down to the next layer
03 · SearchTriggerBase layer reachedSystemBeam search with a candidate heap of width efOutputef nearest candidates; ef is the recall/latency dial
04 · PruneTriggerCandidates selected for a new nodeSystemNeighbour-selection heuristic rather than plain top-MOutputUp to M diverse neighbours, keeping the graph navigable
05 · LinkTriggerNeighbours chosenSystemBidirectional edges with degree repair on the other sideOutputConnectivity maintained without unbounded node degree
06 · MeasureTriggerIndex built or parameters changedSystemRecall@k against brute force, latency percentilesOutputA recall-vs-latency curve per parameter set