Skip to content

feat: add discussion moderation agent#8

Draft
nearlyforget wants to merge 4 commits intoUniversal-Commerce-Protocol:mainfrom
nearlyforget:triage-discussion
Draft

feat: add discussion moderation agent#8
nearlyforget wants to merge 4 commits intoUniversal-Commerce-Protocol:mainfrom
nearlyforget:triage-discussion

Conversation

@nearlyforget
Copy link
Contributor

Description

This PR enhances the discussion_moderation_agent by adding a fourth triage trigger: Stalled Q&A detection.

Key Updates:

  • Stalled Q&A Trigger: The agent now monitors Q&A discussions. If a discussion is in an answerable category, has no accepted answer, and has remained inactive for
    over one month, it is automatically flagged with the needs-review label.
  • GraphQL Query Enhancement: Updated the data fetching logic to include category metadata (isAnswerable) and answer status, providing the agent with the necessary
    context to identify stalled threads.
  • Temporal Awareness: Included the current date in the agent's prompt to ensure accurate duration calculations for inactivity.

Category (Required)

  • Core Protocol
  • Governance/Contributing
  • Capability
  • Documentation
  • Infrastructure: CI/CD, Linters, or build scripts.
  • Maintenance
  • SDK
  • Samples / Conformance

Checklist

  • I have followed the [Contributing Guide (https://github.com/agentic-commerce/ucp/blob/main/CONTRIBUTING.md).
  • I have updated the documentation (if applicable).
  • My changes pass all local linting and formatting checks.

@nearlyforget nearlyforget changed the title feat: add stalled Q&A detection to discussion moderation agent feat: add discussion moderation agent Feb 14, 2026
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.

1 participant