Transcript-to-SDLC-Artifact Generation Pipeline
Turns a project's meetings into an Executive Summary, a High-Level Requirements Document, User Stories or a Timeline Matrix, in the same templated structure every time, through a single-pass, two-stage or chained strategy.
Workflow
From “A document request in chat, or a persona's guided questions” to result
- 1. Trigger
Document requested
Intent detection spots a document request in chat, or a persona flow collects the project, the document type and the time period.
- 2. Action
Gather the project's meetings
Chunks that mention the project are kept, and up to 30 of them are joined into one transcript.
- 3. Action
Unified extraction
One LLM call returns a single JSON with the requirements, users, decisions, actions, risks and timeline the four documents need.
- 4. Action
Format to the template
Deterministic code formats that JSON into the requested document: Executive Summary, HLRD, User Stories or Timeline Matrix.
- 5. Action
Render Markdown
A document formatter turns the structured result into Markdown for the chat.
- 6. Output
Document delivered
The document appears in chat, where it can be copied or exported as a branded PDF.
Problem
A project's decisions, needs and actions are spread across 90 to 120 days of meeting transcripts. Writing an executive summary or a requirements document meant digging through all of them by hand and writing the document from scratch, in a different shape each time. This automation extracts everything a project's meetings say and writes it into fixed document templates, so the same document always comes out in the same structure.
Architecture
The steps above are the single-pass strategy, the default: one LLM call, then formatting in code. Two other strategies share the same four artifact types and formatters. Two-stage makes two calls per artifact: an over-extraction prompt at low temperature, then, after a pause to respect rate limits, a synthesis prompt that writes the structured artifact, whose JSON is parsed and repaired. Chained runs the artifacts in order: Executive Summary, HLRD, User Stories, Timeline Matrix. Each stage produces a full output for display and a compressed hand-off, capped in items and words, which the next stage reads; earlier stages are cached so repeat requests are cheaper. The prompt library is versioned alongside the code, one prompt per stage and artifact, each with its own temperature and token settings. Five role-based guided flows (Product Owner, Delivery Head, Business Analyst, Scrum Master, General User) lead to each role's primary artifact.
Two-stage: extract first, then write
- 1. Input
Project transcript
- 2. AI
Stage 1: extract facts
Over-extract everything relevant
temp 0.2, max 4000 tokens - 3. Action
Pause
Respect rate limits
- 4. AI
Stage 2: write document
Structured synthesis prompt
temp 0.25–0.3, 6000–8000 tokens - 5. Action
Parse & repair JSON
- 6. Output
Templated document
The chained pipeline's hand-offs
- 1. AI
Executive Summary
- 2. AI
HLRD
Cached for 1 hour
- 3. AI
User Stories
Acceptance criteria, epics, points
- 4. Output
Timeline Matrix
Phases, owners, risks
Chained generation, explained
THE CONCEPT
Chained document generation
THINK OF IT LIKE
A relay race
Chained document generation is like A relay race
- Each document is one stageis like Each runner runs one leg
- The ≤800-token chain outputis like The baton: small and easy to pass
- The full output stays for displayis like The runner keeps their own race kit
- The requested document sets where the chain stopsis like The race can end after any leg
Input
A project name, a time range, and that project's meeting chunks from the search index.
A persona's guided questions
stateDiagram-v2 [*] --> detecting: persona trigger or choice detecting --> confirming: persona matched confirming --> collecting: user confirms confirming --> cancelled: user declines collecting --> collecting: ask or repeat question collecting --> ready: all answers recorded ready --> processing: map to pipeline processing --> completed: document returned completed --> [*] cancelled --> [*]
Output
A Markdown document in one of four fixed structures (Executive Summary, HLRD with IDs such as BG-001 and FR-001, User Stories in As a / I want / so that form with acceptance criteria, epics and story points, or a Timeline Matrix with phases, owners, dependencies and risks), ready to copy or export as a PDF.
Integrations
Limitations
On the hosted API, the multi-call strategies ran into rate limits, which needed pauses between stages and single-stage fallbacks. Nothing reviews a stage's output before the next stage reads it yet, so a weak Executive Summary weakens everything after it in the chain.
Security Notes
Model credentials are kept out of source control and never reach the browser. Prompts are filled only with the requested project's passages.
Learnings
Rate limits, not model quality, drove the design: single-pass became the default because it is faster and avoids rate limits, and the richer two-stage strategy is kept where the extra depth is worth the extra calls. Splitting extraction from writing, and templating each artifact completely, is what keeps the output in the same structure every time.