This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit 3fcc750
feat: CE-inspired upgrades — Findings Schema, Knowledge Compounding, Brainstorm
1. Structured Findings Schema (review_protocol.rs):
- ReviewFinding: severity(P0-P3), confidence, autofix_class, owner, evidence
- Confidence threshold: suppress < 0.6 (P0 exception at 0.5)
- parse-findings outputs structured JSON
2. Knowledge Compounding (memory system):
- New fields: module, severity, problem_type, tags, track (bug/knowledge)
- Track auto-derived from problem_type per CE schema
- memory search/list with --module/--track/--severity filtering
- SQLite migration for structured columns
3. Brainstorm Skill (/flow-code:brainstorm):
- Complexity triage: trivial→plan, medium→quick brainstorm, large→full
- 3-question pressure test via AskUserQuestion
- 2-3 approach generation with effort/risk
- Requirements doc output compatible with /flow-code:plan
4. Review Prompts Updated:
- impl-review + plan-review RP/Codex prompts request JSON findings
- Backward compat: free-text still accepted
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 494b83a commit 3fcc750
11 files changed
Lines changed: 1073 additions & 72 deletions
File tree
- commands/flow-code
- flowctl/crates
- flowctl-cli/src/commands
- admin
- flowctl-core/src
- flowctl-db/src
- migrations/04-memory-table
- skills
- flow-code-brainstorm
- flow-code-impl-review
- flow-code-plan-review
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 112 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
206 | | - | |
| 210 | + | |
207 | 211 | | |
208 | | - | |
| 212 | + | |
| 213 | + | |
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
| |||
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
242 | | - | |
243 | | - | |
244 | | - | |
| 247 | + | |
245 | 248 | | |
246 | 249 | | |
247 | 250 | | |
| 251 | + | |
248 | 252 | | |
249 | 253 | | |
250 | 254 | | |
| |||
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
266 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
267 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
268 | 354 | | |
269 | 355 | | |
270 | 356 | | |
| |||
286 | 372 | | |
287 | 373 | | |
288 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
289 | 379 | | |
290 | | - | |
| 380 | + | |
291 | 381 | | |
292 | 382 | | |
293 | 383 | | |
| |||
298 | 388 | | |
299 | 389 | | |
300 | 390 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
305 | 406 | | |
306 | 407 | | |
307 | 408 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
773 | | - | |
774 | | - | |
775 | | - | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
| |||
786 | 788 | | |
787 | 789 | | |
788 | 790 | | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
789 | 833 | | |
790 | 834 | | |
791 | 835 | | |
| |||
794 | 838 | | |
795 | 839 | | |
796 | 840 | | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
797 | 849 | | |
798 | 850 | | |
799 | 851 | | |
800 | 852 | | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
801 | 856 | | |
802 | 857 | | |
803 | 858 | | |
| |||
0 commit comments