Skip to content

Commit ef7e17b

Browse files
committed
fix: enforce concise skip_item reasons (2-5 words max)
The AI was writing full sentences for skip reasons, making them impossible to aggregate — 6,595 skipped jobs with hundreds of unique reason strings. Updated the tool parameter description to explicitly request 2-5 word category labels instead of prose.
1 parent b68f046 commit ef7e17b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/Core/Steps/Fetch/Handlers/FetchHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private static function getSkipItemToolDefinition( string $handler_slug, array $
472472
'parameters' => array(
473473
'reason' => array(
474474
'type' => 'string',
475-
'description' => 'Brief explanation of why this item is being skipped (e.g., "not a music event", "comedy show", "wrong location")',
475+
'description' => 'Concise skip reason, 2-5 words max. Examples: "not a music event", "comedy show", "wrong location", "duplicate event", "past event". Do NOT write sentences — just the category.',
476476
'required' => true,
477477
),
478478
),

0 commit comments

Comments
 (0)