@fro.bot/systematic 2.3.3 → 2.4.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/README.md +12 -13
- package/agents/design/design-implementation-reviewer.md +2 -19
- package/agents/design/design-iterator.md +2 -31
- package/agents/design/figma-design-sync.md +2 -22
- package/agents/docs/ankane-readme-writer.md +2 -19
- package/agents/document-review/adversarial-document-reviewer.md +3 -2
- package/agents/document-review/coherence-reviewer.md +5 -7
- package/agents/document-review/design-lens-reviewer.md +3 -4
- package/agents/document-review/feasibility-reviewer.md +3 -4
- package/agents/document-review/product-lens-reviewer.md +25 -6
- package/agents/document-review/scope-guardian-reviewer.md +3 -4
- package/agents/document-review/security-lens-reviewer.md +3 -4
- package/agents/research/best-practices-researcher.md +4 -21
- package/agents/research/framework-docs-researcher.md +2 -19
- package/agents/research/git-history-analyzer.md +2 -19
- package/agents/research/issue-intelligence-analyst.md +2 -24
- package/agents/research/learnings-researcher.md +7 -28
- package/agents/research/repo-research-analyst.md +3 -32
- package/agents/research/slack-researcher.md +128 -0
- package/agents/review/agent-native-reviewer.md +109 -195
- package/agents/review/architecture-strategist.md +3 -19
- package/agents/review/cli-agent-readiness-reviewer.md +1 -27
- package/agents/review/code-simplicity-reviewer.md +5 -19
- package/agents/review/data-integrity-guardian.md +3 -19
- package/agents/review/data-migration-expert.md +3 -19
- package/agents/review/deployment-verification-agent.md +3 -19
- package/agents/review/pattern-recognition-specialist.md +4 -20
- package/agents/review/performance-oracle.md +3 -31
- package/agents/review/project-standards-reviewer.md +5 -5
- package/agents/review/schema-drift-detector.md +3 -19
- package/agents/review/security-sentinel.md +3 -25
- package/agents/review/testing-reviewer.md +3 -3
- package/agents/workflow/pr-comment-resolver.md +54 -22
- package/agents/workflow/spec-flow-analyzer.md +2 -25
- package/package.json +1 -1
- package/skills/agent-native-architecture/SKILL.md +28 -27
- package/skills/agent-native-architecture/references/agent-execution-patterns.md +3 -3
- package/skills/agent-native-architecture/references/agent-native-testing.md +1 -1
- package/skills/agent-native-architecture/references/mobile-patterns.md +1 -1
- package/skills/andrew-kane-gem-writer/SKILL.md +5 -5
- package/skills/ce-brainstorm/SKILL.md +43 -181
- package/skills/ce-compound/SKILL.md +143 -89
- package/skills/ce-compound-refresh/SKILL.md +48 -5
- package/skills/ce-ideate/SKILL.md +27 -242
- package/skills/ce-plan/SKILL.md +165 -81
- package/skills/ce-review/SKILL.md +348 -125
- package/skills/ce-review/references/findings-schema.json +5 -0
- package/skills/ce-review/references/persona-catalog.md +2 -2
- package/skills/ce-review/references/resolve-base.sh +5 -2
- package/skills/ce-review/references/subagent-template.md +25 -3
- package/skills/ce-work/SKILL.md +95 -242
- package/skills/ce-work-beta/SKILL.md +154 -301
- package/skills/dhh-rails-style/SKILL.md +13 -12
- package/skills/document-review/SKILL.md +56 -109
- package/skills/document-review/references/findings-schema.json +0 -23
- package/skills/document-review/references/subagent-template.md +13 -18
- package/skills/dspy-ruby/SKILL.md +8 -8
- package/skills/every-style-editor/SKILL.md +3 -2
- package/skills/frontend-design/SKILL.md +2 -3
- package/skills/git-commit/SKILL.md +1 -1
- package/skills/git-commit-push-pr/SKILL.md +81 -265
- package/skills/git-worktree/SKILL.md +20 -21
- package/skills/lfg/SKILL.md +10 -17
- package/skills/onboarding/SKILL.md +2 -2
- package/skills/onboarding/scripts/inventory.mjs +31 -7
- package/skills/proof/SKILL.md +134 -28
- package/skills/resolve-pr-feedback/SKILL.md +7 -2
- package/skills/setup/SKILL.md +1 -1
- package/skills/test-browser/SKILL.md +10 -11
- package/skills/test-xcode/SKILL.md +6 -3
- package/dist/lib/manifest.d.ts +0 -39
|
@@ -61,7 +61,7 @@ extension ToolResult {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
static func complete(_ summary: String) -> ToolResult {
|
|
64
|
-
//
|
|
64
|
+
// Task done, stop the loop
|
|
65
65
|
ToolResult(success: true, output: summary, shouldContinue: false)
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -165,7 +165,7 @@ Progress: 3/5 tasks complete (60%)
|
|
|
165
165
|
- Resume continues from where it left off, not from beginning
|
|
166
166
|
|
|
167
167
|
**Agent fails on one task:**
|
|
168
|
-
-
|
|
168
|
+
- Task marked `.failed` with error in notes
|
|
169
169
|
- Other tasks may continue (agent decides)
|
|
170
170
|
- Orchestrator doesn't automatically abort entire session
|
|
171
171
|
|
|
@@ -183,7 +183,7 @@ struct AgentCheckpoint: Codable {
|
|
|
183
183
|
let agentType: String
|
|
184
184
|
let messages: [Message] // Full conversation history
|
|
185
185
|
let iterationCount: Int
|
|
186
|
-
let tasks: [AgentTask] //
|
|
186
|
+
let tasks: [AgentTask] // Task state
|
|
187
187
|
let customState: [String: Any] // Agent-specific state
|
|
188
188
|
let timestamp: Date
|
|
189
189
|
|
|
@@ -177,8 +177,8 @@ end
|
|
|
177
177
|
## Reference Files
|
|
178
178
|
|
|
179
179
|
For deeper patterns, see:
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
180
|
+
- `references/module-organization.md` - Directory layouts, method decomposition
|
|
181
|
+
- `references/rails-integration.md` - Railtie, Engine, on_load patterns
|
|
182
|
+
- `references/database-adapters.md` - Multi-database support patterns
|
|
183
|
+
- `references/testing-patterns.md` - Multi-version testing, CI setup
|
|
184
|
+
- `references/resources.md` - Links to Kane's repos and articles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ce:brainstorm
|
|
3
|
-
description: Explore requirements and approaches through collaborative dialogue before writing a right-sized requirements document and planning implementation. Use for feature ideas, problem framing, when the user says 'let's brainstorm', or when they want to think through options before deciding what to build. Also use when a user describes a vague or ambitious feature request, asks 'what should we build', 'help me think through X', presents a problem with multiple valid solutions, or seems unsure about scope or direction — even if they don't explicitly ask to brainstorm.
|
|
4
|
-
argument-hint:
|
|
3
|
+
description: 'Explore requirements and approaches through collaborative dialogue before writing a right-sized requirements document and planning implementation. Use for feature ideas, problem framing, when the user says ''let''s brainstorm'', or when they want to think through options before deciding what to build. Also use when a user describes a vague or ambitious feature request, asks ''what should we build'', ''help me think through X'', presents a problem with multiple valid solutions, or seems unsure about scope or direction — even if they don''t explicitly ask to brainstorm.'
|
|
4
|
+
argument-hint: "[feature idea or problem to explore]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Brainstorm a Feature or Improvement
|
|
@@ -14,6 +14,8 @@ The durable output of this workflow is a **requirements document**. In other wor
|
|
|
14
14
|
|
|
15
15
|
This skill does not implement code. It explores, clarifies, and documents decisions for later planning or execution.
|
|
16
16
|
|
|
17
|
+
**IMPORTANT: All file references in generated documents must use repo-relative paths (e.g., `src/models/user.rb`), never absolute paths. Absolute paths break portability across machines, worktrees, and teammates.**
|
|
18
|
+
|
|
17
19
|
## Core Principles
|
|
18
20
|
|
|
19
21
|
1. **Assess scope first** - Match the amount of ceremony to the size and ambiguity of the work.
|
|
@@ -33,6 +35,7 @@ This skill does not implement code. It explores, clarifies, and documents decisi
|
|
|
33
35
|
## Output Guidance
|
|
34
36
|
|
|
35
37
|
- **Keep outputs concise** - Prefer short sections, brief bullets, and only enough detail to support the next decision.
|
|
38
|
+
- **Use repo-relative paths** - When referencing files, use paths relative to the repo root (e.g., `src/models/user.rb`), never absolute paths. Absolute paths make documents non-portable across machines and teammates.
|
|
36
39
|
|
|
37
40
|
## Feature Description
|
|
38
41
|
|
|
@@ -53,6 +56,20 @@ If the user references an existing brainstorm topic or document, or there is an
|
|
|
53
56
|
- Confirm with the user before resuming: "Found an existing requirements doc for [topic]. Should I continue from this, or start fresh?"
|
|
54
57
|
- If resuming, summarize the current state briefly, continue from its existing decisions and outstanding questions, and update the existing document instead of creating a duplicate
|
|
55
58
|
|
|
59
|
+
#### 0.1b Classify Task Domain
|
|
60
|
+
|
|
61
|
+
Before proceeding to Phase 0.2, classify whether this is a software task. The key question is: **does the task involve building, modifying, or architecting software?** -- not whether the task *mentions* software topics.
|
|
62
|
+
|
|
63
|
+
**Software** (continue to Phase 0.2) -- the task references code, repositories, APIs, databases, or asks to build/modify/debug/deploy software.
|
|
64
|
+
|
|
65
|
+
**Non-software brainstorming** (route to universal brainstorming) -- BOTH conditions must be true:
|
|
66
|
+
- None of the software signals above are present
|
|
67
|
+
- The task describes something the user wants to explore, decide, or think through in a non-software domain
|
|
68
|
+
|
|
69
|
+
**Neither** (respond directly, skip all brainstorming phases) -- the input is a quick-help request, error message, factual question, or single-step task that doesn't need a brainstorm.
|
|
70
|
+
|
|
71
|
+
**If non-software brainstorming is detected:** Read `references/universal-brainstorming.md` and use those facilitation principles to brainstorm with the user naturally. Do not follow the software brainstorming phases below.
|
|
72
|
+
|
|
56
73
|
#### 0.2 Assess Whether Brainstorming Is Needed
|
|
57
74
|
|
|
58
75
|
**Clear requirements indicators:**
|
|
@@ -87,7 +104,17 @@ Scan the repo before substantive brainstorming. Match depth to scope:
|
|
|
87
104
|
|
|
88
105
|
*Topic Scan* — Search for relevant terms. Read the most relevant existing artifact if one exists (brainstorm, plan, spec, skill, feature doc). Skim adjacent examples covering similar behavior.
|
|
89
106
|
|
|
90
|
-
If nothing obvious appears after a short scan, say so and continue.
|
|
107
|
+
If nothing obvious appears after a short scan, say so and continue. Two rules govern technical depth during the scan:
|
|
108
|
+
|
|
109
|
+
1. **Verify before claiming** — When the brainstorm touches checkable infrastructure (database tables, routes, config files, dependencies, model definitions), read the relevant source files to confirm what actually exists. Any claim that something is absent — a missing table, an endpoint that doesn't exist, a dependency not in the Gemfile, a config option with no current support — must be verified against the codebase first; if not verified, label it as an unverified assumption. This applies to every brainstorm regardless of topic.
|
|
110
|
+
|
|
111
|
+
2. **Defer design decisions to planning** — Implementation details like schemas, migration strategies, endpoint structure, or deployment topology belong in planning, not here — unless the brainstorm is itself about a technical or architectural decision, in which case those details are the subject of the brainstorm and should be explored.
|
|
112
|
+
|
|
113
|
+
**Slack context** (opt-in, Standard and Deep only) — never auto-dispatch. Route by condition:
|
|
114
|
+
|
|
115
|
+
- **Tools available + user asked**: Dispatch `systematic:research:slack-researcher` with a brief summary of the brainstorm topic alongside Phase 1.1 work. Incorporate findings into constraint and context awareness.
|
|
116
|
+
- **Tools available + user didn't ask**: Note in output: "Slack tools detected. Ask me to search Slack for organizational context at any point, or include it in your next prompt."
|
|
117
|
+
- **No tools + user asked**: Note in output: "Slack context was requested but no Slack tools are available. Install and authenticate the Slack plugin to enable organizational context search."
|
|
91
118
|
|
|
92
119
|
#### 1.2 Product Pressure Test
|
|
93
120
|
|
|
@@ -113,13 +140,10 @@ Before generating approaches, challenge the request to catch misframing. Match d
|
|
|
113
140
|
|
|
114
141
|
#### 1.3 Collaborative Dialogue
|
|
115
142
|
|
|
116
|
-
Use the platform's blocking question tool when available
|
|
143
|
+
Follow the Interaction Rules above. Use the platform's blocking question tool when available.
|
|
117
144
|
|
|
118
145
|
**Guidelines:**
|
|
119
|
-
- Ask
|
|
120
|
-
- Prefer multiple choice when natural options exist
|
|
121
|
-
- Prefer **single-select** when choosing one direction, one priority, or one next step
|
|
122
|
-
- Use **multi-select** only for compatible sets that can all coexist; if prioritization matters, ask which selected item is primary
|
|
146
|
+
- Ask what the user is already thinking before offering your own ideas. This surfaces hidden context and prevents fixation on AI-generated framings.
|
|
123
147
|
- Start broad (problem, users, value) then narrow (constraints, exclusions, edge cases)
|
|
124
148
|
- Clarify the problem frame, validate assumptions, and ask about success criteria
|
|
125
149
|
- Make requirements concrete enough that planning will not need to invent behavior
|
|
@@ -133,6 +157,10 @@ Use the platform's blocking question tool when available (see Interaction Rules)
|
|
|
133
157
|
|
|
134
158
|
If multiple plausible directions remain, propose **2-3 concrete approaches** based on research and conversation. Otherwise state the recommended direction directly.
|
|
135
159
|
|
|
160
|
+
Use at least one non-obvious angle — inversion (what if we did the opposite?), constraint removal (what if X weren't a limitation?), or analogy from how another domain solves this. The first approaches that come to mind are usually variations on the same axis.
|
|
161
|
+
|
|
162
|
+
Present approaches first, then evaluate. Let the user see all options before hearing which one is recommended — leading with a recommendation before the user has seen alternatives anchors the conversation prematurely.
|
|
163
|
+
|
|
136
164
|
When useful, include one deliberately higher-upside alternative:
|
|
137
165
|
- Identify what adjacent addition or reframing would most increase usefulness, compounding value, or durability without disproportionate carrying cost. Present it as a challenger option alongside the baseline, not as the default. Omit it when the work is already obviously over-scoped or the baseline request is clearly the right move.
|
|
138
166
|
|
|
@@ -142,7 +170,7 @@ For each approach, provide:
|
|
|
142
170
|
- Key risks or unknowns
|
|
143
171
|
- When it's best suited
|
|
144
172
|
|
|
145
|
-
|
|
173
|
+
After presenting all approaches, state your recommendation and explain why. Prefer simpler solutions when added complexity creates real carrying cost, but do not reject low-cost, high-value polish just because it is not strictly necessary.
|
|
146
174
|
|
|
147
175
|
If one approach is clearly best and alternatives are not meaningful, skip the menu and state the recommendation directly.
|
|
148
176
|
|
|
@@ -153,184 +181,18 @@ If relevant, call out whether the choice is:
|
|
|
153
181
|
|
|
154
182
|
### Phase 3: Capture the Requirements
|
|
155
183
|
|
|
156
|
-
Write or update a requirements document only when the conversation produced durable decisions worth preserving.
|
|
157
|
-
|
|
158
|
-
This document should behave like a lightweight PRD without PRD ceremony. Include what planning needs to execute well, and skip sections that add no value for the scope.
|
|
159
|
-
|
|
160
|
-
The requirements document is for product definition and scope control. Do **not** include implementation details such as libraries, schemas, endpoints, file layouts, or code structure unless the brainstorm is inherently technical and those details are themselves the subject of the decision.
|
|
161
|
-
|
|
162
|
-
**Required content for non-trivial work:**
|
|
163
|
-
- Problem frame
|
|
164
|
-
- Concrete requirements or intended behavior with stable IDs
|
|
165
|
-
- Scope boundaries
|
|
166
|
-
- Success criteria
|
|
167
|
-
|
|
168
|
-
**Include when materially useful:**
|
|
169
|
-
- Key decisions and rationale
|
|
170
|
-
- Dependencies or assumptions
|
|
171
|
-
- Outstanding questions
|
|
172
|
-
- Alternatives considered
|
|
173
|
-
- High-level technical direction only when the work is inherently technical and the direction is part of the product/architecture decision
|
|
174
|
-
|
|
175
|
-
**Document structure:** Use this template and omit clearly inapplicable optional sections:
|
|
176
|
-
|
|
177
|
-
```markdown
|
|
178
|
-
---
|
|
179
|
-
date: YYYY-MM-DD
|
|
180
|
-
topic: <kebab-case-topic>
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
# <Topic Title>
|
|
184
|
-
|
|
185
|
-
## Problem Frame
|
|
186
|
-
[Who is affected, what is changing, and why it matters]
|
|
187
|
-
|
|
188
|
-
## Requirements
|
|
189
|
-
- R1. [Concrete user-facing behavior or requirement]
|
|
190
|
-
- R2. [Concrete user-facing behavior or requirement]
|
|
191
|
-
|
|
192
|
-
## Success Criteria
|
|
193
|
-
- [How we will know this solved the right problem]
|
|
194
|
-
|
|
195
|
-
## Scope Boundaries
|
|
196
|
-
- [Deliberate non-goal or exclusion]
|
|
197
|
-
|
|
198
|
-
## Key Decisions
|
|
199
|
-
- [Decision]: [Rationale]
|
|
200
|
-
|
|
201
|
-
## Dependencies / Assumptions
|
|
202
|
-
- [Only include if material]
|
|
203
|
-
|
|
204
|
-
## Outstanding Questions
|
|
205
|
-
|
|
206
|
-
### Resolve Before Planning
|
|
207
|
-
- [Affects R1][User decision] [Question that must be answered before planning can proceed]
|
|
208
|
-
|
|
209
|
-
### Deferred to Planning
|
|
210
|
-
- [Affects R2][Technical] [Question that should be answered during planning or codebase exploration]
|
|
211
|
-
- [Affects R2][Needs research] [Question that likely requires research during planning]
|
|
212
|
-
|
|
213
|
-
## Next Steps
|
|
214
|
-
[If `Resolve Before Planning` is empty: `→ /ce:plan` for structured implementation planning]
|
|
215
|
-
[If `Resolve Before Planning` is not empty: `→ Resume /ce:brainstorm` to resolve blocking questions before planning]
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
For **Standard** and **Deep** brainstorms, a requirements document is usually warranted.
|
|
184
|
+
Write or update a requirements document only when the conversation produced durable decisions worth preserving. Read `references/requirements-capture.md` for the document template, formatting rules, visual aid guidance, and completeness checks.
|
|
219
185
|
|
|
220
186
|
For **Lightweight** brainstorms, keep the document compact. Skip document creation when the user only needs brief alignment and no durable decisions need to be preserved.
|
|
221
187
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
When the work is simple, combine sections rather than padding them. A short requirements document is better than a bloated one.
|
|
188
|
+
### Phase 3.5: Document Review
|
|
225
189
|
|
|
226
|
-
|
|
227
|
-
- What would `ce:plan` still have to invent if this brainstorm ended now?
|
|
228
|
-
- Do any requirements depend on something claimed to be out of scope?
|
|
229
|
-
- Are any unresolved items actually product decisions rather than planning questions?
|
|
230
|
-
- Did implementation details leak in when they shouldn't have?
|
|
231
|
-
- Is there a low-cost change that would make this materially more useful?
|
|
190
|
+
When a requirements document was created or updated, run the `document-review` skill on it before presenting handoff options. Pass the document path as the argument.
|
|
232
191
|
|
|
233
|
-
If
|
|
192
|
+
If document-review returns findings that were auto-applied, note them briefly when presenting handoff options. If residual P0/P1 findings were surfaced, mention them so the user can decide whether to address them before proceeding.
|
|
234
193
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
If a document contains outstanding questions:
|
|
238
|
-
- Use `Resolve Before Planning` only for questions that truly block planning
|
|
239
|
-
- If `Resolve Before Planning` is non-empty, keep working those questions during the brainstorm by default
|
|
240
|
-
- If the user explicitly wants to proceed anyway, convert each remaining item into an explicit decision, assumption, or `Deferred to Planning` question before proceeding
|
|
241
|
-
- Do not force resolution of technical questions during brainstorming just to remove uncertainty
|
|
242
|
-
- Put technical questions, or questions that require validation or research, under `Deferred to Planning` when they are better answered there
|
|
243
|
-
- Use tags like `[Needs research]` when the planner should likely investigate the question rather than answer it from repo context alone
|
|
244
|
-
- Carry deferred questions forward explicitly rather than treating them as a failure to finish the requirements doc
|
|
194
|
+
When document-review returns "Review complete", proceed to Phase 4.
|
|
245
195
|
|
|
246
196
|
### Phase 4: Handoff
|
|
247
197
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
Present next steps using the platform's blocking question tool when available (see Interaction Rules). Otherwise present numbered options in chat and end the turn.
|
|
251
|
-
|
|
252
|
-
If `Resolve Before Planning` contains any items:
|
|
253
|
-
- Ask the blocking questions now, one at a time, by default
|
|
254
|
-
- If the user explicitly wants to proceed anyway, first convert each remaining item into an explicit decision, assumption, or `Deferred to Planning` question
|
|
255
|
-
- If the user chooses to pause instead, present the handoff as paused or blocked rather than complete
|
|
256
|
-
- Do not offer `Proceed to planning` or `Proceed directly to work` while `Resolve Before Planning` remains non-empty
|
|
257
|
-
|
|
258
|
-
**Question when no blocking questions remain:** "Brainstorm complete. What would you like to do next?"
|
|
259
|
-
|
|
260
|
-
**Question when blocking questions remain and user wants to pause:** "Brainstorm paused. Planning is blocked until the remaining questions are resolved. What would you like to do next?"
|
|
261
|
-
|
|
262
|
-
Present only the options that apply:
|
|
263
|
-
- **Proceed to planning (Recommended)** - Run `/ce:plan` for structured implementation planning
|
|
264
|
-
- **Proceed directly to work** - Only offer this when scope is lightweight, success criteria are clear, scope boundaries are clear, and no meaningful technical or research questions remain
|
|
265
|
-
- **Review and refine** - Offer this only when a requirements document exists and can be improved through structured review
|
|
266
|
-
- **Ask more questions** - Continue clarifying scope, preferences, or edge cases
|
|
267
|
-
- **Share to Proof** - Offer this only when a requirements document exists
|
|
268
|
-
- **Done for now** - Return later
|
|
269
|
-
|
|
270
|
-
If the direct-to-work gate is not satisfied, omit that option entirely.
|
|
271
|
-
|
|
272
|
-
#### 4.2 Handle the Selected Option
|
|
273
|
-
|
|
274
|
-
**If user selects "Proceed to planning (Recommended)":**
|
|
275
|
-
|
|
276
|
-
Immediately run `/ce:plan` in the current session. Pass the requirements document path when one exists; otherwise pass a concise summary of the finalized brainstorm decisions. Do not print the closing summary first.
|
|
277
|
-
|
|
278
|
-
**If user selects "Proceed directly to work":**
|
|
279
|
-
|
|
280
|
-
Immediately run `/ce:work` in the current session using the finalized brainstorm output as context. If a compact requirements document exists, pass its path. Do not print the closing summary first.
|
|
281
|
-
|
|
282
|
-
**If user selects "Share to Proof":**
|
|
283
|
-
|
|
284
|
-
```bash
|
|
285
|
-
CONTENT=$(cat docs/brainstorms/YYYY-MM-DD-<topic>-requirements.md)
|
|
286
|
-
TITLE="Requirements: <topic title>"
|
|
287
|
-
RESPONSE=$(curl -s -X POST https://www.proofeditor.ai/share/markdown \
|
|
288
|
-
-H "Content-Type: application/json" \
|
|
289
|
-
-d "$(jq -n --arg title "$TITLE" --arg markdown "$CONTENT" --arg by "ai:compound" '{title: $title, markdown: $markdown, by: $by}')")
|
|
290
|
-
PROOF_URL=$(echo "$RESPONSE" | jq -r '.tokenUrl')
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
Display the URL prominently: `View & collaborate in Proof: <PROOF_URL>`
|
|
294
|
-
|
|
295
|
-
If the curl fails, skip silently. Then return to the Phase 4 options.
|
|
296
|
-
|
|
297
|
-
**If user selects "Ask more questions":** Return to Phase 1.3 (Collaborative Dialogue) and continue asking the user questions one at a time to further refine the design. Probe deeper into edge cases, constraints, preferences, or areas not yet explored. Continue until the user is satisfied, then return to Phase 4. Do not show the closing summary yet.
|
|
298
|
-
|
|
299
|
-
**If user selects "Review and refine":**
|
|
300
|
-
|
|
301
|
-
Load the `document-review` skill and apply it to the requirements document.
|
|
302
|
-
|
|
303
|
-
When document-review returns "Review complete", return to the normal Phase 4 options and present only the options that still apply. Do not show the closing summary yet.
|
|
304
|
-
|
|
305
|
-
#### 4.3 Closing Summary
|
|
306
|
-
|
|
307
|
-
Use the closing summary only when this run of the workflow is ending or handing off, not when returning to the Phase 4 options.
|
|
308
|
-
|
|
309
|
-
When complete and ready for planning, display:
|
|
310
|
-
|
|
311
|
-
```text
|
|
312
|
-
Brainstorm complete!
|
|
313
|
-
|
|
314
|
-
Requirements doc: docs/brainstorms/YYYY-MM-DD-<topic>-requirements.md # if one was created
|
|
315
|
-
|
|
316
|
-
Key decisions:
|
|
317
|
-
- [Decision 1]
|
|
318
|
-
- [Decision 2]
|
|
319
|
-
|
|
320
|
-
Recommended next step: `/ce:plan`
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
If the user pauses with `Resolve Before Planning` still populated, display:
|
|
324
|
-
|
|
325
|
-
```text
|
|
326
|
-
Brainstorm paused.
|
|
327
|
-
|
|
328
|
-
Requirements doc: docs/brainstorms/YYYY-MM-DD-<topic>-requirements.md # if one was created
|
|
329
|
-
|
|
330
|
-
Planning is blocked by:
|
|
331
|
-
- [Blocking question 1]
|
|
332
|
-
- [Blocking question 2]
|
|
333
|
-
|
|
334
|
-
Resume with `/ce:brainstorm` when ready to resolve these before planning.
|
|
335
|
-
```
|
|
336
|
-
|
|
198
|
+
Present next-step options and execute the user's selection. Read `references/handoff.md` for the option logic, dispatch instructions, and closing summary format.
|