OptionalonOptional callback invoked whenever a NEW tag is auto-created via
createAndEmbedTag. Lets callers (e.g., RunBudget) accumulate
per-run / per-item creation counts without global state.
OptionalparentParent tag ID to nest a NEWLY-created tag under, WITHOUT scoping the match
search to that parent's subtree (which rootID would do — and which would
spawn duplicates of existing root-level tags). When set, the new tag is
created under this parent and the parent is run through ValidateAutoGrow
governance (MaxChildren / MaxDescendantDepth / depth), so nesting is
deterministically rule-compliant. Existing matches are still found globally.
OptionalrequiresWhether the tag's RequiresReview flag should force routing through
the suggestion queue regardless of confidence. The bridge consults the
resolved tag and re-routes if needed; this flag is informational here.
OptionalscopeScope filter applied at every match tier and to auto-grow scope inheritance.
OptionalsourceSource-traceability fields stamped on any enqueued suggestion.
OptionalsourceOptionalsourceOptionalsuggestScore band [suggestThreshold, threshold) routes to the suggestion
queue with Reason='BelowThreshold' instead of returning a match.
When omitted, defaults to threshold - 0.05.
Optional knobs for ResolveTag — all defaulted to behavior that matches existing callers. New autotagger flow passes a populated options object so the 4+1-tier pipeline can route into the suggestion queue and respect tenant scope.