Skip to content

Conversation

@lanmower
Copy link
Member

This commit refactors the entire application to follow the principles of 'Convention over Configuration' and 'Configuration over Code'.

  • All I-Ching data (trigrams, hexagrams, line meanings) has been moved out of the logic files and into centralized, well-structured configuration files in src/config.
  • The data models for hexagrams and lines have been enriched with detailed information and citations from authoritative sources.
  • The core explanationProvider.js has been refactored to be a generic component that assembles its output from these config files.
  • The test suite has been completely overhauled to validate the new architecture and a number of issues with the test environment have been fixed.

This commit refactors the entire application to follow the principles of 'Convention over Configuration' and 'Configuration over Code'.

- All I-Ching data (trigrams, hexagrams, line meanings) has been moved out of the logic files and into centralized, well-structured configuration files in `src/config`.
- The data models for hexagrams and lines have been enriched with detailed information and citations from authoritative sources.
- The core `explanationProvider.js` has been refactored to be a generic component that assembles its output from these config files.
- The test suite has been completely overhauled to validate the new architecture and a number of issues with the test environment have been fixed.
@lanmower lanmower merged commit 22ac1a6 into main Aug 15, 2025
1 of 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.

2 participants