Refactor structure_type to block_type and align canonical vocabulary#677
Conversation
- Updated all instances of `structure_type` to `block_type` in test files to maintain consistency in terminology. - Adjusted assertions and mock structures to reflect the change from `structure_type` to `block_type`. - Modified relevant test descriptions and comments to align with the new terminology. - Ensured that member arrangements and concept arrangements are updated where necessary, specifically changing "aggregation" to "whole_part" in relevant tests.
|
@claude please review this PR |
|
Claude finished @jfrench9's task in 5m 24s —— View job PR Review:
|
Summary
Large-scale vocabulary alignment refactor that renames
structure_typetoblock_typeacross the entire codebase and updates concept arrangement patterns in taxonomy definitions to use canonical terminology. This touches 101 files spanning models, operations, migrations, taxonomy packages, GraphQL types, adapters, and tests.Key Accomplishments
Terminology Alignment:
structure_type→block_typestructure_typefield/column toblock_typeacross all layers of the stack: database models, API models, GraphQL types/resolvers, operations, and test fixturesCanonical Vocabulary Updates for Taxonomy Packages
robosystems/models/extensions/structure.py) and rule models with expanded type definitions and updated enum valuesMigration Updates
0001), taxonomy library migration (0002), frameworks/bridges migration (0007), and reporting style migration (0008) to useblock_typeand updated arrangement patternsBreaking Changes
structure_typecolumn renamed toblock_type— requires migration execution before deploymentstructure_typein GraphQL queries, API responses, or model serializations will need to update toblock_typeTesting Notes
block_typeterminologystructure_typereferences remainInfrastructure Considerations
structure_typeor old arrangement pattern values should be invalidated/rebuilt🤖 Generated with Claude Code
Branch Info:
refactor/info-block-alignmentmainCo-Authored-By: Claude noreply@anthropic.com