Skip to content

Lighter QA Pipeline for Documentation Issues

When a GitHub issue has documentation labels (docs, documentation, or readme), Sequant automatically uses a lighter QA pipeline optimized for content changes. The full workflow still includes spec — see #533 for the rationale on universal spec inclusion.

  1. Sequant installednpx sequant --version
  2. GitHub issue with a docs label — one of: docs, documentation, readme

Documentation issues use the same three-phase workflow as other issues, but the QA phase is lighter:

Issue TypeWorkflowPhases
Standardspec → exec → qa3 phases
Bug fixspec → exec → qa3 phases (since #533)
Documentationspec → exec → qa3 phases (with lighter QA, see below)

The QA phase adapts when running on docs issues:

QA BehaviorStandard IssuesDocs Issues
Type safety checkYes (sub-agent)Skipped
Security scanYes (sub-agent)Skipped
Scope/size checkYes (sub-agent)Yes (1 sub-agent)
Sub-agents spawned31

No configuration needed. The lighter QA pipeline activates automatically when autoDetectPhases is enabled (the default).

To verify auto-detection is on:

Terminal window
cat .sequant/settings.json | grep autoDetectPhases
# Expected: "autoDetectPhases": true
Terminal window
sequant run 123

If issue #123 has a docs, documentation, or readme label, Sequant will:

  1. Run spec to plan the change (since #533, spec always runs)
  2. Run exec (implementation)
  3. Run QA with a single sub-agent focused on scope/size and link validation (lighter than the full 3-agent QA)

The orchestrator passes SEQUANT_ISSUE_TYPE=docs to the QA skill when a docs label is present. The /qa skill reads this and uses the docs-lighter pipeline (1 sub-agent instead of 3).

  • Same spec behavior: Spec runs to plan the change, just like any other issue. This catches scope/design decisions in docs work that would otherwise slip through.
  • Same exec behavior: The implementation phase runs identically.
  • Lighter QA: Focuses on content accuracy, completeness, formatting, and link validity instead of type safety and security scanning.
  1. Label detection: Sequant checks issue labels exactly against docs, documentation, readme (case-insensitive equality, see exact label matching).
  2. issueType propagation: If matched, SEQUANT_ISSUE_TYPE=docs environment variable is passed to post-spec phases via issueConfig.
  3. QA adaptation: The QA skill reads the env var and uses a single sub-agent instead of three.
LabelDetected As
docsDocumentation
documentationDocumentation
readmeDocumentation
DOCS (any case)Documentation

Labels are matched by exact equality (case-insensitive). A label like docs-update would not trigger the lighter QA pipeline — see exact label matching for the rationale.

QA still runs 3 sub-agents on a docs issue

Section titled “QA still runs 3 sub-agents on a docs issue”

Symptoms: QA spawns type-safety, security, and scope agents.

Solution: This happens when running QA standalone (not via sequant run). The SEQUANT_ISSUE_TYPE env var is only set when the orchestrator manages the pipeline. Standalone /qa runs use the full pipeline by default.

Spec runs even though I want to skip it for a small docs change

Section titled “Spec runs even though I want to skip it for a small docs change”

This is intentional behavior since #533 — spec always runs by default because docs issues frequently contain design decisions worth a spec pass. To bypass for a specific run:

Terminal window
sequant run 123 --phases exec,qa

This explicit override skips auto-detection entirely.


Originally generated for Issue #451 on 2026-03-26; updated for #533 on 2026-04-24.