singularity-forge/src
Mikael Hugo 7ba469cff1
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(memory): add debug logging to memory extraction pipeline
The memory extraction system has infrastructure (DB tables, LLM prompts,
unit closeout wiring, embedding backfill) but zero processed units and
only self-feedback-resolution memories. This suggests extraction is
failing silently.

Add debugLog() calls throughout extractMemoriesFromUnit() so we can
observe:
- Skip reasons (mutex busy, rate limited, already processed, file too small)
- Start/done lifecycle per unit
- LLM call and parse outcomes
- Error messages on failure and retry

This makes the extraction pipeline observable via --debug or the
journal/debug log without changing behavior.

Tests: 185 files / 1993 tests pass.
Type check: clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 16:09:36 +02:00
..
resources feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
tests fix(headless): normalize auto alias to autonomous 2026-05-15 14:32:00 +02:00
web
app-paths.ts
bundled-extension-paths.ts
bundled-resource-path.ts
claude-cli-check.ts
cli-logs.ts
cli-stats.ts
cli-status.ts
cli-web-branch.ts
cli.ts chore(discovery): silence debug stderr from refresh path 2026-05-15 15:03:56 +02:00
env.ts
errors.ts
extension-discovery.ts
extension-registry.ts
headless-answers.ts
headless-context.ts
headless-events.ts
headless-import-backlog.ts
headless-mark-state.ts feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
headless-query.ts
headless-reflect.ts
headless-triage.ts
headless-types.ts
headless-ui.ts
headless-uok-status.ts
headless-usage.ts
headless.ts feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
help-text.ts feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
interactive-session-lock.ts
loader.ts
logger.ts
logo.ts
models-resolver.ts
onboarding.ts
pi-migration.ts
project-sessions.ts
provider-migrations.ts
remote-questions-config.ts
resource-loader.ts
rtk.ts
security-overrides.ts
startup-model-validation.ts
startup-timings.ts
tool-bootstrap.ts
traces.ts
update-check.ts
update-cmd.ts
web-mode.ts
welcome-screen.ts
wizard.ts
worktree-cli.ts
worktree-name-gen.ts