Skip to main content

presence_answer

Function presence_answer 

Source
pub(crate) fn presence_answer(
    facts: &[WorkFacts],
    f: &PresenceFilter,
) -> Result<Value, String>
Expand description

presence: the agents whose own work facts (their clones’ uncommitted changes, recent edits, branch and repository) touch what is asked. Claims and posts are not read. Only what Presence who shows of each agent that a graph needs: its name, its state and how it matched; no goal, no file names. Pure over the facts, so a test can hand it some.