Expand description
WhoIsWorkingOn: which other agents’ work facts touch a path,
repository, branch or topic
(docs/specs/SPEC_AGENT_OVERLAP_AWARENESS_2026_10_10.md §3.2). Pure, so
every rule is tested without a running srv.
Structs§
- Target
- The question after resolving it against the caller’s own facts.
- WhoMatch
- WhoQuery
- What the caller asked about. Every field is optional; with none, the caller’s own repository is the question.
- WhoResult
Enums§
- Match
Kind - How one agent’s work touches the question. Ordered by strength.
Constants§
- DETAIL_
FILES 🔒 - How many file names one match’s detail lists before “+N more”.
Functions§
- list_
files 🔒 - The first few of
files, then “(+N more)” up tototal. - matches_
for 🔒 - What
other’s facts say aboutt, strongest first. - mentions 🔒
- Every word of the query appears in
text, case-insensitively. - resolve
- Resolve
qagainst the caller’s facts (caller) and every known clone (all): a path absolute in some clone becomes (repository, relative path), and the caller’s repository is assumed when none is named. - sort_
results 🔒 - Strongest match first, then most recent, then by name.
- who_
is_ working_ on - Every agent in
others(the caller already left out) whose work touchest, strongest match first, then most recent. - words 🔒
- Lowercase alphanumeric words.