MCPcopy
hub / github.com/openclaw/clawsweeper / issueComment

Function issueComment

test/clawsweeper.test.ts:407–422  ·  view source on GitHub ↗
(
  id: number,
  body: string,
  login = "contributor",
  updatedAt = "2026-05-24T00:00:00Z",
)

Source from the content-addressed store, hash-verified

405});
406
407function issueComment(
408 id: number,
409 body: string,
410 login = "contributor",
411 updatedAt = "2026-05-24T00:00:00Z",
412) {
413 return {
414 id,
415 body,
416 html_url: `https://github.com/openclaw/openclaw/pull/123#issuecomment-${id}`,
417 updated_at: updatedAt,
418 created_at: updatedAt,
419 user: { login },
420 author_association: "CONTRIBUTOR",
421 };
422}
423
424test("review context comment filter removes ClawSweeper self-noise and command-only comments", () => {
425 const comments = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected