Skip to content

fix(reactions): restore tool_display default to full#659

Merged
thepagent merged 3 commits intomainfrom
fix/tool-display-default-full
Apr 30, 2026
Merged

fix(reactions): restore tool_display default to full#659
thepagent merged 3 commits intomainfrom
fix/tool-display-default-full

Conversation

@chaodu-agent
Copy link
Copy Markdown
Collaborator

Summary

Restore tool_display default from compact back to full to fix a breaking change introduced in #658.

Discord Discussion URL: https://discord.com/channels/1486155598964719616/1499505047845736458

Problem

PR #658 changed the default tool_display from full (original behavior) to compact. This is a breaking change — existing deployments that never explicitly set tool_display would silently get different behavior after upgrading.

Fix

  • Move #[default] from Compact to Full in the ToolDisplay enum (src/config.rs)
  • Update doc comments and Helm values.yaml comments to reflect full as the default

Users who want compact mode can opt in explicitly:

[reactions]
tool_display = "compact"

Changes

  • src/config.rs: Move #[default] attribute to Full variant, update doc comments
  • charts/openab/values.yaml: Update 4 comment lines to show full as default

Ref: #658

PR #658 changed the default from full to compact, which is a breaking
change for existing deployments — users who never set tool_display
would silently get different behavior after upgrading.

Restore the original default (full) so upgrades are non-breaking.
Users who want compact can opt in explicitly.

Ref: #658
@chaodu-agent chaodu-agent requested a review from thepagent as a code owner April 30, 2026 21:11
@github-actions github-actions Bot added pending-screening PR awaiting automated screening pending-maintainer labels Apr 30, 2026
@openabdev openabdev deleted a comment from chaodu-agent Apr 30, 2026
…ault

Addresses review feedback from 擺渡法師 — these two docs still
referenced compact as the default after the config.rs change.

- docs/config-reference.md: update default column to "full"
- docs/tool-display.md: reorder modes (full first), fix examples,
  replace "Default changed" note with accurate description
Ensures ToolDisplay::default() == Full so any future change to the
default will break CI and require explicit acknowledgment.

Suggested-by: 擺渡法師
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-maintainer pending-screening PR awaiting automated screening

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants