Skip to content

bash long_running_reminder_enabled: false does not suppress completion reminders #89

@Vulcankta

Description

@Vulcankta

Short description

bash long_running_reminder_enabled: false does not suppress completion reminders

What happened?

Description

Setting bash.long_running_reminder_enabled: false in user-level config does not suppress background bash completion <system-reminder> messages. The config field is parsed and stored in ResolvedBashConfig, but no gate was wired in the notification pipeline.

Reproduction

  1. Set in ~/.config/opencode/aft.jsonc:
    "bash": {
      "rewrite": false,
      "compress": false,
      "long_running_reminder_enabled": false
    }
  2. Run a command that gets promoted to background (e.g. sleep 12)
  3. On next tool call, a block still appears with [BACKGROUND BASH COMPLETED]

Root cause

The config field is parsed and stored in ResolvedBashConfig, but the bash tool sets notify_on_completion unconditionally without checking it. The notification pipeline (handlePushedBgCompletionappendInTurnBgCompletionsformatCombinedSystemReminder) never reads this config field, so the gate was never wired.

The Rust side (bash_long_running_reminder_enabled) receives the flag but doesn't need it — the gate belongs on the TypeScript side where the <system-reminder> is injected.

Config

  • Plugin: @cortexkit/aft-opencode v0.35.1
  • Binary: v0.35.1
  • Platform: Windows x64

Diagnostics

Plugin version

0.35.1

AFT binary version

0.35.1

Platform

windows x64

Log output (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions