Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / normalizeApproachTag

Function: normalizeApproachTag()

ts
function normalizeApproachTag(raw?): string;

Defined in: packages/core/dist/index.d.ts

Approach-tag normalization: NFC, lowercase, runs of non-alphanumerics collapse into a hyphen, truncate to 32 characters; an empty value canonicalizes to 'default'. Prompt prose never enters any signature: rephrasings collide by construction, not by heuristic.

Parameters

ParameterType
raw?string

Returns

string