Function: isSigilGroupReference()¶
Defined in: rine-core/dist/src/group-ref.d.ts:251
Whether a recipient spelling names the group namespace and only that: the
sigil, with no @ to make it a whole handle.
The other half of isBareReference's set, and a SECOND predicate
rather than a widening of that one on purpose — isBareReference is the
exact complement of resolveToUuid's syntactic refusal, its docstring makes
that the whole safety argument, and the day it also admits #ops the
argument stops being checkable against the resolver it names. Together the
two cover exactly what the agent namespace refuses before any request: not
blank, no @, not a UUID (a string that opens with # can be neither), so
routing either set to the group ladder can still take nothing away.
🔴 The two sets are NOT interchangeable, and the difference is the
collision guard. On the send path (resolveRecipient) the classifier's ARMS
enforce it: refuseIfABareAgentName stands in front of the bare
arm, because a bare ops may be a caller who meant ops@acme and dropped
the org. A sigiled #ops cannot be: # is the group sigil throughout this product's
addressing, no agent handle carries one, and an agent name is a DNS slug
that can never contain one. The caller has said which namespace it means, so
the guard is skipped — running it anyway would refuse a correct group send
with "'ops' is the name of an agent of your org", a sentence that is false
about what the caller actually wrote.
#ops@acme.rine.network is deliberately not one of these. It is a whole
handle, the server's own ?handle= lookup answers it exactly, and it keeps
going there — which is the @ test below, and the reason this is narrower
than classifyReference's group class rather than equal to it. The
class says which NAMESPACE the caller named; this says which LADDER inside it
can answer, and a whole handle has its own.
Parameters¶
| Parameter | Type |
|---|---|
value |
string |
Returns¶
boolean