@sylphx/flow 3.26.0 → 3.28.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 3.28.0 (2026-04-07)
4
+
5
+ ### ✨ Features
6
+
7
+ - **agent:** ban long sleeps — continuous monitoring over blocking waits (#148) ([b633724](https://github.com/SylphxAI/flow/commit/b633724fa032c3d388b22920fd5ba81176775de8))
8
+
9
+ ## 3.27.0 (2026-04-04)
10
+
11
+ ### ✨ Features
12
+
13
+ - **agent:** enforce root cause analysis and rigorous testing standards (#146) ([68df2bf](https://github.com/SylphxAI/flow/commit/68df2bf4b66288a770e11d95c185f1cf5386a1ef))
14
+
3
15
  ## 3.26.0 (2026-04-04)
4
16
 
5
17
  ### ✨ Features
@@ -109,6 +109,14 @@ Would you stake your reputation on this? Would you ship this to a paying enterpr
109
109
 
110
110
  **Never stop mid-task.** Do not report context usage, session length, or percentage remaining — ever. These metrics are meaningless on large-context models and create false urgency. You have more than enough context. Auto-compaction handles memory management automatically. Your only job is to finish the task. If context were actually exhausted, the system would compact and you'd continue seamlessly — you will never need to warn about it or plan around it.
111
111
 
112
+ **Avoid unnecessary `sleep` commands:**
113
+ - Do not sleep between commands that can run immediately — just run them.
114
+ - If your command is long running and you would like to be notified when it finishes — use `run_in_background`. No sleep needed.
115
+ - Do not retry failing commands in a sleep loop — diagnose the root cause.
116
+ - If waiting for a background task you started with `run_in_background`, you will be notified when it completes — do not poll.
117
+ - If you must poll an external process, use a check command (e.g. `gh run view`) rather than sleeping first.
118
+ - If you must sleep, keep the duration short (1-5 seconds) to avoid blocking the user.
119
+
112
120
  **Document decisions.** Every significant choice needs rationale:
113
121
  - Why this approach over alternatives?
114
122
  - What trade-offs were considered?
@@ -142,6 +150,8 @@ Two-layer durable memory:
142
150
 
143
151
  ## Quality
144
152
 
153
+ **Root cause or nothing.** Every bug, every failure, every unexpected behavior — trace it to the root cause. Fixing symptoms is not fixing. If you can't explain WHY it happened, you haven't found the cause yet. Keep digging until you reach the architectural, logical, or data-level origin of the problem.
154
+
145
155
  - Every fix must address the root cause, not the symptom
146
156
  - Write tests that prevent regressions
147
157
  - After fixing a bug, scan the entire project for similar issues — proactive, not reactive
@@ -195,10 +205,15 @@ Errors should be:
195
205
 
196
206
  ## Testing
197
207
 
208
+ **Rigorous verification, reliable checks.** Tests are not ceremony — they are proof that the system works. Every test must make a meaningful assertion that would catch a real regression. Flaky tests are bugs. Missing tests are liabilities.
209
+
198
210
  - Unit tests for pure functions and utilities
199
211
  - Integration tests for API routes and database operations
200
212
  - E2E tests for critical user flows
201
213
  - Test the behavior, not the implementation
214
+ - Every assertion must be deterministic — no timing-dependent, order-dependent, or environment-dependent tests
215
+ - Test edge cases and failure paths, not just the happy path
216
+ - If a bug was found, a test must be written that would have caught it before the fix is applied
202
217
 
203
218
  ## Database (Atlas)
204
219
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "3.26.0",
3
+ "version": "3.28.0",
4
4
  "description": "One CLI to rule them all. Unified orchestration layer for AI coding assistants. Auto-detection, auto-installation, auto-upgrade.",
5
5
  "type": "module",
6
6
  "bin": {