The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(desktop): remove local markers from kanban notify comments
nductien180262084749
diff --git a/apps/desktop/src/plugins/kanban/api.ts b/apps/desktop/src/plugins/kanban/api.tsindex 1b21ec51c50..b4e5ede05ee 100644--- a/apps/desktop/src/plugins/kanban/api.ts+++ b/apps/desktop/src/plugins/kanban/api.ts@@ -11,7 +11,7 @@import { atom, type PluginRestOptions, type PluginStorage, queryClient } from '@hermes/plugin-sdk'-// P6B1 N2 — native completion notification (LOCAL_PATCH_UNTIL_UPSTREAM).+// Native completion notification.import { bindCompletionNotify, type CompletionEvent, onKanbanEventsFrame } from './completion-notify'import type {BoardMeta,@@ -68,7 +68,7 @@ function onEventsFrame(slug: string, data: unknown): void {void queryClient.invalidateQueries({ queryKey: taskKey(slug, taskId!) })}- // P6B1 N2 — completion notification (after invalidation so notify failure+ // Completion notification (after invalidation so notify failure// never interferes with cache invalidation).void onKanbanEventsFrame(slug, events).catch(() => undefined)}diff --git a/apps/desktop/src/plugins/kanban/completion-notify.test.ts b/apps/desktop/src/plugins/kanban/completion-notify.test.tsindex ff8ddc0632a..6378f06bbd9 100644--- a/apps/desktop/src/plugins/kanban/completion-notify.test.ts+++ b/apps/desktop/src/plugins/kanban/completion-notify.test.ts@@ -1,5 +1,5 @@/**- * P6B1 N2 — focused tests for the completion-notify POC.+ * Focused tests for the completion-notify module.** Each test starts from a FRESH module instance (vi.resetModules + dynamic* import) so the in-memory per-board cursor and rest binding match a freshdiff --git a/apps/desktop/src/plugins/kanban/completion-notify.ts b/apps/desktop/src/plugins/kanban/completion-notify.tsindex f03caee716d..ab40220c64b 100644--- a/apps/desktop/src/plugins/kanban/completion-notify.ts+++ b/apps/desktop/src/plugins/kanban/completion-notify.ts@@ -1,21 +1,21 @@/**- * P6B1 N2 — native kanban task-completion notification (TEMPORARY POC).+ * Native kanban task-completion notification.*- * LOCAL_PATCH_UNTIL_UPSTREAM: no maintained exact-fit OSS exists and the SDK+ * No maintained exact-fit OSS exists and the SDK* has no kanban event door, so this module rides the kanban plugin's EXISTING* /events socket (api.ts onEventsFrame). No new WebSocket, no new process,* no DB, no auth, no persistence — cursor is an in-memory per-board high-water* mark. Reuses native completion finality: kind == 'completed' events written* by kanban_db.complete_task (payload: summary + artifacts).*- * Cursor contract (P6B1 §6): first observation of a board baselines+ * Cursor contract: first observation of a board baselines* seen[board] = GET /board latest_event_id (MAX task_events.id for that* board). Events id <= seen are historical/replay — never notified, no* cursor change. id > seen advances cursor for EVERY kind; only 'completed'* emits. Reconnect replays from 0; cursor filters. Board switch never mixes* cursors; returning reuses prior cursor (never reset to current MAX).* Fail-closed: while a board's baseline is unknown, no event can be- * classified so none is notified. Empty slug ('') suppressed (§7).+ * classified so none is notified. Empty slug ('') suppressed.*/import { host, type PluginRestOptions } from '@hermes/plugin-sdk'