singularity-forge/src/resources/extensions/sf/tools
Mikael Hugo 32362a83bc
Some checks are pending
CI / detect-changes (push) Waiting to run
CI / docs-check (push) Blocked by required conditions
CI / lint (push) Blocked by required conditions
CI / build (push) Blocked by required conditions
CI / integration-tests (push) Blocked by required conditions
CI / windows-portability (push) Blocked by required conditions
CI / rtk-portability (linux, blacksmith-4vcpu-ubuntu-2404) (push) Blocked by required conditions
CI / rtk-portability (macos, macos-15) (push) Blocked by required conditions
CI / rtk-portability (windows, blacksmith-4vcpu-windows-2025) (push) Blocked by required conditions
feat(sift): add --verbose flag and vector-index progress logging
Adds three improvements to sift diagnostics:

1. --verbose flag: When SF_SIFT_LOG_LEVEL=debug|trace, sift search
   calls now include --verbose for richer stderr output from the Rust
   binary. Applied to sift_search, codebase_search, and warmup paths.

2. Vector-index progress poller: During searches that include the
   'vector' retriever, a 30-second interval polls the global sift cache
   (~/.cache/sift/search/artifacts/indexes/*/sectors/) and writes
   progress lines to the log file:
     [2026-05-15T11:00:00Z] vector-index progress: 32 sectors (80 MB total)
   This lets an operator tail the log during long cold-cache embedding
   builds instead of staring at a silent process.

3. estimateVectorIndexProgress / countVectorSectors helpers count sector
   files across all index directories and report total count + size.

Tests: 179 files / 1858 tests pass.
Type check: clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 11:23:54 +02:00
..
complete-milestone.js feat(planning-state): DB-first VALIDATION.md migration (proposal MVP) 2026-05-15 09:35:28 +02:00
complete-slice.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
complete-task.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
context-board-tool.js feat(sf): rem-agent-inspired memory discipline + always-in-context invariants board 2026-05-14 05:08:31 +02:00
exec-search-tool.js refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
exec-tool.js refactor: replace all inline error message ternaries with getErrorMessage() 2026-05-11 14:46:30 +02:00
memory-tools.js refactor(tools): rename SF tools to cleaner action-oriented names 2026-05-10 07:10:41 +02:00
plan-milestone.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
plan-slice.js feat(uok,plan-slice): seed Q3-Q8 gate rows with schema-v2 ctx from autonomous session 2026-05-14 18:20:32 +02:00
plan-task.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
product-audit-tool.js refactor(tools): remove sf_ prefix from all remaining tool names 2026-05-10 07:20:56 +02:00
reassess-roadmap.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
reopen-milestone.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
reopen-slice.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
reopen-task.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
replan-slice.js refactor(sf-ext): consolidate sfHome, counters, tool helpers, settings path, post-mutation hook 2026-05-11 10:17:58 +02:00
resume-tool.js refactor(tools): rename SF tools to cleaner action-oriented names 2026-05-10 07:10:41 +02:00
session-todo-tool.js fix(lint): restore 0 Biome diagnostics and fix web-mode-onboarding test timeout 2026-05-10 11:01:43 +02:00
sift-search-tool.js feat(sift): add --verbose flag and vector-index progress logging 2026-05-15 11:23:54 +02:00
skip-slice.js refactor(tools): remove sf_ prefix from all remaining tool names 2026-05-10 07:20:56 +02:00
tool-helpers.js refactor: use sfHome() for SF-WORKFLOW.md paths and skills dir; deduplicate errorMessage 2026-05-11 14:32:08 +02:00
validate-milestone.js feat(planning-state): DB-first VALIDATION.md migration (proposal MVP) 2026-05-15 09:35:28 +02:00
workflow-tool-executors.js feat(uok,plan-slice): seed Q3-Q8 gate rows with schema-v2 ctx from autonomous session 2026-05-14 18:20:32 +02:00