For examples, if multiple trackers are installed for a tool, [#1] could refer to any tracker. It should be deterministic. Either look at tools in order of their install date (or ordinal value?), or find all artifacts and pick the one with the earliest create date.
This is already deterministic as part of the reactor -> taskd redesign.