Skip to content

Replace hard-coded _ACTION_DISPLAY labels with tool metadata #870

@VaibhavUpreti

Description

@VaibhavUpreti

Why This Matters

progress output should update automatically when new tools are added instead of requiring a second manual mapping in app/output.py.

Read First

  • app/output.py
  • app/remote/reasoning.py
  • app/tools/registered_tool.py
  • app/tools/registry.py

Scope

  1. Add one registry-backed way to resolve a human-friendly tool label.
  2. Update _humanise_message() and app/remote/reasoning.py to use it.
  3. Keep the existing human-friendly labels for current tools.

Tests / Coverage

  • extend tests/tools/test_registry.py
  • add output tests that assert planned-action strings are humanized from real tool metadata
  • add one fallback test for unknown tool names

Acceptance Criteria

  • app/output.py no longer owns the only source of tool display labels
  • current progress output remains readable
  • unknown tool names still degrade gracefully

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrefactorCodebase cleanup without behavior changeuxDeveloper or user experience improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions