Skip to content

refactor(dispatch): remove 11 trivial delegation shims#366

Open
fagemx wants to merge 1 commit intomainfrom
refactor/remove-dispatch-shims-356
Open

refactor(dispatch): remove 11 trivial delegation shims#366
fagemx wants to merge 1 commit intomainfrom
refactor/remove-dispatch-shims-356

Conversation

@fagemx
Copy link
Copy Markdown
Owner

@fagemx fagemx commented Mar 27, 2026

Summary

  • Remove 11 single-line forwarding functions from dispatch/mod.rs (lines 321-364)
  • Sub-modules (tools.rs, session.rs, helpers.rs) now call crate::state::* and crate::render::config_bool directly
  • Tests updated to import from crate::state instead of super::

Test plan

  • cargo test -p edda-bridge-claude — 524 passed, 1 pre-existing failure (unrelated bg_detect::tests::audit_log_appends)

Closes #356

🤖 Generated with Claude Code

Sub-modules now call crate::state::* and crate::render::config_bool
directly instead of going through single-line forwarding functions
in dispatch/mod.rs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

[refactor] Remove 11 trivial delegation functions in dispatch/mod.rs

1 participant