feat(infospace): add entity metadata parser (S1.1)

Extract section-tree algorithm from SchemaGenerator into standalone
core/section_tree.py and build markitect/infospace/ package with
EntityMeta dataclass and parse_entity_file/parse_entity_directory.
Foundation for schema compliance, coverage, and granularity metrics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 00:27:45 +01:00
parent b5e994b014
commit 03c6c5e8de
9 changed files with 739 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
"""
Infospace analysis package.
Provides tooling for extracting structured metadata from entity markdown
files and analysing infospace collections.
"""
from .models import EntityMeta
from .entity_parser import parse_entity_file, parse_entity_directory
__all__ = [
"EntityMeta",
"parse_entity_file",
"parse_entity_directory",
]