Skip to content

Service claw thread generation service

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

claw-thread-generation-service

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

Property Value
Directory apps/claw-thread-generation-service
Port 4020
Database postgresql
Test files 93 (vitest)
Internal packages @claw/shared-auth, @claw/shared-constants, @claw/shared-rabbitmq, @claw/shared-types, @claw/shared-utilities

Persistence models

  • ThreadDeletedAccount
  • ThreadGenerationAttempt
  • ThreadGenerationCheckpoint
  • ThreadGenerationJob
  • ThreadGenerationStep
  • ThreadGenerationWorkerSlot
  • ThreadModelCommunication
  • ThreadRevisionDraft

HTTP API (10)

Method Route Source
GET /health health.controller.ts
POST /internal/threads/format-preview format-preview-internal.controller.ts
POST /internal/threads/generations generation-jobs-internal.controller.ts
POST /internal/threads/generations/:jobId/cancel generation-jobs-internal.controller.ts
POST /internal/threads/generations/:jobId/delete generation-jobs-internal.controller.ts
POST /internal/threads/generations/:jobId/owner-state generation-jobs-internal.controller.ts
POST /internal/threads/generations/:jobId/progress generation-jobs-internal.controller.ts
POST /internal/threads/generations/:jobId/retry generation-jobs-internal.controller.ts
GET /internal/threads/generations/model-health generation-jobs-internal.controller.ts
POST /internal/threads/generations/revision-reviews generation-jobs-internal.controller.ts

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

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

Clone this wiki locally