Submatter/docs/templates/doc-sop.md
Randall Stillwell 86155455a7 feat(worker): close Epic 7 — draft PR + operator notes + doc-writer
- Draft PR via forge (apps/worker/src/git/pr.ts) push branch + createPullRequest draft with echodo-convoy marker, expose prUrl in Mission Control (convoy-service, convoys router, detail panel)
- Operator notes mid-build: convoy_operator_messages (0016), tRPC post/list, worker poll between tool rounds (queued) and before generateText (direct), detail panel thread for in_progress
- Doc-writer: harness doc-writer examples (docs/examples/research-pipeline.md), SOP template (docs/templates/doc-sop.md), role-doc-writer wiring

Convoy: .convoys/worker-closeout-docwriter

Co-authored-by: orchestrator
2026-08-25 16:56:02 -05:00

40 lines
676 B
Markdown

---
kind: doc-sop
slug: "<doc-sop-slug>"
title: "<SOP title>"
status: draft
priority: P2
tenant_id: "<tenant-uuid-or-placeholder>"
updated_at: "<ISO-8601>"
---
# SOP: <SOP title>
One-line purpose of this SOP.
## Objective
What this SOP standardizes and when to use it.
## Prerequisites
- Inputs, tools, or access required
## Steps
1. Step one — action
2. Step two — action
3. Step three — action
## Verification
- [ ] Outcome check 1
- [ ] Outcome check 2
## Status
`draft → doc_review → published` via `human-gate-2` / `doc-approver` (`packages/shared/src/convoy-lifecycle/state-machine.ts:9`)
## Links
- Related: `docs/examples/research-pipeline.md`