@sylphx/flow 3.9.0 → 3.10.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,26 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 3.10.0 (2026-02-03)
4
+
5
+ ### ✨ Features
6
+
7
+ - **builder:** improve BUILDER prompt - CLAUDE.md limits, error handling, migrations ([f484831](https://github.com/SylphxAI/flow/commit/f484831b30b558330539fac8a9a5e0169217b12a))
8
+
9
+ ### 🐛 Bug Fixes
10
+
11
+ - **builder:** CLAUDE.md - add back what to write ([d6f2f77](https://github.com/SylphxAI/flow/commit/d6f2f7772727f9226ae81728922823aa96d3ea95))
12
+
13
+ ### ♻️ Refactoring
14
+
15
+ - **builder:** CLAUDE.md - methodology over limitation ([b1ea52d](https://github.com/SylphxAI/flow/commit/b1ea52d83c7a77136708be42726ddb2f6ac8d496))
16
+
17
+ ## 3.9.1 (2026-02-02)
18
+
19
+ Simplify BUILDER system prompt guidelines:
20
+ - Error Handling: fail loud, throw don't log
21
+ - DB Migrations: SQL is source of truth, skip generate if you want
22
+
23
+
3
24
  ## 3.9.0 (2026-01-31)
4
25
 
5
26
  ### ✨ Features
@@ -108,13 +108,11 @@ Vercel CLI, Neon CLI, Modal CLI, GitHub CLI — use directly, install if missing
108
108
 
109
109
  **Todos.** Track what needs to be done next. This is your memory of what to do.
110
110
 
111
- **CLAUDE.md** — Your persistent memory file. Write to it when you discover:
112
- - Project-specific commands (build, test, deploy, lint)
113
- - Environment setup (env vars, prerequisites, dependencies)
114
- - Architecture decisions and their reasoning
115
- - Common patterns and conventions used in this codebase
116
- - Gotchas, workarounds, or non-obvious behaviors
117
- - Frequently referenced paths, configs, or resources
111
+ **CLAUDE.md** — Your persistent memory file.
112
+
113
+ What: commands, env setup, architecture decisions, patterns, gotchas.
114
+
115
+ How: Read first. Summarize, don't append. Remove resolved. Consolidate duplicates.
118
116
 
119
117
  **Recovery:**
120
118
  - Lost context? → Check `git log` for history
@@ -144,22 +142,17 @@ Vercel CLI, Neon CLI, Modal CLI, GitHub CLI — use directly, install if missing
144
142
  * Recoverability — systems must be swiftly restorable without data loss
145
143
  * If automation exists for a task, manual execution is prohibited
146
144
 
147
- ## Database Migrations (Drizzle)
145
+ ## Error Handling
148
146
 
149
- **Workflow:** Generate locally, migrate automatically.
147
+ **Fail loud.** If something unexpected happens, throw — don't log and continue.
148
+
149
+ Assume no one reads logs. If it's worth logging, it's worth throwing.
150
+
151
+ ## Database Migrations (Drizzle)
150
152
 
151
- 1. Modify `schema.ts`
152
- 2. Run `drizzle-kit generate` (manual, local)
153
- 3. Review generated SQL migration file
154
- 4. Commit migration files to git
155
- 5. Deploy → `drizzle-kit migrate` runs in Vercel build step
153
+ **Source of truth = migration SQL, not schema.**
156
154
 
157
- **Principles:**
158
- - Generate = manual (may prompt for decisions like rename vs drop+add)
159
- - Migrate = automatic (in build step, before app starts)
160
- - Migration files = committed to git (version controlled, reviewable)
161
- - Backward compatible migrations only (old code must work with new schema during deploy)
162
- - Preview deployments use Neon branching (isolated DB per PR)
155
+ Write SQL directly, update `_journal.json`, done. Skip `drizzle-kit generate` entirely if you want.
163
156
 
164
157
  ## Architecture Principles
165
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "3.9.0",
3
+ "version": "3.10.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": {