chore: clean [LOBE-XXX] code annotations (2026-06-10) (#15623)

chore: clean up [LOBE-XXX] code annotations (2026-06-10)

Remove LOBE-XXX markers from comments and URLs across 7 files:
- apps/cli/hetero.ts & hetero.test.ts: Remove LOBE-10157 markers, keep context
- apps/server/ModelRuntime: Remove LOBE-10056, keep PK migration note
- packages/database/rbac.ts: Remove LOBE-9193, keep API doc
- scripts/codemodWorkspaceNav.ts: Remove LOBE-9024 from description
- parse.ts & parse.test.ts: Replace LOBE-10141/LOBE-123 with generic IDs

Co-authored-by: lobehub-bot <lobehub-bot@users.noreply.github.com>
This commit is contained in:
Arvin Xu
2026-06-10 19:59:54 +08:00
committed by GitHub
parent 94ea3f6a34
commit 5dfb6fc288
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -650,7 +650,7 @@ describe('hetero exec command', () => {
});
it('resets the per-message text accumulator at message boundaries (no cross-message duplication)', async () => {
// LOBE-10157 Bug 3: the `replace` snapshot accumulator must not span
// The `replace` snapshot accumulator must not span
// message boundaries. Two assistant messages separated by a
// stream_end/stream_start boundary must each snapshot only their OWN
// text — otherwise the second message re-emits the first's text verbatim.
+1 -1
View File
@@ -261,7 +261,7 @@ class SerialServerIngester {
// adapter's `openMainMessage`) must reset it — otherwise it spans the
// whole run and every later message's snapshot re-emits all prior
// messages' text verbatim, which the server then persists into the new
// DB message (LOBE-10157 Bug 3: cross-message text duplication). Reset
// DB message: cross-message text duplication. Reset
// AFTER flushing the just-ended message's pending snapshot above.
if (event.type === 'stream_start' || event.type === 'stream_end') {
this.accumulatedText = '';
@@ -408,7 +408,7 @@ export const initModelRuntimeFromDB = async (
): Promise<ModelRuntime> => {
// 1. Get user's provider configuration from database
// NOTE: workspace-scoped ai_infra is deferred until the ai_infra surrogate-`_id`
// PK migration (LOBE-10056) lands; AiProviderModel stays personal-scoped for now.
// PK migration lands; AiProviderModel stays personal-scoped for now.
const aiProviderModel = new AiProviderModel(db, userId);
// Use getAiProviderById with KeyVaultsGateKeeper.getUserKeyVaults as decryptor