LearnNewsExamplesServices
Frontmatter
id10031
titleJSONL Schema & Concept Seed Extraction
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 15, 2026, 11:56 PM
updatedAtApr 17, 2026, 10:21 AM
githubUrlhttps://github.com/neomjs/neo/issues/10031
authortobiu
commentsCount0
parentIssue10030
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[x] 10032 ConceptService & Source Code Wiring
closedAtApr 17, 2026, 9:35 AM

JSONL Schema & Concept Seed Extraction

Closedenhancementaiarchitecture
tobiu
tobiu commented on Apr 15, 2026, 11:56 PM

Objective

Define the JSONL schema for concept nodes and edges, and populate the initial concept graph by extracting from existing curated sources.

Context

Phase 1, Step 1 of the Concept Ontology epic (#10030). The concept graph starts as standalone JSONL files — no database dependency.

Deliverables

1. JSONL Schema Definition

Create nodes.jsonl and edges.jsonl at .neo-ai-data/concepts/:

Node schema (one concept per line):

{"id":"multi-threading","name":"Multi-Threading Architecture","tier":1,"description":"...","uniqueToNeo":true,"tags":["architecture","workers"]}

Edge schema (one relationship per line):

{"source":"two-tier-reactivity","target":"push-reactivity","type":"PARENT_CONCEPT"}
{"source":"push-reactivity","target":"file-src/core/Config.mjs","type":"IMPLEMENTED_BY"}

Edge types: PARENT_CONCEPT, IMPLEMENTED_BY, EXPLAINED_BY, EXEMPLIFIED_BY, REQUIRES

2. Gitignore Exception

Add negation rule to .gitignore:

!.neo-ai-data/concepts/

3. Concept Extraction Sources

  • Primary: learn/tree.json (filtered — skip DevIndex, Tutorials, JavaScript basics, Comparisons)
  • Secondary: learn/benefits/ArchitectureOverview.md headings → Tier 1 concepts
  • Tertiary: Human curation pass to validate Teaching Test filter

4. README.md

Schema documentation and contribution guide at .neo-ai-data/concepts/README.md.

The Teaching Test (Filter)

A concept is included if:

  1. A developer needs to understand it to USE Neo.mjs productively
  2. It cannot be learned by simply reading one API doc page
  3. It answers "how" or "why" questions, not just "what"

Expected Output

~80-100 CONCEPT nodes with hierarchy, ~200 PARENT_CONCEPT edges, concept descriptions from existing docs.

Acceptance Criteria

  • nodes.jsonl and edges.jsonl exist and are valid JSONL
  • .gitignore negation rule works (files tracked by git)
  • Concepts pass the Teaching Test
  • README documents the schema

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

tobiu added the enhancement label on Apr 15, 2026, 11:56 PM
tobiu added the ai label on Apr 15, 2026, 11:56 PM
tobiu added the architecture label on Apr 15, 2026, 11:56 PM
tobiu cross-referenced by #10032 on Apr 15, 2026, 11:56 PM
tobiu cross-referenced by #10035 on Apr 15, 2026, 11:57 PM
tobiu added parent issue #10030 on Apr 15, 2026, 11:58 PM
tobiu marked this issue as blocking #10032 on Apr 15, 2026, 11:58 PM
tobiu referenced in commit 00a06d5 - "feat: add concept ontology JSONL schema and initial 59-concept seed (#10031) on Apr 17, 2026, 9:26 AM
tobiu cross-referenced by PR #10047 on Apr 17, 2026, 9:27 AM
tobiu referenced in commit 593c918 - "feat: add concept ontology JSONL schema and initial 59-concept seed (#10031) (#10047) on Apr 17, 2026, 9:35 AM
tobiu closed this issue on Apr 17, 2026, 9:35 AM
tobiu referenced in commit a444940 - "chore: convert ASCII art diagrams to mermaid in ConceptOntology guide (#10031)" on Apr 17, 2026, 9:39 AM
tobiu assigned to @tobiu on Apr 17, 2026, 10:21 AM
tobiu cross-referenced by #10050 on Apr 17, 2026, 3:44 PM
tobiu cross-referenced by PR #10084 on Apr 19, 2026, 12:20 PM
tobiu cross-referenced by #10030 on Apr 19, 2026, 12:33 PM