32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
---
|
|
title: "Pipeline-State-Management"
|
|
type: concept
|
|
tags: []
|
|
sources: [agents-orchestrator]
|
|
last_updated: 2026-05-29
|
|
---
|
|
|
|
## Definition
|
|
**Pipeline State Management**(流水线状态管理)是 [[AgentsOrchestrator]] 在整个开发流程中追踪和维护项目状态的能力——追踪当前任务、所处阶段、完成状态,在 Agent 间传递上下文信息,处理错误并实现恢复。
|
|
|
|
## Core Responsibilities
|
|
- **Track progress**: Maintain state of current task, phase, and completion status
|
|
- **Context preservation**: Pass relevant information between agents
|
|
- **Error recovery**: Handle agent failures gracefully with retry logic
|
|
- **Documentation**: Record decisions and pipeline progression
|
|
|
|
## State Tracking Elements
|
|
- Current task and phase
|
|
- Completion status of each task
|
|
- Retry count per task
|
|
- Agent handoff context
|
|
- Quality gate decisions (PASS/FAIL)
|
|
|
|
## Relationship to Other Concepts
|
|
- Complementary to [[Agent-Handoff]] — provides the state infrastructure that enables smooth agent transitions
|
|
- Enhanced by [[Quality-Gate]] — quality gates update pipeline state
|
|
- Referenced in [[AgentsOrchestrator]] Phase 3 Dev-QA Loop
|
|
|
|
## Sources
|
|
- [[agents-orchestrator]]
|