Skip to content

feat: add CBT resources for model metadata discovery#4

Open
Savid wants to merge 1 commit intomasterfrom
fix/cbt-depends-on-polymorphic-parsing
Open

feat: add CBT resources for model metadata discovery#4
Savid wants to merge 1 commit intomasterfrom
fix/cbt-depends-on-polymorphic-parsing

Conversation

@Savid
Copy link
Member

@Savid Savid commented Jan 12, 2026

Add CBT (ClickHouse Block Transformer) client and resources that expose
data transformation metadata. Models are universal across networks -
the network is just which database to query against.

Resources:

  • cbt:// - Overview with available networks
  • cbt://intervals - Interval type definitions
  • cbt://models - List all models (external + transformations)
  • cbt://models/{model} - Model details with {network} templating
  • cbt://models/{model}/dependencies - Transitive dependencies
  • cbt://dag - Universal dependency graph

Key design:

  • Fetch from single canonical source (mainnet preferred)
  • Template model IDs: mainnet.fct_block -> fct_block
  • Template SQL content with {network} placeholder
  • Networks shown as availability property, not hierarchy

@Savid Savid force-pushed the fix/cbt-depends-on-polymorphic-parsing branch from 99971dc to 08b47c5 Compare January 12, 2026 07:55
Add CBT (ClickHouse Block Transformer) client and resources that expose
data transformation metadata. Models are universal across networks -
the network is just which database to query against.

Resources:
- cbt:// - Overview with available networks
- cbt://intervals - Interval type definitions
- cbt://models - List all models (external + transformations)
- cbt://models/{model} - Model details with {network} templating
- cbt://models/{model}/dependencies - Transitive dependencies
- cbt://dag - Universal dependency graph

Key design:
- Fetch from single canonical source (mainnet preferred)
- Template model IDs: mainnet.fct_block -> fct_block
- Template SQL content with {network} placeholder
- Networks shown as availability property, not hierarchy
@Savid Savid force-pushed the fix/cbt-depends-on-polymorphic-parsing branch from 76a2856 to 12a48b0 Compare January 13, 2026 12:34
@Savid Savid changed the title feat: add CBT tool and resources for model metadata discovery feat: add CBT resources for model metadata discovery Jan 13, 2026
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