Automation / Automation

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

PROCESS FLOW

From “A document request in chat, or a persona's guided questions” to result

  1. 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. 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. 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. 4. Action

    Format to the template

    Deterministic code formats that JSON into the requested document: Executive Summary, HLRD, User Stories or Timeline Matrix.

  5. 5. Action

    Render Markdown

    A document formatter turns the structured result into Markdown for the chat.

  6. 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.

PROCESS FLOW

Two-stage: extract first, then write

  1. 1. Input

    Project transcript

  2. 2. AI

    Stage 1: extract facts

    Over-extract everything relevant

    temp 0.2, max 4000 tokens
  3. 3. Action

    Pause

    Respect rate limits

  4. 4. AI

    Stage 2: write document

    Structured synthesis prompt

    temp 0.25–0.3, 6000–8000 tokens
  5. 5. Action

    Parse & repair JSON

  6. 6. Output

    Templated document

In two-stage mode the model first lists every relevant fact at a low temperature, then writes the document from that list; the settings on each step are the configured values.
PROCESS FLOW

The chained pipeline's hand-offs

  1. 1. AI

    Executive Summary

  2. 2. AI

    HLRD

    Cached for 1 hour

  3. 3. AI

    User Stories

    Acceptance criteria, epics, points

  4. 4. Output

    Timeline Matrix

    Phases, owners, risks

Each document reads a compressed summary of the one before it rather than its full text, which keeps later stages within the model's context and rate limits.
ANALOGY

Chained generation, explained

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
Each stage runs its own leg and passes a small baton, not everything it produced, to the next. Unlike a relay, a dropped baton isn't noticed: nothing checks a stage's output before the next one uses it.

Input

A project name, a time range, and that project's meeting chunks from the search index.

DIAGRAM

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 --> [*]
A persona asks three questions (project, document, time period), repeats any it didn't understand, and then hands the answers to the pipeline.

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

Hosted inference API (large model for documents)Local model fallback for unified extraction

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.