Skip to content

feat: add service design markdown table parser#38

Merged
ssilvius merged 1 commit intomainfrom
feat/32-markdown-table-parser
Mar 22, 2026
Merged

feat: add service design markdown table parser#38
ssilvius merged 1 commit intomainfrom
feat/32-markdown-table-parser

Conversation

@ssilvius
Copy link
Copy Markdown
Contributor

Summary

  • Five artifact parsers: Blueprint, JourneyMap, EcosystemMap, Persona, PainPointMatrix
  • Table and section extraction utilities for single-pass markdown parsing
  • Emotional score parser ("Frustrated (-2)" -> EmotionalScore + label)
  • ArtifactParserRegistry with automatic type detection via frontmatter or heading patterns
  • Test fixtures for all 5 artifact types based on actual vault-2026 formats
  • No dependency on veneer-mdx -- uses simple HashMap<String, String> frontmatter

Closes #32

Test plan

  • 34 new parser tests + 12 existing model tests = 46 total in veneer-service-design
  • All 143 workspace tests passing
  • cargo clippy -- -D warnings clean
  • cargo fmt -- --check clean

🤖 Generated with Claude Code

Five artifact parsers extracting typed structs from markdown tables:
BlueprintParser (vertical Layer/Detail tables with swimlane layers),
JourneyMapParser (horizontal phase tables), EcosystemMapParser
(actor/channel/value exchange tables), PersonaParser (demographics,
goals, frustrations), PainPointMatrixParser (rubric scoring, themes).

Includes table/section extraction utilities, emotional score parsing
(e.g. "Frustrated (-2)"), and ArtifactParserRegistry for automatic
artifact type detection via frontmatter or heading patterns.
34 new parser tests with fixture files for all 5 artifact types.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ssilvius ssilvius merged commit eef1678 into main Mar 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement service design markdown table parser - Extract structured data from MDX content

1 participant