🌐 中文版 | English
Complete reference for managing Claude Code projects with devpace.
For a quick overview, see README.md. For a hands-on walkthrough, see the end-to-end demo.
- Getting Started
- Core Concepts
- Command Reference
- Work Modes
- Requirement Changes
- Quality Gates
- Cross-Session Continuity
- Project Files
- Methodology Mapping
- Tips
- FAQ
# Marketplace install (recommended)
/plugin marketplace add arch-team/devpace-marketplace # one-time registration
/plugin install devpace@devpace
# Or load from source
claude --plugin-dir /path/to/devpace/pace-init my-project
Claude asks one question: "Describe what this project does in one sentence."
Then it auto-generates a minimal .devpace/ (state.md + project.md + backlog/ + rules/).
From there, say "help me implement X" and you're working — feature trees, iteration plans, etc. appear automatically as you go.
devpace doesn't require upfront planning. Initialization creates only a minimal skeleton; other files appear on demand:
| What you do | What devpace auto-creates |
|---|---|
| Say "help me implement X" | Feature tree (appears in project.md) |
/pace-plan |
Iteration plan (iterations/current.md) |
/pace-retro |
Metrics dashboard (metrics/dashboard.md) |
/pace-release create |
Release record (releases/) |
You can also use /pace-init full to complete the full setup at once (business goals, feature list, iteration plan, etc.).
/pace-init works in existing projects. It creates .devpace/ alongside your code without modifying any existing files. If you don't want state files in version control, add .devpace/ to .gitignore.
devpace organizes work into a 6-layer traceable chain:
Opportunity → Epic → Requirement → Feature → Task → Code
You spot You plan Decompose Plan together Claude creates Claude codes
- You define opportunities, epics, and features (in natural language)
- Claude auto-creates tasks and maintains traceability throughout
- Bidirectional traceability: from business opportunities to code, and from code back to goals
Internal terminology reference (you don't need to memorize these — Claude won't use them in conversation either): Opportunity = OPP, Epic = EPIC, Requirement = BR (Business Requirement), Feature = PF (Product Feature), Task = CR (Change Request)
devpace uses a precise internal concept model, but everything in conversation is natural language:
| You say | What devpace does |
|---|---|
| "帮我实现用户认证" (= "Help me implement user auth") | Auto-creates a task and starts working |
| "做到哪了" (= "Where are we") | Shows current progress |
| "准备好了吗" (= "Is it ready") | Checks quality gate status |
| "加一个导出功能" (= "Add an export feature") | Recognizes a requirement change, runs impact analysis |
devpace covers the full BizDevOps spectrum across six domains:
| Domain | Score | Key Capabilities |
|---|---|---|
| Biz (Business Planning) | 8/10 | /pace-biz 8 subcommands: opportunity, epic, decompose, align, view, discover, import, infer |
| Product (Product Management) | 9/10 | /pace-plan with adjust/health, /pace-change full lifecycle, /pace-next recommendations |
| Dev (Development) | 9.5/10 | /pace-dev autonomous coding, ADR management, tech debt tracking, OWASP security scanning, semantic drift detection |
| Ops (Operations) | 7.5/10 | /pace-release full orchestration, /pace-sync external tool bridge, CI/CD awareness |
| Observe (Observability) | 9.5/10 | /pace-retro DORA metrics + forecasting, /pace-pulse rhythm monitoring, /pace-guard risk fabric |
| Knowledge (Knowledge Management) | 8.5/10 | /pace-learn cross-project insights, /pace-theory methodology reference, experience extraction |
Core commands (daily use):
/pace-init,/pace-dev,/pace-status,/pace-review,/pace-nextBusiness commands (upstream planning):/pace-bizAdvanced commands (when needed):/pace-change,/pace-plan,/pace-retro,/pace-guardSpecialized commands (optional):/pace-test,/pace-release,/pace-sync,/pace-feedback,/pace-role,/pace-theory,/pace-trace
When to use: First-time devpace setup in a project.
Arguments:
name— Optional, project name. Claude asks if omitted.full— Optional. Runs full setup (business goals, feature list, iteration plan, quality checks).
Behavior:
- Default: Creates minimal
.devpace/(state + project stub + backlog + rules). Only asks for project name and description. After init, previews "what happens next" to orient you. full: Creates complete.devpace/with feature tree, iteration plan, metrics dashboard. Guided 6-step setup.
Re-initialization: If .devpace/ already exists, Claude asks whether to reset.
When to use: You want to start or continue coding.
Arguments:
- (empty) — Claude continues from where it left off (reads
state.md) feature description— Start working on the specified feature (natural language matching)#N— Jump directly to CR by number (e.g.,#3→ CR-003)--last— Resume the most recently worked-on CR--batch— Continuous advance mode: batch-advance multiple S-complexity PFs in the iteration, unified review at the end
Behavior:
- Locates or creates a task
- Loads context (current state, quality rules, workflow)
- New task: runs intent checkpoint (determines work scope)
- Autonomous coding, testing, and verification
- Auto-runs quality gates
- Stops at pending-review status, waiting for your approval
When it stops:
- All quality checks pass → enters pending-review
- Needs your technical decision
- Session ending → saves checkpoint
When to use: You want to know the current progress.
Core arguments (shown in autocomplete):
| Argument | Output |
|---|---|
| (empty) | 1-3 line overview + suggestion |
detail |
Feature tree — breadth view of current iteration |
tree |
Full value-feature tree — L3 complete picture |
trace <name> |
Reverse traceability — depth view of a specific requirement (may span iterations) |
metrics [quality|delivery|risk] |
Core metrics snapshot with trend arrows; optional category focus |
since <time> |
Changes within a time window (e.g., 3d, 1w, last-session); combinable with other subcommands |
keyword |
Details for a specific feature matching the keyword |
Role views (managed by /pace-role; also available as direct subcommands): biz, pm, dev, tester, ops, chain. When a role is set via /pace-role, overview and detail views adapt automatically.
Output excludes internal IDs (CR-001) or state machine terminology (developing). Everything is in natural language. Each non-overview subcommand includes a contextual navigation hint at the end.
When to use: Changes are ready and waiting for your approval.
Arguments:
- (empty) — Review all changes in pending-review status
keyword— Review the specified change
Generated content:
- What changed (files and content)
- Why it changed (linked feature → business goal)
- Blast radius
- Intent consistency (standard/complex changes): does the code match the planned scope?
- Quality check status
- Branch name
Simplified approval: When all conditions are met (single task, ≤3 files, quality gates passed first try, 0% drift), skips waiting and uses inline confirmation to reduce process overhead.
Your response options:
| You say | What happens |
|---|---|
| "批准" / "approve" / "LGTM" | Task merged, feature tree updated, status advances |
| "打回" / "reject" + reason | Task returns to development, reason recorded |
| Specific feedback | Claude fixes the issue, re-checks, re-submits |
When to use: Not sure what to do next.
Arguments:
- (empty) — 1 recommendation (≤3 lines)
detail— Expanded candidate list (≤8 lines)why— Expanded reasoning chain (2-5 lines: signal scan + priority comparison + role influence + alternatives)journey [template]— Full workflow path: step-by-step guide from current state to goal. Templates:new-feature(default),iteration,hotfix,release,onboarding
Behavior: Synthesizes multi-dimensional signals (in_review CRs, developing CRs, unverified deployments, iteration completion, retro cycles, backlog status, etc.) and recommends next actions via a 12-level priority matrix.
Read-only: Does not modify any state files.
When to use: At iteration boundaries — closing the current iteration or planning the next one. Also for mid-iteration scope adjustments and health monitoring.
Arguments:
- (empty) — Evaluates current iteration status, suggests next steps
next— Starts planning a new iteration directlyclose— Closes the current iteration (archived as iter-N.md)adjust— Mid-iteration scope adjustment (add/remove PFs, reprioritize)health— Show iteration health metrics (completion vs time, scope stability)
Behavior:
- Evaluates feature completion rate for the current iteration
- Closes and archives the current iteration (if requested)
- Shows available features in the feature tree
- Guides you in selecting scope, goals, and timeline for the new iteration
- Generates
iterations/current.md - Mid-iteration: adjusts scope with capacity recalculation (adjust)
- Health monitoring: shows completion vs time progress, scope stability, velocity trend (health)
When to use: Upstream business planning — capture opportunities, create epics, decompose requirements, or discover needs.
Arguments:
| Argument | Description |
|---|---|
opportunity <description> |
Capture a business opportunity |
epic [OPP-xxx] <description> |
Create an Epic from an opportunity or directly |
decompose <EPIC-xxx|BR-xxx> |
Break down Epic→BR or BR→PF |
align |
Strategic alignment health check (read-only) |
view |
Business panorama view (read-only) |
discover <description> |
Interactive multi-turn requirements discovery from a vague idea |
import <path>... |
Extract requirements from documents (meeting notes, feedback, competitor analysis) |
infer |
Infer untracked features and technical debt from codebase |
| (empty) | Context-aware recommendation |
Recommended workflows:
Full business path: opportunity → epic → decompose → /pace-dev
Exploratory discovery: discover → decompose → /pace-plan next
Document import: import <docs> → align → /pace-plan next
Codebase inference: infer → align → /pace-dev
See Business Planning feature docs for details.
When to use: Requirements change mid-work.
Arguments:
| Argument | Description |
|---|---|
add <description> |
Insert a new feature |
pause <feature> |
Pause a feature (work preserved) |
resume <feature> |
Resume a paused feature |
reprioritize <description> |
Adjust work order |
modify <feature> <change> |
Modify an existing feature's scope |
batch <description> |
Multiple changes in one pass (merged analysis, single confirmation) |
undo |
Revert last change (current session only) |
history [feature|--all|--recent N] |
Query aggregated change history |
apply <template> |
Apply a predefined change template |
| (empty) | Smart guidance based on project context |
Quick references: #N (CR by number), --last (most recent CR), --dry-run (preview only).
Process: Always follows impact analysis → proposal → confirmation → execution. Claude never makes changes without your confirmation. Impact reports use three-tier progressive output (1-line summary by default, expanded on follow-up).
See the Requirement Changes section for details.
When to use: At the end of an iteration, or when you want to review progress.
Arguments:
- (empty) — Full retrospective report (with action summary + detail layers)
update— Refresh metrics data only, with change feedbackfocus <dimension>— Focused analysis: quality | delivery | dora | defects | value | knowledgecompare— Compare current vs previous iteration metrics deltahistory— Cross-iteration trend overview (3+ iterations)mid— Mid-iteration lightweight check (no dashboard update)accept— Confirm suggested actions from last retrospective (MoS updates, etc.)forecast— Delivery prediction: probability, bottleneck identification, risk alerts
Report contents:
- Action summary (~10 lines): key metrics + trends + concerns + highlights + recommendations
- Delivery: planned vs. actually completed features
- Quality: gate pass rate, rejection rate
- Defects: severity distribution, root cause analysis, fix cycle
- Value: success metric progress
- Cycle time: average task duration
- DORA proxy metrics (when releases exist): with Elite~Low benchmarks
- What went well / what needs improvement
- Experience extraction transparency (patterns submitted to knowledge base)
- Iteration handover checklist (for next iteration planning)
- Report quality self-assessment (data sufficiency, trend confidence, recommendation quality)
When to use: You want to understand the design methodology behind devpace.
Arguments:
| Topic | Content |
|---|---|
| (empty) | Quick reference card + tiered navigation |
model |
Concept model (objects, spaces, rules) |
objects |
Work objects (BR, PF, CR, Release, Defect) explained |
spaces |
Work spaces (product line, delivery team, application, release unit) |
rules |
Workflow rules and quality checks |
trace |
Value chain traceability and bidirectional tracing |
topic |
Topic mode and Measures of Success (MoS) |
metrics |
Metrics framework (DIKW model + three dimensions) |
loops |
Three feedback loops (business, product, technical) |
change |
Change management theory |
decisions |
Key design decisions and their rationale (16 entries) |
mapping |
Theory → devpace implementation mapping |
vs-devops |
How devpace methodology differs from DevOps |
sdd |
Specification-Driven Development reference (Spec Kit mapping) |
why |
Explains design rationale; supports why <keyword> (e.g., why gate, why paused) |
all |
Full knowledge base (~550 lines) |
<keyword> |
Search the knowledge base for matching content |
Read-only: Does not modify any state files.
Test verification expert — not just "run tests", but evaluates test coverage against requirement acceptance criteria, with AI-driven item-by-item acceptance verification.
When to use: You want to know if tests are sufficient, where gaps exist, and how to fill them.
By scenario:
During daily development:
| Usage | Effect |
|---|---|
/pace-test |
Runs all configured tests, outputs a structured report |
/pace-test accept |
AI compares each acceptance criterion — with code line-number evidence, three-level verdict (✅ Pass / |
Understanding the testing landscape:
| Usage | Effect |
|---|---|
/pace-test strategy |
Generates test strategy from feature acceptance criteria — recommends test type (including security/performance auxiliary types) and priority for each criterion |
/pace-test coverage |
Analyzes test coverage of acceptance criteria (requirement coverage primary, code coverage secondary) |
/pace-test report |
Aggregates three layers into a review report: test results + requirement coverage + AI acceptance |
After requirement changes:
| Usage | Effect |
|---|---|
/pace-test impact |
Analyzes which features are affected by code changes, recommends tests to re-run by priority |
/pace-test impact --run |
Analyzes then auto-executes the "must-run" test list |
Going deeper (use as needed):
| Usage | Effect |
|---|---|
generate [--full] |
Generates test cases from acceptance criteria (skeleton by default, --full for complete implementation) |
flaky |
Test health analysis: flaky tests, empty assertions, duration inflation, long-unchanged tests |
dryrun [1|2|4] |
Simulates Gate checks (no state transitions, for pre-flight verification) |
baseline |
Establishes a test baseline (for retrospective metric comparison) |
report REL-xxx |
Release-level quality report (aggregates all CR test data + release recommendation) |
accept enhances approval quality:
Gate 2 checks "does the code match the plan." accept builds on this with finer-grained evidence, helping humans approve more efficiently:
- Per-criterion acceptance with code evidence (referencing specific files and line numbers)
- Three-level verdict: ✅ Pass /
⚠️ Needs additional verification / ❌ Fail (Gate 2 only has pass/fail) - Test oracle review: do existing tests actually verify the acceptance conditions they claim to cover?
- Auto-downgrade: when weak or false coverage is found, automatically downgrades test strategy status
You can pass Gate 2 without running accept — but changes with accept have stronger evidence for human review.
Recommended workflow:
- First time:
strategy→generate→ write implementation →coverage→ develop → run tests →accept→report - Daily: run tests +
acceptis enough. After changes, useimpact --runfor quick regression - Pre-release:
report REL-xxxgenerates a release-level quality report
This is an optional feature. If you don't have a formal release process, you can skip it. Task merged is your completion point.
When to use: Managing production releases — from creating a Release to generating Changelog, version bump, Git Tag, and GitHub Release.
Arguments:
Daily use (most scenarios only need these):
| Argument | Action |
|---|---|
create |
Collects merged tasks to create a new release + Gate 4 system-level checks |
deploy |
Records that deployment was executed (supports multi-environment promotion) |
verify |
Executes verification checklist (supports automated verification commands) |
close |
Completes the release (auto changelog + version bump + tag + cascading updates) |
full |
Recommended alias for close (clearer semantics) |
status |
Views current release status and suggested next step |
| (empty) | Guided release wizard — auto-guides based on current state (recommended for new users) |
Standalone use (when you only need a specific step):
| Argument | Action |
|---|---|
changelog |
Generates CHANGELOG.md only (close auto-executes this step) |
version |
Updates version files only (close auto-executes this step; detects breaking changes for major bump) |
tag |
Creates Git Tag / GitHub Release only (close auto-executes this step) |
notes |
Generates end-user-facing Release Notes (supports --role biz|ops|pm for stakeholder-specific views) |
branch |
Manages release branches (creates release branch or Release PR) |
rollback |
Records rollback operation (when critical issues arise in deployed state) |
status history |
Release history timeline with DORA trend summaries |
Changelog vs Release Notes:
| Changelog | Release Notes | |
|---|---|---|
| Audience | Developers | Product users / stakeholders |
| Organization | By type (Features / Bug Fixes) | By business requirement → feature (or by role with --role) |
| Language | Technical | Product-facing |
Release Notes role-based views: notes --role biz (business impact for management), notes --role ops (deployment handbook for SRE), notes --role pm (feature delivery checklist for PMs). Default (no --role) generates the standard BR/PF-organized notes.
Release branches (optional, configured in integrations/config.md):
branch create— Creates arelease/v{version}branchbranch pr— Creates a Release PR (with changelog + version bump); merging the PR = confirming the releasebranch merge— Merges the release branch back to main
Create enhancements: During create, devpace now runs optional CR dependency detection (flags CRs that share the same PF or modify the same files), Release Readiness Check (scans for TODO/FIXME/debug code in CR changes), and Release Impact Preview (code change heatmap + business impact tracing). All are informational and never block release creation.
Close progress tracking: The 8-step closing chain now shows step-by-step progress ([N/8] ✅ Step name). If any step fails, the process can resume from the failed step on the next run.
Rollback: When critical issues are found in deployed state, /pace-release rollback records the rollback reason and guides creation of a fix task. rolled_back is a terminal state; a new Release is needed after the fix. When creating a new Release after rollback, non-problematic CRs from the rolled-back Release are pre-filled as candidates.
Configuration enhancements: In .devpace/integrations/config.md you can configure version file paths/formats, verification commands, release branch patterns, CI check commands, and release cadence (weekly/biweekly/monthly). Without configuration, all features degrade to manual mode. For multi-environment setups, environments are promoted sequentially by row order in the environment table (e.g., staging → canary → production), with independent deploy + verify per environment and a panoramic promotion path view.
This is an optional feature. Requires the
.devpace/risks/directory (/pace-initdoesn't auto-create it; it's created on first use). L/XL complexity CRs auto-triggerscanat the intent checkpoint.
When to use: Assessing risks before coding, tracking risk status during development, analyzing risk trends across iterations.
Arguments:
| Argument | Action |
|---|---|
scan [CR-ID] |
Pre-flight risk scan — 5-dimension assessment with OWASP-aware security scanning (historical lessons / dependency impact / architecture compatibility / scope complexity / security: Layer 1 keyword + Layer 2 OWASP pattern) |
monitor [CR-ID] |
Summarizes real-time risk status for a CR (mitigated / pending / new) |
trends [iteration-ID] |
Cross-CR trend analysis (by category, recurring risk identification, improvement suggestions) |
report |
Project-level risk dashboard (grouped by PF, sorted by severity, overall risk score) |
resolve <RISK-ID> <status> |
Updates risk status (mitigated / accepted / closed) |
| (empty) | Same as scan, runs risk scan on the current CR |
Risk levels and responses:
| Level | Behavior |
|---|---|
| Low | Silent logging, no interruption |
| Medium | Logged + reminder + mitigation suggestions |
| High | Development paused, awaits human confirmation (non-negotiable) |
Auto-triggers (no manual invocation needed):
- L/XL CRs auto-trigger
scanon entering development - Advance mode runs lightweight risk detection at each checkpoint
- Pulse checks trigger
monitorwhen risk backlog is detected
Degraded mode: Without .devpace/, scan still works (instant assessment based on codebase), but trends/report/resolve require historical data and are unavailable.
Available when
.devpace/exists. Full traceability mode requiresreleases/; without it, classification, CR creation, and improvement tracking still work (degraded mode skips Release tracing).
When to use: Receiving user feedback, finding bugs, reporting production issues, or recording improvement suggestions. Every feedback item receives a unique FB-ID for full lifecycle tracking.
Arguments:
report <description>— Emergency channel: skips triage, enters production incident branch with accelerated path evaluation (hotfix/critical only)incident open <description>— Create incident record (severity assessment + timeline initialization)incident close <INCIDENT-xxx>— Close incident + generate postmortem templateincident timeline <INCIDENT-xxx>— View incident timelineincident list— List all incidents (supports--openfilter)<feedback description>— Classified and routed (production incident / defect / improvement / new requirement / inbox)- (empty) — Progressive two-round guided collection (essential info first, details only when severity ≥ major)
Behavior:
- Checks for unfinished feedback drafts (interruption recovery)
- Classifies feedback into 5 types (production incident / defect / improvement / new requirement / inbox for uncertain items)
- Production incident: assesses severity → traces origin (with Git fallback for low-confidence traces) → creates defect/hotfix task with historical root cause suggestions
- Defect: auto-creates a fix task linked to the feature, matches against historical feedback for pattern detection
- Improvement: recorded in a structured improvement suggestion pool under the relevant feature (scannable by
/pace-plan) - New requirement: routed through
/pace-change - Inbox (pending): saved to feedback inbox (
.devpace/feedback-inbox.md), reminded during next/pace-plansession - Updates feedback log (
feedback-log.md) with FB-ID and status tracking
When to use: You want to understand the full reasoning behind a Claude decision.
Arguments:
keyword— Query the reasoning trace for a specific decision (e.g., "why rejected", "Gate 2")arch [title|ADR-NNN|list|supersede]— Architecture Decision Records management- (empty) — Shows the most recent decision trace
Behavior: Reads task event tables, checkpoint markers, and traceability tags to reconstruct the complete reasoning process behind Gate/intent/change decisions. Also manages Architecture Decision Records (ADR) for cross-CR architectural decisions.
Read-only: Does not modify any state files.
Bridges devpace state with external project management tools (GitHub Issues). Push-only MVP in v1.5.0.
When to use: You want to keep GitHub Issues in sync with devpace CR states.
Prerequisites: gh CLI installed (recommended), git remote configured.
Subcommands:
| Subcommand | Arguments | Description |
|---|---|---|
setup |
[--auto] |
Guided sync configuration (detect remote → generate sync-mapping.md) |
link |
CR-ID [#ExternalID] |
Associate CR with GitHub Issue (omit ID for smart match) |
push |
[CR-ID] [--dry-run] |
Push devpace state to external (specific CR or all linked) |
unlink |
CR-ID |
Remove association between CR and external entity |
create |
CR-ID |
Create external Issue from CR metadata and auto-link |
pull |
CR-ID |
Check external state and prompt to update (lightweight MVP) |
ci status |
— | View CI/CD run status for the current branch |
ci trigger |
[workflow] |
Manually trigger a GitHub Actions workflow |
ci logs |
[run-id] |
View log summary for a specified run |
status |
— | View sync status and external links |
No arguments defaults to status. --dry-run previews actions without executing.
State Mapping (devpace → GitHub labels):
| devpace | GitHub label | Direction |
|---|---|---|
created |
backlog |
↔ |
developing |
in-progress |
↔ |
verifying |
needs-review |
→ |
in_review |
awaiting-approval |
→ |
approved |
approved |
→ |
merged |
close + done |
↔ |
released |
released |
→ |
paused |
on-hold |
↔ |
Quick start: setup → link CR-003 #42 → push
Degradation: No gh CLI → setup still works (config marked unverified), push/status unavailable. No sync-mapping.md → guides to setup. Core devpace workflow unaffected.
For detailed scenarios and developer guide, see External Tool Sync.
Switches Claude's output perspective. Default is Dev perspective when not switched.
When to use: You want to view project information from a different perspective.
Arguments:
| Role | Focus |
|---|---|
biz |
Business value, goal attainment |
pm |
Delivery cadence, priorities, iteration progress |
dev |
Code quality, technical details (default) |
tester |
Defect distribution, test coverage |
ops |
Release status, deployment health |
| (empty) | Shows current role and options |
When you're reading code, analyzing problems, or discussing approaches, devpace stays out of your way:
- No state file modifications
- No task creation
- No quality gate triggers
- No workflow constraints
Trigger phrases: "look at...", "analyze...", "explain...", "what if..."
When you start modifying code, devpace activates:
- Creates or links a task
- Tracks status through the workflow
- Runs quality gates at state transitions
- Updates state files and feature tree
Trigger phrases: /pace-dev (direct entry), or "implement...", "fix...", "develop...", "continue..."
First-entry confirmation: The first time you express coding intent in a session (without using /pace-dev), Claude naturally asks: "I can manage this — track progress, run quality checks, and log changes. Want me to do that, or is this just a quick fix?" Choosing yes automatically enters Advance mode for the rest of the session. Choosing "just a quick fix" skips tracking.
Using /pace-dev always enters Advance mode directly, no confirmation needed.
You don't need to know this for daily use. This is the complete reference for task state transitions in Advance mode.
created -> developing -> verifying -> in_review -> approved -> merged -> released (optional)
| | ^
| | |
+-- Gate 1 -----+-- Gate 2 --+-- Gate 3 (human)
(code quality) (integration) (code review)
Any state <-> paused (preserves all work, change management)
Hotfix fast path: created -> developing -> verifying -> merged (critical only)
| State | User perception | Description |
|---|---|---|
| created | "Created" | Task just created, not started yet |
| developing | "In progress" | Claude is writing code and tests |
| verifying | "Verifying" | Integration tests and intent consistency checks |
| in_review | "Awaiting your approval" | Claude stops, waiting for your decision |
| approved | "Approved" | You approved, merging in progress |
| merged | "Done" | Code merged (default terminal state) |
| released | "Released" | Auto-marked after Release closes (optional terminal state) |
| paused | "Paused" | Paused due to requirement change, all work preserved |
- Gate 1/2: Claude runs automatically, auto-fixes failures, doesn't bother you
- Gate 3: Human code review — Claude generates a summary and waits for you
- released: Optional — if you don't use a release process,
mergedis the endpoint
| Type | Purpose | Description |
|---|---|---|
| feature | New feature or enhancement (default) | Product feature development in normal iterations |
| defect | Defect fix | Issues found in released features |
| hotfix | Emergency fix | Critical production issues, eligible for fast path |
devpace treats requirement changes as normal operations, not exceptions.
/pace-change add 我们需要一个导出 CSV 的功能
(= "We need a CSV export feature")
Claude:
- Creates a new feature in the feature tree
- Creates a task
- Evaluates iteration capacity (can it fit?)
- Proposes scheduling (do it now, or queue it?)
- Waits for your confirmation
/pace-change pause authentication
Claude:
- Marks ⏸️ in the feature tree
- Preserves all work (code, branches, quality check progress)
- Adjusts dependencies (unblocks tasks waiting on this feature)
- Updates the work plan
/pace-change resume authentication
Claude:
- Restores to pre-pause state
- If code changed during the pause, re-validates quality checks
- Updates the work plan
/pace-change reprioritize 把导出功能排到搜索前面
(= "Move export ahead of search")
Claude:
- Reorders the work queue
- Updates state.md and iteration plan
- Records the reason
/pace-change modify authentication 增加 OAuth2 支持
(= "Add OAuth2 support to authentication")
Claude:
- Updates feature scope
- Identifies which existing code needs rework
- Resets affected quality checks
- Records the change in the task event log
Automated checks defined in .devpace/rules/checks.md:
- Lint / formatting
- Tests pass
- Type checks (if applicable)
Claude runs automatically, fixes failures and retries. Doesn't bother you.
- Integration tests pass
- Intent consistency check (does the code match the plan?)
- Semantic consistency score (how well code aligns with acceptance criteria — rated High/Medium/Low)
- No unexpected side effects
Also automatic. Claude fixes issues before advancing.
Claude generates a review summary and stops. You decide:
- Approve → merge
- Reject → returns to development with feedback
- Request changes → Claude fixes and resubmits
Release-level checks (depends on integrations/config.md configuration):
- Runs build/test commands to verify the code builds
- Checks CI pipeline status
- Confirms all included tasks passed Gate 1/2/3
Without configuration, Gate 4 silently skips and doesn't affect the release flow.
- Session ends: Claude updates
state.md, recording current progress and next steps - New session starts: devpace Hook reads
state.mdand injects context - Claude reports: one sentence describing the current situation
- You say "continue": work resumes precisely from where it left off
Adaptive session end: No .devpace/ changes means no end protocol; simple scenarios get 1 line, standard scenarios 3 lines, complex scenarios 5 lines — avoiding unnecessary overhead.
- Feature currently being worked on
- Task status and quality check progress
- Next step recommendations
- Blockers and dependencies
- Conversation history (that's the Claude session, not devpace)
- Tool state or file buffers
Key insight: devpace preserves project state, not conversation state. This means even if Claude loses conversation memory, the project state tells it everything needed to continue.
Session anchor. 5-15 lines. Auto-maintained.
Contains: current phase, work in progress, next steps, blockers.
Value-feature tree. Shows the complete hierarchy from business goals to features.
Auto-updated when features are added, completed, or paused.
One file per task. Contains: title, status, linked feature, quality check status, event log.
Auto-created when work begins.
Current iteration plan. Tracks planned vs. actual, change log.
Project-specific workflow rules and quality checks. Set up during /pace-init.
Metrics dashboard. Updated by /pace-retro.
devpace is built on BizDevOps methodology — the integration of Business, Development, and Operations into a unified value delivery chain. This section maps devpace features to the methodology's lifecycle stages.
| Stage | What happens | Who leads | devpace feature | Feedback loop |
|---|---|---|---|---|
| Goal Setting | Define business goals and success metrics | You | /pace-init, project.md |
Business loop |
| Planning | Break goals into features, plan iterations | You + Claude | /pace-plan, /pace-change |
Product loop |
| Development | Code, test, quality gates | Claude (you decide) | /pace-dev, /pace-guard |
Technical loop |
| Verification | Quality checks, requirement consistency, human review | Auto + You | /pace-review, /pace-test |
Technical loop |
| Release | Changelog, version, tag, deploy, verify | Claude (you confirm) | /pace-release |
Operations loop |
| Feedback | Collect feedback, track defects, measure outcomes | You + Claude | /pace-feedback, /pace-retro |
Business loop |
devpace implements four continuous feedback loops:
| Loop | Scope | Cycle | How devpace implements it |
|---|---|---|---|
| Business | Goals → Outcomes | Per project / quarter | MoS (Measures of Success) tracking in project.md, /pace-retro for goal attainment review |
| Product | Features → User value | Per iteration | /pace-plan for iteration planning, /pace-retro for delivery review, /pace-change for mid-iteration adjustment |
| Technical | Code → Quality | Per task | Auto quality gates (Gate 1/2/3), /pace-test for requirement-traced verification |
| Operations | Deploy → Stability | Per release | /pace-release for release orchestration, /pace-feedback report for production incident tracking (FB-ID lifecycle tracking, improvement suggestion pool, feedback inbox) |
devpace collects metrics across three dimensions (auto-generated from work data, zero manual input):
| Dimension | Metrics | devpace feature |
|---|---|---|
| Delivery (DORA proxies) | Deploy frequency, Lead time, Change failure rate, MTTR | /pace-retro with Elite~Low benchmarks |
| Quality | Gate first-pass rate, Human rejection rate, Defect escape rate | Auto quality gates + /pace-test |
| Value alignment | Success metric (MoS) attainment, Value chain completeness, Delivery cycle time | project.md traceability + /pace-retro |
For the full theoretical background, run
/pace-theoryinside devpace.
Don't manually edit .devpace/ files. Claude maintains them automatically as you work.
Instead of /pace-change modify auth Add OAuth2, you can simply say:
"认证功能还需要支持 OAuth2" (= "Auth also needs OAuth2 support")
Claude detects the change intent and executes the same flow.
/pace-status gives you a one-line answer. No context switching, no digging through files.
When Claude says "ready for review," use /pace-review to see a structured summary before approving.
Run /pace-retro at the end of each iteration. Accumulated data makes future planning more accurate.
Run /pace-init to set up .devpace/ in your project directory.
Check that .devpace/state.md exists and has content. The SessionStart Hook auto-reads this file.
Check .devpace/rules/checks.md — the commands inside must work in your project (e.g., npm test, pytest).
Run /pace-status tree to see the current state. If it needs correction, tell Claude what's wrong and it will update.
Make sure you're in Advance mode (actively writing code). Explore mode doesn't track state.