singularity-forge/packages/coding-agent/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
..
cli feat(memory): add debug logging to memory extraction pipeline 2026-05-15 16:09:36 +02:00
core fix(auto): make halt watchdog observable 2026-05-15 08:09:02 +02:00
modes feat(swarm): event streaming + outcome derivation for runUnitViaSwarm 2026-05-15 04:54:58 +02:00
resources/extensions/memory fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
tests feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
types feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
utils fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
cli.ts refactor: strip internal pi branding (Phase 2A) 2026-05-10 11:50:55 +02:00
config.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
index.ts feat(subagent): event streaming for in-process runSubagent 2026-05-15 04:04:52 +02:00
main.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00
migrations.ts feat(web): add error boundaries, expand test coverage, add README 2026-05-10 11:24:40 +02:00