Skip to content

Service claw threads service

github-actions[bot] edited this page Oct 27, 2026 · 12 revisions

claw-threads-service

Rendered from .ai/manifests/ on every publish. Rules for this service: CLAUDE.md · guide: service guide.

Property Value
Directory apps/claw-threads-service
Port 4019
Database postgresql
Test files 121 (vitest)
Internal packages @claw/shared-auth, @claw/shared-constants, @claw/shared-entitlements, @claw/shared-rabbitmq, @claw/shared-types, @claw/shared-utilities

Persistence models

  • ThreadBoardWord
  • ThreadDeletedAccount
  • ThreadFormatPass
  • ThreadPublication
  • ThreadPublicationChangeRequest
  • ThreadPublicationComment
  • ThreadPublicationCommentMention
  • ThreadPublicationCommentReaction
  • ThreadPublicationReaction
  • ThreadPublicationReader
  • ThreadPublicationReport
  • ThreadPublicationRevision
  • ThreadPublicationSearchDoc
  • ThreadPublicationView

HTTP API (44)

Method Route Source
GET /health health.controller.ts
POST /thread-publications-moderation/orphan-generations/repair publication-generation-repair.controller.ts
POST /thread-publications-moderation/publications/:id/revoke publication-moderation.controller.ts
GET /thread-publications-moderation/reports publication-moderation.controller.ts
PATCH /thread-publications-moderation/reports/:reportId publication-moderation.controller.ts
DELETE /thread-publications/:publicationId publication-owner.controller.ts
POST /thread-publications/:publicationId/cancel-generation publication-owner.controller.ts
GET /thread-publications/:publicationId/change-requests publication-owner.controller.ts
POST /thread-publications/:publicationId/change-requests/:requestId publication-owner.controller.ts
GET /thread-publications/:publicationId/export publication-owner.controller.ts
POST /thread-publications/:publicationId/format-preview publication-format.controller.ts
GET /thread-publications/:publicationId/generation-progress publication-owner.controller.ts
GET /thread-publications/:publicationId/generation-state publication-owner.controller.ts
POST /thread-publications/:publicationId/publish publication-owner.controller.ts
POST /thread-publications/:publicationId/retry-generation publication-owner.controller.ts
POST /thread-publications/:publicationId/revisions publication-owner.controller.ts
GET /thread-publications/:publicationId/revisions/:revisionId/revalidation-state publication-owner.controller.ts
POST /thread-publications/:publicationId/unpublish publication-owner.controller.ts
GET /thread-publications/board board.controller.ts
GET /thread-publications/board/suggest board.controller.ts
GET /thread-publications/change-requests/mine publication-list.controller.ts
POST /thread-publications/generations publication-generation.controller.ts
GET /thread-publications/mine publication-list.controller.ts
GET /thread-publications/public/:slug publication-public.controller.ts
POST /thread-publications/public/:slug/change-requests publication-community.controller.ts
GET /thread-publications/public/:slug/change-requests/credits publication-community.controller.ts
GET /thread-publications/public/:slug/comments publication-community.controller.ts
POST /thread-publications/public/:slug/comments publication-community.controller.ts
DELETE /thread-publications/public/:slug/comments/:commentId/reaction publication-community.controller.ts
PUT /thread-publications/public/:slug/comments/:commentId/reaction publication-community.controller.ts
GET /thread-publications/public/:slug/comments/:rootId/replies publication-community.controller.ts
GET /thread-publications/public/:slug/comments/by-id/:commentId publication-community.controller.ts
DELETE /thread-publications/public/:slug/reactions publication-community.controller.ts
GET /thread-publications/public/:slug/reactions publication-community.controller.ts
POST /thread-publications/public/:slug/reactions publication-community.controller.ts
POST /thread-publications/public/:slug/reader-view publication-views.controller.ts
POST /thread-publications/public/:slug/reports publication-community.controller.ts
POST /thread-publications/public/:slug/view publication-views.controller.ts
GET /thread-publications/public/:slug/viewer publication-community.controller.ts
GET /thread-publications/public/board board-public.controller.ts
GET /thread-publications/public/board/suggest board-public.controller.ts
GET /thread-publications/public/discover publication-discovery.controller.ts
GET /thread-publications/public/sitemap publication-discovery.controller.ts
GET /thread-publications/recommended-team publication-recommended-team.controller.ts

Events (inferred from source; verify before a critical change)

  • Publishes: user.notification_requested
  • Consumes: threads.generation_completed, threads.generation_failed, user.deleted

Clone this wiki locally