LearnNewsExamplesServices
Frontmatter
id9741
titleFeature: DreamService Codebase Gap Analysis (Automated Doc Alerting)
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 6, 2026, 8:15 PM
updatedAtApr 6, 2026, 8:46 PM
githubUrlhttps://github.com/neomjs/neo/issues/9741
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 6, 2026, 8:46 PM

Feature: DreamService Codebase Gap Analysis (Automated Doc Alerting)

Closedenhancementai
tobiu
tobiu commented on Apr 6, 2026, 8:15 PM

Description

Currently, the SQLite Hebbian Memory Integration (Hybrid GraphRAG) pipeline digests episodic memories (conversational sessions) and extracts topological conflicts based on past agent dialogue.

However, the active source code, tests, and guides are sitting in a secondary dimension. If agents build massive structural features over several sessions, the Memory Core knows about it contextually. But if the team forgets to document it, the system doesn't natively detect that the resulting artifacts (source code or markdown in learn/guides/) are missing.

Objective

We need to enhance runSandman.mjs (the REM Extraction pipeline) to:

  1. Correlate with Knowledge Base JSONL: Have the MemoryService cross-reference active .neo-ai-data/neo.db nodes against the embedded knowledge base (the JSONL chunk output of current repository state).
  2. Gap Detection: Ask gemma4 to analyze if high-density episodic achievements lack corresponding markdown/source nodes in the core knowledge base.
  3. Actionable Outputs: If a guide or test is missing, inject a highly weighted "Documentation Gap" or "Test Gap" alert directly into sandman_handoff.md.
tobiu added the enhancement label on Apr 6, 2026, 8:16 PM
tobiu added the ai label on Apr 6, 2026, 8:16 PM
tobiu assigned to @tobiu on Apr 6, 2026, 8:22 PM
tobiu referenced in commit 5a573af - "feat: Implement FileSystem topological ingestion and capability gap analysis inference (#9741)" on Apr 6, 2026, 8:45 PM
tobiu
tobiu Apr 6, 2026, 8:46 PM

I have implemented the FileSystemIngestor utilizing the codebase gap analysis logic to inject documentation and test alerts correctly. The failing unit tests preventing deployment have been fixed (GraphService properties payload mapping normalized natively). The REM pipeline logic should now activate securely.

tobiu closed this issue on Apr 6, 2026, 8:46 PM