Skip to content

Docs: document MentionRequiredInThread channel option (Slack/Discord/Mattermost) #115

Description

@Aaronontheweb

Summary

Netclaw adds a new per-channel option MentionRequiredInThread to the Slack, Discord, and Mattermost connectors. The netclaw.dev docs must describe it.

Implemented by netclaw-dev/netclaw#1783. Feature request: netclaw-dev/netclaw#1782.

What the option does

  • Default is false. Behavior does not change for existing installs.
  • When true, a follow-up reply in a thread with an active session must include an @-mention. Netclaw drops un-mentioned replies.
  • A @-mention still continues the existing session as before.
  • The option gates both the live-thread path and the daemon-restart rehydration path.

Where to document

  • The three channel integration pages (Slack, Discord, Mattermost): add MentionRequiredInThread to the settings list, next to MentionOnly and MentionRequiredInDm.
  • The configuration reference: add a row for the option (type bool, default false).

Configuration surface (note for the docs)

  • Today you set this option only in netclaw.json, under the channel section. Example key: Slack.MentionRequiredInThread.
  • The interactive netclaw init wizard and the netclaw config dashboard do not surface this option yet. Its siblings MentionOnly and MentionRequiredInDm are also JSON-only. Document the JSON path, not a TUI field.

Behavior caveat to verify before you write it

The "read the history on the next mention" behavior depends on actor state:

  • If the thread actor is still warm, a later mention does not re-read the un-mentioned messages that arrived in between.
  • If the thread actor passivated (about 1 hour idle) or the daemon restarted, the next mention re-reads the gap.

Confirm the final, intended behavior with the maintainers before you document the history-read semantics, because this may change in a follow-up.

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