agent-eng 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-eng",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Scaffold a structured agentic engineering workflow for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,12 +1,14 @@
1
1
  ---
2
2
  name: executor
3
- description: Use when the user wants to implement a specific ticket. Reads the ticket, proposes a plan first, then implements following project conventions and ADRs. Verifies work end-to-end before marking done.
3
+ description: Use for complex tickets that need guided execution with strict verification. For most tickets, prefer Claude Code plan mode (shift+tab) instead it explores, plans, and implements in one session. Use this agent when you need enforced discipline (plan-before-code, mandatory verification) or when plan mode is unavailable.
4
4
  tools: Read, Write, Edit, Grep, Glob, Bash, WebFetch
5
5
  model: sonnet
6
6
  ---
7
7
 
8
8
  You are an executor agent. Your role is to implement tickets by writing code that follows the project's conventions and architecture decisions.
9
9
 
10
+ > **Note:** For most tickets, Claude Code's built-in plan mode (`shift+tab`) is the recommended execution path — it provides faster context continuity and integrated exploration. This agent exists for cases where you need enforced discipline or are running execution as part of the full agent pipeline.
11
+
10
12
  ## Responsibilities
11
13
 
12
14
  1. **Read the ticket fully** — Understand the acceptance criteria, linked ADRs, and specs before writing any code
@@ -5,7 +5,7 @@ tools: Read, Grep, Glob, Write, Edit
5
5
  model: sonnet
6
6
  ---
7
7
 
8
- You are a planner agent. Your role is to decompose specs and ADRs into actionable tickets.
8
+ You are a planner agent. Your role is to decompose specs and ADRs into actionable tickets scoped for execution via Claude Code plan mode.
9
9
 
10
10
  ## Responsibilities
11
11
 
@@ -13,7 +13,7 @@ You are a planner agent. Your role is to decompose specs and ADRs into actionabl
13
13
  2. **Decompose work** — Break features into small, focused tickets
14
14
  3. **Define acceptance criteria** — Each ticket must have testable completion criteria
15
15
  4. **Sequence work** — Order tickets to minimize blocked dependencies
16
- 5. **Scope appropriately** — Each ticket should be completable in one focused session
16
+ 5. **Scope for plan mode** — Each ticket should be completable in a single Claude Code plan mode session
17
17
 
18
18
  ## Constraints
19
19
 
@@ -21,6 +21,7 @@ You are a planner agent. Your role is to decompose specs and ADRs into actionabl
21
21
  - Each ticket should be **independently mergeable** where possible
22
22
  - Acceptance criteria must be **specific and testable**
23
23
  - Link tickets to relevant ADRs and specs
24
+ - **Size tickets for plan mode** — a ticket should be achievable in one focused session with plan mode (typically S or M size). If a ticket would require multiple plan mode sessions, split it
24
25
 
25
26
  ## Process
26
27
 
@@ -18,7 +18,7 @@ You are a reviewer agent. Your role is to review code changes against acceptance
18
18
  ## Constraints
19
19
 
20
20
  - You **review and comment**, you do not write code
21
- - You flag issues for the executor to fix
21
+ - You flag issues to be fixed (via plan mode or the executor agent)
22
22
  - You reference specific lines and files
23
23
  - You cite the relevant ADR or convention when flagging violations
24
24
 
@@ -1,67 +1,65 @@
1
1
  # Project
2
2
 
3
- This project uses a structured agentic engineering workflow. Before starting any work, read this document and the relevant references below.
3
+ This project uses a hybrid agentic workflow: specialized agents handle process (decisions, planning, review), and Claude Code's plan mode handles execution.
4
4
 
5
- ## Workflow
5
+ ## Workflow — Hybrid Approach
6
6
 
7
- This project separates AI-assisted work into eight roles. Each role is a Claude Code subagent in `.claude/agents/` invoke them via the Agent tool with `subagent_type: "<name>"` (e.g., `subagent_type: "architect"`). Claude will also auto-route work to the appropriate subagent based on each agent's `description`.
7
+ Agents own the **process** architecture decisions, work decomposition, quality gates, and maintenance. Claude Code plan mode owns the **execution** implementing individual tickets efficiently within a single session.
8
8
 
9
- | Role | Subagent | Responsibility |
10
- |------|----------|----------------|
11
- | **Architect** | `architect` | Analyze requirements, ask clarifying questions, produce ADRs |
12
- | **System Architect** | `system-architect` | Map and document system architecture as `architecture.yaml` |
13
- | **Planner** | `planner` | Decompose specs and ADRs into actionable tickets |
14
- | **Executor** | `executor` | Implement tickets, verify work before requesting feedback |
15
- | **QA Tester** | `qa-tester` | Write automated tests for completed features |
16
- | **Reviewer** | `reviewer` | Validate code and tests against acceptance criteria and ADRs |
17
- | **Custodian** | `custodian` | Keep CLAUDE.md lean (≤200 lines), current, and routed to external files |
18
- | **Summarizer** | `summarizer` | Generate executive summaries of completed sprints or features for stakeholders |
9
+ | Phase | How | When |
10
+ |-------|-----|------|
11
+ | **Decide** | `/architect` agent | New feature, significant design choice, unclear requirements |
12
+ | **Map** | `/system-architect` agent | New system or major structural change |
13
+ | **Decompose** | `/planner` agent | ADR/spec ready, work needs to be broken into tickets |
14
+ | **Execute** | Claude Code **plan mode** (`shift+tab`) | Implementing a specific ticket |
15
+ | **Test** | `/qa-tester` agent | Feature implementation complete |
16
+ | **Review** | `/reviewer` agent | Code and tests ready for validation |
17
+ | **Maintain** | `/custodian` agent | After a batch of work, or CLAUDE.md > 200 lines |
18
+ | **Report** | `/summarizer` agent | Sprint or feature complete, stakeholder update needed |
19
19
 
20
- ## Sub-Agent Deployment
20
+ ### Why hybrid?
21
21
 
22
- When work can be parallelized, spin up sub-agents to handle independent tasks concurrently. Sub-agents research, test, or implement in isolation and report back to the main thread.
22
+ - Agents enforce **separation of concerns** the Architect can't write code, the Reviewer can't fix issues
23
+ - Plan mode provides **speed and context continuity** — it explores, plans, and executes in one session
24
+ - Artifacts (ADRs, tickets, reviews) **persist across sessions** — plan mode's output is code, agents' output is documentation
23
25
 
24
- ### When to deploy sub-agents
26
+ ### Choosing the right tool
25
27
 
26
- - **Research in parallel** e.g., one sub-agent reads existing ADRs while another explores the codebase for relevant patterns
27
- - **Test in parallel** — e.g., one sub-agent runs unit tests while another checks integration tests
28
- - **Implement independent tickets** — tickets with no dependencies on each other can be executed simultaneously
29
- - **Verify in parallel** — e.g., one sub-agent checks browser behavior while another reviews console output
28
+ **Use an agent** when the task produces a persistent artifact (ADR, ticket, review, summary) or when role separation matters (the person deciding shouldn't be the person implementing).
30
29
 
31
- ### Model selection
30
+ **Use plan mode** when you have a well-scoped ticket with clear acceptance criteria and want to go from plan to working code in one session.
32
31
 
33
- Not every sub-agent needs the most powerful model. Choose the model based on task complexity:
32
+ **Quick fixes and bug fixes** don't need the full pipeline — use plan mode directly, or just implement without ceremony. The workflow exists to help, not to slow down trivial changes.
34
33
 
35
- | Complexity | Model | Use when |
36
- |------------|-------|----------|
37
- | **Low** | Haiku | File lookups, grep searches, reading docs, running tests, formatting, simple code generation |
38
- | **Medium** | Sonnet | Multi-file changes, moderate reasoning, code review, writing tests |
39
- | **High** | Opus | Architecture decisions, complex refactors, subtle bug investigation, cross-cutting changes |
34
+ ## Before Starting Any Feature
40
35
 
41
- **Default to Haiku for sub-agents** unless the task requires multi-step reasoning or cross-file understanding. Most research and verification tasks are Haiku-appropriate.
36
+ 1. Check if an ADR exists in `architecture/decisions/` if not, run `/architect` first
37
+ 2. Check if tickets exist in `tickets/` — if not, run `/planner` first
38
+ 3. For each ticket: use plan mode (`shift+tab`) to implement it
39
+ 4. After implementation: run `/reviewer` to validate against acceptance criteria
40
+ 5. If the ticket touches an existing ADR's scope, verify the decision still holds
42
41
 
43
- ### How to deploy
42
+ ## Before Starting Any Ticket (in plan mode)
44
43
 
45
- Use the Agent tool with these parameters:
46
- - `description` Short label for what the sub-agent does
47
- - `prompt` Self-contained brief (the sub-agent has no context from the main thread)
48
- - `model` Set to `"haiku"` for simple tasks, `"sonnet"` for moderate, omit for complex (inherits parent model)
49
- - `run_in_background` Set to `true` when you don't need the result before continuing other work
44
+ 1. Read the ticket fully, including all linked documents
45
+ 2. Read any referenced ADRs in `architecture/decisions/`
46
+ 3. Check relevant conventions in `conventions/`
47
+ 4. Let plan mode explore and propose the implementation plan
48
+ 5. Verify the work end-to-end before marking done
50
49
 
51
- ### Rules
50
+ ## Sub-Agent Deployment
52
51
 
53
- - **Make prompts self-contained** — Sub-agents don't see the main conversation. Include file paths, context, and what specifically to do or find.
54
- - **Parallelize independent work** — Launch multiple sub-agents in a single message when their tasks don't depend on each other.
55
- - **Don't delegate synthesis** — Sub-agents gather information; the main thread makes decisions. Never write "based on your findings, decide X."
56
- - **Verify sub-agent output** — Sub-agents report what they intended, not necessarily what they achieved. Check their actual changes before reporting to the user.
52
+ When work can be parallelized, spin up sub-agents for independent tasks concurrently.
57
53
 
58
- ## Before Starting Any Ticket
54
+ ### Model selection
59
55
 
60
- 1. Read the ticket fully, including all linked documents
61
- 2. Read any referenced ADRs in `architecture/decisions/`
62
- 3. Check if there's a relevant spec in `specs/`
63
- 4. Propose a plan before writing code get alignment first
64
- 5. If the ticket touches an existing ADR's scope, verify the decision still holds
56
+ | Complexity | Model | Use when |
57
+ |------------|-------|----------|
58
+ | **Low** | Haiku | File lookups, grep, reading docs, running tests, formatting |
59
+ | **Medium** | Sonnet | Multi-file changes, code review, writing tests |
60
+ | **High** | Opus | Architecture decisions, complex refactors, subtle bugs |
61
+
62
+ **Default to Haiku** unless the task requires multi-step reasoning or cross-file understanding.
65
63
 
66
64
  ## Key Files and Directories
67
65
 
@@ -71,11 +69,11 @@ Use the Agent tool with these parameters:
71
69
  - `specs/` — Feature specifications
72
70
  - `tickets/` — Work items organized by feature folder, with `_backlog.md` as the sprint board
73
71
  - `conventions/` — Language and framework coding standards
74
- - `.claude/agents/` — Subagent definitions for each role (Architect, Planner, Executor, etc.)
72
+ - `.claude/agents/` — Subagent definitions for each role
75
73
 
76
74
  ## MCP Servers
77
75
 
78
- - **Context7** — Pulls up-to-date, version-specific documentation from live code libraries (React, Next.js, etc.) before writing code. Configured in `.claude/settings.json`. Use the `resolve` tool to look up a library, then `get-library-docs` to fetch the relevant docs. Always query Context7 before writing code that depends on a third-party library to avoid using outdated or deprecated APIs.
76
+ - **Context7** — Pulls up-to-date, version-specific documentation from live code libraries. Use `resolve` then `get-library-docs` before writing code that depends on a third-party library.
79
77
 
80
78
  ## Conventions
81
79
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  **Status:** Accepted
4
4
  **Date:** 2026-05-04
5
+ **Updated:** 2026-05-08
5
6
  **Author:** swarpi
6
7
 
7
8
  ## Context
@@ -12,19 +13,40 @@ Working with AI coding assistants can be highly productive, but without structur
12
13
  - Lost context between sessions
13
14
  - No clear separation between planning and execution
14
15
 
15
- We need a workflow that maximizes the benefits of AI assistance while maintaining engineering rigor.
16
+ We need a workflow that maximizes the benefits of AI assistance while maintaining engineering rigor. However, a fully agent-driven pipeline adds friction for execution — Claude Code's built-in plan mode is faster and maintains better context continuity when implementing well-scoped work.
16
17
 
17
18
  ## Decision
18
19
 
19
- We adopt a role-based workflow with four distinct agent modes:
20
+ We adopt a **hybrid approach**: specialized agents own the process, Claude Code plan mode owns execution.
21
+
22
+ ### Agents (process)
20
23
 
21
24
  1. **Architect** — Focuses on design decisions. Produces ADRs. Asks clarifying questions before deciding. Has read access to the codebase but does not write code.
22
25
 
23
- 2. **Planner** — Takes specs and ADRs as input. Decomposes work into tickets with clear acceptance criteria. Does not implement.
26
+ 2. **Planner** — Takes specs and ADRs as input. Decomposes work into tickets scoped for plan mode sessions. Does not implement.
27
+
28
+ 3. **QA Tester** — Writes automated tests after implementation. Covers acceptance criteria, edge cases, and regressions.
29
+
30
+ 4. **Reviewer** — Reviews diffs against acceptance criteria and linked ADRs. Checks for convention violations. Does not fix issues directly — flags them for fixing.
31
+
32
+ 5. **Custodian** — Keeps CLAUDE.md lean and current. Routes large content to external files.
33
+
34
+ 6. **Summarizer** — Produces non-technical executive summaries of completed work.
35
+
36
+ ### Plan mode (execution)
37
+
38
+ Each ticket from the Planner is executed using Claude Code's plan mode (`shift+tab`). Plan mode:
39
+ - Explores the codebase and proposes a plan before implementing
40
+ - Executes within a single session with full context continuity
41
+ - Adapts its depth to the task — simple ticket, simple plan
24
42
 
25
- 3. **Executor** Implements tickets. Follows conventions. References the ticket and relevant ADRs. Proposes a plan before coding.
43
+ The **Executor agent** remains as a fallback for cases where plan mode is unavailable or strict verification discipline is needed.
26
44
 
27
- 4. **Reviewer** Reviews diffs against acceptance criteria and linked ADRs. Checks for convention violations. Does not fix issues directly — flags them for the executor.
45
+ ### When to skip the pipeline
46
+
47
+ - Bug fixes, typos, and small changes → plan mode directly
48
+ - Well-understood changes with no architectural implications → plan mode directly
49
+ - New features or significant decisions → full pipeline starting with Architect
28
50
 
29
51
  All significant decisions are recorded as ADRs. All work items are tickets with acceptance criteria. Conventions are documented per-language.
30
52
 
@@ -35,14 +57,15 @@ All significant decisions are recorded as ADRs. All work items are tickets with
35
57
  - Clear separation of concerns reduces cognitive overload per session
36
58
  - ADRs create a searchable decision history
37
59
  - Tickets with acceptance criteria make "done" unambiguous
60
+ - Plan mode provides fast, context-aware execution without agent switching overhead
38
61
  - Conventions prevent style drift across sessions
39
- - Role separation allows using different models for different tasks (e.g., larger model for architecture, faster model for execution)
62
+ - The workflow adapts to task size no ceremony for small changes
40
63
 
41
64
  ### Negative
42
65
 
43
- - More upfront documentation work
44
- - Overhead may feel excessive for small changes
45
- - Requires discipline to follow the process
66
+ - More upfront documentation work for new features
67
+ - Requires discipline to follow the process for larger changes
68
+ - Plan mode doesn't produce persistent artifacts the way the Executor agent does
46
69
 
47
70
  ### Neutral
48
71
 
@@ -54,10 +77,14 @@ All significant decisions are recorded as ADRs. All work items are tickets with
54
77
 
55
78
  Just talk to the AI and let it write code directly. Rejected because it leads to inconsistent decisions and lost context.
56
79
 
57
- ### Heavy-process frameworks (e.g., full Agile ceremony)
80
+ ### Fully agent-driven pipeline (previous approach)
58
81
 
59
- Too heavyweight for a solo developer. We take the useful parts (clear acceptance criteria, documented decisions) without the ceremony.
82
+ All eight agents in sequence, including Executor for implementation. Rejected because plan mode provides better context continuity and speed for execution, and the Executor agent was frequently skipped by plan mode anyway.
83
+
84
+ ### Plan mode only (no agents)
60
85
 
61
- ### Separate human architect with AI executor
86
+ Use plan mode for everything. Rejected because plan mode doesn't enforce role separation (the same session that decides also implements), produces no persistent artifacts (ADRs, tickets, reviews), and doesn't scale to multi-session features.
62
87
 
63
- Keeps all design decisions with the human. Rejected because AI architects can surface alternatives humans wouldn't consider, and documenting the reasoning in ADRs preserves human oversight.
88
+ ### Heavy-process frameworks (e.g., full Agile ceremony)
89
+
90
+ Too heavyweight for a solo developer. We take the useful parts (clear acceptance criteria, documented decisions) without the ceremony.
@@ -8,13 +8,25 @@ This document provides a high-level view of the system architecture.
8
8
  2. **Written artifacts** — Decisions, plans, and reviews are documented, not just discussed
9
9
  3. **Verify before execute** — Plans are reviewed before implementation begins
10
10
  4. **Single source of truth** — Each piece of information lives in one canonical place
11
+ 5. **Right tool for the job** — Agents own process; plan mode owns execution
11
12
 
12
- ## The Flow
13
+ ## The Flow (Hybrid)
13
14
 
14
15
  ```
15
- Requirement → Architect → ADR/Spec → Planner → Tickets → Executor → Code → Reviewer → Merged
16
+ Requirement → Architect → ADR/Spec → Planner → Tickets → Plan Mode → Code → Reviewer → Merged
17
+ (agent) (agent) (built-in) (agent)
16
18
  ```
17
19
 
20
+ **Process phases** (agents): Architect, System Architect, Planner, Reviewer, QA Tester, Custodian, Summarizer
21
+ **Execution phase** (plan mode): Claude Code's built-in plan mode implements each ticket in a focused session
22
+
23
+ ## When to Skip the Pipeline
24
+
25
+ Not every change needs the full workflow:
26
+ - **Bug fix or typo** → Plan mode directly, or just implement
27
+ - **Small well-understood change** → Plan mode directly
28
+ - **New feature or significant decision** → Start with Architect, then full pipeline
29
+
18
30
  ## Artifact Types
19
31
 
20
32
  | Artifact | Purpose | Location |
@@ -1,5 +1,7 @@
1
- name: Agentic Workflow
2
- description: Eight-role pipeline for AI-assisted software engineering
1
+ name: Hybrid Agentic Workflow
2
+ description: >
3
+ Agents own the process (decisions, planning, review, maintenance).
4
+ Claude Code plan mode owns execution (implementing tickets).
3
5
 
4
6
  agents:
5
7
  - id: architect
@@ -29,8 +31,8 @@ agents:
29
31
  - id: planner
30
32
  kind: planning
31
33
  title: Planner
32
- tagline: Decomposes specs into actionable work
33
- description: Takes ADRs and specs as input. Decomposes the work into discrete, actionable tickets with clear acceptance criteria.
34
+ tagline: Decomposes specs into plan-mode-sized tickets
35
+ description: Takes ADRs and specs as input. Decomposes work into discrete tickets scoped for a single Claude Code plan mode session.
34
36
  outputs:
35
37
  - Tickets
36
38
  - Milestones
@@ -38,23 +40,39 @@ agents:
38
40
  color: indigo
39
41
  docLink: /.claude/agents/planner.md
40
42
 
43
+ - id: plan-mode
44
+ kind: execution
45
+ title: Plan Mode
46
+ tagline: Claude Code's built-in plan-then-execute cycle
47
+ description: >
48
+ Not a custom agent — this is Claude Code's native plan mode (shift+tab).
49
+ It explores the codebase, proposes a plan, gets approval, then implements.
50
+ Each ticket from the Planner is executed as a separate plan mode session.
51
+ outputs:
52
+ - Code
53
+ - PRs
54
+ color: indigo
55
+ builtin: true
56
+
41
57
  - id: executor
42
58
  kind: execution
43
- title: Executor
44
- tagline: Implements with intent and discipline
45
- description: Implements tickets following established conventions. Always proposes a plan before touching the codebase.
59
+ title: Executor (fallback)
60
+ tagline: Guided execution with strict verification
61
+ description: >
62
+ Fallback for when plan mode is unavailable or when enforced verification
63
+ discipline is needed. Most tickets should use plan mode instead.
46
64
  outputs:
47
65
  - Code
48
66
  - PRs
49
67
  - Plan docs
50
- color: indigo
68
+ color: gray
51
69
  docLink: /.claude/agents/executor.md
52
70
 
53
71
  - id: qa-tester
54
72
  kind: validation
55
73
  title: QA Tester
56
74
  tagline: Writes automated tests for completed features
57
- description: Writes automated tests after the Executor finishes a feature. Covers acceptance criteria, edge cases, and regression scenarios.
75
+ description: Writes automated tests after implementation. Covers acceptance criteria, edge cases, and regression scenarios.
58
76
  outputs:
59
77
  - Tests
60
78
  - Coverage report
@@ -66,7 +84,7 @@ agents:
66
84
  kind: validation
67
85
  title: Reviewer
68
86
  tagline: Validates against acceptance criteria
69
- description: Validates code and tests against the original acceptance criteria. Flags issues back to the Executor and provides final approval.
87
+ description: Validates code and tests against the original acceptance criteria. Flags issues back for fixing and provides final approval.
70
88
  outputs:
71
89
  - Feedback
72
90
  - Approval
@@ -78,7 +96,7 @@ agents:
78
96
  kind: maintenance
79
97
  title: Custodian
80
98
  tagline: Keeps CLAUDE.md lean, current, and well-routed
81
- description: Maintains the project's CLAUDE.md file — adds new patterns and gotchas, removes stale entries, and routes large content to external files. Enforces a 150–200 line limit to prevent context bloat.
99
+ description: Maintains the project's CLAUDE.md file — adds new patterns and gotchas, removes stale entries, and routes large content to external files. Enforces a 150–200 line limit.
82
100
  outputs:
83
101
  - Updated CLAUDE.md
84
102
  - Extracted reference files
@@ -89,7 +107,7 @@ agents:
89
107
  kind: reporting
90
108
  title: Summarizer
91
109
  tagline: Communicates completed work to stakeholders
92
- description: Reads tickets, ADRs, specs, git history, and test results to produce concise, non-technical executive summaries of what was delivered and why it matters.
110
+ description: Reads tickets, ADRs, specs, git history, and test results to produce concise, non-technical executive summaries.
93
111
  outputs:
94
112
  - Executive summaries
95
113
  - Sprint recaps
@@ -98,6 +116,7 @@ agents:
98
116
  docLink: /.claude/agents/summarizer.md
99
117
 
100
118
  connections:
119
+ # Process phase: agents produce artifacts
101
120
  - from: architect
102
121
  to: system-architect
103
122
  artifact: ADRs · Specs
@@ -106,23 +125,46 @@ connections:
106
125
  to: planner
107
126
  artifact: architecture.yaml
108
127
 
128
+ # Execution phase: plan mode implements tickets
129
+ - from: planner
130
+ to: plan-mode
131
+ artifact: Tickets
132
+ note: Each ticket becomes a separate plan mode session
133
+
134
+ # Fallback execution path
109
135
  - from: planner
110
136
  to: executor
111
137
  artifact: Tickets
138
+ type: fallback
139
+ note: Use when plan mode is unavailable
140
+
141
+ # Validation phase
142
+ - from: plan-mode
143
+ to: qa-tester
144
+ artifact: Code
112
145
 
113
146
  - from: executor
114
147
  to: qa-tester
115
148
  artifact: Code
149
+ type: fallback
116
150
 
117
151
  - from: qa-tester
118
152
  to: reviewer
119
153
  artifact: Code · Tests
120
154
 
155
+ # Feedback loops
156
+ - from: reviewer
157
+ to: plan-mode
158
+ artifact: Feedback
159
+ type: feedback
160
+ note: Fix issues in a new plan mode session
161
+
121
162
  - from: reviewer
122
163
  to: executor
123
164
  artifact: Feedback
124
165
  type: feedback
125
166
 
167
+ # Maintenance triggers
126
168
  - from: reviewer
127
169
  to: custodian
128
170
  artifact: Completed work context
@@ -137,6 +179,7 @@ parallelization:
137
179
  description: >
138
180
  The main session can deploy sub-agents for independent, parallelizable work.
139
181
  Sub-agents run in isolation, report back, and the main thread synthesizes results.
182
+ Plan mode sessions run sequentially (one ticket at a time) unless tickets are independent.
140
183
  model-routing:
141
184
  low-complexity: haiku
142
185
  medium-complexity: sonnet
@@ -145,7 +188,7 @@ parallelization:
145
188
  examples:
146
189
  - parallel research across multiple files
147
190
  - running independent test suites simultaneously
148
- - implementing tickets with no dependencies on each other
191
+ - independent tickets can be executed in separate plan mode sessions
149
192
  - concurrent verification (browser + console + tests)
150
193
 
151
194
  layout: diamond