Skip to content

[GSoC 2026] chatbot: default analyze_observable to a curated playbook + forbid placeholder names - #3881

Open
berardifra wants to merge 2 commits into
developfrom
gsoc-2026/llm-chatbot-analyze-default-plugins
Open

[GSoC 2026] chatbot: default analyze_observable to a curated playbook + forbid placeholder names#3881
berardifra wants to merge 2 commits into
developfrom
gsoc-2026/llm-chatbot-analyze-default-plugins

Conversation

@berardifra

Copy link
Copy Markdown
Contributor

Refs #3880

Two chatbot bug fixes reported by @mlodic (see #3880).

A1 — analyze_observable no longer dead-ends on "No Analyzers and Connectors can be run after filtering"
when the user names neither a playbook nor analyzers: it defaults to the curated FREE_TO_USE_ANALYZERS playbook
(visible/applicable/enabled), or returns an actionable error listing pickable playbooks. The plan carries a
reason, the model is instructed to surface it, and the pending stores the resolved playbook so confirm
re-validates the same plan.

A2 — a [Rules] line forbids bracketed placeholders like [Analyzer 1] and requires verbatim names.

Multi-tenancy: playbook resolution is scoped to visible_for_user. Tests: 5 new analyze_observable cases + 1
prompt assertion; full chatbot suite green (181/181). No dependency changes.

… + forbid placeholder

  names — Refs #3880

A1: when the model names neither a playbook nor analyzers, analyze_observable now
  resolves the curated FREE_TO_USE_ANALYZERS playbook (when visible, applicable and
  enabled) instead of dead-ending on 'No Analyzers and Connectors can be run after
  filtering'. Falls back to an actionable error listing the applicable visible
  playbooks. The plan carries a 'reason' explaining the choice, the model is told to
  surface it in the confirmation, and the pending record stores the resolved playbook
  so confirm re-validates the same plan.

  A2: a [Rules] line tells the model to copy analyzer/playbook/job names verbatim and
  never emit bracketed placeholders like [Analyzer 1].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants