Skip to content

feat: add veneer-service-design crate with typed data model#37

Merged
ssilvius merged 1 commit intomainfrom
feat/31-service-design-data-model
Mar 21, 2026
Merged

feat: add veneer-service-design crate with typed data model#37
ssilvius merged 1 commit intomainfrom
feat/31-service-design-data-model

Conversation

@ssilvius
Copy link
Copy Markdown
Contributor

Summary

  • New veneer-service-design crate with typed Rust structs for all service design artifact types
  • Blueprint, JourneyMap, EcosystemMap, Persona, PainPointMatrix with full serde support
  • Shared types: EmotionalScore (range-validated -2..=+2), MomentOfTruth, PainPoint, ActorType
  • ServiceDesignArtifact enum for generic artifact handling
  • 12 tests covering roundtrip serialization, range validation, optional field defaults

Closes #31

Test plan

  • 12 unit tests passing (emotional score range, serde roundtrips, optional fields, enum dispatch)
  • All 90 workspace tests passing
  • cargo clippy -- -D warnings clean
  • cargo fmt -- --check clean

🤖 Generated with Claude Code

Typed Rust structs for all service design artifact types: Blueprint,
JourneyMap, EcosystemMap, Persona, PainPointMatrix, and shared types
(EmotionalScore, MomentOfTruth, PainPoint, ActorType). EmotionalScore
enforces -2..=+2 range at construction. All types derive serde support
with forward-compatible optional field defaults.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ssilvius ssilvius merged commit faa637a into main Mar 21, 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 veneer-service-design crate scaffold and data model - Typed Rust structs for all service design artifacts

1 participant