Skip to main content

Overview

Monolex’s Research Viewer displays multi-threaded ASURA research sessions, while GitTab manages 14 specialized Git visualization tools through dynamic imports. Frontmatter parsing extracts machine-readable metadata from human-authored documents, enabling automated processing and intelligent categorization.

WikiResearchViewer: ASURA Display

Research Folder Detection

WikiResearchViewer identifies ASURA research sessions by analyzing folder structure:
Extracted Metadata:
  • threadCount: 3 (unique letters A, B, C)
  • chapterCount: 4 (all chapter-N files)
  • hasSynthesis: true (FINAL-SYNTHESIS.md exists)
  • status: “synthesized”

Thread Extraction Algorithm

Pattern: /chapter-\d+-([A-Z])-/ captures thread letter from filenames.

Status Determination

Logic:
  1. If FINAL-SYNTHESIS.md exists → synthesized
  2. Else if not in /wip/ directory → archived
  3. Otherwise → in-progress

GitTab: 14 Viewer Management

Viewer Button Architecture

GitTab manages 14 specialized Git viewers through dynamic imports and tab reuse:

Dynamic Import Pattern

Virtual Path Tab Reuse

Viewer Lifecycle

Batch API Performance


Frontmatter Parsing

YAML Metadata Extraction

Frontmatter parsing extracts machine-readable metadata from document headers:
Extracted Data: { status: "ready", title: "Feature Implementation", ... }

Regex Pattern

Colon-in-Value Handling

Status Field with Default


Extended Document Types

Document Transformation Pipeline

Status Value Domains

Pattern: Each viewer defines its own status domain based on metadata source.

THE CENTER


Known Limitation: Multiline YAML Values

The frontmatter parser does not support multiline YAML values using | or > notation.
Workaround: Use single-line values or comma-separated lists.Impact: Minor - most frontmatter uses simple key:value pairs.