Skip to content

Investigate LLMTopic configuration error for issue_root_cause_coaching (POST /ai/coaching/start) #327

Description

@mottych

Context

From PurposePath_Web #867: on dev (dev.purposepath.app/operations/issues), Resolve with AI calls:

  • POST /ai/coaching/start with topic_id: "issue_root_cause_coaching" and context: { issue_id: "<traction issue id>" } (aligned with OpenAPI PurposePathCoachingStartContext__issue_root_cause_coaching).

The reported failure was an LLMTopic configuration style error referencing that topic id.

Ask

  1. Confirm LLMTopic (or equivalent runtime config) in dev includes a valid row for issue_root_cause_coaching (model, prompts, limits) and matches the topic registry / OpenAPI entry.
  2. If the row is missing or mis-keyed, add or fix seeding/deployment so conversation coaching can start for this topic.
  3. Prefer a clear, stable error code (or machine-readable field) for "topic not configured" so the web client can surface actionable copy if misconfiguration happens again.

References

  • Web: ResolveIssueWithAiModalCoachingConversationModalapiClient.startCoachingSession.
  • Dev OpenAPI lists issue_root_cause_coaching under x-purposepath-topic-contracts as conversation_coaching / category strategic_planning.

Related

  • Legacy /api/operations/* migration: PurposePath_Web #868.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions