Skip to content

bug: display.compact: true in config.yaml has no effect #4848

@wreed4

Description

@wreed4

Bug Description

Setting display.compact: true in ~/.hermes/config.yaml has no effect — the full welcome banner with tools/MCP/skills panel always renders on startup.

Root Cause

In cli.py, both the CLI entrypoint function and HermesCLI.__init__ declare compact: bool = False. Because False is never None, the config fallback is never reached:

# HermesCLI.__init__
self.compact = compact if compact is not None else CLI_CONFIG["display"].get("compact", False)

The entrypoint (driven by fire) always passes compact=False into __init__, so CLI_CONFIG["display"]["compact"] is never read.

Fix

Change the default in both locations from False to None:

# entrypoint function (~line 7889)
compact: bool = None,

# HermesCLI.__init__ (~line 1113)
compact: bool = None,

Steps to Reproduce

  1. Set display.compact: true in ~/.hermes/config.yaml
  2. Run hermes
  3. Full banner with tools/MCP/skills panel renders instead of compact banner

Expected Behavior

Compact banner renders, suppressing the tools/MCP/skills info panel.

Environment

  • Hermes v0.7.0

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