Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Summary
Allow users to define custom workflow pipelines via YAML/JSON configuration files instead of being locked to the default spec → exec → test → qa → docs → merge sequence.
This is the foundational step toward fully customizable AI-assisted development workflows. Sequant's phase isolation architecture (clean input/output boundaries via state.json, env vars, issue comments) already behaves like a node graph defined in code — this feature surfaces that as a user-facing configuration layer.
Motivation
- Teams have different workflows for different issue types (bugs vs features vs refactors)
- Some phases are unnecessary for certain work (e.g., docs for a one-line fix)
- Enterprise teams need to insert custom phases (security review, compliance checks, manager approval)
- Power users want to add custom skills as pipeline phases
- Currently the only way to customize is to manually run individual slash commands
Proposed Design
A .sequant/workflows/ directory with YAML definitions:
# .sequant/workflows/feature.yaml
name: feature
description: Standard feature development workflow
phases:
- skill: spec
required: true
- skill: exec
required: true
retry: 2
- skill: test
required: true
- skill: security-review
when: labels.includes('security')
- skill: qa
required: true
- skill: docs
when: size != 'small'
- skill: merge
required: true# .sequant/workflows/hotfix.yaml
name: hotfix
description: Fast-track for urgent fixes
phases:
- skill: exec
required: true
- skill: test
required: true
- skill: qa
required: true
- skill: merge
required: trueKey Capabilities
- Phase ordering — define which phases run and in what order
- Conditional phases — skip phases based on issue labels, size, or custom flags
- Retry logic — configure retry attempts per phase
- Custom skills as phases — reference user-defined skills in
.claude/skills/ - Workflow selection — auto-select workflow based on issue labels, or explicit
--workflow hotfix - Validation —
sequant validateto check workflow definitions before use - Default fallback — without config, current behavior is preserved exactly
What This Enables Later
This config format becomes the serialization layer for a future visual node builder (#280). The YAML is the source of truth; any future UI is just a view on top of it.
Scope
- Define workflow schema (YAML format, validation rules)
- Workflow loader with fallback to built-in default
- Conditional phase evaluation engine
-
--workflowflag for/fullsolveand/solve -
sequant validatecommand for workflow files - Built-in workflow templates (feature, hotfix, refactor)
- Documentation
Out of Scope
- Visual builder UI (see Visual node builder for workflow pipelines #280)
- Parallel phase execution
- Multi-tool provider support (Claude Code + Codex in same pipeline)
- Workflow marketplace/sharing
Labels
enhancement, roadmap
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
admarble commentedon Feb 22, 2026
Closing per issue audit. The default pipeline needs to be rock-solid before making it configurable. Premature complexity — revisit post-2.0 when the core workflow is mature and there's real user demand for custom pipelines.