Deucalion Docs
Admin Reference
ReferenceAn information-oriented lookup resource. Use it to find specific values and definitions.
adminreport-writerreview

Report Writer Route Reference

Understand the review queue for generated report drafts, blocked items, preview state, and the separation between export generation and review.

Before you start

  • You are reviewing generated report drafts rather than exporting them directly.

Expected outcome

You can use the queue to triage which drafts need review, preview, or escalation.

What this route is for

Report Writer is the review queue for generated report drafts. It helps the office inspect draft state, confidence, blockers, and preview content before the final export path is used.

Visibility and capability notes

ItemDetails
Route idreport-writer
VisibilityCustomer-facing when report capability is enabled.
Capability notesThis route shares report capability visibility and includes an external /chat action for deeper draft work.
Direct inboundReports hub navigation, CRM report links, shell nav when exposed, and output-review workflows.

Main regions, dialogs, and controls

SurfaceWhat it does
Report hub navKeeps review connected to Reports.
Summary cardsShows queue pressure and blocked or ready counts.
Draft queue tableLists report drafts with state and review metadata.
Preview dialogOpens one draft without leaving the queue.

Key actions

  • Filter the queue by state, age, or search.
  • Open draft preview.
  • Move between review-focused queue slices.
  • Open the external /chat writer surface when the desk needs deeper AI-assisted drafting or review work.

Filters and URL state

ParamWhat it controls
pagePagination
stateDraft state such as approved, ready_for_review, validation_failed, or draft
qSearch
daysAge slice
reportIdOpen preview context
  • Search is debounced and the queue is paginated.
  • This route is queue-first and review-driven.

Outputs and side effects

  • Opens previews and review context rather than generating final exports itself.
  • Influences which reports are ready to move back through the broader output workflow.
  • Can send the user into the external writer/chat surface.
  • #/reports
  • CRM report actions
  • Shell nav when the route is exposed
  • External /chat
  • Report hub navigation back to #/reports

Indirect handoffs

  • A draft that looks wrong here usually needs either source-record fixes or template changes elsewhere.
  • Report Writer sits between automated generation and customer-facing distribution.

Troubleshooting

SymptomWhat to check
The queue opens emptyRe-check state, days, and q filters first.
Preview opens the wrong draftConfirm reportId is present and current.
Review feels blocked but the export route looks fineReport Writer owns draft review state, while Reports owns scope and download choices.

On this page