Skip to content

feat(builtins): add shell-wide help/discover for regular Bashkit execution #575

@chaliy

Description

@chaliy

Goal

Bring the help / discover experience from scripted_tool into regular Bashkit command execution.

Current state

  • scripted_tool already has runtime help and discover builtins
  • regular Bash execution does not expose comparable shell-wide introspection for builtins, functions, aliases, or custom builtins

Proposal

Add shell-wide help and discover backed by a shared command metadata registry.

Scope

  • list builtins, functions, aliases, and custom builtins
  • help <name> for human-readable usage
  • help <name> --json for machine-readable metadata
  • discover --search, --tag, --category where metadata exists
  • reuse the same metadata source for docs and future completion

Why

This improves human ergonomics and LLM/tool ergonomics. It also avoids having one discovery model for scripted_tool and another for normal Bash.

Prior art

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions