singularity-forge/.sf
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
..
backups/db fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
graphs sf snapshot: uncommitted changes after 33m inactivity 2026-05-10 07:54:07 +02:00
model-catalog sf snapshot: uncommitted changes after 53m inactivity 2026-05-11 01:54:55 +02:00
recovery sf snapshot: uncommitted changes after 131m inactivity 2026-05-09 02:53:47 +02:00
safety sf snapshot: uncommitted changes after 56m inactivity 2026-05-10 17:16:30 +02:00
DECISIONS.md sf snapshot: pre-dispatch, uncommitted changes after 31m inactivity 2026-05-10 06:26:32 +02:00
metrics.db fix: consolidate extensions into sf, migrate kernel.ts, fix test suite 2026-05-11 02:40:52 +02:00
metrics.db-shm fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
metrics.db-wal fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
model-performance.json sf snapshot: uncommitted changes after 56m inactivity 2026-05-10 17:16:30 +02:00
NON-GOALS.md refactor(sf): rename guidance files TASTE.md→STYLE.md, ANTI-GOALS.md→NON-GOALS.md 2026-05-10 21:28:31 +02:00
PREFERENCES.md sf snapshot: uncommitted changes after 61m inactivity 2026-05-07 16:39:39 +02:00
PRINCIPLES.md sf snapshot: uncommitted changes after 110m inactivity 2026-05-08 00:17:47 +02:00
PROJECT.md chore(.sf): update PROJECT.md — DB healthy, S01+S02 complete, S03 next 2026-05-10 20:49:08 +02:00
REQUIREMENTS.md sf snapshot: pre-dispatch, uncommitted changes after 31m inactivity 2026-05-10 06:26:32 +02:00
STYLE.md refactor(sf): rename guidance files TASTE.md→STYLE.md, ANTI-GOALS.md→NON-GOALS.md 2026-05-10 21:28:31 +02:00