You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- enforce full_exploration as the only routing strategy
- return structured loop controls from sequentialthinking
- add learning resources, token metrics events, and tests
This aligns routing, workflow orchestration, and tool contract
metadata around one deterministic multi-step path, with updated
documentation for looped client integration and reflection steps.
BREAKING CHANGE: remove single/double/triple routing modes.
Co-Authored-By: Codex <codex@openai.com>
- Workflow now runs complexity analysis + full sequence only (condition-based simple/full branching removed)
18
+
- Forced strategy validation now rejects legacy strategy keys and accepts only `full_exploration`
19
+
-`sequentialthinking` tool contract now documents multi-step loop orchestration in tool description and input schema metadata
20
+
-`sequentialthinking` now publishes `outputSchema` and returns `structuredContent` control fields (`should_continue`, `next_thought_number`, `stop_reason`, and parameter guidance)
21
+
- Tool description and usage guidance now explicitly require active reflection (`isRevision=true` when correcting prior steps)
22
+
10
23
## [0.7.0] - 2025-09-24
11
24
12
25
### Added
@@ -152,4 +165,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-**Parallel Execution**: Non-synthesis agents run simultaneously for maximum efficiency
179
-
-**Synthesis Integration**: Synthesis agents process parallel results sequentially
180
-
-**Two Processing Types**:
181
-
-**Synthesis Agent**: Real AI agent using Enhanced Model for integration
182
-
-**Programmatic Synthesis**: Code-based combination when no Synthesis Agent
183
-
-**Performance**: Parallel processing optimizes both speed and quality
103
+
-**Deterministic behavior**: every request runs the same full multi-step path
104
+
-**Parallel execution**: non-synthesis agents still run simultaneously
105
+
-**Synthesis integration**: orchestration and final answer are both synthesis-driven
184
106
185
107
## Research Capabilities (ExaTools Integration)
186
108
@@ -231,8 +153,8 @@ In essence, the system evolved from a passive thought *recorder* to an active th
231
153
232
154
1.**Initiation:** An external LLM uses the `sequentialthinking` tool to define the problem and initiate the process.
233
155
2.**Tool Call:** The LLM calls the `sequentialthinking` tool with the current thought, structured according to the `ThoughtData` model.
234
-
3.**AI Complexity Analysis:** The system uses AI-powered analysis to determine the optimal thinking sequence based on problem complexity and type.
235
-
4.**Agent Routing:**Based on the analysis, the system routes the thought to the appropriate thinking agents (single, double, triple, or full sequence).
156
+
3.**AI Complexity Analysis:** The system still performs AI-powered analysis to capture complexity metadata and diagnostic signals.
157
+
4.**Fixed Strategy Execution:**The system always runs the mandatory `full_exploration` multi-step sequence.
236
158
5.**Parallel Processing:** Multiple thinking agents process the thought simultaneously from their specialized perspectives:
237
159
- Factual agents gather objective data (with optional web research)
238
160
- Critical agents identify risks and problems
@@ -257,23 +179,45 @@ The server exposes a single MCP tool that processes sequential thoughts:
257
179
### Parameters:
258
180
```typescript
259
181
{
260
-
thought: string, //Current thinking step content
261
-
thoughtNumber: number, //Sequence number (≥1)
262
-
totalThoughts: number, //Estimated total steps
263
-
nextThoughtNeeded: boolean, //Is another step required?
264
-
isRevision: boolean, //Revising previous thought?
265
-
branchFromThought?:number, //Branch point (for exploration)
266
-
branchId?:string, // Branch identifier
267
-
needsMoreThoughts: boolean//Need to extend sequence?
182
+
thought: string, //One focused reasoning step
183
+
thoughtNumber: number, //1-based step index; increment each call
184
+
totalThoughts: number, //Planned number of steps
185
+
nextThoughtNeeded: boolean, //true for intermediate steps, false on final step
186
+
isRevision: boolean, //true only when revising earlier conclusions
187
+
branchFromThought?:number, //Set with branchId to branch from a prior step
188
+
branchId?:string, // Branch identifier (required when branching)
189
+
needsMoreThoughts: boolean//true only when extending beyond totalThoughts
268
190
}
269
191
```
270
192
271
193
### Response:
272
-
Returns synthesized analysis from the multi-agent system with:
273
-
- Processed thought analysis
274
-
- Guidance for next steps
275
-
- Branch and revision tracking
276
-
- Status and metadata
194
+
The tool returns both:
195
+
-`content`: human-readable synthesis text
196
+
-`structuredContent`: machine-readable loop control fields
197
+
198
+
```typescript
199
+
{
200
+
should_continue: boolean, // Canonical continuation signal
201
+
next_thought_number: number?, // Recommended next thoughtNumber
202
+
stop_reason:string, // Why to continue/stop/retry
203
+
current_thought_number: number,
204
+
total_thoughts: number,
205
+
next_call_arguments?: { // Suggested next-call arguments when applicable
206
+
thoughtNumber: number,
207
+
totalThoughts: number,
208
+
nextThoughtNeeded: boolean,
209
+
needsMoreThoughts: boolean
210
+
},
211
+
parameter_usage: Record<string, string>
212
+
}
213
+
```
214
+
215
+
### Call Contract (Important)
216
+
- Use this tool as a **multi-step loop**, not a one-shot call.
217
+
- After every response, read `structuredContent.should_continue`.
218
+
- Continue calling `sequentialthinking` until `should_continue` is `false`.
219
+
- Actively use reflection: when a step is weak or incorrect, send a revision step with `isRevision=true`.
220
+
- Prefer `structuredContent.next_thought_number` and `next_call_arguments` when building the next request.
277
221
278
222
## Installation
279
223
@@ -436,9 +380,9 @@ Open http://127.0.0.1:6274/ and test the `sequentialthinking` tool.
436
380
437
381
### Strengths:
438
382
-**Multi-perspective analysis**: 6 different cognitive approaches
0 commit comments