Skip to main content

Module matching

Module matching 

Source
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§

MatchKind
How one agent’s work touches the question. Ordered by strength.

Functions§

resolve
Resolve q against 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.
who_is_working_on
Every agent in others (the caller already left out) whose work touches t, strongest match first, then most recent.