Hmbown / Hmbown/Codewhale

Architecture: de-hardcode model provider and tool registries

Open
#4,173 3 comments 0 reactions 0 assignees View on GitHub
cleanup enhancement reliability rust tools tui
Dominant language
Rust
Stars
41k
Forks
3.6k
Avg merge
13h 59m
Merged PRs (30d)
299

Description

Source: CODEWHALE_0_8_68.md Section 9

Reduce hard-coded registries called out by the architecture context.

Current hard-coded surfaces:
- 81 models in `ModelRegistry::default()`.
- 31 providers in `ProviderKind` enum.
- Approximately 52 tool structs.

Acceptance:
- There is an inventory of which registries are product contracts vs generated/catalog data vs internal implementation.
- Model/provider data moves toward catalog/config driven sources where appropriate.
- Tool registry changes preserve dispatch safety and discoverability.

Contributor guide

Open the contributing guide

Research direction

Start with CODEWHALE_0_8_68.md Section 9, then inspect ModelRegistry::default(), the ProviderKind enum, and the tool registry structs. Inventory which surfaces are product contracts, catalog data, or internal implementation before proposing catalog/config changes; done means the inventory exists and registry changes preserve dispatch safety and discoverability.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai, cli, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.