Skip to content

Commit 8de1add

Browse files
cliffhallclaude
andcommitted
test(memory): put create-reporting.test.ts's purpose header above its imports
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent bb8aa6f commit 8de1add

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎src/memory/__tests__/create-reporting.test.ts‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Unit tests for the helpers behind create_entities' skip report (#4887).
2+
// create_entities ignores entities whose name already exists, as the README
3+
// documents. The agent only sees the tool description and the result, though,
4+
// so the result must say which entities were skipped: otherwise their
5+
// observations look stored when nothing was written.
16
import { describe, it, expect, beforeEach, afterEach } from "vitest";
27
import { promises as fs } from "fs";
38
import path from "path";
@@ -9,12 +14,6 @@ import {
914
skippedEntitiesNotice,
1015
} from "../index.js";
1116

12-
/**
13-
* create_entities ignores entities whose name already exists, as the README
14-
* documents. The agent only sees the tool description, though, so the response
15-
* must say which entities were skipped: otherwise their observations look
16-
* stored when nothing was written.
17-
*/
1817
describe("create reporting", () => {
1918
let manager: KnowledgeGraphManager;
2019
let testFilePath: string;

0 commit comments

Comments
 (0)