Skip to content

feat: make domain scenarios configurable via YAML#1

Merged
juliensimon merged 1 commit intomainfrom
feat/yaml-configurable-domains
Mar 29, 2026
Merged

feat: make domain scenarios configurable via YAML#1
juliensimon merged 1 commit intomainfrom
feat/yaml-configurable-domains

Conversation

@juliensimon
Copy link
Copy Markdown
Owner

Summary

  • Add YAML-based configuration for domain scenarios via new --config / -c CLI flag
  • Users can define custom domains or override built-in ones by providing a YAML file or directory
  • Custom domains merge with the 10 built-in scenarios (matching names override)
  • New loader.py module with validation, directory loading, and registry merging

Test plan

  • 17 new tests for YAML loading, validation errors, directory merging, and registry building
  • 2 new CLI integration tests for --config flag
  • All 33 tests pass (existing + new)
  • mypy and ruff pass on new code
  • Manual: ocelgen list-domains --config custom.yaml shows merged domains

🤖 Generated with Claude Code

Add YAML-based configuration for domain scenarios, allowing users to
define custom domains or override built-ins via --config flag on CLI
commands (list-domains, enrich, upload, pipeline).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@juliensimon juliensimon merged commit 4834e5a into main Mar 29, 2026
2 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.

1 participant