Expand description
Who else is working on the same thing
(docs/specs/SPEC_AGENT_OVERLAP_AWARENESS_2026_10_10.md §3.2), and saying
what you are working on (ClaimWork, ReleaseWork, §3.4).
Constants§
- PR_
FILES_ 🔒CHECKED - Files of the asked PR whose local facts are fetched, at most.
Functions§
- add_
open_ 🔒prs - Add the open PRs that touch the question (
open_prs.rs) to srv’s answer, for the repository srv resolved. Withpr, the agents on this computer are the ones with that PR’s files changed or edited (ask_path, srv’s answer for one file), not everyone in the repository. A failure is reported in the answer (pr_error) and never fails the call. - arg 🔒
- The trimmed, non-empty string argument
key. - call 🔒
- claim_
body 🔒 - What srv’s
/api/v1/work-claimstakes: the claimed target, note and lifetime, plus who is asking (srv prefers the request’s agent token). - merge_
agents 🔒 - Merge srv answers for several files: one entry per agent and channel, with every distinct match.
- normalize_
repo 🔒 owner/repo, lowercased, fromowner/repo, a remote URL (https://github.com/o/r.git) or an ssh remote (git@github.com:o/r).- pr_ref 🔒
- A PR:
12,"12","#12", or its URL (https://github.com/<owner>/<repo>/pull/12, with anything after the number, like/filesor#issuecomment-…), which also names its repository:(Some("owner/repo"), 12). - release_
body 🔒 - What srv’s
/api/v1/work-claims/releasetakes: a claim id, or none for all. - who_
query 🔒 - The query srv’s
/api/v1/work-facts/whotakes for these arguments, plus who is asking (srv prefers the request’s agent token to both).