LearnNewsExamplesServices
Frontmatter
id10036
titleMemory Core Concept Discovery & Glossary Enhancement
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 15, 2026, 11:58 PM
updatedAtApr 19, 2026, 6:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/10036
authortobiu
commentsCount0
parentIssue10030
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[x] 10035 Graph Integration & GapInferenceEngine Refactor
blocking[]
closedAtApr 19, 2026, 6:30 PM

Memory Core Concept Discovery & Glossary Enhancement

Closed v13.0.0/archive-v13-0-0-chunk-4 enhancementaiarchitecture
tobiu
tobiu commented on Apr 15, 2026, 11:58 PM

Objective

Use Memory Core session summaries, tickets, and the Knowledge Base to discover concepts not yet in the ontology — the "unknown unknowns."

Context

Phase 3, Step 2 of the Concept Ontology epic (#10030). This is the ongoing maintenance and discovery layer. Depends on the integrated concept graph from #10035.

Deliverables

1. Session-Based Concept Mining

Query the Memory Core for:

  • Session summaries containing recurring architectural terms
  • High strategic_weight topics from get_context_frontier
  • Concepts that appear across 3+ sessions (Hebbian reinforcement signal)

Cross-reference against existing concept nodes. New terms that pass the Teaching Test → candidate concepts.

2. Ticket-Based Concept Mining

Scan GitHub issues (especially epics and architecture-labeled tickets) for:

  • Architectural vocabulary not yet in the ontology
  • Feature areas implicitly defining new concepts

3. KB-Assisted Classification

For UNCATEGORIZED classes (from #10032), use ask_knowledge_base:

"What architectural concept does Neo.core.EffectManager implement?"
→ "Pull-based reactivity / automatic dependency tracking"

If the answer identifies a concept not in the ontology → discovered unknown unknown.

4. Confidence Gating

  • LLM-discovered concepts start at tier: 3, confidence: 0.5
  • Only human curation or repeated session reinforcement promotes to higher tiers
  • Prevents LLM noise from flooding the ontology

5. Glossary Enhancement (Downstream)

Once the concept graph is established, generate a diff showing:

  • Concepts that should be in the Glossary but aren't
  • Glossary terms that don't map to any concept (candidates for removal or reclassification)

Acceptance Criteria

  • Script or service can query Memory Core for concept candidates
  • Discovered concepts correctly flagged with low confidence
  • Human review gate exists before promotion
  • Glossary gap report generated

Note

This sub-issue requires the KB MCP server timeout issue to be resolved first — ask_knowledge_base currently times out due to ChromaDB cold-start latency exceeding the 60s MCP SDK default.

Origin Session ID: 496c0120-29aa-4b02-a804-d5a32ff6b5eb

tobiu added the enhancement label on Apr 15, 2026, 11:58 PM
tobiu added the ai label on Apr 15, 2026, 11:58 PM
tobiu added the architecture label on Apr 15, 2026, 11:58 PM
tobiu added parent issue #10030 on Apr 15, 2026, 11:58 PM
tobiu marked this issue as being blocked by #10035 on Apr 15, 2026, 11:58 PM
tobiu cross-referenced by PR #10078 on Apr 19, 2026, 10:33 AM
tobiu cross-referenced by #10080 on Apr 19, 2026, 11:16 AM
tobiu cross-referenced by PR #10084 on Apr 19, 2026, 12:20 PM
tobiu cross-referenced by #10086 on Apr 19, 2026, 12:31 PM
tobiu cross-referenced by #10087 on Apr 19, 2026, 12:31 PM
tobiu cross-referenced by #10030 on Apr 19, 2026, 12:33 PM
tobiu cross-referenced by PR #10100 on Apr 19, 2026, 4:17 PM
tobiu cross-referenced by #10085 on Apr 19, 2026, 4:19 PM
tobiu referenced in commit b91d523 - "feat(ai): ORPHAN_CONCEPT signal + ⚠️ Orphaned Concepts handoff section (#10087) on Apr 19, 2026, 4:58 PM
tobiu cross-referenced by PR #10101 on Apr 19, 2026, 4:59 PM
tobiu referenced in commit 9d10d18 - "feat(ai): ORPHAN_CONCEPT signal + ⚠️ Orphaned Concepts handoff section (#10087) (#10101) on Apr 19, 2026, 5:12 PM
tobiu cross-referenced by PR #10102 on Apr 19, 2026, 5:20 PM
tobiu assigned to @tobiu on Apr 19, 2026, 5:41 PM
tobiu referenced in commit 695cc34 - "feat(ai): ConceptDiscoveryService + validated flag for mined candidates (#10036) on Apr 19, 2026, 5:58 PM
tobiu cross-referenced by PR #10105 on Apr 19, 2026, 6:05 PM
tobiu referenced in commit 8613143 - "feat(ai): ConceptDiscoveryService (LLM-based) + validated flag (#10036) on Apr 19, 2026, 6:20 PM
tobiu referenced in commit 4df4b09 - "feat(ai): config-lift ConceptDiscoveryService tuning knobs (#10036) on Apr 19, 2026, 6:26 PM
tobiu referenced in commit a5802d7 - "feat(ai): ConceptDiscoveryService + validated flag for mined candidates (#10036) (#10105) on Apr 19, 2026, 6:30 PM
tobiu closed this issue on Apr 19, 2026, 6:30 PM
tobiu cross-referenced by #10106 on Apr 19, 2026, 7:47 PM