Clarify notification and ClickUp comment messages

- "pipeline completed" → descriptive messages for link building and content
- "ClickUp task completed" → "{task} done — ran {tool} successfully"
- "Cora report completed" → "Cora report generated — ready for you to look at it"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix/customer-field-migration
PeninsulaInd 2026-03-11 18:14:23 -05:00
parent fb4498b978
commit f60928f3fa
2 changed files with 7 additions and 7 deletions

View File

@ -483,7 +483,7 @@ class Scheduler:
return return
# Tool handled its own ClickUp sync — just log success # Tool handled its own ClickUp sync — just log success
self._notify(f"ClickUp task completed: **{task.name}**\nSkill: `{tool_name}`") self._notify(f"**{task.name}** done — ran `{tool_name}` successfully.")
log.info("ClickUp task completed: %s", task.name) log.info("ClickUp task completed: %s", task.name)
except Exception as e: except Exception as e:
@ -636,7 +636,7 @@ class Scheduler:
if client and task_ids: if client and task_ids:
for tid in task_ids: for tid in task_ids:
client.update_task_status(tid, autocora.success_status) client.update_task_status(tid, autocora.success_status)
client.add_comment(tid, f"Cora report completed for keyword: {keyword}") client.add_comment(tid, f"Cora report generated for \"{keyword}\" — ready for you to look at it.")
self._notify( self._notify(
f"AutoCora SUCCESS: **{keyword}** — " f"AutoCora SUCCESS: **{keyword}** — "
@ -809,8 +809,8 @@ class Scheduler:
log.warning("Could not move %s to processed: %s", filename, e) log.warning("Could not move %s to processed: %s", filename, e)
self._notify( self._notify(
f"Folder watcher: pipeline **completed** for **{filename}**.\n" f"Link building finished for **{matched_task.name}** — "
f"ClickUp task: {matched_task.name}", f"Cora backlinks placed, XLSX moved to processed.",
category="linkbuilding", category="linkbuilding",
) )
@ -971,8 +971,8 @@ class Scheduler:
log.warning("Could not move %s to processed: %s", filename, e) log.warning("Could not move %s to processed: %s", filename, e)
self._notify( self._notify(
f"Content watcher: pipeline **completed** for **{filename}**.\n" f"Content optimization finished for **{matched_task.name}** — "
f"ClickUp task: {matched_task.name}", f"content created, XLSX moved to processed.",
category="content", category="content",
) )

View File

@ -418,7 +418,7 @@ def poll_autocora_results(ctx: dict | None = None) -> str:
if client and task_ids: if client and task_ids:
for tid in task_ids: for tid in task_ids:
client.update_task_status(tid, autocora.success_status) client.update_task_status(tid, autocora.success_status)
client.add_comment(tid, f"Cora report completed for keyword: {keyword}") client.add_comment(tid, f"Cora report generated for \"{keyword}\" — ready for you to look at it.")
processed.append(f"SUCCESS: {keyword}") processed.append(f"SUCCESS: {keyword}")
log.info("AutoCora SUCCESS: %s", keyword) log.info("AutoCora SUCCESS: %s", keyword)