singularity-forge/web/lib
Mikael Hugo 0b5fa75c0d fix(lint): fix all pre-existing lint failures
- check-sf-extension-inventory.mjs: expand parseDirectRegisteredCommands()
  scan to include 7 more files (guards/inturn.js, notifications/notify.js,
  permissions/index.js, ui/usage-bar.js, commands/legacy/audit.js,
  commands/legacy/create-extension.js, commands/legacy/create-slash-command.js)
  and filter results by BASE_RUNTIME_COMMAND_NAMES to exclude doc-string false
  positives ("name" in create-slash-command.js template text)

- extension-manifest.json: remove 'clear' (subcommand of logs/notifications,
  never a top-level pi.registerCommand)

- packages/pi-agent-core/src/db/sf-db.ts: fix 23 noVoidTypeReturn errors
  - openDatabase: void → boolean (caller uses return value at line 5625)
  - claimEscalationOverride: void → boolean (caller checks at escalation.js:243)
  - resolveSelfFeedbackEntry: void → boolean (caller checks at self-feedback.js:387)
  - copyWorktreeDb: void → boolean (caller checks at reconcileWorktreeDb)
  - compactUokMessages: void → {before,after} (caller returns value at message-bus.js:238)
  - insertSessionTurn: void → bigint|null (caller uses id at session-recorder.js:104)
  - expireStaleMemories: void → number (caller uses count at auto-start.js:1047)
  - deleteMemorySourceRow: void → boolean (caller returns value at memory-source-store.js:107)
  - deleteMemoryEmbedding: void → boolean (caller returns value at memory-embeddings.js:328)
  - updateBacklogItemStatus: remove dead return expression (callers discard value)
  - removeBacklogItem: remove dead return expression (callers discard value)
  - updateGateCircuitBreaker: remove dead return {total,avgMs,...} (wrong-type
    code accidentally merged from getGateLatencyStats, never reachable)
  - markUokMessageRead: remove dead return true/false (callers discard value)

- Auto-fix formatting and organizeImports in ~30 source files (biome --write)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 04:02:31 +02:00
..
__tests__ fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
auth-guard.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
auth.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
browser-slash-command-dispatch.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
command-surface-contract.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
dev-overrides.tsx chore: commit current workspace state 2026-05-05 14:46:18 +02:00
diagnostics-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
git-summary-contract.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
image-utils.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
initial-sf-header-filter.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
knowledge-captures-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
project-store-manager.tsx chore: commit current workspace state 2026-05-05 14:46:18 +02:00
project-url.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
pty-chat-parser.ts chore(web): upgrade all dependencies to latest stable 2026-05-10 11:52:54 +02:00
pty-manager.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
remaining-command-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
secure-path.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
session-browser-contract.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
settings-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
sf-workspace-store.tsx chore(web): upgrade all dependencies to latest stable 2026-05-10 11:52:54 +02:00
shutdown-gate.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
use-editor-font-size.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
use-terminal-font-size.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
use-user-mode.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
utils.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
visualizer-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workflow-action-execution.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workflow-actions.ts fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
workspace-status.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workspace-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
xterm-theme.ts style: format repository with biome 2026-05-05 14:31:16 +02:00