🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔨 chore: remove remaining LOBE-XXX annotation markers (2026-07-29) (#17724)
Arvin Xu18494f198e0d
diff --git a/apps/server/src/services/toolExecution/__tests__/builtin.test.ts b/apps/server/src/services/toolExecution/__tests__/builtin.test.tsindex 01d749bd1aa..f31fa9bfba4 100644--- a/apps/server/src/services/toolExecution/__tests__/builtin.test.ts+++ b/apps/server/src/services/toolExecution/__tests__/builtin.test.ts@@ -200,10 +200,10 @@ describe('BuiltinToolsExecutor truncated arguments', () => {it('emits a Linear skill Work intent after a successful server-side LobeHub Skill tool call', async () => {mocks.executeLobehubSkill.mockResolvedValueOnce({content: JSON.stringify({- id: 'LOBE-10966',+ id: 'LINEAR-10966',status: 'In Progress',title: 'Linear Work issue',- url: 'https://linear.app/lobehub/issue/LOBE-10966/linear-work-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/linear-work-issue',}),success: true,});@@ -211,7 +211,7 @@ describe('BuiltinToolsExecutor truncated arguments', () => {const result = await executor.execute({apiName: 'save_issue',- arguments: '{"id":"LOBE-10966","state":"In Progress"}',+ arguments: '{"id":"LINEAR-10966","state":"In Progress"}',id: 'tool-call-linear',identifier: 'linear',source: 'lobehubSkill',@@ -222,7 +222,7 @@ describe('BuiltinToolsExecutor truncated arguments', () => {expect(result.success).toBe(true);expect(mocks.executeLobehubSkill).toHaveBeenCalledWith({- args: { id: 'LOBE-10966', state: 'In Progress' },+ args: { id: 'LINEAR-10966', state: 'In Progress' },context: { topicId: 'topic-1' },provider: 'linear',timeoutMs: 45_000,@@ -232,12 +232,12 @@ describe('BuiltinToolsExecutor truncated arguments', () => {// carrying the UNTRUNCATED payload; provenance + cost are stamped by the// agent runtime at persist time.expect(result.workRegistration).toEqual({- args: { id: 'LOBE-10966', state: 'In Progress' },+ args: { id: 'LINEAR-10966', state: 'In Progress' },data: {- id: 'LOBE-10966',+ id: 'LINEAR-10966',status: 'In Progress',title: 'Linear Work issue',- url: 'https://linear.app/lobehub/issue/LOBE-10966/linear-work-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/linear-work-issue',},provider: 'linear',toolName: 'save_issue',diff --git a/apps/server/src/services/toolExecution/__tests__/index.test.ts b/apps/server/src/services/toolExecution/__tests__/index.test.tsindex e7bc72c5bf6..80c4bbe2ee9 100644--- a/apps/server/src/services/toolExecution/__tests__/index.test.ts+++ b/apps/server/src/services/toolExecution/__tests__/index.test.ts@@ -239,7 +239,7 @@ describe('ToolExecutionService', () => {});it('addresses the personal pool for a personal-scope active device in a workspace run', async () => {- // LOBE-11689: a workspace agent routed to the caller's own machine has no+ // per-user agent device override in workspace: a workspace agent routed to the caller's own machine has no// connection under the workspace principal — a workspace-addressed call// would miss it.const service = makeService();diff --git a/packages/database/src/models/work/__tests__/linear.test.ts b/packages/database/src/models/work/__tests__/linear.test.tsindex 760aa14f17b..de2f6c3574d 100644--- a/packages/database/src/models/work/__tests__/linear.test.ts+++ b/packages/database/src/models/work/__tests__/linear.test.ts@@ -114,7 +114,7 @@ describe('WorkModel · linear', () => {data: {description: 'Track Linear issue as Work',id: 'issue-uuid-10966',- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',labels: ['claude code'],priority: { name: 'High', value: 2 },state: { name: 'Backlog' },@@ -122,7 +122,7 @@ describe('WorkModel · linear', () => {team: 'Engineering',teamId: 'team-1',title: 'Linear Work issue',- url: 'https://linear.app/lobehub/issue/LOBE-10966/linear-work-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/linear-work-issue',},rootOperationId: 'op-linear-issue-create',toolCallId: 'tool-call-linear-issue-create',@@ -175,10 +175,10 @@ describe('WorkModel · linear', () => {changeType: 'updated',content: 'Track Linear issue as Work',description: 'Track Linear issue as Work',- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',status: 'In Progress',title: 'Linear Work issue',- url: 'https://linear.app/lobehub/issue/LOBE-10966/linear-work-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/linear-work-issue',});expect(versions[1]).toMatchObject({status: 'Backlog',@@ -191,7 +191,7 @@ describe('WorkModel · linear', () => {expect(byOperation['op-linear-issue-create']).toEqual([]);const issueSummary = expectExternalSummaryItem(byOperation['op-linear-issue-edit']?.[0]);expect(issueSummary).toMatchObject({- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',status: 'In Progress',title: 'Linear Work issue',});@@ -199,7 +199,7 @@ describe('WorkModel · linear', () => {const byConversation = await workModel.listByConversation({ topicId });expect(byConversation).toHaveLength(1);expect(byConversation[0]).toMatchObject({- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',resourceType: 'linear_issue',type: 'external',});@@ -278,11 +278,11 @@ describe('WorkModel · linear', () => {// mutation must neither create its own work nor touch the parent issue.const comment = await workModel.handleSkillToolResult({provider: 'linear',- args: { body: 'Looks good', issueId: 'LOBE-10966' },+ args: { body: 'Looks good', issueId: 'LINEAR-10966' },data: {body: 'Looks good',id: 'comment-1',- url: 'https://linear.app/lobehub/issue/LOBE-10966#comment-1',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966#comment-1',},rootOperationId: 'op-linear-comment-create',toolCallId: 'tool-call-linear-comment-create',@@ -340,9 +340,9 @@ describe('WorkModel · linear', () => {args: { team: 'Engineering', title: 'Owner issue title' },data: {id: 'shared-issue-uuid',- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',title: 'Owner issue title',- url: 'https://linear.app/lobehub/issue/LOBE-10966/shared-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/shared-issue',},toolCallId: 'tool-call-linear-owner-issue',toolName: 'save_issue',@@ -353,9 +353,9 @@ describe('WorkModel · linear', () => {args: { id: 'shared-issue-uuid', title: 'Other user issue title' },data: {id: 'shared-issue-uuid',- identifier: 'LOBE-10966',+ identifier: 'LINEAR-10966',title: 'Other user issue title',- url: 'https://linear.app/lobehub/issue/LOBE-10966/shared-issue',+ url: 'https://linear.app/lobehub/issue/LINEAR-10966/shared-issue',},toolCallId: 'tool-call-linear-other-issue',toolName: 'save_issue',@@ -389,7 +389,7 @@ describe('WorkModel · linear', () => {describe('normalizeLinearToolResult (url scheme allowlist)', () => {const registerIssueWithUrl = (url: string) =>normalizeLinearToolResult({- data: { id: 'issue-uuid', identifier: 'LOBE-1', title: 'T', url },+ data: { id: 'issue-uuid', identifier: 'TODO-LINEAR-1', title: 'T', url },toolName: 'save_issue',});@@ -399,20 +399,20 @@ describe('normalizeLinearToolResult (url scheme allowlist)', () => {const operation = registerIssueWithUrl(url);// Identity is still resolved from the payload; only the unsafe url is dropped.- expect(operation?.params.identifier).toBe('LOBE-1');+ expect(operation?.params.identifier).toBe('TODO-LINEAR-1');expect(operation?.params.url).toBeUndefined();},);it('keeps a whitespace-padded https url after trimming', () => {- const operation = registerIssueWithUrl(' https://linear.app/lobehub/issue/LOBE-1 ');+ const operation = registerIssueWithUrl(' https://linear.app/lobehub/issue/TODO-LINEAR-1 ');- expect(operation?.params.url).toBe('https://linear.app/lobehub/issue/LOBE-1');+ expect(operation?.params.url).toBe('https://linear.app/lobehub/issue/TODO-LINEAR-1');});it('keeps a plain https url', () => {- const operation = registerIssueWithUrl('https://linear.app/lobehub/issue/LOBE-1');+ const operation = registerIssueWithUrl('https://linear.app/lobehub/issue/TODO-LINEAR-1');- expect(operation?.params.url).toBe('https://linear.app/lobehub/issue/LOBE-1');+ expect(operation?.params.url).toBe('https://linear.app/lobehub/issue/TODO-LINEAR-1');});});diff --git a/src/features/ChatInput/ActionBar/Search/Controls.tsx b/src/features/ChatInput/ActionBar/Search/Controls.tsxindex f5bb76262b4..2bf5ce9345c 100644--- a/src/features/ChatInput/ActionBar/Search/Controls.tsx+++ b/src/features/ChatInput/ActionBar/Search/Controls.tsx@@ -130,7 +130,7 @@ const Controls = memo(() => {if (isModelBuiltinSearchInternal && (searchMode ?? 'auto') === 'off') {// Auto-correction for a model whose search can't be turned off — the user// didn't touch the toggle, so a rejected write must stay silent instead of- // reporting a change they never made (LOBE-12459).+ // reporting a change they never made (automatic corrections must not trigger phantom save-error toasts).updateAgentChatConfig({ searchMode: 'auto' }, { showErrorMessage: false });}}, [canCreate, isModelBuiltinSearchInternal, searchMode, updateAgentChatConfig]);diff --git a/src/features/ChatInput/hooks/useSelectExecutionTarget.test.ts b/src/features/ChatInput/hooks/useSelectExecutionTarget.test.tsindex 6e83ea14ba3..1966261e659 100644--- a/src/features/ChatInput/hooks/useSelectExecutionTarget.test.ts+++ b/src/features/ChatInput/hooks/useSelectExecutionTarget.test.ts@@ -149,7 +149,7 @@ describe('useSelectExecutionTarget', () => {});});- // LOBE-12459: the device switcher defaults an unset target to `local` on+ // automatic corrections must not trigger phantom save-error toasts: the device switcher defaults an unset target to `local` on// mount. In a workspace that write can be rejected (edit lock / resource// access), and the generic failure toast then claims the user's change was// not applied — on an agent they only opened, having changed nothing.diff --git a/src/features/ChatInput/hooks/useSelectExecutionTarget.ts b/src/features/ChatInput/hooks/useSelectExecutionTarget.tsindex 1208b158b0a..44cf10b1bb7 100644--- a/src/features/ChatInput/hooks/useSelectExecutionTarget.ts+++ b/src/features/ChatInput/hooks/useSelectExecutionTarget.ts@@ -139,7 +139,7 @@ export const useSelectExecutionTarget = (agentId: string) => {// A silent caller is defaulting the target on mount, not answering a// pick — telling the user "your change was not applied" would be- // reporting a change they never made (LOBE-12459).+ // reporting a change they never made (automatic corrections must not trigger phantom save-error toasts).if (options?.silent) {await updateAgentConfigById(agentId, nextConfig, { showErrorMessage: false });return;diff --git a/src/features/ProfileEditor/staleProfilePlugins.test.ts b/src/features/ProfileEditor/staleProfilePlugins.test.tsindex d3135ffbc61..5a10a8d4990 100644--- a/src/features/ProfileEditor/staleProfilePlugins.test.ts+++ b/src/features/ProfileEditor/staleProfilePlugins.test.ts@@ -48,11 +48,11 @@ describe('resolveStalePluginCleanup', () => {expect(resolveStalePluginCleanup(baseInput({ plugins: [] }))).toBeNull();});- // LOBE-12459: the cleanup is automatic, so firing it without edit access made+ // automatic corrections must not trigger phantom save-error toasts: the cleanup is automatic, so firing it without edit access made// the server reject `agent.updateAgentConfig`; because the rejected write never// persists, it fired and failed again on every open, toasting "Failed to save// agent settings" on an agent the member had only opened.- describe('permission gate (LOBE-12459)', () => {+ describe('permission gate (automatic corrections must not trigger phantom save-error toasts)', () => {it('does not clean up when the workspace role cannot edit content', () => {expect(resolveStalePluginCleanup(baseInput({ canEditContent: false }))).toBeNull();});diff --git a/src/features/ProfileEditor/staleProfilePlugins.ts b/src/features/ProfileEditor/staleProfilePlugins.tsindex c647dca1132..035ff929e34 100644--- a/src/features/ProfileEditor/staleProfilePlugins.ts+++ b/src/features/ProfileEditor/staleProfilePlugins.ts@@ -33,7 +33,7 @@ export interface StalePluginCleanupInput {* Returns the cleaned list when a write is warranted, or `null` to leave the* config alone.*- * The permission inputs matter as much as the staleness ones (LOBE-12459): this+ * The permission inputs matter as much as the staleness ones (automatic corrections must not trigger phantom save-error toasts): this* cleanup is automatic, so in a workspace a caller without resource edit access* would fire an `agent.updateAgentConfig` the server rejects — and because the* rejected write never persists, it would fire and fail again on *every* open,diff --git a/src/libs/swr/keys.test.ts b/src/libs/swr/keys.test.tsindex b0eac4ddf37..f0a917cb62d 100644--- a/src/libs/swr/keys.test.ts+++ b/src/libs/swr/keys.test.ts@@ -36,7 +36,7 @@ describe('recentKeys', () => {});describe('taskKeys', () => {- // Regression for LOBE-12552: the sidebar task list used a `sidebar:` domain+ // Regression for sidebar task list cache persists across navigation to skip skeleton: the sidebar task list used a `sidebar:` domain// key that no CACHE_TIERS pattern matched, so it was memory-only and every// fresh page load showed a skeleton. The key must route to a persisted tier// (the provider matches patterns against the serialized SWR key).diff --git a/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx b/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsxindex 517eed0816b..b024e46b921 100644--- a/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx+++ b/src/routes/(main)/agent/profile/features/EditorCanvas/index.tsx@@ -196,7 +196,7 @@ const AgentEditorCanvas = memo<AgentEditorCanvasProps>(({ agentId }) => {* raw Markdown with the editor's normalized rendering — and the next source-mode* keystroke would persist that normalized text. Nullish (no persisted source)* falls back to the editor's own, normalized Markdown.- * See LOBE-12367 / lobehub/lobehub#17580.+ * See source mode toggle in agent profile core instructions editor / lobehub/lobehub#17580.*/const setProgrammaticDocument = useCallback((diff --git a/src/spa/router/desktopRouter.sync.test.tsx b/src/spa/router/desktopRouter.sync.test.tsxindex 67af507a9e1..813ef9e0328 100644--- a/src/spa/router/desktopRouter.sync.test.tsx+++ b/src/spa/router/desktopRouter.sync.test.tsx@@ -99,7 +99,7 @@ describe('desktopRouter config sync', () => {});});- // Regression for LOBE-12366: these pages rendered a bare "LobeHub" tab title+ // Regression for agent sub-page tab titles show section and agent name (not bare "LobeHub"): these pages rendered a bare "LobeHub" tab title// because no route in the matched chain declared a handle.meta.it.each(['/agent/agent-1/profile',diff --git a/src/store/agent/slices/agent/action.test.ts b/src/store/agent/slices/agent/action.test.tsindex 8f72dac005d..6b7734c13a2 100644--- a/src/store/agent/slices/agent/action.test.ts+++ b/src/store/agent/slices/agent/action.test.ts@@ -692,7 +692,7 @@ describe('AgentSlice Actions', () => {);});- // LOBE-12459: some chatConfig writes are automatic corrections (e.g. forcing+ // automatic corrections must not trigger phantom save-error toasts: some chatConfig writes are automatic corrections (e.g. forcing// `searchMode: 'auto'` for a model whose builtin search can't be turned off).// A rejected correction must not toast "your change was not applied" for a// change the user never made, so the option has to reach the write funnel.