negate_label writes the negation record, throws away the {uri, cid} that label returned ("a negation answers nothing") and answers {}. The lexicon's output has required: ["uri", "cid"]. A client built from the lexicon that checks responses (and an assistant, whose MCP tool is described from the same lexicon) is told to expect a record and gets none. The test (tests/moderation.rs:183-190) checks only the status, so nothing covers the shape.
How to see it
Read against docs/fresh at 4636e6d, the code at: crates/group-host/src/moderation.rs:309-310; lexicons/fyi/opensocial/negateLabel.json:37-55. Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Change the code: answer the negation's uri and cid as applyLabel does (the negation is a record someone may want to cite), and assert the shape in the test. Otherwise make the lexicon's output an empty object.
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
negate_labelwrites the negation record, throws away the{uri, cid}thatlabelreturned ("a negation answers nothing") and answers{}. The lexicon's output hasrequired: ["uri", "cid"]. A client built from the lexicon that checks responses (and an assistant, whose MCP tool is described from the same lexicon) is told to expect a record and gets none. The test (tests/moderation.rs:183-190) checks only the status, so nothing covers the shape.How to see it
Read against
docs/freshat 4636e6d, the code at: crates/group-host/src/moderation.rs:309-310; lexicons/fyi/opensocial/negateLabel.json:37-55. Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Change the code: answer the negation's
uriandcidasapplyLabeldoes (the negation is a record someone may want to cite), and assert the shape in the test. Otherwise make the lexicon's output an empty object.Where
The host, as built from 4636e6d. Found while checking the docs against the code.