Skip to content

Migrate project documentation to NodeSpace collections #770

Closed

Description

@malibio

Summary

Migrate the 173 markdown documentation files from the docs/ folder into NodeSpace itself, organizing them with proper collections to distinguish current vs archived/historical content.

Motivation

  1. Dogfooding - Use NodeSpace to manage its own documentation
  2. Semantic Search - Enable AI agents to find relevant docs via semantic search instead of grep
  3. Content Organization - Proper collection tagging for archived vs current docs
  4. Benchmark Testing - Real corpus for semantic search vs grep benchmarks

Current State

Category File Count
Archived (in */archived/* folders) 26
ADRs (Architecture Decision Records) 19
Lessons Learned 7
Troubleshooting 3
Current Architecture (non-archived) 116
Total 173 files (87K lines)

Proposed Collection Structure

nodespace-docs/
├── architecture/        # Current, authoritative architecture docs
├── development/         # Process, standards, guides
├── components/          # Component specifications
├── business-logic/      # Node behaviors, MCP integration
├── adr/                 # Architecture Decision Records (timestamped)
├── lessons/             # Lessons learned (historical reference)
├── archived/            # Superseded docs (kept for context)
└── troubleshooting/     # Issue investigations

Acceptance Criteria

  • Create collection hierarchy in NodeSpace
  • Import current architecture docs (~116 files) into appropriate collections
  • Import ADRs into adr collection with date metadata
  • Import archived docs into archived collection
  • Import lessons learned into lessons collection
  • Verify semantic search finds relevant content
  • Document import process for future docs
  • Update CLAUDE.md to reference NodeSpace docs where appropriate

Implementation Notes

  • Use create_nodes_from_markdown MCP tool for import
  • Each doc becomes a root node with hierarchical children
  • Collections provide the organizational structure
  • Consider adding status: current|archived|superseded property to docs

Testing

  • Run semantic search benchmark comparing grep vs NodeSpace on real queries:
    • "How do I add a new node type?"
    • "What's the validation flow for tasks?"
    • "Where are MCP handlers implemented?"
    • "What was the decision around schema management?"

🤖 Generated with Claude Code

Activity

  1. added
    documentation
    enhancement
    on Dec 17, 2025
  2. self-assigned this
    on Jan 26, 2026
  3. malibio commented on Jan 26, 2026

    @malibio
    CollaboratorAuthor

    Test baseline: Frontend: 3468 passed (102 test files), Rust: 722 passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions