feat(journal): search-first heuristic for existing work in calibration prompt
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -79,6 +79,15 @@ MOMENT ENTITY LINKING — be conservative.
|
|||||||
are NOT places — drop them and let the user name the real one if it
|
are NOT places — drop them and let the user name the real one if it
|
||||||
matters.
|
matters.
|
||||||
|
|
||||||
|
EXISTING WORK — search before recording.
|
||||||
|
- If the user describes ongoing or completed work that references a specific
|
||||||
|
project or task by name or partial name (e.g. "the sebring task",
|
||||||
|
"continuing on the AT&T circuit", "finished the auth refactor"), CALL
|
||||||
|
search_notes FIRST to locate the existing task. Update its status or log
|
||||||
|
work on it instead of recording a new moment when an obvious match exists.
|
||||||
|
- Only call record_moment for that beat if no matching task surfaces and the
|
||||||
|
user confirms they want a moment recorded.
|
||||||
|
|
||||||
WHEN LINKING ENTITIES: use the *_names parameters (person_names,
|
WHEN LINKING ENTITIES: use the *_names parameters (person_names,
|
||||||
place_names, task_titles, note_titles). Server resolves them to IDs by
|
place_names, task_titles, note_titles). Server resolves them to IDs by
|
||||||
lookup. Do NOT pass *_ids unless you have an exact ID returned from
|
lookup. Do NOT pass *_ids unless you have an exact ID returned from
|
||||||
|
|||||||
Reference in New Issue
Block a user