From b9906f6047104406c0fc00efd8fada935cf84f6a Mon Sep 17 00:00:00 2001 From: Chaim Marcus Date: Tue, 7 Jul 2026 05:16:18 +0000 Subject: [PATCH] =?UTF-8?q?fix(manifest):=20=D7=94=D7=A6=D7=94=D7=A8=D7=AA?= =?UTF-8?q?=20legal=5Fpredecessor=5Fcontext=20=D7=91-manifest=20(=D7=97?= =?UTF-8?q?=D7=A9=D7=99=D7=A4=D7=AA=20=D7=94=D7=9B=D7=9C=D7=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ה-manifest.tools הוא המקור-הקובע לרישום/חשיפת כלים ב-Paperclip — ctx.tools.register ב-worker.ts נותן רק את ה-handler. בלי הצהרה ב-manifest, הכלי לא נחשף (הלוגים הראו toolCount=8, בלי legal_predecessor_context). מוסיף את ההצהרה → toolCount=9, הכלי חשוף. אומת חי: reinstall+restart → logs מראים toolCount:9 + legal_predecessor_context רשום. (המשך #220; משלים את PR #5.) Co-Authored-By: Claude Opus 4.8 --- src/manifest.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/manifest.ts b/src/manifest.ts index 9ca9e8f..1ed6441 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -156,6 +156,23 @@ export default { description: "Get overall system processing status", parametersSchema: { type: "object" as const, properties: {} }, }, + { + toolKey: "legal_predecessor_context", + name: "legal_predecessor_context", + displayName: "הקשר מריצות קודמות", + description: + "Recent conclusions from prior heartbeat runs on this case (the 'summary' each run left). Call this when RESUMING work on a case to see what earlier sessions already did/decided — instead of re-deriving context from scratch.", + parametersSchema: { + type: "object" as const, + properties: { + case_number: { + type: "string" as const, + description: "Case number (e.g. 1043-02-26)", + }, + }, + required: ["case_number"], + }, + }, ], jobs: [ {